git.iko.soy/typeable/servant-swagger-ui
on master help sign in
Merge pull request #31 from phadej/swagger-ui-3.0

Swagger UI 3.0

commitb3c5d7475344c4cbf4b871c7eb35b8d96cfb56fa authorOleg Grenrus <oleg.grenrus@iki.fi> dateMon 24 Jul 2017, 17:37 (9 years ago) parentea9673750b1706
111 files changed+212−58730
index.html.tmpl+95−105 screenshot.png servant-swagger-ui.cabal+16−56 src/Servant/Swagger/UI.hs+1−1 swagger-dist-2.1.5/css/print.css−1362 swagger-dist-2.1.5/css/reset.css−125 swagger-dist-2.1.5/css/screen.css−1489 swagger-dist-2.1.5/css/style.css−250 swagger-dist-2.1.5/css/typography.css−14 swagger-dist-2.1.5/fonts/DroidSans-Bold.ttf swagger-dist-2.1.5/fonts/DroidSans.ttf swagger-dist-2.1.5/images/collapse.gif swagger-dist-2.1.5/images/expand.gif swagger-dist-2.1.5/images/explorer_icons.png swagger-dist-2.1.5/images/favicon-16x16.png swagger-dist-2.1.5/images/favicon-32x32.png swagger-dist-2.1.5/images/favicon.ico swagger-dist-2.1.5/images/logo_small.png swagger-dist-2.1.5/images/pet_store_api.png swagger-dist-2.1.5/images/throbber.gif swagger-dist-2.1.5/images/wordnik_api.png swagger-dist-2.1.5/lang/en.js−56 swagger-dist-2.1.5/lang/es.js−53 swagger-dist-2.1.5/lang/fr.js−54 swagger-dist-2.1.5/lang/geo.js−56 swagger-dist-2.1.5/lang/it.js−52 swagger-dist-2.1.5/lang/ja.js−53 swagger-dist-2.1.5/lang/ko-kr.js−53 swagger-dist-2.1.5/lang/pl.js−53 swagger-dist-2.1.5/lang/pt.js−53 swagger-dist-2.1.5/lang/ru.js−56 swagger-dist-2.1.5/lang/tr.js−53 swagger-dist-2.1.5/lang/translator.js−39 swagger-dist-2.1.5/lang/zh-cn.js−53 swagger-dist-2.1.5/lib/backbone-min.js−15 swagger-dist-2.1.5/lib/es5-shim.js−2065 swagger-dist-2.1.5/lib/handlebars-2.0.0.js−28 swagger-dist-2.1.5/lib/highlight.9.1.0.pack.js−2 swagger-dist-2.1.5/lib/highlight.9.1.0.pack_extended.js−34 swagger-dist-2.1.5/lib/jquery-1.8.0.min.js−2 swagger-dist-2.1.5/lib/jquery.ba-bbq.min.js−18 swagger-dist-2.1.5/lib/jquery.slideto.min.js−1 swagger-dist-2.1.5/lib/jquery.wiggle.min.js−8 swagger-dist-2.1.5/lib/js-yaml.min.js−3 swagger-dist-2.1.5/lib/jsoneditor.min.js−11 swagger-dist-2.1.5/lib/lodash.min.js−102 swagger-dist-2.1.5/lib/marked.js−1272 swagger-dist-2.1.5/lib/object-assign-pollyfill.js−23 swagger-dist-2.1.5/lib/swagger-oauth.js−347 swagger-dist-2.1.5/o2c.html−20 swagger-dist-2.1.5/swagger-ui.js−24691 swagger-dist-2.1.5/swagger-ui.min.js−10 swagger-dist-2.2.8/css/print.css−1 swagger-dist-2.2.8/css/reset.css−1 swagger-dist-2.2.8/css/screen.css−1 swagger-dist-2.2.8/css/style.css−1 swagger-dist-2.2.8/css/typography.css swagger-dist-2.2.8/fonts/DroidSans-Bold.ttf swagger-dist-2.2.8/fonts/DroidSans.ttf swagger-dist-2.2.8/images/collapse.gif swagger-dist-2.2.8/images/expand.gif swagger-dist-2.2.8/images/explorer_icons.png swagger-dist-2.2.8/images/favicon.ico swagger-dist-2.2.8/images/logo_small.png swagger-dist-2.2.8/images/pet_store_api.png swagger-dist-2.2.8/images/throbber.gif swagger-dist-2.2.8/images/wordnik_api.png swagger-dist-2.2.8/lang/ca.js−53 swagger-dist-2.2.8/lang/el.js−56 swagger-dist-2.2.8/lang/en.js−56 swagger-dist-2.2.8/lang/es.js−53 swagger-dist-2.2.8/lang/fr.js−54 swagger-dist-2.2.8/lang/geo.js−56 swagger-dist-2.2.8/lang/it.js−52 swagger-dist-2.2.8/lang/ja.js−56 swagger-dist-2.2.8/lang/ko-kr.js−53 swagger-dist-2.2.8/lang/pl.js−53 swagger-dist-2.2.8/lang/pt.js−53 swagger-dist-2.2.8/lang/ru.js−56 swagger-dist-2.2.8/lang/tr.js−53 swagger-dist-2.2.8/lang/translator.js−39 swagger-dist-2.2.8/lang/zh-cn.js−56 swagger-dist-2.2.8/lib/backbone-min.js−1 swagger-dist-2.2.8/lib/es5-shim.js−1 swagger-dist-2.2.8/lib/handlebars-4.0.5.js−3 swagger-dist-2.2.8/lib/highlight.9.1.0.pack.js−1 swagger-dist-2.2.8/lib/highlight.9.1.0.pack_extended.js−1 swagger-dist-2.2.8/lib/jquery-1.8.0.min.js−3 swagger-dist-2.2.8/lib/jquery.ba-bbq.min.js−1 swagger-dist-2.2.8/lib/jquery.slideto.min.js−1 swagger-dist-2.2.8/lib/jquery.wiggle.min.js−1 swagger-dist-2.2.8/lib/js-yaml.min.js−2 swagger-dist-2.2.8/lib/jsoneditor.min.js−5 swagger-dist-2.2.8/lib/lodash.min.js−2 swagger-dist-2.2.8/lib/marked.js−1 swagger-dist-2.2.8/lib/object-assign-pollyfill.js−1 swagger-dist-2.2.8/lib/sanitize-html.min.js−4 swagger-dist-2.2.8/lib/swagger-oauth.js−1 swagger-dist-2.2.8/o2c.html−20 swagger-dist-2.2.8/swagger-ui.js−25126 swagger-dist-2.2.8/swagger-ui.min.js−14 swagger-dist-2.2.8/images/favicon-16x16.png → swagger-ui-dist-3.0.20/favicon-16x16.png swagger-dist-2.2.8/images/favicon-32x32.png → swagger-ui-dist-3.0.20/favicon-32x32.png swagger-ui-dist-3.0.20/swagger-ui-bundle.js+73 swagger-ui-dist-3.0.20/swagger-ui-bundle.js.map+1 swagger-ui-dist-3.0.20/swagger-ui-standalone-preset.js+13 swagger-ui-dist-3.0.20/swagger-ui-standalone-preset.js.map+1 swagger-ui-dist-3.0.20/swagger-ui.css+2 swagger-ui-dist-3.0.20/swagger-ui.css.map+1 swagger-ui-dist-3.0.20/swagger-ui.js+8 swagger-ui-dist-3.0.20/swagger-ui.js.map+1
index.html.tmpl+95−105
@@ -1,36 +1,14 @@
1+<!-- HTML for static distribution bundle build -->
12<!DOCTYPE html>
2−<html>
3+<html lang="en">
34<head>
45 <meta charset="UTF-8">
56 <title>Swagger UI</title>
6− <link rel="icon" type="image/png" href="images/favicon-32x32.png" sizes="32x32" />
7− <link rel="icon" type="image/png" href="images/favicon-16x16.png" sizes="16x16" />
8− <link href='css/typography.css' media='screen' rel='stylesheet' type='text/css'/>
9− <link href='css/reset.css' media='screen' rel='stylesheet' type='text/css'/>
10− <link href='css/screen.css' media='screen' rel='stylesheet' type='text/css'/>
11− <link href='css/reset.css' media='print' rel='stylesheet' type='text/css'/>
12− <link href='css/print.css' media='print' rel='stylesheet' type='text/css'/>
13−
14− <script src='lib/object-assign-pollyfill.js' type='text/javascript'></script>
15− <script src='lib/jquery-1.8.0.min.js' type='text/javascript'></script>
16− <script src='lib/jquery.slideto.min.js' type='text/javascript'></script>
17− <script src='lib/jquery.wiggle.min.js' type='text/javascript'></script>
18− <script src='lib/jquery.ba-bbq.min.js' type='text/javascript'></script>
19− <script src='lib/handlebars-4.0.5.js' type='text/javascript'></script>
20− <script src='lib/lodash.min.js' type='text/javascript'></script>
21− <script src='lib/backbone-min.js' type='text/javascript'></script>
22− <script src='swagger-ui.js' type='text/javascript'></script>
23− <script src='lib/highlight.9.1.0.pack.js' type='text/javascript'></script>
24− <script src='lib/highlight.9.1.0.pack_extended.js' type='text/javascript'></script>
25− <script src='lib/jsoneditor.min.js' type='text/javascript'></script>
26− <script src='lib/marked.js' type='text/javascript'></script>
27− <script src='lib/swagger-oauth.js' type='text/javascript'></script>
28−
29− <!-- Some basic translations -->
30− <!-- <script src='lang/translator.js' type='text/javascript'></script> -->
31− <!-- <script src='lang/ru.js' type='text/javascript'></script> -->
32− <!-- <script src='lang/en.js' type='text/javascript'></script> -->
33−
7+ <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700|Source+Code+Pro:300,600|Titillium+Web:400,600,700" rel="stylesheet">
8+ <link rel="stylesheet" type="text/css" href="./swagger-ui.css" >
9+ <link rel="icon" type="image/png" href="./favicon-32x32.png" sizes="32x32" />
10+ <link rel="icon" type="image/png" href="./favicon-16x16.png" sizes="16x16" />
11+ <!-- Script to reload .../swagger-ui to .../swagger-ui/ -->
3412 <script type="text/javascript">
3513 if (window.location.href.match(/\/index.html\/$/)) {
3614 // drop trailing slash in "index.html/"
@@ -41,84 +19,96 @@
4119 window.location.href = window.location.href + '/';
4220 }
4321 </script>
22+ <style>
23+ html
24+ {
25+ box-sizing: border-box;
26+ overflow: -moz-scrollbars-vertical;
27+ overflow-y: scroll;
28+ }
29+ *,
30+ *:before,
31+ *:after
32+ {
33+ box-sizing: inherit;
34+ }
4435
45− <script type="text/javascript">
46− $(function () {
47− var url = window.location.search.match(/url=([^&]+)/);
48− if (url && url.length > 1) {
49− url = decodeURIComponent(url[1]);
50− } else {
51− // servant-swagger-ui addition
52− var ssuDir = "SERVANT_SWAGGER_UI_DIR";
53− var ssuSchema = "SERVANT_SWAGGER_UI_SCHEMA";
54− // more concretely:
55− // replace /swagger-ui/ or /swagger-ui/index.html with /swagger.json
56− // we always have trailing slash!
57− var re = new RegExp("\/" + ssuDir + "/(?:index\\.html)?$","g");
58− url = window.location.pathname.replace(re, "/" + ssuSchema);
59− }
60−
61− hljs.configure({
62− highlightSizeThreshold: 5000
63− });
64−
65− // Pre load translate...
66− if(window.SwaggerTranslator) {
67− window.SwaggerTranslator.translate();
68− }
69− window.swaggerUi = new SwaggerUi({
70− url: url,
71− dom_id: "swagger-ui-container",
72− supportedSubmitMethods: ['get', 'post', 'put', 'delete', 'patch'],
73− onComplete: function(swaggerApi, swaggerUi){
74− if(typeof initOAuth == "function") {
75− initOAuth({
76− clientId: "your-client-id",
77− clientSecret: "your-client-secret-if-required",
78− realm: "your-realms",
79− appName: "your-app-name",
80− scopeSeparator: ",",
81− additionalQueryStringParams: {}
82− });
83− }
84−
85− if(window.SwaggerTranslator) {
86− window.SwaggerTranslator.translate();
87− }
88− },
89− onFailure: function(data) {
90− log("Unable to Load SwaggerUI");
91− },
92− docExpansion: "none",
93− jsonEditor: false,
94− defaultModelRendering: 'schema',
95− showRequestHeaders: false
96− });
97−
98− window.swaggerUi.load();
99−
100− function log() {
101− if ('console' in window) {
102− console.log.apply(console, arguments);
103− }
104− }
105− });
106− </script>
36+ body {
37+ margin:0;
38+ background: #fafafa;
39+ }
40+ </style>
10741</head>
10842
109−<body class="swagger-section">
110−<div id='header'>
111− <div class="swagger-ui-wrap">
112− <a id="logo" href="http://swagger.io"><img class="logo__img" alt="swagger" height="30" width="30" src="images/logo_small.png" /><span class="logo__title">swagger</span></a>
113− <form id='api_selector'>
114− <div class='input'><input placeholder="http://example.com/api" id="input_baseUrl" name="baseUrl" type="text"/></div>
115− <div id='auth_container'></div>
116− <div class='input'><a id="explore" class="header__btn" href="#" data-sw-translate>Explore</a></div>
117− </form>
118− </div>
119−</div>
120−
121−<div id="message-bar" class="swagger-ui-wrap" data-sw-translate>&nbsp;</div>
122−<div id="swagger-ui-container" class="swagger-ui-wrap"></div>
43+<body>
44+
45+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="position:absolute;width:0;height:0">
46+ <defs>
47+ <symbol viewBox="0 0 20 20" id="unlocked">
48+ <path d="M15.8 8H14V5.6C14 2.703 12.665 1 10 1 7.334 1 6 2.703 6 5.6V6h2v-.801C8 3.754 8.797 3 10 3c1.203 0 2 .754 2 2.199V8H4c-.553 0-1 .646-1 1.199V17c0 .549.428 1.139.951 1.307l1.197.387C5.672 18.861 6.55 19 7.1 19h5.8c.549 0 1.428-.139 1.951-.307l1.196-.387c.524-.167.953-.757.953-1.306V9.199C17 8.646 16.352 8 15.8 8z"></path>
49+ </symbol>
50+
51+ <symbol viewBox="0 0 20 20" id="locked">
52+ <path d="M15.8 8H14V5.6C14 2.703 12.665 1 10 1 7.334 1 6 2.703 6 5.6V8H4c-.553 0-1 .646-1 1.199V17c0 .549.428 1.139.951 1.307l1.197.387C5.672 18.861 6.55 19 7.1 19h5.8c.549 0 1.428-.139 1.951-.307l1.196-.387c.524-.167.953-.757.953-1.306V9.199C17 8.646 16.352 8 15.8 8zM12 8H8V5.199C8 3.754 8.797 3 10 3c1.203 0 2 .754 2 2.199V8z"/>
53+ </symbol>
54+
55+ <symbol viewBox="0 0 20 20" id="close">
56+ <path d="M14.348 14.849c-.469.469-1.229.469-1.697 0L10 11.819l-2.651 3.029c-.469.469-1.229.469-1.697 0-.469-.469-.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-.469-.469-.469-1.228 0-1.697.469-.469 1.228-.469 1.697 0L10 8.183l2.651-3.031c.469-.469 1.228-.469 1.697 0 .469.469.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c.469.469.469 1.229 0 1.698z"/>
57+ </symbol>
58+
59+ <symbol viewBox="0 0 20 20" id="large-arrow">
60+ <path d="M13.25 10L6.109 2.58c-.268-.27-.268-.707 0-.979.268-.27.701-.27.969 0l7.83 7.908c.268.271.268.709 0 .979l-7.83 7.908c-.268.271-.701.27-.969 0-.268-.269-.268-.707 0-.979L13.25 10z"/>
61+ </symbol>
62+
63+ <symbol viewBox="0 0 20 20" id="large-arrow-down">
64+ <path d="M17.418 6.109c.272-.268.709-.268.979 0s.271.701 0 .969l-7.908 7.83c-.27.268-.707.268-.979 0l-7.908-7.83c-.27-.268-.27-.701 0-.969.271-.268.709-.268.979 0L10 13.25l7.418-7.141z"/>
65+ </symbol>
66+
67+
68+ <symbol viewBox="0 0 24 24" id="jump-to">
69+ <path d="M19 7v4H5.83l3.58-3.59L8 6l-6 6 6 6 1.41-1.41L5.83 13H21V7z"/>
70+ </symbol>
71+
72+ <symbol viewBox="0 0 24 24" id="expand">
73+ <path d="M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"/>
74+ </symbol>
75+
76+ </defs>
77+</svg>
78+
79+<div id="swagger-ui"></div>
80+
81+<script src="./swagger-ui-bundle.js"> </script>
82+<script src="./swagger-ui-standalone-preset.js"> </script>
83+<script>
84+window.onload = function() {
85+ // servant-swagger-ui addition
86+ var ssuDir = "SERVANT_SWAGGER_UI_DIR";
87+ var ssuSchema = "SERVANT_SWAGGER_UI_SCHEMA";
88+ // more concretely:
89+ // replace /swagger-ui/ or /swagger-ui/index.html with /swagger.json
90+ // we always have trailing slash!
91+ var re = new RegExp("\/" + ssuDir + "/(?:index\\.html)?$","g");
92+ var url = window.location.pathname.replace(re, "/" + ssuSchema);
93+
94+ // Build a system
95+ const ui = SwaggerUIBundle({
96+ url: url,
97+ dom_id: '#swagger-ui',
98+ deepLinking: true,
99+ presets: [
100+ SwaggerUIBundle.presets.apis,
101+ SwaggerUIStandalonePreset
102+ ],
103+ plugins: [
104+ SwaggerUIBundle.plugins.DownloadUrl
105+ ],
106+ layout: "StandaloneLayout"
107+ })
108+
109+ window.ui = ui
110+}
111+</script>
123112</body>
113+
124114</html>
screenshot.png

Binary file not shown.

servant-swagger-ui.cabal+16−56
@@ -1,6 +1,5 @@
11name: servant-swagger-ui
2−version: 0.2.3.2.2.8
3−x-revision: 1
2+version: 0.2.4.3.0.20
43synopsis: Servant swagger ui
54description: Provide embedded swagger UI for servant and swagger (i.e. servant-swagger)
65category: Web, Servant, Swagger
@@ -16,7 +15,9 @@ cabal-version: >= 1.10
1615
1716extra-source-files:
1817 CHANGELOG.md
19− index.html.tmpl
18+ README.md
19+
20+ jensoleg.index.html.tmpl
2021 jensoleg-dist/css/api-explorer.css
2122 jensoleg-dist/css/index.css
2223 jensoleg-dist/css/print.css
@@ -66,59 +67,18 @@ extra-source-files:
6667 jensoleg-dist/swagger-ui.js
6768 jensoleg-dist/swagger-ui.min.js
6869 jensoleg-dist/swagger.json
69− jensoleg.index.html.tmpl
70− README.md
71− swagger-dist-2.2.8/css/print.css
72− swagger-dist-2.2.8/css/reset.css
73− swagger-dist-2.2.8/css/screen.css
74− swagger-dist-2.2.8/css/style.css
75− swagger-dist-2.2.8/css/typography.css
76− swagger-dist-2.2.8/fonts/DroidSans-Bold.ttf
77− swagger-dist-2.2.8/fonts/DroidSans.ttf
78− swagger-dist-2.2.8/images/collapse.gif
79− swagger-dist-2.2.8/images/expand.gif
80− swagger-dist-2.2.8/images/explorer_icons.png
81− swagger-dist-2.2.8/images/favicon-16x16.png
82− swagger-dist-2.2.8/images/favicon-32x32.png
83− swagger-dist-2.2.8/images/favicon.ico
84− swagger-dist-2.2.8/images/logo_small.png
85− swagger-dist-2.2.8/images/pet_store_api.png
86− swagger-dist-2.2.8/images/throbber.gif
87− swagger-dist-2.2.8/images/wordnik_api.png
88− swagger-dist-2.2.8/lang/ca.js
89− swagger-dist-2.2.8/lang/el.js
90− swagger-dist-2.2.8/lang/en.js
91− swagger-dist-2.2.8/lang/es.js
92− swagger-dist-2.2.8/lang/fr.js
93− swagger-dist-2.2.8/lang/geo.js
94− swagger-dist-2.2.8/lang/it.js
95− swagger-dist-2.2.8/lang/ja.js
96− swagger-dist-2.2.8/lang/ko-kr.js
97− swagger-dist-2.2.8/lang/pl.js
98− swagger-dist-2.2.8/lang/pt.js
99− swagger-dist-2.2.8/lang/ru.js
100− swagger-dist-2.2.8/lang/tr.js
101− swagger-dist-2.2.8/lang/translator.js
102− swagger-dist-2.2.8/lang/zh-cn.js
103− swagger-dist-2.2.8/lib/backbone-min.js
104− swagger-dist-2.2.8/lib/es5-shim.js
105− swagger-dist-2.2.8/lib/handlebars-4.0.5.js
106− swagger-dist-2.2.8/lib/highlight.9.1.0.pack.js
107− swagger-dist-2.2.8/lib/highlight.9.1.0.pack_extended.js
108− swagger-dist-2.2.8/lib/jquery-1.8.0.min.js
109− swagger-dist-2.2.8/lib/jquery.ba-bbq.min.js
110− swagger-dist-2.2.8/lib/jquery.slideto.min.js
111− swagger-dist-2.2.8/lib/jquery.wiggle.min.js
112− swagger-dist-2.2.8/lib/js-yaml.min.js
113− swagger-dist-2.2.8/lib/jsoneditor.min.js
114− swagger-dist-2.2.8/lib/lodash.min.js
115− swagger-dist-2.2.8/lib/marked.js
116− swagger-dist-2.2.8/lib/object-assign-pollyfill.js
117− swagger-dist-2.2.8/lib/sanitize-html.min.js
118− swagger-dist-2.2.8/lib/swagger-oauth.js
119− swagger-dist-2.2.8/o2c.html
120− swagger-dist-2.2.8/swagger-ui.js
121− swagger-dist-2.2.8/swagger-ui.min.js
70+
71+ index.html.tmpl
72+ swagger-ui-dist-3.0.20/swagger-ui-bundle.js
73+ swagger-ui-dist-3.0.20/swagger-ui-bundle.js.map
74+ swagger-ui-dist-3.0.20/swagger-ui-standalone-preset.js.map
75+ swagger-ui-dist-3.0.20/swagger-ui-standalone-preset.js
76+ swagger-ui-dist-3.0.20/swagger-ui.css
77+ swagger-ui-dist-3.0.20/favicon-16x16.png
78+ swagger-ui-dist-3.0.20/swagger-ui.js.map
79+ swagger-ui-dist-3.0.20/favicon-32x32.png
80+ swagger-ui-dist-3.0.20/swagger-ui.js
81+ swagger-ui-dist-3.0.20/swagger-ui.css.map
12282
12383source-repository head
12484 type: git
src/Servant/Swagger/UI.hs+1−1
@@ -177,7 +177,7 @@ swaggerUiIndexTemplate :: T.Text
177177swaggerUiIndexTemplate = $(embedStringFile "index.html.tmpl")
178178
179179swaggerUiFiles :: [(FilePath, ByteString)]
180−swaggerUiFiles = $(mkRecursiveEmbedded "swagger-dist-2.2.8")
180+swaggerUiFiles = $(mkRecursiveEmbedded "swagger-ui-dist-3.0.20")
181181
182182jensolegIndexTemplate :: T.Text
183183jensolegIndexTemplate = $(embedStringFile "jensoleg.index.html.tmpl")
swagger-dist-2.1.5/css/print.cssdeleted−1362
@@ -1,1362 +0,0 @@
1−/* Original style from softwaremaniacs.org (c) Ivan Sagalaev <Maniac@SoftwareManiacs.Org> */
2−.swagger-section pre code {
3− display: block;
4− padding: 0.5em;
5− background: #F0F0F0;
6−}
7−.swagger-section pre code,
8−.swagger-section pre .subst,
9−.swagger-section pre .tag .title,
10−.swagger-section pre .lisp .title,
11−.swagger-section pre .clojure .built_in,
12−.swagger-section pre .nginx .title {
13− color: black;
14−}
15−.swagger-section pre .string,
16−.swagger-section pre .title,
17−.swagger-section pre .constant,
18−.swagger-section pre .parent,
19−.swagger-section pre .tag .value,
20−.swagger-section pre .rules .value,
21−.swagger-section pre .rules .value .number,
22−.swagger-section pre .preprocessor,
23−.swagger-section pre .ruby .symbol,
24−.swagger-section pre .ruby .symbol .string,
25−.swagger-section pre .aggregate,
26−.swagger-section pre .template_tag,
27−.swagger-section pre .django .variable,
28−.swagger-section pre .smalltalk .class,
29−.swagger-section pre .addition,
30−.swagger-section pre .flow,
31−.swagger-section pre .stream,
32−.swagger-section pre .bash .variable,
33−.swagger-section pre .apache .tag,
34−.swagger-section pre .apache .cbracket,
35−.swagger-section pre .tex .command,
36−.swagger-section pre .tex .special,
37−.swagger-section pre .erlang_repl .function_or_atom,
38−.swagger-section pre .markdown .header {
39− color: #800;
40−}
41−.swagger-section pre .comment,
42−.swagger-section pre .annotation,
43−.swagger-section pre .template_comment,
44−.swagger-section pre .diff .header,
45−.swagger-section pre .chunk,
46−.swagger-section pre .markdown .blockquote {
47− color: #888;
48−}
49−.swagger-section pre .number,
50−.swagger-section pre .date,
51−.swagger-section pre .regexp,
52−.swagger-section pre .literal,
53−.swagger-section pre .smalltalk .symbol,
54−.swagger-section pre .smalltalk .char,
55−.swagger-section pre .go .constant,
56−.swagger-section pre .change,
57−.swagger-section pre .markdown .bullet,
58−.swagger-section pre .markdown .link_url {
59− color: #080;
60−}
61−.swagger-section pre .label,
62−.swagger-section pre .javadoc,
63−.swagger-section pre .ruby .string,
64−.swagger-section pre .decorator,
65−.swagger-section pre .filter .argument,
66−.swagger-section pre .localvars,
67−.swagger-section pre .array,
68−.swagger-section pre .attr_selector,
69−.swagger-section pre .important,
70−.swagger-section pre .pseudo,
71−.swagger-section pre .pi,
72−.swagger-section pre .doctype,
73−.swagger-section pre .deletion,
74−.swagger-section pre .envvar,
75−.swagger-section pre .shebang,
76−.swagger-section pre .apache .sqbracket,
77−.swagger-section pre .nginx .built_in,
78−.swagger-section pre .tex .formula,
79−.swagger-section pre .erlang_repl .reserved,
80−.swagger-section pre .prompt,
81−.swagger-section pre .markdown .link_label,
82−.swagger-section pre .vhdl .attribute,
83−.swagger-section pre .clojure .attribute,
84−.swagger-section pre .coffeescript .property {
85− color: #88F;
86−}
87−.swagger-section pre .keyword,
88−.swagger-section pre .id,
89−.swagger-section pre .phpdoc,
90−.swagger-section pre .title,
91−.swagger-section pre .built_in,
92−.swagger-section pre .aggregate,
93−.swagger-section pre .css .tag,
94−.swagger-section pre .javadoctag,
95−.swagger-section pre .phpdoc,
96−.swagger-section pre .yardoctag,
97−.swagger-section pre .smalltalk .class,
98−.swagger-section pre .winutils,
99−.swagger-section pre .bash .variable,
100−.swagger-section pre .apache .tag,
101−.swagger-section pre .go .typename,
102−.swagger-section pre .tex .command,
103−.swagger-section pre .markdown .strong,
104−.swagger-section pre .request,
105−.swagger-section pre .status {
106− font-weight: bold;
107−}
108−.swagger-section pre .markdown .emphasis {
109− font-style: italic;
110−}
111−.swagger-section pre .nginx .built_in {
112− font-weight: normal;
113−}
114−.swagger-section pre .coffeescript .javascript,
115−.swagger-section pre .javascript .xml,
116−.swagger-section pre .tex .formula,
117−.swagger-section pre .xml .javascript,
118−.swagger-section pre .xml .vbscript,
119−.swagger-section pre .xml .css,
120−.swagger-section pre .xml .cdata {
121− opacity: 0.5;
122−}
123−.swagger-section .hljs {
124− display: block;
125− overflow-x: auto;
126− padding: 0.5em;
127− background: #F0F0F0;
128−}
129−.swagger-section .hljs,
130−.swagger-section .hljs-subst {
131− color: #444;
132−}
133−.swagger-section .hljs-keyword,
134−.swagger-section .hljs-attribute,
135−.swagger-section .hljs-selector-tag,
136−.swagger-section .hljs-meta-keyword,
137−.swagger-section .hljs-doctag,
138−.swagger-section .hljs-name {
139− font-weight: bold;
140−}
141−.swagger-section .hljs-built_in,
142−.swagger-section .hljs-literal,
143−.swagger-section .hljs-bullet,
144−.swagger-section .hljs-code,
145−.swagger-section .hljs-addition {
146− color: #1F811F;
147−}
148−.swagger-section .hljs-regexp,
149−.swagger-section .hljs-symbol,
150−.swagger-section .hljs-variable,
151−.swagger-section .hljs-template-variable,
152−.swagger-section .hljs-link,
153−.swagger-section .hljs-selector-attr,
154−.swagger-section .hljs-selector-pseudo {
155− color: #BC6060;
156−}
157−.swagger-section .hljs-type,
158−.swagger-section .hljs-string,
159−.swagger-section .hljs-number,
160−.swagger-section .hljs-selector-id,
161−.swagger-section .hljs-selector-class,
162−.swagger-section .hljs-quote,
163−.swagger-section .hljs-template-tag,
164−.swagger-section .hljs-deletion {
165− color: #880000;
166−}
167−.swagger-section .hljs-title,
168−.swagger-section .hljs-section {
169− color: #880000;
170− font-weight: bold;
171−}
172−.swagger-section .hljs-comment {
173− color: #888888;
174−}
175−.swagger-section .hljs-meta {
176− color: #2B6EA1;
177−}
178−.swagger-section .hljs-emphasis {
179− font-style: italic;
180−}
181−.swagger-section .hljs-strong {
182− font-weight: bold;
183−}
184−.swagger-section .swagger-ui-wrap {
185− line-height: 1;
186− font-family: "Droid Sans", sans-serif;
187− min-width: 760px;
188− max-width: 960px;
189− margin-left: auto;
190− margin-right: auto;
191− /* JSONEditor specific styling */
192−}
193−.swagger-section .swagger-ui-wrap b,
194−.swagger-section .swagger-ui-wrap strong {
195− font-family: "Droid Sans", sans-serif;
196− font-weight: bold;
197−}
198−.swagger-section .swagger-ui-wrap q,
199−.swagger-section .swagger-ui-wrap blockquote {
200− quotes: none;
201−}
202−.swagger-section .swagger-ui-wrap p {
203− line-height: 1.4em;
204− padding: 0 0 10px;
205− color: #333333;
206−}
207−.swagger-section .swagger-ui-wrap q:before,
208−.swagger-section .swagger-ui-wrap q:after,
209−.swagger-section .swagger-ui-wrap blockquote:before,
210−.swagger-section .swagger-ui-wrap blockquote:after {
211− content: none;
212−}
213−.swagger-section .swagger-ui-wrap .heading_with_menu h1,
214−.swagger-section .swagger-ui-wrap .heading_with_menu h2,
215−.swagger-section .swagger-ui-wrap .heading_with_menu h3,
216−.swagger-section .swagger-ui-wrap .heading_with_menu h4,
217−.swagger-section .swagger-ui-wrap .heading_with_menu h5,
218−.swagger-section .swagger-ui-wrap .heading_with_menu h6 {
219− display: block;
220− clear: none;
221− float: left;
222− -moz-box-sizing: border-box;
223− -webkit-box-sizing: border-box;
224− -ms-box-sizing: border-box;
225− box-sizing: border-box;
226− width: 60%;
227−}
228−.swagger-section .swagger-ui-wrap table {
229− border-collapse: collapse;
230− border-spacing: 0;
231−}
232−.swagger-section .swagger-ui-wrap table thead tr th {
233− padding: 5px;
234− font-size: 0.9em;
235− color: #666666;
236− border-bottom: 1px solid #999999;
237−}
238−.swagger-section .swagger-ui-wrap table tbody tr:last-child td {
239− border-bottom: none;
240−}
241−.swagger-section .swagger-ui-wrap table tbody tr.offset {
242− background-color: #f0f0f0;
243−}
244−.swagger-section .swagger-ui-wrap table tbody tr td {
245− padding: 6px;
246− font-size: 0.9em;
247− border-bottom: 1px solid #cccccc;
248− vertical-align: top;
249− line-height: 1.3em;
250−}
251−.swagger-section .swagger-ui-wrap ol {
252− margin: 0px 0 10px;
253− padding: 0 0 0 18px;
254− list-style-type: decimal;
255−}
256−.swagger-section .swagger-ui-wrap ol li {
257− padding: 5px 0px;
258− font-size: 0.9em;
259− color: #333333;
260−}
261−.swagger-section .swagger-ui-wrap ol,
262−.swagger-section .swagger-ui-wrap ul {
263− list-style: none;
264−}
265−.swagger-section .swagger-ui-wrap h1 a,
266−.swagger-section .swagger-ui-wrap h2 a,
267−.swagger-section .swagger-ui-wrap h3 a,
268−.swagger-section .swagger-ui-wrap h4 a,
269−.swagger-section .swagger-ui-wrap h5 a,
270−.swagger-section .swagger-ui-wrap h6 a {
271− text-decoration: none;
272−}
273−.swagger-section .swagger-ui-wrap h1 a:hover,
274−.swagger-section .swagger-ui-wrap h2 a:hover,
275−.swagger-section .swagger-ui-wrap h3 a:hover,
276−.swagger-section .swagger-ui-wrap h4 a:hover,
277−.swagger-section .swagger-ui-wrap h5 a:hover,
278−.swagger-section .swagger-ui-wrap h6 a:hover {
279− text-decoration: underline;
280−}
281−.swagger-section .swagger-ui-wrap h1 span.divider,
282−.swagger-section .swagger-ui-wrap h2 span.divider,
283−.swagger-section .swagger-ui-wrap h3 span.divider,
284−.swagger-section .swagger-ui-wrap h4 span.divider,
285−.swagger-section .swagger-ui-wrap h5 span.divider,
286−.swagger-section .swagger-ui-wrap h6 span.divider {
287− color: #aaaaaa;
288−}
289−.swagger-section .swagger-ui-wrap a {
290− color: #547f00;
291−}
292−.swagger-section .swagger-ui-wrap a img {
293− border: none;
294−}
295−.swagger-section .swagger-ui-wrap article,
296−.swagger-section .swagger-ui-wrap aside,
297−.swagger-section .swagger-ui-wrap details,
298−.swagger-section .swagger-ui-wrap figcaption,
299−.swagger-section .swagger-ui-wrap figure,
300−.swagger-section .swagger-ui-wrap footer,
301−.swagger-section .swagger-ui-wrap header,
302−.swagger-section .swagger-ui-wrap hgroup,
303−.swagger-section .swagger-ui-wrap menu,
304−.swagger-section .swagger-ui-wrap nav,
305−.swagger-section .swagger-ui-wrap section,
306−.swagger-section .swagger-ui-wrap summary {
307− display: block;
308−}
309−.swagger-section .swagger-ui-wrap pre {
310− font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
311− background-color: #fcf6db;
312− border: 1px solid #e5e0c6;
313− padding: 10px;
314−}
315−.swagger-section .swagger-ui-wrap pre code {
316− line-height: 1.6em;
317− background: none;
318−}
319−.swagger-section .swagger-ui-wrap .content > .content-type > div > label {
320− clear: both;
321− display: block;
322− color: #0F6AB4;
323− font-size: 1.1em;
324− margin: 0;
325− padding: 15px 0 5px;
326−}
327−.swagger-section .swagger-ui-wrap .content pre {
328− font-size: 12px;
329− margin-top: 5px;
330− padding: 5px;
331−}
332−.swagger-section .swagger-ui-wrap .icon-btn {
333− cursor: pointer;
334−}
335−.swagger-section .swagger-ui-wrap .info_title {
336− padding-bottom: 10px;
337− font-weight: bold;
338− font-size: 25px;
339−}
340−.swagger-section .swagger-ui-wrap .footer {
341− margin-top: 20px;
342−}
343−.swagger-section .swagger-ui-wrap p.big,
344−.swagger-section .swagger-ui-wrap div.big p {
345− font-size: 1em;
346− margin-bottom: 10px;
347−}
348−.swagger-section .swagger-ui-wrap form.fullwidth ol li.string input,
349−.swagger-section .swagger-ui-wrap form.fullwidth ol li.url input,
350−.swagger-section .swagger-ui-wrap form.fullwidth ol li.text textarea,
351−.swagger-section .swagger-ui-wrap form.fullwidth ol li.numeric input {
352− width: 500px !important;
353−}
354−.swagger-section .swagger-ui-wrap .info_license {
355− padding-bottom: 5px;
356−}
357−.swagger-section .swagger-ui-wrap .info_tos {
358− padding-bottom: 5px;
359−}
360−.swagger-section .swagger-ui-wrap .message-fail {
361− color: #cc0000;
362−}
363−.swagger-section .swagger-ui-wrap .info_url {
364− padding-bottom: 5px;
365−}
366−.swagger-section .swagger-ui-wrap .info_email {
367− padding-bottom: 5px;
368−}
369−.swagger-section .swagger-ui-wrap .info_name {
370− padding-bottom: 5px;
371−}
372−.swagger-section .swagger-ui-wrap .info_description {
373− padding-bottom: 10px;
374− font-size: 15px;
375−}
376−.swagger-section .swagger-ui-wrap .markdown ol li,
377−.swagger-section .swagger-ui-wrap .markdown ul li {
378− padding: 3px 0px;
379− line-height: 1.4em;
380− color: #333333;
381−}
382−.swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.string input,
383−.swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.url input,
384−.swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.numeric input {
385− display: block;
386− padding: 4px;
387− width: auto;
388− clear: both;
389−}
390−.swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.string input.title,
391−.swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.url input.title,
392−.swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.numeric input.title {
393− font-size: 1.3em;
394−}
395−.swagger-section .swagger-ui-wrap table.fullwidth {
396− width: 100%;
397−}
398−.swagger-section .swagger-ui-wrap .model-signature {
399− font-family: "Droid Sans", sans-serif;
400− font-size: 1em;
401− line-height: 1.5em;
402−}
403−.swagger-section .swagger-ui-wrap .model-signature .signature-nav a {
404− text-decoration: none;
405− color: #AAA;
406−}
407−.swagger-section .swagger-ui-wrap .model-signature .signature-nav a:hover {
408− text-decoration: underline;
409− color: black;
410−}
411−.swagger-section .swagger-ui-wrap .model-signature .signature-nav .selected {
412− color: black;
413− text-decoration: none;
414−}
415−.swagger-section .swagger-ui-wrap .model-signature .propType {
416− color: #5555aa;
417−}
418−.swagger-section .swagger-ui-wrap .model-signature pre:hover {
419− background-color: #ffffdd;
420−}
421−.swagger-section .swagger-ui-wrap .model-signature pre {
422− font-size: .85em;
423− line-height: 1.2em;
424− overflow: auto;
425− max-height: 200px;
426− cursor: pointer;
427−}
428−.swagger-section .swagger-ui-wrap .model-signature ul.signature-nav {
429− display: block;
430− min-width: 230px;
431− margin: 0;
432− padding: 0;
433−}
434−.swagger-section .swagger-ui-wrap .model-signature ul.signature-nav li:last-child {
435− padding-right: 0;
436− border-right: none;
437−}
438−.swagger-section .swagger-ui-wrap .model-signature ul.signature-nav li {
439− float: left;
440− margin: 0 5px 5px 0;
441− padding: 2px 5px 2px 0;
442− border-right: 1px solid #ddd;
443−}
444−.swagger-section .swagger-ui-wrap .model-signature .propOpt {
445− color: #555;
446−}
447−.swagger-section .swagger-ui-wrap .model-signature .snippet small {
448− font-size: 0.75em;
449−}
450−.swagger-section .swagger-ui-wrap .model-signature .propOptKey {
451− font-style: italic;
452−}
453−.swagger-section .swagger-ui-wrap .model-signature .description .strong {
454− font-weight: bold;
455− color: #000;
456− font-size: .9em;
457−}
458−.swagger-section .swagger-ui-wrap .model-signature .description div {
459− font-size: 0.9em;
460− line-height: 1.5em;
461− margin-left: 1em;
462−}
463−.swagger-section .swagger-ui-wrap .model-signature .description .stronger {
464− font-weight: bold;
465− color: #000;
466−}
467−.swagger-section .swagger-ui-wrap .model-signature .description .propWrap .optionsWrapper {
468− border-spacing: 0;
469− position: absolute;
470− background-color: #ffffff;
471− border: 1px solid #bbbbbb;
472− display: none;
473− font-size: 11px;
474− max-width: 400px;
475− line-height: 30px;
476− color: black;
477− padding: 5px;
478− margin-left: 10px;
479−}
480−.swagger-section .swagger-ui-wrap .model-signature .description .propWrap .optionsWrapper th {
481− text-align: center;
482− background-color: #eeeeee;
483− border: 1px solid #bbbbbb;
484− font-size: 11px;
485− color: #666666;
486− font-weight: bold;
487− padding: 5px;
488− line-height: 15px;
489−}
490−.swagger-section .swagger-ui-wrap .model-signature .description .propWrap .optionsWrapper .optionName {
491− font-weight: bold;
492−}
493−.swagger-section .swagger-ui-wrap .model-signature .description .propDesc.markdown > p:first-child,
494−.swagger-section .swagger-ui-wrap .model-signature .description .propDesc.markdown > p:last-child {
495− display: inline;
496−}
497−.swagger-section .swagger-ui-wrap .model-signature .description .propDesc.markdown > p:not(:first-child):before {
498− display: block;
499− content: '';
500−}
501−.swagger-section .swagger-ui-wrap .model-signature .description span:last-of-type.propDesc.markdown > p:only-child {
502− margin-right: -3px;
503−}
504−.swagger-section .swagger-ui-wrap .model-signature .propName {
505− font-weight: bold;
506−}
507−.swagger-section .swagger-ui-wrap .model-signature .signature-container {
508− clear: both;
509−}
510−.swagger-section .swagger-ui-wrap .body-textarea {
511− width: 300px;
512− height: 100px;
513− border: 1px solid #aaa;
514−}
515−.swagger-section .swagger-ui-wrap .markdown p code,
516−.swagger-section .swagger-ui-wrap .markdown li code {
517− font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
518− background-color: #f0f0f0;
519− color: black;
520− padding: 1px 3px;
521−}
522−.swagger-section .swagger-ui-wrap .required {
523− font-weight: bold;
524−}
525−.swagger-section .swagger-ui-wrap .editor_holder {
526− font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
527− font-size: 0.9em;
528−}
529−.swagger-section .swagger-ui-wrap .editor_holder label {
530− font-weight: normal!important;
531− /* JSONEditor uses bold by default for all labels, we revert that back to normal to not give the impression that by default fields are required */
532−}
533−.swagger-section .swagger-ui-wrap .editor_holder label.required {
534− font-weight: bold!important;
535−}
536−.swagger-section .swagger-ui-wrap input.parameter {
537− width: 300px;
538− border: 1px solid #aaa;
539−}
540−.swagger-section .swagger-ui-wrap h1 {
541− color: black;
542− font-size: 1.5em;
543− line-height: 1.3em;
544− padding: 10px 0 10px 0;
545− font-family: "Droid Sans", sans-serif;
546− font-weight: bold;
547−}
548−.swagger-section .swagger-ui-wrap .heading_with_menu {
549− float: none;
550− clear: both;
551− overflow: hidden;
552− display: block;
553−}
554−.swagger-section .swagger-ui-wrap .heading_with_menu ul {
555− display: block;
556− clear: none;
557− float: right;
558− -moz-box-sizing: border-box;
559− -webkit-box-sizing: border-box;
560− -ms-box-sizing: border-box;
561− box-sizing: border-box;
562− margin-top: 10px;
563−}
564−.swagger-section .swagger-ui-wrap h2 {
565− color: black;
566− font-size: 1.3em;
567− padding: 10px 0 10px 0;
568−}
569−.swagger-section .swagger-ui-wrap h2 a {
570− color: black;
571−}
572−.swagger-section .swagger-ui-wrap h2 span.sub {
573− font-size: 0.7em;
574− color: #999999;
575− font-style: italic;
576−}
577−.swagger-section .swagger-ui-wrap h2 span.sub a {
578− color: #777777;
579−}
580−.swagger-section .swagger-ui-wrap span.weak {
581− color: #666666;
582−}
583−.swagger-section .swagger-ui-wrap .message-success {
584− color: #89BF04;
585−}
586−.swagger-section .swagger-ui-wrap caption,
587−.swagger-section .swagger-ui-wrap th,
588−.swagger-section .swagger-ui-wrap td {
589− text-align: left;
590− font-weight: normal;
591− vertical-align: middle;
592−}
593−.swagger-section .swagger-ui-wrap .code {
594− font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
595−}
596−.swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.text textarea {
597− font-family: "Droid Sans", sans-serif;
598− height: 250px;
599− padding: 4px;
600− display: block;
601− clear: both;
602−}
603−.swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.select select {
604− display: block;
605− clear: both;
606−}
607−.swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.boolean {
608− float: none;
609− clear: both;
610− overflow: hidden;
611− display: block;
612−}
613−.swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.boolean label {
614− display: block;
615− float: left;
616− clear: none;
617− margin: 0;
618− padding: 0;
619−}
620−.swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.boolean input {
621− display: block;
622− float: left;
623− clear: none;
624− margin: 0 5px 0 0;
625−}
626−.swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.required label {
627− color: black;
628−}
629−.swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li label {
630− display: block;
631− clear: both;
632− width: auto;
633− padding: 0 0 3px;
634− color: #666666;
635−}
636−.swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li label abbr {
637− padding-left: 3px;
638− color: #888888;
639−}
640−.swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li p.inline-hints {
641− margin-left: 0;
642− font-style: italic;
643− font-size: 0.9em;
644− margin: 0;
645−}
646−.swagger-section .swagger-ui-wrap form.formtastic fieldset.buttons {
647− margin: 0;
648− padding: 0;
649−}
650−.swagger-section .swagger-ui-wrap span.blank,
651−.swagger-section .swagger-ui-wrap span.empty {
652− color: #888888;
653− font-style: italic;
654−}
655−.swagger-section .swagger-ui-wrap .markdown h3 {
656− color: #547f00;
657−}
658−.swagger-section .swagger-ui-wrap .markdown h4 {
659− color: #666666;
660−}
661−.swagger-section .swagger-ui-wrap .markdown pre {
662− font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
663− background-color: #fcf6db;
664− border: 1px solid #e5e0c6;
665− padding: 10px;
666− margin: 0 0 10px 0;
667−}
668−.swagger-section .swagger-ui-wrap .markdown pre code {
669− line-height: 1.6em;
670− overflow: auto;
671−}
672−.swagger-section .swagger-ui-wrap div.gist {
673− margin: 20px 0 25px 0 !important;
674−}
675−.swagger-section .swagger-ui-wrap ul#resources {
676− font-family: "Droid Sans", sans-serif;
677− font-size: 0.9em;
678−}
679−.swagger-section .swagger-ui-wrap ul#resources li.resource {
680− border-bottom: 1px solid #dddddd;
681−}
682−.swagger-section .swagger-ui-wrap ul#resources li.resource:hover div.heading h2 a,
683−.swagger-section .swagger-ui-wrap ul#resources li.resource.active div.heading h2 a {
684− color: black;
685−}
686−.swagger-section .swagger-ui-wrap ul#resources li.resource:hover div.heading ul.options li a,
687−.swagger-section .swagger-ui-wrap ul#resources li.resource.active div.heading ul.options li a {
688− color: #555555;
689−}
690−.swagger-section .swagger-ui-wrap ul#resources li.resource:last-child {
691− border-bottom: none;
692−}
693−.swagger-section .swagger-ui-wrap ul#resources li.resource div.heading {
694− border: 1px solid transparent;
695− float: none;
696− clear: both;
697− overflow: hidden;
698− display: block;
699−}
700−.swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options {
701− overflow: hidden;
702− padding: 0;
703− display: block;
704− clear: none;
705− float: right;
706− margin: 14px 10px 0 0;
707−}
708−.swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options li {
709− float: left;
710− clear: none;
711− margin: 0;
712− padding: 2px 10px;
713− border-right: 1px solid #dddddd;
714− color: #666666;
715− font-size: 0.9em;
716−}
717−.swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options li a {
718− color: #aaaaaa;
719− text-decoration: none;
720−}
721−.swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options li a:hover {
722− text-decoration: underline;
723− color: black;
724−}
725−.swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options li a:hover,
726−.swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options li a:active,
727−.swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options li a.active {
728− text-decoration: underline;
729−}
730−.swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options li:first-child,
731−.swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options li.first {
732− padding-left: 0;
733−}
734−.swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options li:last-child,
735−.swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options li.last {
736− padding-right: 0;
737− border-right: none;
738−}
739−.swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options:first-child,
740−.swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options.first {
741− padding-left: 0;
742−}
743−.swagger-section .swagger-ui-wrap ul#resources li.resource div.heading h2 {
744− color: #999999;
745− padding-left: 0;
746− display: block;
747− clear: none;
748− float: left;
749− font-family: "Droid Sans", sans-serif;
750− font-weight: bold;
751−}
752−.swagger-section .swagger-ui-wrap ul#resources li.resource div.heading h2 a {
753− color: #999999;
754−}
755−.swagger-section .swagger-ui-wrap ul#resources li.resource div.heading h2 a:hover {
756− color: black;
757−}
758−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation {
759− float: none;
760− clear: both;
761− overflow: hidden;
762− display: block;
763− margin: 0 0 10px;
764− padding: 0;
765−}
766−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading {
767− float: none;
768− clear: both;
769− overflow: hidden;
770− display: block;
771− margin: 0;
772− padding: 0;
773−}
774−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 {
775− display: block;
776− clear: none;
777− float: left;
778− width: auto;
779− margin: 0;
780− padding: 0;
781− line-height: 1.1em;
782− color: black;
783−}
784−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span.path {
785− padding-left: 10px;
786−}
787−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span.path a {
788− color: black;
789− text-decoration: none;
790−}
791−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span.path a.toggleOperation.deprecated {
792− text-decoration: line-through;
793−}
794−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span.path a:hover {
795− text-decoration: underline;
796−}
797−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span.http_method a {
798− text-transform: uppercase;
799− text-decoration: none;
800− color: white;
801− display: inline-block;
802− width: 50px;
803− font-size: 0.7em;
804− text-align: center;
805− padding: 7px 0 4px;
806− -moz-border-radius: 2px;
807− -webkit-border-radius: 2px;
808− -o-border-radius: 2px;
809− -ms-border-radius: 2px;
810− -khtml-border-radius: 2px;
811− border-radius: 2px;
812−}
813−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span {
814− margin: 0;
815− padding: 0;
816−}
817−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading ul.options {
818− overflow: hidden;
819− padding: 0;
820− display: block;
821− clear: none;
822− float: right;
823− margin: 6px 10px 0 0;
824−}
825−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading ul.options li {
826− float: left;
827− clear: none;
828− margin: 0;
829− padding: 2px 10px;
830− font-size: 0.9em;
831−}
832−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading ul.options li a {
833− text-decoration: none;
834−}
835−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading ul.options li.access {
836− color: black;
837−}
838−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content {
839− border-top: none;
840− padding: 10px;
841− -moz-border-radius-bottomleft: 6px;
842− -webkit-border-bottom-left-radius: 6px;
843− -o-border-bottom-left-radius: 6px;
844− -ms-border-bottom-left-radius: 6px;
845− -khtml-border-bottom-left-radius: 6px;
846− border-bottom-left-radius: 6px;
847− -moz-border-radius-bottomright: 6px;
848− -webkit-border-bottom-right-radius: 6px;
849− -o-border-bottom-right-radius: 6px;
850− -ms-border-bottom-right-radius: 6px;
851− -khtml-border-bottom-right-radius: 6px;
852− border-bottom-right-radius: 6px;
853− margin: 0 0 20px;
854−}
855−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content h4 {
856− font-size: 1.1em;
857− margin: 0;
858− padding: 15px 0 5px;
859−}
860−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content div.sandbox_header {
861− float: none;
862− clear: both;
863− overflow: hidden;
864− display: block;
865−}
866−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content div.sandbox_header a {
867− padding: 4px 0 0 10px;
868− display: inline-block;
869− font-size: 0.9em;
870−}
871−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content div.sandbox_header input.submit {
872− display: block;
873− clear: none;
874− float: left;
875− padding: 6px 8px;
876−}
877−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content div.sandbox_header span.response_throbber {
878− background-image: url('../images/throbber.gif');
879− width: 128px;
880− height: 16px;
881− display: block;
882− clear: none;
883− float: right;
884−}
885−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content form input[type='text'].error {
886− outline: 2px solid black;
887− outline-color: #cc0000;
888−}
889−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content form select[name='parameterContentType'] {
890− max-width: 300px;
891−}
892−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content div.response div.block pre {
893− font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
894− padding: 10px;
895− font-size: 0.9em;
896− max-height: 400px;
897− overflow-y: auto;
898−}
899−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading {
900− background-color: #f9f2e9;
901− border: 1px solid #f0e0ca;
902−}
903−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading h3 span.http_method a {
904− background-color: #c5862b;
905−}
906−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li {
907− border-right: 1px solid #dddddd;
908− border-right-color: #f0e0ca;
909− color: #c5862b;
910−}
911−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li a {
912− color: #c5862b;
913−}
914−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content {
915− background-color: #faf5ee;
916− border: 1px solid #f0e0ca;
917−}
918−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content h4 {
919− color: #c5862b;
920−}
921−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content div.sandbox_header a {
922− color: #dcb67f;
923−}
924−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading {
925− background-color: #fcffcd;
926− border: 1px solid black;
927− border-color: #ffd20f;
928−}
929−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading h3 span.http_method a {
930− text-transform: uppercase;
931− background-color: #ffd20f;
932−}
933−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading ul.options li {
934− border-right: 1px solid #dddddd;
935− border-right-color: #ffd20f;
936− color: #ffd20f;
937−}
938−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading ul.options li a {
939− color: #ffd20f;
940−}
941−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.content {
942− background-color: #fcffcd;
943− border: 1px solid black;
944− border-color: #ffd20f;
945−}
946−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.content h4 {
947− color: #ffd20f;
948−}
949−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.content div.sandbox_header a {
950− color: #6fc992;
951−}
952−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading {
953− background-color: #f5e8e8;
954− border: 1px solid #e8c6c7;
955−}
956−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading h3 span.http_method a {
957− text-transform: uppercase;
958− background-color: #a41e22;
959−}
960−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li {
961− border-right: 1px solid #dddddd;
962− border-right-color: #e8c6c7;
963− color: #a41e22;
964−}
965−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li a {
966− color: #a41e22;
967−}
968−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content {
969− background-color: #f7eded;
970− border: 1px solid #e8c6c7;
971−}
972−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content h4 {
973− color: #a41e22;
974−}
975−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content div.sandbox_header a {
976− color: #c8787a;
977−}
978−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading {
979− background-color: #e7f6ec;
980− border: 1px solid #c3e8d1;
981−}
982−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading h3 span.http_method a {
983− background-color: #10a54a;
984−}
985−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li {
986− border-right: 1px solid #dddddd;
987− border-right-color: #c3e8d1;
988− color: #10a54a;
989−}
990−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li a {
991− color: #10a54a;
992−}
993−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content {
994− background-color: #ebf7f0;
995− border: 1px solid #c3e8d1;
996−}
997−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content h4 {
998− color: #10a54a;
999−}
1000−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content div.sandbox_header a {
1001− color: #6fc992;
1002−}
1003−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading {
1004− background-color: #FCE9E3;
1005− border: 1px solid #F5D5C3;
1006−}
1007−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading h3 span.http_method a {
1008− background-color: #D38042;
1009−}
1010−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li {
1011− border-right: 1px solid #dddddd;
1012− border-right-color: #f0cecb;
1013− color: #D38042;
1014−}
1015−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li a {
1016− color: #D38042;
1017−}
1018−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content {
1019− background-color: #faf0ef;
1020− border: 1px solid #f0cecb;
1021−}
1022−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content h4 {
1023− color: #D38042;
1024−}
1025−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content div.sandbox_header a {
1026− color: #dcb67f;
1027−}
1028−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading {
1029− background-color: #e7f0f7;
1030− border: 1px solid #c3d9ec;
1031−}
1032−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading h3 span.http_method a {
1033− background-color: #0f6ab4;
1034−}
1035−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li {
1036− border-right: 1px solid #dddddd;
1037− border-right-color: #c3d9ec;
1038− color: #0f6ab4;
1039−}
1040−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li a {
1041− color: #0f6ab4;
1042−}
1043−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content {
1044− background-color: #ebf3f9;
1045− border: 1px solid #c3d9ec;
1046−}
1047−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content h4 {
1048− color: #0f6ab4;
1049−}
1050−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content div.sandbox_header a {
1051− color: #6fa5d2;
1052−}
1053−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.options div.heading {
1054− background-color: #e7f0f7;
1055− border: 1px solid #c3d9ec;
1056−}
1057−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.options div.heading h3 span.http_method a {
1058− background-color: #0f6ab4;
1059−}
1060−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.options div.heading ul.options li {
1061− border-right: 1px solid #dddddd;
1062− border-right-color: #c3d9ec;
1063− color: #0f6ab4;
1064−}
1065−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.options div.heading ul.options li a {
1066− color: #0f6ab4;
1067−}
1068−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.options div.content {
1069− background-color: #ebf3f9;
1070− border: 1px solid #c3d9ec;
1071−}
1072−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.options div.content h4 {
1073− color: #0f6ab4;
1074−}
1075−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.options div.content div.sandbox_header a {
1076− color: #6fa5d2;
1077−}
1078−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content,
1079−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content,
1080−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.content,
1081−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content,
1082−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content,
1083−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content {
1084− border-top: none;
1085−}
1086−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li:last-child,
1087−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li:last-child,
1088−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading ul.options li:last-child,
1089−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li:last-child,
1090−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li:last-child,
1091−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li:last-child,
1092−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li.last,
1093−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li.last,
1094−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading ul.options li.last,
1095−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li.last,
1096−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li.last,
1097−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li.last {
1098− padding-right: 0;
1099− border-right: none;
1100−}
1101−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations ul.options li a:hover,
1102−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations ul.options li a:active,
1103−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations ul.options li a.active {
1104− text-decoration: underline;
1105−}
1106−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations ul.options li:first-child,
1107−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations ul.options li.first {
1108− padding-left: 0;
1109−}
1110−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations:first-child,
1111−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations.first {
1112− padding-left: 0;
1113−}
1114−.swagger-section .swagger-ui-wrap p#colophon {
1115− margin: 0 15px 40px 15px;
1116− padding: 10px 0;
1117− font-size: 0.8em;
1118− border-top: 1px solid #dddddd;
1119− font-family: "Droid Sans", sans-serif;
1120− color: #999999;
1121− font-style: italic;
1122−}
1123−.swagger-section .swagger-ui-wrap p#colophon a {
1124− text-decoration: none;
1125− color: #547f00;
1126−}
1127−.swagger-section .swagger-ui-wrap h3 {
1128− color: black;
1129− font-size: 1.1em;
1130− padding: 10px 0 10px 0;
1131−}
1132−.swagger-section .swagger-ui-wrap .markdown ol,
1133−.swagger-section .swagger-ui-wrap .markdown ul {
1134− font-family: "Droid Sans", sans-serif;
1135− margin: 5px 0 10px;
1136− padding: 0 0 0 18px;
1137− list-style-type: disc;
1138−}
1139−.swagger-section .swagger-ui-wrap form.form_box {
1140− background-color: #ebf3f9;
1141− border: 1px solid #c3d9ec;
1142− padding: 10px;
1143−}
1144−.swagger-section .swagger-ui-wrap form.form_box label {
1145− color: #0f6ab4 !important;
1146−}
1147−.swagger-section .swagger-ui-wrap form.form_box input[type=submit] {
1148− display: block;
1149− padding: 10px;
1150−}
1151−.swagger-section .swagger-ui-wrap form.form_box p.weak {
1152− font-size: 0.8em;
1153−}
1154−.swagger-section .swagger-ui-wrap form.form_box p {
1155− font-size: 0.9em;
1156− padding: 0 0 15px;
1157− color: #7e7b6d;
1158−}
1159−.swagger-section .swagger-ui-wrap form.form_box p a {
1160− color: #646257;
1161−}
1162−.swagger-section .swagger-ui-wrap form.form_box p strong {
1163− color: black;
1164−}
1165−.swagger-section .swagger-ui-wrap .operation-status td.markdown > p:last-child {
1166− padding-bottom: 0;
1167−}
1168−.swagger-section .title {
1169− font-style: bold;
1170−}
1171−.swagger-section .secondary_form {
1172− display: none;
1173−}
1174−.swagger-section .main_image {
1175− display: block;
1176− margin-left: auto;
1177− margin-right: auto;
1178−}
1179−.swagger-section .oauth_body {
1180− margin-left: 100px;
1181− margin-right: 100px;
1182−}
1183−.swagger-section .oauth_submit {
1184− text-align: center;
1185− display: inline-block;
1186−}
1187−.swagger-section .authorize-wrapper {
1188− margin: 15px 0 10px;
1189−}
1190−.swagger-section .authorize-wrapper_operation {
1191− float: right;
1192−}
1193−.swagger-section .authorize__btn:hover {
1194− text-decoration: underline;
1195− cursor: pointer;
1196−}
1197−.swagger-section .authorize__btn_operation:hover .authorize-scopes {
1198− display: block;
1199−}
1200−.swagger-section .authorize-scopes {
1201− position: absolute;
1202− margin-top: 20px;
1203− background: #FFF;
1204− border: 1px solid #ccc;
1205− border-radius: 5px;
1206− display: none;
1207− font-size: 13px;
1208− max-width: 300px;
1209− line-height: 30px;
1210− color: black;
1211− padding: 5px;
1212−}
1213−.swagger-section .authorize-scopes .authorize__scope {
1214− text-decoration: none;
1215−}
1216−.swagger-section .authorize__btn_operation {
1217− height: 18px;
1218− vertical-align: middle;
1219− display: inline-block;
1220− background: url(../images/explorer_icons.png) no-repeat;
1221−}
1222−.swagger-section .authorize__btn_operation_login {
1223− background-position: 0 0;
1224− width: 18px;
1225− margin-top: -6px;
1226− margin-left: 4px;
1227−}
1228−.swagger-section .authorize__btn_operation_logout {
1229− background-position: -30px 0;
1230− width: 18px;
1231− margin-top: -6px;
1232− margin-left: 4px;
1233−}
1234−.swagger-section #auth_container {
1235− color: #fff;
1236− display: inline-block;
1237− border: none;
1238− padding: 5px;
1239− width: 87px;
1240− height: 13px;
1241−}
1242−.swagger-section #auth_container .authorize__btn {
1243− color: #fff;
1244−}
1245−.swagger-section .auth_container {
1246− padding: 0 0 10px;
1247− margin-bottom: 5px;
1248− border-bottom: solid 1px #CCC;
1249− font-size: 0.9em;
1250−}
1251−.swagger-section .auth_container .auth__title {
1252− color: #547f00;
1253− font-size: 1.2em;
1254−}
1255−.swagger-section .auth_container .basic_auth__label {
1256− display: inline-block;
1257− width: 60px;
1258−}
1259−.swagger-section .auth_container .auth__description {
1260− color: #999999;
1261− margin-bottom: 5px;
1262−}
1263−.swagger-section .auth_container .auth__button {
1264− margin-top: 10px;
1265− height: 30px;
1266−}
1267−.swagger-section .auth_container .key_auth__field {
1268− margin: 5px 0;
1269−}
1270−.swagger-section .auth_container .key_auth__label {
1271− display: inline-block;
1272− width: 60px;
1273−}
1274−.swagger-section .api-popup-dialog {
1275− position: absolute;
1276− display: none;
1277−}
1278−.swagger-section .api-popup-dialog-wrapper {
1279− z-index: 1000;
1280− width: 500px;
1281− background: #FFF;
1282− padding: 20px;
1283− border: 1px solid #ccc;
1284− border-radius: 5px;
1285− font-size: 13px;
1286− color: #777;
1287− position: fixed;
1288− top: 50%;
1289− left: 50%;
1290− transform: translate(-50%, -50%);
1291−}
1292−.swagger-section .api-popup-dialog-shadow {
1293− position: fixed;
1294− top: 0;
1295− left: 0;
1296− width: 100%;
1297− height: 100%;
1298− opacity: 0.2;
1299− background-color: gray;
1300− z-index: 900;
1301−}
1302−.swagger-section .api-popup-dialog .api-popup-title {
1303− font-size: 24px;
1304− padding: 10px 0;
1305−}
1306−.swagger-section .api-popup-dialog .api-popup-title {
1307− font-size: 24px;
1308− padding: 10px 0;
1309−}
1310−.swagger-section .api-popup-dialog .error-msg {
1311− padding-left: 5px;
1312− padding-bottom: 5px;
1313−}
1314−.swagger-section .api-popup-dialog .api-popup-content {
1315− max-height: 500px;
1316− overflow-y: auto;
1317−}
1318−.swagger-section .api-popup-dialog .api-popup-authbtn {
1319− height: 30px;
1320−}
1321−.swagger-section .api-popup-dialog .api-popup-cancel {
1322− height: 30px;
1323−}
1324−.swagger-section .api-popup-scopes {
1325− padding: 10px 20px;
1326−}
1327−.swagger-section .api-popup-scopes li {
1328− padding: 5px 0;
1329− line-height: 20px;
1330−}
1331−.swagger-section .api-popup-scopes li input {
1332− position: relative;
1333− top: 2px;
1334−}
1335−.swagger-section .api-popup-scopes .api-scope-desc {
1336− padding-left: 20px;
1337− font-style: italic;
1338−}
1339−.swagger-section .api-popup-actions {
1340− padding-top: 10px;
1341−}
1342−#header {
1343− display: none;
1344−}
1345−.swagger-section .swagger-ui-wrap .model-signature pre {
1346− max-height: none;
1347−}
1348−.swagger-section .swagger-ui-wrap .body-textarea {
1349− width: 100px;
1350−}
1351−.swagger-section .swagger-ui-wrap input.parameter {
1352− width: 100px;
1353−}
1354−.swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options {
1355− display: none;
1356−}
1357−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints {
1358− display: block !important;
1359−}
1360−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content {
1361− display: block !important;
1362−}
swagger-dist-2.1.5/css/reset.cssdeleted−125
@@ -1,125 +0,0 @@
1−/* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 */
2−html,
3−body,
4−div,
5−span,
6−applet,
7−object,
8−iframe,
9−h1,
10−h2,
11−h3,
12−h4,
13−h5,
14−h6,
15−p,
16−blockquote,
17−pre,
18−a,
19−abbr,
20−acronym,
21−address,
22−big,
23−cite,
24−code,
25−del,
26−dfn,
27−em,
28−img,
29−ins,
30−kbd,
31−q,
32−s,
33−samp,
34−small,
35−strike,
36−strong,
37−sub,
38−sup,
39−tt,
40−var,
41−b,
42−u,
43−i,
44−center,
45−dl,
46−dt,
47−dd,
48−ol,
49−ul,
50−li,
51−fieldset,
52−form,
53−label,
54−legend,
55−table,
56−caption,
57−tbody,
58−tfoot,
59−thead,
60−tr,
61−th,
62−td,
63−article,
64−aside,
65−canvas,
66−details,
67−embed,
68−figure,
69−figcaption,
70−footer,
71−header,
72−hgroup,
73−menu,
74−nav,
75−output,
76−ruby,
77−section,
78−summary,
79−time,
80−mark,
81−audio,
82−video {
83− margin: 0;
84− padding: 0;
85− border: 0;
86− font-size: 100%;
87− font: inherit;
88− vertical-align: baseline;
89−}
90−/* HTML5 display-role reset for older browsers */
91−article,
92−aside,
93−details,
94−figcaption,
95−figure,
96−footer,
97−header,
98−hgroup,
99−menu,
100−nav,
101−section {
102− display: block;
103−}
104−body {
105− line-height: 1;
106−}
107−ol,
108−ul {
109− list-style: none;
110−}
111−blockquote,
112−q {
113− quotes: none;
114−}
115−blockquote:before,
116−blockquote:after,
117−q:before,
118−q:after {
119− content: '';
120− content: none;
121−}
122−table {
123− border-collapse: collapse;
124− border-spacing: 0;
125−}
swagger-dist-2.1.5/css/screen.cssdeleted−1489
@@ -1,1489 +0,0 @@
1−/* Original style from softwaremaniacs.org (c) Ivan Sagalaev <Maniac@SoftwareManiacs.Org> */
2−.swagger-section pre code {
3− display: block;
4− padding: 0.5em;
5− background: #F0F0F0;
6−}
7−.swagger-section pre code,
8−.swagger-section pre .subst,
9−.swagger-section pre .tag .title,
10−.swagger-section pre .lisp .title,
11−.swagger-section pre .clojure .built_in,
12−.swagger-section pre .nginx .title {
13− color: black;
14−}
15−.swagger-section pre .string,
16−.swagger-section pre .title,
17−.swagger-section pre .constant,
18−.swagger-section pre .parent,
19−.swagger-section pre .tag .value,
20−.swagger-section pre .rules .value,
21−.swagger-section pre .rules .value .number,
22−.swagger-section pre .preprocessor,
23−.swagger-section pre .ruby .symbol,
24−.swagger-section pre .ruby .symbol .string,
25−.swagger-section pre .aggregate,
26−.swagger-section pre .template_tag,
27−.swagger-section pre .django .variable,
28−.swagger-section pre .smalltalk .class,
29−.swagger-section pre .addition,
30−.swagger-section pre .flow,
31−.swagger-section pre .stream,
32−.swagger-section pre .bash .variable,
33−.swagger-section pre .apache .tag,
34−.swagger-section pre .apache .cbracket,
35−.swagger-section pre .tex .command,
36−.swagger-section pre .tex .special,
37−.swagger-section pre .erlang_repl .function_or_atom,
38−.swagger-section pre .markdown .header {
39− color: #800;
40−}
41−.swagger-section pre .comment,
42−.swagger-section pre .annotation,
43−.swagger-section pre .template_comment,
44−.swagger-section pre .diff .header,
45−.swagger-section pre .chunk,
46−.swagger-section pre .markdown .blockquote {
47− color: #888;
48−}
49−.swagger-section pre .number,
50−.swagger-section pre .date,
51−.swagger-section pre .regexp,
52−.swagger-section pre .literal,
53−.swagger-section pre .smalltalk .symbol,
54−.swagger-section pre .smalltalk .char,
55−.swagger-section pre .go .constant,
56−.swagger-section pre .change,
57−.swagger-section pre .markdown .bullet,
58−.swagger-section pre .markdown .link_url {
59− color: #080;
60−}
61−.swagger-section pre .label,
62−.swagger-section pre .javadoc,
63−.swagger-section pre .ruby .string,
64−.swagger-section pre .decorator,
65−.swagger-section pre .filter .argument,
66−.swagger-section pre .localvars,
67−.swagger-section pre .array,
68−.swagger-section pre .attr_selector,
69−.swagger-section pre .important,
70−.swagger-section pre .pseudo,
71−.swagger-section pre .pi,
72−.swagger-section pre .doctype,
73−.swagger-section pre .deletion,
74−.swagger-section pre .envvar,
75−.swagger-section pre .shebang,
76−.swagger-section pre .apache .sqbracket,
77−.swagger-section pre .nginx .built_in,
78−.swagger-section pre .tex .formula,
79−.swagger-section pre .erlang_repl .reserved,
80−.swagger-section pre .prompt,
81−.swagger-section pre .markdown .link_label,
82−.swagger-section pre .vhdl .attribute,
83−.swagger-section pre .clojure .attribute,
84−.swagger-section pre .coffeescript .property {
85− color: #88F;
86−}
87−.swagger-section pre .keyword,
88−.swagger-section pre .id,
89−.swagger-section pre .phpdoc,
90−.swagger-section pre .title,
91−.swagger-section pre .built_in,
92−.swagger-section pre .aggregate,
93−.swagger-section pre .css .tag,
94−.swagger-section pre .javadoctag,
95−.swagger-section pre .phpdoc,
96−.swagger-section pre .yardoctag,
97−.swagger-section pre .smalltalk .class,
98−.swagger-section pre .winutils,
99−.swagger-section pre .bash .variable,
100−.swagger-section pre .apache .tag,
101−.swagger-section pre .go .typename,
102−.swagger-section pre .tex .command,
103−.swagger-section pre .markdown .strong,
104−.swagger-section pre .request,
105−.swagger-section pre .status {
106− font-weight: bold;
107−}
108−.swagger-section pre .markdown .emphasis {
109− font-style: italic;
110−}
111−.swagger-section pre .nginx .built_in {
112− font-weight: normal;
113−}
114−.swagger-section pre .coffeescript .javascript,
115−.swagger-section pre .javascript .xml,
116−.swagger-section pre .tex .formula,
117−.swagger-section pre .xml .javascript,
118−.swagger-section pre .xml .vbscript,
119−.swagger-section pre .xml .css,
120−.swagger-section pre .xml .cdata {
121− opacity: 0.5;
122−}
123−.swagger-section .hljs {
124− display: block;
125− overflow-x: auto;
126− padding: 0.5em;
127− background: #F0F0F0;
128−}
129−.swagger-section .hljs,
130−.swagger-section .hljs-subst {
131− color: #444;
132−}
133−.swagger-section .hljs-keyword,
134−.swagger-section .hljs-attribute,
135−.swagger-section .hljs-selector-tag,
136−.swagger-section .hljs-meta-keyword,
137−.swagger-section .hljs-doctag,
138−.swagger-section .hljs-name {
139− font-weight: bold;
140−}
141−.swagger-section .hljs-built_in,
142−.swagger-section .hljs-literal,
143−.swagger-section .hljs-bullet,
144−.swagger-section .hljs-code,
145−.swagger-section .hljs-addition {
146− color: #1F811F;
147−}
148−.swagger-section .hljs-regexp,
149−.swagger-section .hljs-symbol,
150−.swagger-section .hljs-variable,
151−.swagger-section .hljs-template-variable,
152−.swagger-section .hljs-link,
153−.swagger-section .hljs-selector-attr,
154−.swagger-section .hljs-selector-pseudo {
155− color: #BC6060;
156−}
157−.swagger-section .hljs-type,
158−.swagger-section .hljs-string,
159−.swagger-section .hljs-number,
160−.swagger-section .hljs-selector-id,
161−.swagger-section .hljs-selector-class,
162−.swagger-section .hljs-quote,
163−.swagger-section .hljs-template-tag,
164−.swagger-section .hljs-deletion {
165− color: #880000;
166−}
167−.swagger-section .hljs-title,
168−.swagger-section .hljs-section {
169− color: #880000;
170− font-weight: bold;
171−}
172−.swagger-section .hljs-comment {
173− color: #888888;
174−}
175−.swagger-section .hljs-meta {
176− color: #2B6EA1;
177−}
178−.swagger-section .hljs-emphasis {
179− font-style: italic;
180−}
181−.swagger-section .hljs-strong {
182− font-weight: bold;
183−}
184−.swagger-section .swagger-ui-wrap {
185− line-height: 1;
186− font-family: "Droid Sans", sans-serif;
187− min-width: 760px;
188− max-width: 960px;
189− margin-left: auto;
190− margin-right: auto;
191− /* JSONEditor specific styling */
192−}
193−.swagger-section .swagger-ui-wrap b,
194−.swagger-section .swagger-ui-wrap strong {
195− font-family: "Droid Sans", sans-serif;
196− font-weight: bold;
197−}
198−.swagger-section .swagger-ui-wrap q,
199−.swagger-section .swagger-ui-wrap blockquote {
200− quotes: none;
201−}
202−.swagger-section .swagger-ui-wrap p {
203− line-height: 1.4em;
204− padding: 0 0 10px;
205− color: #333333;
206−}
207−.swagger-section .swagger-ui-wrap q:before,
208−.swagger-section .swagger-ui-wrap q:after,
209−.swagger-section .swagger-ui-wrap blockquote:before,
210−.swagger-section .swagger-ui-wrap blockquote:after {
211− content: none;
212−}
213−.swagger-section .swagger-ui-wrap .heading_with_menu h1,
214−.swagger-section .swagger-ui-wrap .heading_with_menu h2,
215−.swagger-section .swagger-ui-wrap .heading_with_menu h3,
216−.swagger-section .swagger-ui-wrap .heading_with_menu h4,
217−.swagger-section .swagger-ui-wrap .heading_with_menu h5,
218−.swagger-section .swagger-ui-wrap .heading_with_menu h6 {
219− display: block;
220− clear: none;
221− float: left;
222− -moz-box-sizing: border-box;
223− -webkit-box-sizing: border-box;
224− -ms-box-sizing: border-box;
225− box-sizing: border-box;
226− width: 60%;
227−}
228−.swagger-section .swagger-ui-wrap table {
229− border-collapse: collapse;
230− border-spacing: 0;
231−}
232−.swagger-section .swagger-ui-wrap table thead tr th {
233− padding: 5px;
234− font-size: 0.9em;
235− color: #666666;
236− border-bottom: 1px solid #999999;
237−}
238−.swagger-section .swagger-ui-wrap table tbody tr:last-child td {
239− border-bottom: none;
240−}
241−.swagger-section .swagger-ui-wrap table tbody tr.offset {
242− background-color: #f0f0f0;
243−}
244−.swagger-section .swagger-ui-wrap table tbody tr td {
245− padding: 6px;
246− font-size: 0.9em;
247− border-bottom: 1px solid #cccccc;
248− vertical-align: top;
249− line-height: 1.3em;
250−}
251−.swagger-section .swagger-ui-wrap ol {
252− margin: 0px 0 10px;
253− padding: 0 0 0 18px;
254− list-style-type: decimal;
255−}
256−.swagger-section .swagger-ui-wrap ol li {
257− padding: 5px 0px;
258− font-size: 0.9em;
259− color: #333333;
260−}
261−.swagger-section .swagger-ui-wrap ol,
262−.swagger-section .swagger-ui-wrap ul {
263− list-style: none;
264−}
265−.swagger-section .swagger-ui-wrap h1 a,
266−.swagger-section .swagger-ui-wrap h2 a,
267−.swagger-section .swagger-ui-wrap h3 a,
268−.swagger-section .swagger-ui-wrap h4 a,
269−.swagger-section .swagger-ui-wrap h5 a,
270−.swagger-section .swagger-ui-wrap h6 a {
271− text-decoration: none;
272−}
273−.swagger-section .swagger-ui-wrap h1 a:hover,
274−.swagger-section .swagger-ui-wrap h2 a:hover,
275−.swagger-section .swagger-ui-wrap h3 a:hover,
276−.swagger-section .swagger-ui-wrap h4 a:hover,
277−.swagger-section .swagger-ui-wrap h5 a:hover,
278−.swagger-section .swagger-ui-wrap h6 a:hover {
279− text-decoration: underline;
280−}
281−.swagger-section .swagger-ui-wrap h1 span.divider,
282−.swagger-section .swagger-ui-wrap h2 span.divider,
283−.swagger-section .swagger-ui-wrap h3 span.divider,
284−.swagger-section .swagger-ui-wrap h4 span.divider,
285−.swagger-section .swagger-ui-wrap h5 span.divider,
286−.swagger-section .swagger-ui-wrap h6 span.divider {
287− color: #aaaaaa;
288−}
289−.swagger-section .swagger-ui-wrap a {
290− color: #547f00;
291−}
292−.swagger-section .swagger-ui-wrap a img {
293− border: none;
294−}
295−.swagger-section .swagger-ui-wrap article,
296−.swagger-section .swagger-ui-wrap aside,
297−.swagger-section .swagger-ui-wrap details,
298−.swagger-section .swagger-ui-wrap figcaption,
299−.swagger-section .swagger-ui-wrap figure,
300−.swagger-section .swagger-ui-wrap footer,
301−.swagger-section .swagger-ui-wrap header,
302−.swagger-section .swagger-ui-wrap hgroup,
303−.swagger-section .swagger-ui-wrap menu,
304−.swagger-section .swagger-ui-wrap nav,
305−.swagger-section .swagger-ui-wrap section,
306−.swagger-section .swagger-ui-wrap summary {
307− display: block;
308−}
309−.swagger-section .swagger-ui-wrap pre {
310− font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
311− background-color: #fcf6db;
312− border: 1px solid #e5e0c6;
313− padding: 10px;
314−}
315−.swagger-section .swagger-ui-wrap pre code {
316− line-height: 1.6em;
317− background: none;
318−}
319−.swagger-section .swagger-ui-wrap .content > .content-type > div > label {
320− clear: both;
321− display: block;
322− color: #0F6AB4;
323− font-size: 1.1em;
324− margin: 0;
325− padding: 15px 0 5px;
326−}
327−.swagger-section .swagger-ui-wrap .content pre {
328− font-size: 12px;
329− margin-top: 5px;
330− padding: 5px;
331−}
332−.swagger-section .swagger-ui-wrap .icon-btn {
333− cursor: pointer;
334−}
335−.swagger-section .swagger-ui-wrap .info_title {
336− padding-bottom: 10px;
337− font-weight: bold;
338− font-size: 25px;
339−}
340−.swagger-section .swagger-ui-wrap .footer {
341− margin-top: 20px;
342−}
343−.swagger-section .swagger-ui-wrap p.big,
344−.swagger-section .swagger-ui-wrap div.big p {
345− font-size: 1em;
346− margin-bottom: 10px;
347−}
348−.swagger-section .swagger-ui-wrap form.fullwidth ol li.string input,
349−.swagger-section .swagger-ui-wrap form.fullwidth ol li.url input,
350−.swagger-section .swagger-ui-wrap form.fullwidth ol li.text textarea,
351−.swagger-section .swagger-ui-wrap form.fullwidth ol li.numeric input {
352− width: 500px !important;
353−}
354−.swagger-section .swagger-ui-wrap .info_license {
355− padding-bottom: 5px;
356−}
357−.swagger-section .swagger-ui-wrap .info_tos {
358− padding-bottom: 5px;
359−}
360−.swagger-section .swagger-ui-wrap .message-fail {
361− color: #cc0000;
362−}
363−.swagger-section .swagger-ui-wrap .info_url {
364− padding-bottom: 5px;
365−}
366−.swagger-section .swagger-ui-wrap .info_email {
367− padding-bottom: 5px;
368−}
369−.swagger-section .swagger-ui-wrap .info_name {
370− padding-bottom: 5px;
371−}
372−.swagger-section .swagger-ui-wrap .info_description {
373− padding-bottom: 10px;
374− font-size: 15px;
375−}
376−.swagger-section .swagger-ui-wrap .markdown ol li,
377−.swagger-section .swagger-ui-wrap .markdown ul li {
378− padding: 3px 0px;
379− line-height: 1.4em;
380− color: #333333;
381−}
382−.swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.string input,
383−.swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.url input,
384−.swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.numeric input {
385− display: block;
386− padding: 4px;
387− width: auto;
388− clear: both;
389−}
390−.swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.string input.title,
391−.swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.url input.title,
392−.swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.numeric input.title {
393− font-size: 1.3em;
394−}
395−.swagger-section .swagger-ui-wrap table.fullwidth {
396− width: 100%;
397−}
398−.swagger-section .swagger-ui-wrap .model-signature {
399− font-family: "Droid Sans", sans-serif;
400− font-size: 1em;
401− line-height: 1.5em;
402−}
403−.swagger-section .swagger-ui-wrap .model-signature .signature-nav a {
404− text-decoration: none;
405− color: #AAA;
406−}
407−.swagger-section .swagger-ui-wrap .model-signature .signature-nav a:hover {
408− text-decoration: underline;
409− color: black;
410−}
411−.swagger-section .swagger-ui-wrap .model-signature .signature-nav .selected {
412− color: black;
413− text-decoration: none;
414−}
415−.swagger-section .swagger-ui-wrap .model-signature .propType {
416− color: #5555aa;
417−}
418−.swagger-section .swagger-ui-wrap .model-signature pre:hover {
419− background-color: #ffffdd;
420−}
421−.swagger-section .swagger-ui-wrap .model-signature pre {
422− font-size: .85em;
423− line-height: 1.2em;
424− overflow: auto;
425− max-height: 200px;
426− cursor: pointer;
427−}
428−.swagger-section .swagger-ui-wrap .model-signature ul.signature-nav {
429− display: block;
430− min-width: 230px;
431− margin: 0;
432− padding: 0;
433−}
434−.swagger-section .swagger-ui-wrap .model-signature ul.signature-nav li:last-child {
435− padding-right: 0;
436− border-right: none;
437−}
438−.swagger-section .swagger-ui-wrap .model-signature ul.signature-nav li {
439− float: left;
440− margin: 0 5px 5px 0;
441− padding: 2px 5px 2px 0;
442− border-right: 1px solid #ddd;
443−}
444−.swagger-section .swagger-ui-wrap .model-signature .propOpt {
445− color: #555;
446−}
447−.swagger-section .swagger-ui-wrap .model-signature .snippet small {
448− font-size: 0.75em;
449−}
450−.swagger-section .swagger-ui-wrap .model-signature .propOptKey {
451− font-style: italic;
452−}
453−.swagger-section .swagger-ui-wrap .model-signature .description .strong {
454− font-weight: bold;
455− color: #000;
456− font-size: .9em;
457−}
458−.swagger-section .swagger-ui-wrap .model-signature .description div {
459− font-size: 0.9em;
460− line-height: 1.5em;
461− margin-left: 1em;
462−}
463−.swagger-section .swagger-ui-wrap .model-signature .description .stronger {
464− font-weight: bold;
465− color: #000;
466−}
467−.swagger-section .swagger-ui-wrap .model-signature .description .propWrap .optionsWrapper {
468− border-spacing: 0;
469− position: absolute;
470− background-color: #ffffff;
471− border: 1px solid #bbbbbb;
472− display: none;
473− font-size: 11px;
474− max-width: 400px;
475− line-height: 30px;
476− color: black;
477− padding: 5px;
478− margin-left: 10px;
479−}
480−.swagger-section .swagger-ui-wrap .model-signature .description .propWrap .optionsWrapper th {
481− text-align: center;
482− background-color: #eeeeee;
483− border: 1px solid #bbbbbb;
484− font-size: 11px;
485− color: #666666;
486− font-weight: bold;
487− padding: 5px;
488− line-height: 15px;
489−}
490−.swagger-section .swagger-ui-wrap .model-signature .description .propWrap .optionsWrapper .optionName {
491− font-weight: bold;
492−}
493−.swagger-section .swagger-ui-wrap .model-signature .description .propDesc.markdown > p:first-child,
494−.swagger-section .swagger-ui-wrap .model-signature .description .propDesc.markdown > p:last-child {
495− display: inline;
496−}
497−.swagger-section .swagger-ui-wrap .model-signature .description .propDesc.markdown > p:not(:first-child):before {
498− display: block;
499− content: '';
500−}
501−.swagger-section .swagger-ui-wrap .model-signature .description span:last-of-type.propDesc.markdown > p:only-child {
502− margin-right: -3px;
503−}
504−.swagger-section .swagger-ui-wrap .model-signature .propName {
505− font-weight: bold;
506−}
507−.swagger-section .swagger-ui-wrap .model-signature .signature-container {
508− clear: both;
509−}
510−.swagger-section .swagger-ui-wrap .body-textarea {
511− width: 300px;
512− height: 100px;
513− border: 1px solid #aaa;
514−}
515−.swagger-section .swagger-ui-wrap .markdown p code,
516−.swagger-section .swagger-ui-wrap .markdown li code {
517− font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
518− background-color: #f0f0f0;
519− color: black;
520− padding: 1px 3px;
521−}
522−.swagger-section .swagger-ui-wrap .required {
523− font-weight: bold;
524−}
525−.swagger-section .swagger-ui-wrap .editor_holder {
526− font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
527− font-size: 0.9em;
528−}
529−.swagger-section .swagger-ui-wrap .editor_holder label {
530− font-weight: normal!important;
531− /* JSONEditor uses bold by default for all labels, we revert that back to normal to not give the impression that by default fields are required */
532−}
533−.swagger-section .swagger-ui-wrap .editor_holder label.required {
534− font-weight: bold!important;
535−}
536−.swagger-section .swagger-ui-wrap input.parameter {
537− width: 300px;
538− border: 1px solid #aaa;
539−}
540−.swagger-section .swagger-ui-wrap h1 {
541− color: black;
542− font-size: 1.5em;
543− line-height: 1.3em;
544− padding: 10px 0 10px 0;
545− font-family: "Droid Sans", sans-serif;
546− font-weight: bold;
547−}
548−.swagger-section .swagger-ui-wrap .heading_with_menu {
549− float: none;
550− clear: both;
551− overflow: hidden;
552− display: block;
553−}
554−.swagger-section .swagger-ui-wrap .heading_with_menu ul {
555− display: block;
556− clear: none;
557− float: right;
558− -moz-box-sizing: border-box;
559− -webkit-box-sizing: border-box;
560− -ms-box-sizing: border-box;
561− box-sizing: border-box;
562− margin-top: 10px;
563−}
564−.swagger-section .swagger-ui-wrap h2 {
565− color: black;
566− font-size: 1.3em;
567− padding: 10px 0 10px 0;
568−}
569−.swagger-section .swagger-ui-wrap h2 a {
570− color: black;
571−}
572−.swagger-section .swagger-ui-wrap h2 span.sub {
573− font-size: 0.7em;
574− color: #999999;
575− font-style: italic;
576−}
577−.swagger-section .swagger-ui-wrap h2 span.sub a {
578− color: #777777;
579−}
580−.swagger-section .swagger-ui-wrap span.weak {
581− color: #666666;
582−}
583−.swagger-section .swagger-ui-wrap .message-success {
584− color: #89BF04;
585−}
586−.swagger-section .swagger-ui-wrap caption,
587−.swagger-section .swagger-ui-wrap th,
588−.swagger-section .swagger-ui-wrap td {
589− text-align: left;
590− font-weight: normal;
591− vertical-align: middle;
592−}
593−.swagger-section .swagger-ui-wrap .code {
594− font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
595−}
596−.swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.text textarea {
597− font-family: "Droid Sans", sans-serif;
598− height: 250px;
599− padding: 4px;
600− display: block;
601− clear: both;
602−}
603−.swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.select select {
604− display: block;
605− clear: both;
606−}
607−.swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.boolean {
608− float: none;
609− clear: both;
610− overflow: hidden;
611− display: block;
612−}
613−.swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.boolean label {
614− display: block;
615− float: left;
616− clear: none;
617− margin: 0;
618− padding: 0;
619−}
620−.swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.boolean input {
621− display: block;
622− float: left;
623− clear: none;
624− margin: 0 5px 0 0;
625−}
626−.swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li.required label {
627− color: black;
628−}
629−.swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li label {
630− display: block;
631− clear: both;
632− width: auto;
633− padding: 0 0 3px;
634− color: #666666;
635−}
636−.swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li label abbr {
637− padding-left: 3px;
638− color: #888888;
639−}
640−.swagger-section .swagger-ui-wrap form.formtastic fieldset.inputs ol li p.inline-hints {
641− margin-left: 0;
642− font-style: italic;
643− font-size: 0.9em;
644− margin: 0;
645−}
646−.swagger-section .swagger-ui-wrap form.formtastic fieldset.buttons {
647− margin: 0;
648− padding: 0;
649−}
650−.swagger-section .swagger-ui-wrap span.blank,
651−.swagger-section .swagger-ui-wrap span.empty {
652− color: #888888;
653− font-style: italic;
654−}
655−.swagger-section .swagger-ui-wrap .markdown h3 {
656− color: #547f00;
657−}
658−.swagger-section .swagger-ui-wrap .markdown h4 {
659− color: #666666;
660−}
661−.swagger-section .swagger-ui-wrap .markdown pre {
662− font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
663− background-color: #fcf6db;
664− border: 1px solid #e5e0c6;
665− padding: 10px;
666− margin: 0 0 10px 0;
667−}
668−.swagger-section .swagger-ui-wrap .markdown pre code {
669− line-height: 1.6em;
670− overflow: auto;
671−}
672−.swagger-section .swagger-ui-wrap div.gist {
673− margin: 20px 0 25px 0 !important;
674−}
675−.swagger-section .swagger-ui-wrap ul#resources {
676− font-family: "Droid Sans", sans-serif;
677− font-size: 0.9em;
678−}
679−.swagger-section .swagger-ui-wrap ul#resources li.resource {
680− border-bottom: 1px solid #dddddd;
681−}
682−.swagger-section .swagger-ui-wrap ul#resources li.resource:hover div.heading h2 a,
683−.swagger-section .swagger-ui-wrap ul#resources li.resource.active div.heading h2 a {
684− color: black;
685−}
686−.swagger-section .swagger-ui-wrap ul#resources li.resource:hover div.heading ul.options li a,
687−.swagger-section .swagger-ui-wrap ul#resources li.resource.active div.heading ul.options li a {
688− color: #555555;
689−}
690−.swagger-section .swagger-ui-wrap ul#resources li.resource:last-child {
691− border-bottom: none;
692−}
693−.swagger-section .swagger-ui-wrap ul#resources li.resource div.heading {
694− border: 1px solid transparent;
695− float: none;
696− clear: both;
697− overflow: hidden;
698− display: block;
699−}
700−.swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options {
701− overflow: hidden;
702− padding: 0;
703− display: block;
704− clear: none;
705− float: right;
706− margin: 14px 10px 0 0;
707−}
708−.swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options li {
709− float: left;
710− clear: none;
711− margin: 0;
712− padding: 2px 10px;
713− border-right: 1px solid #dddddd;
714− color: #666666;
715− font-size: 0.9em;
716−}
717−.swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options li a {
718− color: #aaaaaa;
719− text-decoration: none;
720−}
721−.swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options li a:hover {
722− text-decoration: underline;
723− color: black;
724−}
725−.swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options li a:hover,
726−.swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options li a:active,
727−.swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options li a.active {
728− text-decoration: underline;
729−}
730−.swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options li:first-child,
731−.swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options li.first {
732− padding-left: 0;
733−}
734−.swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options li:last-child,
735−.swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options li.last {
736− padding-right: 0;
737− border-right: none;
738−}
739−.swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options:first-child,
740−.swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options.first {
741− padding-left: 0;
742−}
743−.swagger-section .swagger-ui-wrap ul#resources li.resource div.heading h2 {
744− color: #999999;
745− padding-left: 0;
746− display: block;
747− clear: none;
748− float: left;
749− font-family: "Droid Sans", sans-serif;
750− font-weight: bold;
751−}
752−.swagger-section .swagger-ui-wrap ul#resources li.resource div.heading h2 a {
753− color: #999999;
754−}
755−.swagger-section .swagger-ui-wrap ul#resources li.resource div.heading h2 a:hover {
756− color: black;
757−}
758−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation {
759− float: none;
760− clear: both;
761− overflow: hidden;
762− display: block;
763− margin: 0 0 10px;
764− padding: 0;
765−}
766−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading {
767− float: none;
768− clear: both;
769− overflow: hidden;
770− display: block;
771− margin: 0;
772− padding: 0;
773−}
774−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 {
775− display: block;
776− clear: none;
777− float: left;
778− width: auto;
779− margin: 0;
780− padding: 0;
781− line-height: 1.1em;
782− color: black;
783−}
784−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span.path {
785− padding-left: 10px;
786−}
787−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span.path a {
788− color: black;
789− text-decoration: none;
790−}
791−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span.path a.toggleOperation.deprecated {
792− text-decoration: line-through;
793−}
794−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span.path a:hover {
795− text-decoration: underline;
796−}
797−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span.http_method a {
798− text-transform: uppercase;
799− text-decoration: none;
800− color: white;
801− display: inline-block;
802− width: 50px;
803− font-size: 0.7em;
804− text-align: center;
805− padding: 7px 0 4px;
806− -moz-border-radius: 2px;
807− -webkit-border-radius: 2px;
808− -o-border-radius: 2px;
809− -ms-border-radius: 2px;
810− -khtml-border-radius: 2px;
811− border-radius: 2px;
812−}
813−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span {
814− margin: 0;
815− padding: 0;
816−}
817−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading ul.options {
818− overflow: hidden;
819− padding: 0;
820− display: block;
821− clear: none;
822− float: right;
823− margin: 6px 10px 0 0;
824−}
825−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading ul.options li {
826− float: left;
827− clear: none;
828− margin: 0;
829− padding: 2px 10px;
830− font-size: 0.9em;
831−}
832−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading ul.options li a {
833− text-decoration: none;
834−}
835−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading ul.options li.access {
836− color: black;
837−}
838−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content {
839− border-top: none;
840− padding: 10px;
841− -moz-border-radius-bottomleft: 6px;
842− -webkit-border-bottom-left-radius: 6px;
843− -o-border-bottom-left-radius: 6px;
844− -ms-border-bottom-left-radius: 6px;
845− -khtml-border-bottom-left-radius: 6px;
846− border-bottom-left-radius: 6px;
847− -moz-border-radius-bottomright: 6px;
848− -webkit-border-bottom-right-radius: 6px;
849− -o-border-bottom-right-radius: 6px;
850− -ms-border-bottom-right-radius: 6px;
851− -khtml-border-bottom-right-radius: 6px;
852− border-bottom-right-radius: 6px;
853− margin: 0 0 20px;
854−}
855−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content h4 {
856− font-size: 1.1em;
857− margin: 0;
858− padding: 15px 0 5px;
859−}
860−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content div.sandbox_header {
861− float: none;
862− clear: both;
863− overflow: hidden;
864− display: block;
865−}
866−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content div.sandbox_header a {
867− padding: 4px 0 0 10px;
868− display: inline-block;
869− font-size: 0.9em;
870−}
871−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content div.sandbox_header input.submit {
872− display: block;
873− clear: none;
874− float: left;
875− padding: 6px 8px;
876−}
877−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content div.sandbox_header span.response_throbber {
878− background-image: url('../images/throbber.gif');
879− width: 128px;
880− height: 16px;
881− display: block;
882− clear: none;
883− float: right;
884−}
885−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content form input[type='text'].error {
886− outline: 2px solid black;
887− outline-color: #cc0000;
888−}
889−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content form select[name='parameterContentType'] {
890− max-width: 300px;
891−}
892−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content div.response div.block pre {
893− font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
894− padding: 10px;
895− font-size: 0.9em;
896− max-height: 400px;
897− overflow-y: auto;
898−}
899−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading {
900− background-color: #f9f2e9;
901− border: 1px solid #f0e0ca;
902−}
903−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading h3 span.http_method a {
904− background-color: #c5862b;
905−}
906−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li {
907− border-right: 1px solid #dddddd;
908− border-right-color: #f0e0ca;
909− color: #c5862b;
910−}
911−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li a {
912− color: #c5862b;
913−}
914−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content {
915− background-color: #faf5ee;
916− border: 1px solid #f0e0ca;
917−}
918−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content h4 {
919− color: #c5862b;
920−}
921−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content div.sandbox_header a {
922− color: #dcb67f;
923−}
924−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading {
925− background-color: #fcffcd;
926− border: 1px solid black;
927− border-color: #ffd20f;
928−}
929−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading h3 span.http_method a {
930− text-transform: uppercase;
931− background-color: #ffd20f;
932−}
933−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading ul.options li {
934− border-right: 1px solid #dddddd;
935− border-right-color: #ffd20f;
936− color: #ffd20f;
937−}
938−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading ul.options li a {
939− color: #ffd20f;
940−}
941−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.content {
942− background-color: #fcffcd;
943− border: 1px solid black;
944− border-color: #ffd20f;
945−}
946−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.content h4 {
947− color: #ffd20f;
948−}
949−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.content div.sandbox_header a {
950− color: #6fc992;
951−}
952−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading {
953− background-color: #f5e8e8;
954− border: 1px solid #e8c6c7;
955−}
956−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading h3 span.http_method a {
957− text-transform: uppercase;
958− background-color: #a41e22;
959−}
960−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li {
961− border-right: 1px solid #dddddd;
962− border-right-color: #e8c6c7;
963− color: #a41e22;
964−}
965−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li a {
966− color: #a41e22;
967−}
968−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content {
969− background-color: #f7eded;
970− border: 1px solid #e8c6c7;
971−}
972−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content h4 {
973− color: #a41e22;
974−}
975−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content div.sandbox_header a {
976− color: #c8787a;
977−}
978−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading {
979− background-color: #e7f6ec;
980− border: 1px solid #c3e8d1;
981−}
982−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading h3 span.http_method a {
983− background-color: #10a54a;
984−}
985−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li {
986− border-right: 1px solid #dddddd;
987− border-right-color: #c3e8d1;
988− color: #10a54a;
989−}
990−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li a {
991− color: #10a54a;
992−}
993−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content {
994− background-color: #ebf7f0;
995− border: 1px solid #c3e8d1;
996−}
997−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content h4 {
998− color: #10a54a;
999−}
1000−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content div.sandbox_header a {
1001− color: #6fc992;
1002−}
1003−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading {
1004− background-color: #FCE9E3;
1005− border: 1px solid #F5D5C3;
1006−}
1007−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading h3 span.http_method a {
1008− background-color: #D38042;
1009−}
1010−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li {
1011− border-right: 1px solid #dddddd;
1012− border-right-color: #f0cecb;
1013− color: #D38042;
1014−}
1015−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li a {
1016− color: #D38042;
1017−}
1018−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content {
1019− background-color: #faf0ef;
1020− border: 1px solid #f0cecb;
1021−}
1022−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content h4 {
1023− color: #D38042;
1024−}
1025−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content div.sandbox_header a {
1026− color: #dcb67f;
1027−}
1028−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading {
1029− background-color: #e7f0f7;
1030− border: 1px solid #c3d9ec;
1031−}
1032−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading h3 span.http_method a {
1033− background-color: #0f6ab4;
1034−}
1035−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li {
1036− border-right: 1px solid #dddddd;
1037− border-right-color: #c3d9ec;
1038− color: #0f6ab4;
1039−}
1040−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li a {
1041− color: #0f6ab4;
1042−}
1043−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content {
1044− background-color: #ebf3f9;
1045− border: 1px solid #c3d9ec;
1046−}
1047−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content h4 {
1048− color: #0f6ab4;
1049−}
1050−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content div.sandbox_header a {
1051− color: #6fa5d2;
1052−}
1053−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.options div.heading {
1054− background-color: #e7f0f7;
1055− border: 1px solid #c3d9ec;
1056−}
1057−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.options div.heading h3 span.http_method a {
1058− background-color: #0f6ab4;
1059−}
1060−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.options div.heading ul.options li {
1061− border-right: 1px solid #dddddd;
1062− border-right-color: #c3d9ec;
1063− color: #0f6ab4;
1064−}
1065−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.options div.heading ul.options li a {
1066− color: #0f6ab4;
1067−}
1068−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.options div.content {
1069− background-color: #ebf3f9;
1070− border: 1px solid #c3d9ec;
1071−}
1072−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.options div.content h4 {
1073− color: #0f6ab4;
1074−}
1075−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.options div.content div.sandbox_header a {
1076− color: #6fa5d2;
1077−}
1078−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content,
1079−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content,
1080−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.content,
1081−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content,
1082−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content,
1083−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content {
1084− border-top: none;
1085−}
1086−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li:last-child,
1087−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li:last-child,
1088−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading ul.options li:last-child,
1089−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li:last-child,
1090−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li:last-child,
1091−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li:last-child,
1092−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li.last,
1093−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li.last,
1094−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.head div.heading ul.options li.last,
1095−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li.last,
1096−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li.last,
1097−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li.last {
1098− padding-right: 0;
1099− border-right: none;
1100−}
1101−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations ul.options li a:hover,
1102−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations ul.options li a:active,
1103−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations ul.options li a.active {
1104− text-decoration: underline;
1105−}
1106−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations ul.options li:first-child,
1107−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations ul.options li.first {
1108− padding-left: 0;
1109−}
1110−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations:first-child,
1111−.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations.first {
1112− padding-left: 0;
1113−}
1114−.swagger-section .swagger-ui-wrap p#colophon {
1115− margin: 0 15px 40px 15px;
1116− padding: 10px 0;
1117− font-size: 0.8em;
1118− border-top: 1px solid #dddddd;
1119− font-family: "Droid Sans", sans-serif;
1120− color: #999999;
1121− font-style: italic;
1122−}
1123−.swagger-section .swagger-ui-wrap p#colophon a {
1124− text-decoration: none;
1125− color: #547f00;
1126−}
1127−.swagger-section .swagger-ui-wrap h3 {
1128− color: black;
1129− font-size: 1.1em;
1130− padding: 10px 0 10px 0;
1131−}
1132−.swagger-section .swagger-ui-wrap .markdown ol,
1133−.swagger-section .swagger-ui-wrap .markdown ul {
1134− font-family: "Droid Sans", sans-serif;
1135− margin: 5px 0 10px;
1136− padding: 0 0 0 18px;
1137− list-style-type: disc;
1138−}
1139−.swagger-section .swagger-ui-wrap form.form_box {
1140− background-color: #ebf3f9;
1141− border: 1px solid #c3d9ec;
1142− padding: 10px;
1143−}
1144−.swagger-section .swagger-ui-wrap form.form_box label {
1145− color: #0f6ab4 !important;
1146−}
1147−.swagger-section .swagger-ui-wrap form.form_box input[type=submit] {
1148− display: block;
1149− padding: 10px;
1150−}
1151−.swagger-section .swagger-ui-wrap form.form_box p.weak {
1152− font-size: 0.8em;
1153−}
1154−.swagger-section .swagger-ui-wrap form.form_box p {
1155− font-size: 0.9em;
1156− padding: 0 0 15px;
1157− color: #7e7b6d;
1158−}
1159−.swagger-section .swagger-ui-wrap form.form_box p a {
1160− color: #646257;
1161−}
1162−.swagger-section .swagger-ui-wrap form.form_box p strong {
1163− color: black;
1164−}
1165−.swagger-section .swagger-ui-wrap .operation-status td.markdown > p:last-child {
1166− padding-bottom: 0;
1167−}
1168−.swagger-section .title {
1169− font-style: bold;
1170−}
1171−.swagger-section .secondary_form {
1172− display: none;
1173−}
1174−.swagger-section .main_image {
1175− display: block;
1176− margin-left: auto;
1177− margin-right: auto;
1178−}
1179−.swagger-section .oauth_body {
1180− margin-left: 100px;
1181− margin-right: 100px;
1182−}
1183−.swagger-section .oauth_submit {
1184− text-align: center;
1185− display: inline-block;
1186−}
1187−.swagger-section .authorize-wrapper {
1188− margin: 15px 0 10px;
1189−}
1190−.swagger-section .authorize-wrapper_operation {
1191− float: right;
1192−}
1193−.swagger-section .authorize__btn:hover {
1194− text-decoration: underline;
1195− cursor: pointer;
1196−}
1197−.swagger-section .authorize__btn_operation:hover .authorize-scopes {
1198− display: block;
1199−}
1200−.swagger-section .authorize-scopes {
1201− position: absolute;
1202− margin-top: 20px;
1203− background: #FFF;
1204− border: 1px solid #ccc;
1205− border-radius: 5px;
1206− display: none;
1207− font-size: 13px;
1208− max-width: 300px;
1209− line-height: 30px;
1210− color: black;
1211− padding: 5px;
1212−}
1213−.swagger-section .authorize-scopes .authorize__scope {
1214− text-decoration: none;
1215−}
1216−.swagger-section .authorize__btn_operation {
1217− height: 18px;
1218− vertical-align: middle;
1219− display: inline-block;
1220− background: url(../images/explorer_icons.png) no-repeat;
1221−}
1222−.swagger-section .authorize__btn_operation_login {
1223− background-position: 0 0;
1224− width: 18px;
1225− margin-top: -6px;
1226− margin-left: 4px;
1227−}
1228−.swagger-section .authorize__btn_operation_logout {
1229− background-position: -30px 0;
1230− width: 18px;
1231− margin-top: -6px;
1232− margin-left: 4px;
1233−}
1234−.swagger-section #auth_container {
1235− color: #fff;
1236− display: inline-block;
1237− border: none;
1238− padding: 5px;
1239− width: 87px;
1240− height: 13px;
1241−}
1242−.swagger-section #auth_container .authorize__btn {
1243− color: #fff;
1244−}
1245−.swagger-section .auth_container {
1246− padding: 0 0 10px;
1247− margin-bottom: 5px;
1248− border-bottom: solid 1px #CCC;
1249− font-size: 0.9em;
1250−}
1251−.swagger-section .auth_container .auth__title {
1252− color: #547f00;
1253− font-size: 1.2em;
1254−}
1255−.swagger-section .auth_container .basic_auth__label {
1256− display: inline-block;
1257− width: 60px;
1258−}
1259−.swagger-section .auth_container .auth__description {
1260− color: #999999;
1261− margin-bottom: 5px;
1262−}
1263−.swagger-section .auth_container .auth__button {
1264− margin-top: 10px;
1265− height: 30px;
1266−}
1267−.swagger-section .auth_container .key_auth__field {
1268− margin: 5px 0;
1269−}
1270−.swagger-section .auth_container .key_auth__label {
1271− display: inline-block;
1272− width: 60px;
1273−}
1274−.swagger-section .api-popup-dialog {
1275− position: absolute;
1276− display: none;
1277−}
1278−.swagger-section .api-popup-dialog-wrapper {
1279− z-index: 1000;
1280− width: 500px;
1281− background: #FFF;
1282− padding: 20px;
1283− border: 1px solid #ccc;
1284− border-radius: 5px;
1285− font-size: 13px;
1286− color: #777;
1287− position: fixed;
1288− top: 50%;
1289− left: 50%;
1290− transform: translate(-50%, -50%);
1291−}
1292−.swagger-section .api-popup-dialog-shadow {
1293− position: fixed;
1294− top: 0;
1295− left: 0;
1296− width: 100%;
1297− height: 100%;
1298− opacity: 0.2;
1299− background-color: gray;
1300− z-index: 900;
1301−}
1302−.swagger-section .api-popup-dialog .api-popup-title {
1303− font-size: 24px;
1304− padding: 10px 0;
1305−}
1306−.swagger-section .api-popup-dialog .api-popup-title {
1307− font-size: 24px;
1308− padding: 10px 0;
1309−}
1310−.swagger-section .api-popup-dialog .error-msg {
1311− padding-left: 5px;
1312− padding-bottom: 5px;
1313−}
1314−.swagger-section .api-popup-dialog .api-popup-content {
1315− max-height: 500px;
1316− overflow-y: auto;
1317−}
1318−.swagger-section .api-popup-dialog .api-popup-authbtn {
1319− height: 30px;
1320−}
1321−.swagger-section .api-popup-dialog .api-popup-cancel {
1322− height: 30px;
1323−}
1324−.swagger-section .api-popup-scopes {
1325− padding: 10px 20px;
1326−}
1327−.swagger-section .api-popup-scopes li {
1328− padding: 5px 0;
1329− line-height: 20px;
1330−}
1331−.swagger-section .api-popup-scopes li input {
1332− position: relative;
1333− top: 2px;
1334−}
1335−.swagger-section .api-popup-scopes .api-scope-desc {
1336− padding-left: 20px;
1337− font-style: italic;
1338−}
1339−.swagger-section .api-popup-actions {
1340− padding-top: 10px;
1341−}
1342−.swagger-section .access {
1343− float: right;
1344−}
1345−.swagger-section .auth {
1346− float: right;
1347−}
1348−.swagger-section .api-ic {
1349− height: 18px;
1350− vertical-align: middle;
1351− display: inline-block;
1352− background: url(../images/explorer_icons.png) no-repeat;
1353−}
1354−.swagger-section .api-ic .api_information_panel {
1355− position: relative;
1356− margin-top: 20px;
1357− margin-left: -5px;
1358− background: #FFF;
1359− border: 1px solid #ccc;
1360− border-radius: 5px;
1361− display: none;
1362− font-size: 13px;
1363− max-width: 300px;
1364− line-height: 30px;
1365− color: black;
1366− padding: 5px;
1367−}
1368−.swagger-section .api-ic .api_information_panel p .api-msg-enabled {
1369− color: green;
1370−}
1371−.swagger-section .api-ic .api_information_panel p .api-msg-disabled {
1372− color: red;
1373−}
1374−.swagger-section .api-ic:hover .api_information_panel {
1375− position: absolute;
1376− display: block;
1377−}
1378−.swagger-section .ic-info {
1379− background-position: 0 0;
1380− width: 18px;
1381− margin-top: -6px;
1382− margin-left: 4px;
1383−}
1384−.swagger-section .ic-warning {
1385− background-position: -60px 0;
1386− width: 18px;
1387− margin-top: -6px;
1388− margin-left: 4px;
1389−}
1390−.swagger-section .ic-error {
1391− background-position: -30px 0;
1392− width: 18px;
1393− margin-top: -6px;
1394− margin-left: 4px;
1395−}
1396−.swagger-section .ic-off {
1397− background-position: -90px 0;
1398− width: 58px;
1399− margin-top: -4px;
1400− cursor: pointer;
1401−}
1402−.swagger-section .ic-on {
1403− background-position: -160px 0;
1404− width: 58px;
1405− margin-top: -4px;
1406− cursor: pointer;
1407−}
1408−.swagger-section #header {
1409− background-color: #89bf04;
1410− padding: 9px 14px 19px 14px;
1411− height: 23px;
1412− min-width: 775px;
1413−}
1414−.swagger-section #input_baseUrl {
1415− width: 400px;
1416−}
1417−.swagger-section #api_selector {
1418− display: block;
1419− clear: none;
1420− float: right;
1421−}
1422−.swagger-section #api_selector .input {
1423− display: inline-block;
1424− clear: none;
1425− margin: 0 10px 0 0;
1426−}
1427−.swagger-section #api_selector input {
1428− font-size: 0.9em;
1429− padding: 3px;
1430− margin: 0;
1431−}
1432−.swagger-section #input_apiKey {
1433− width: 200px;
1434−}
1435−.swagger-section #explore,
1436−.swagger-section #auth_container .authorize__btn {
1437− display: block;
1438− text-decoration: none;
1439− font-weight: bold;
1440− padding: 6px 8px;
1441− font-size: 0.9em;
1442− color: white;
1443− background-color: #547f00;
1444− -moz-border-radius: 4px;
1445− -webkit-border-radius: 4px;
1446− -o-border-radius: 4px;
1447− -ms-border-radius: 4px;
1448− -khtml-border-radius: 4px;
1449− border-radius: 4px;
1450−}
1451−.swagger-section #explore:hover,
1452−.swagger-section #auth_container .authorize__btn:hover {
1453− background-color: #547f00;
1454−}
1455−.swagger-section #header #logo {
1456− font-size: 1.5em;
1457− font-weight: bold;
1458− text-decoration: none;
1459− color: white;
1460−}
1461−.swagger-section #header #logo .logo__img {
1462− display: block;
1463− float: left;
1464− margin-top: 2px;
1465−}
1466−.swagger-section #header #logo .logo__title {
1467− display: inline-block;
1468− padding: 5px 0 0 10px;
1469−}
1470−.swagger-section #content_message {
1471− margin: 10px 15px;
1472− font-style: italic;
1473− color: #999999;
1474−}
1475−.swagger-section #message-bar {
1476− min-height: 30px;
1477− text-align: center;
1478− padding-top: 10px;
1479−}
1480−.swagger-section .swagger-collapse:before {
1481− content: "-";
1482−}
1483−.swagger-section .swagger-expand:before {
1484− content: "+";
1485−}
1486−.swagger-section .error {
1487− outline-color: #cc0000;
1488− background-color: #f2dede;
1489−}
swagger-dist-2.1.5/css/style.cssdeleted−250
@@ -1,250 +0,0 @@
1−.swagger-section #header a#logo {
2− font-size: 1.5em;
3− font-weight: bold;
4− text-decoration: none;
5− background: transparent url(../images/logo.png) no-repeat left center;
6− padding: 20px 0 20px 40px;
7−}
8−#text-head {
9− font-size: 80px;
10− font-family: 'Roboto', sans-serif;
11− color: #ffffff;
12− float: right;
13− margin-right: 20%;
14−}
15−.navbar-fixed-top .navbar-nav {
16− height: auto;
17−}
18−.navbar-fixed-top .navbar-brand {
19− height: auto;
20−}
21−.navbar-header {
22− height: auto;
23−}
24−.navbar-inverse {
25− background-color: #000;
26− border-color: #000;
27−}
28−#navbar-brand {
29− margin-left: 20%;
30−}
31−.navtext {
32− font-size: 10px;
33−}
34−.h1,
35−h1 {
36− font-size: 60px;
37−}
38−.navbar-default .navbar-header .navbar-brand {
39− color: #a2dfee;
40−}
41−/* tag titles */
42−.swagger-section .swagger-ui-wrap ul#resources li.resource div.heading h2 a {
43− color: #393939;
44− font-family: 'Arvo', serif;
45− font-size: 1.5em;
46−}
47−.swagger-section .swagger-ui-wrap ul#resources li.resource div.heading h2 a:hover {
48− color: black;
49−}
50−.swagger-section .swagger-ui-wrap ul#resources li.resource div.heading h2 {
51− color: #525252;
52− padding-left: 0px;
53− display: block;
54− clear: none;
55− float: left;
56− font-family: 'Arvo', serif;
57− font-weight: bold;
58−}
59−.navbar-default .navbar-collapse,
60−.navbar-default .navbar-form {
61− border-color: #0A0A0A;
62−}
63−.container1 {
64− width: 1500px;
65− margin: auto;
66− margin-top: 0;
67− background-image: url('../images/shield.png');
68− background-repeat: no-repeat;
69− background-position: -40px -20px;
70− margin-bottom: 210px;
71−}
72−.container-inner {
73− width: 1200px;
74− margin: auto;
75− background-color: rgba(223, 227, 228, 0.75);
76− padding-bottom: 40px;
77− padding-top: 40px;
78− border-radius: 15px;
79−}
80−.header-content {
81− padding: 0;
82− width: 1000px;
83−}
84−.title1 {
85− font-size: 80px;
86− font-family: 'Vollkorn', serif;
87− color: #404040;
88− text-align: center;
89− padding-top: 40px;
90− padding-bottom: 100px;
91−}
92−#icon {
93− margin-top: -18px;
94−}
95−.subtext {
96− font-size: 25px;
97− font-style: italic;
98− color: #08b;
99− text-align: right;
100− padding-right: 250px;
101−}
102−.bg-primary {
103− background-color: #00468b;
104−}
105−.navbar-default .nav > li > a,
106−.navbar-default .nav > li > a:focus {
107− color: #08b;
108−}
109−.navbar-default .nav > li > a,
110−.navbar-default .nav > li > a:hover {
111− color: #08b;
112−}
113−.navbar-default .nav > li > a,
114−.navbar-default .nav > li > a:focus:hover {
115− color: #08b;
116−}
117−.text-faded {
118− font-size: 25px;
119− font-family: 'Vollkorn', serif;
120−}
121−.section-heading {
122− font-family: 'Vollkorn', serif;
123− font-size: 45px;
124− padding-bottom: 10px;
125−}
126−hr {
127− border-color: #00468b;
128− padding-bottom: 10px;
129−}
130−.description {
131− margin-top: 20px;
132− padding-bottom: 200px;
133−}
134−.description li {
135− font-family: 'Vollkorn', serif;
136− font-size: 25px;
137− color: #525252;
138− margin-left: 28%;
139− padding-top: 5px;
140−}
141−.gap {
142− margin-top: 200px;
143−}
144−.troubleshootingtext {
145− color: rgba(255, 255, 255, 0.7);
146− padding-left: 30%;
147−}
148−.troubleshootingtext li {
149− list-style-type: circle;
150− font-size: 25px;
151− padding-bottom: 5px;
152−}
153−.overlay {
154− position: absolute;
155− top: 0;
156− left: 0;
157− width: 100%;
158− height: 100%;
159− z-index: 1000;
160−}
161−.block.response_body.json:hover {
162− cursor: pointer;
163−}
164−.backdrop {
165− color: blue;
166−}
167−#myModal {
168− height: 100%;
169−}
170−.modal-backdrop {
171− bottom: 0;
172− position: fixed;
173−}
174−.curl {
175− padding: 10px;
176− font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
177− font-size: 0.9em;
178− max-height: 400px;
179− margin-top: 5px;
180− overflow-y: auto;
181− background-color: #fcf6db;
182− border: 1px solid #e5e0c6;
183− border-radius: 4px;
184−}
185−.curl_title {
186− font-size: 1.1em;
187− margin: 0;
188− padding: 15px 0 5px;
189− font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
190− font-weight: 500;
191− line-height: 1.1;
192−}
193−.footer {
194− display: none;
195−}
196−.swagger-section .swagger-ui-wrap h2 {
197− padding: 0;
198−}
199−h2 {
200− margin: 0;
201− margin-bottom: 5px;
202−}
203−.markdown p {
204− font-size: 15px;
205− font-family: 'Arvo', serif;
206−}
207−.swagger-section .swagger-ui-wrap .code {
208− font-size: 15px;
209− font-family: 'Arvo', serif;
210−}
211−.swagger-section .swagger-ui-wrap b {
212− font-family: 'Arvo', serif;
213−}
214−#signin:hover {
215− cursor: pointer;
216−}
217−.dropdown-menu {
218− padding: 15px;
219−}
220−.navbar-right .dropdown-menu {
221− left: 0;
222− right: auto;
223−}
224−#signinbutton {
225− width: 100%;
226− height: 32px;
227− font-size: 13px;
228− font-weight: bold;
229− color: #08b;
230−}
231−.navbar-default .nav > li .details {
232− color: #000000;
233− text-transform: none;
234− font-size: 15px;
235− font-weight: normal;
236− font-family: 'Open Sans', sans-serif;
237− font-style: italic;
238− line-height: 20px;
239− top: -2px;
240−}
241−.navbar-default .nav > li .details:hover {
242− color: black;
243−}
244−#signout {
245− width: 100%;
246− height: 32px;
247− font-size: 13px;
248− font-weight: bold;
249− color: #08b;
250−}
swagger-dist-2.1.5/css/typography.cssdeleted−14
@@ -1,14 +0,0 @@
1−/* Google Font's Droid Sans */
2−@font-face {
3− font-family: 'Droid Sans';
4− font-style: normal;
5− font-weight: 400;
6− src: local('Droid Sans'), local('DroidSans'), url('../fonts/DroidSans.ttf'), format('truetype');
7−}
8−/* Google Font's Droid Sans Bold */
9−@font-face {
10− font-family: 'Droid Sans';
11− font-style: normal;
12− font-weight: 700;
13− src: local('Droid Sans Bold'), local('DroidSans-Bold'), url('../fonts/DroidSans-Bold.ttf'), format('truetype');
14−}
swagger-dist-2.1.5/fonts/DroidSans-Bold.ttfdeleted

Binary file not shown.

swagger-dist-2.1.5/fonts/DroidSans.ttfdeleted

Binary file not shown.

swagger-dist-2.1.5/images/collapse.gifdeleted

Binary file not shown.

swagger-dist-2.1.5/images/expand.gifdeleted

Binary file not shown.

swagger-dist-2.1.5/images/explorer_icons.pngdeleted

Binary file not shown.

swagger-dist-2.1.5/images/favicon-16x16.pngdeleted

Binary file not shown.

swagger-dist-2.1.5/images/favicon-32x32.pngdeleted

Binary file not shown.

swagger-dist-2.1.5/images/favicon.icodeleted

Binary file not shown.

swagger-dist-2.1.5/images/logo_small.pngdeleted

Binary file not shown.

swagger-dist-2.1.5/images/pet_store_api.pngdeleted

Binary file not shown.

swagger-dist-2.1.5/images/throbber.gifdeleted

Binary file not shown.

swagger-dist-2.1.5/images/wordnik_api.pngdeleted

Binary file not shown.

swagger-dist-2.1.5/lang/en.jsdeleted−56
@@ -1,56 +0,0 @@
1−'use strict';
2−
3−/* jshint quotmark: double */
4−window.SwaggerTranslator.learn({
5− "Warning: Deprecated":"Warning: Deprecated",
6− "Implementation Notes":"Implementation Notes",
7− "Response Class":"Response Class",
8− "Status":"Status",
9− "Parameters":"Parameters",
10− "Parameter":"Parameter",
11− "Value":"Value",
12− "Description":"Description",
13− "Parameter Type":"Parameter Type",
14− "Data Type":"Data Type",
15− "Response Messages":"Response Messages",
16− "HTTP Status Code":"HTTP Status Code",
17− "Reason":"Reason",
18− "Response Model":"Response Model",
19− "Request URL":"Request URL",
20− "Response Body":"Response Body",
21− "Response Code":"Response Code",
22− "Response Headers":"Response Headers",
23− "Hide Response":"Hide Response",
24− "Headers":"Headers",
25− "Try it out!":"Try it out!",
26− "Show/Hide":"Show/Hide",
27− "List Operations":"List Operations",
28− "Expand Operations":"Expand Operations",
29− "Raw":"Raw",
30− "can't parse JSON. Raw result":"can't parse JSON. Raw result",
31− "Example Value":"Example Value",
32− "Model Schema":"Model Schema",
33− "Model":"Model",
34− "Click to set as parameter value":"Click to set as parameter value",
35− "apply":"apply",
36− "Username":"Username",
37− "Password":"Password",
38− "Terms of service":"Terms of service",
39− "Created by":"Created by",
40− "See more at":"See more at",
41− "Contact the developer":"Contact the developer",
42− "api version":"api version",
43− "Response Content Type":"Response Content Type",
44− "Parameter content type:":"Parameter content type:",
45− "fetching resource":"fetching resource",
46− "fetching resource list":"fetching resource list",
47− "Explore":"Explore",
48− "Show Swagger Petstore Example Apis":"Show Swagger Petstore Example Apis",
49− "Can't read from server. It may not have the appropriate access-control-origin settings.":"Can't read from server. It may not have the appropriate access-control-origin settings.",
50− "Please specify the protocol for":"Please specify the protocol for",
51− "Can't read swagger JSON from":"Can't read swagger JSON from",
52− "Finished Loading Resource Information. Rendering Swagger UI":"Finished Loading Resource Information. Rendering Swagger UI",
53− "Unable to read api":"Unable to read api",
54− "from path":"from path",
55− "server returned":"server returned"
56−});
swagger-dist-2.1.5/lang/es.jsdeleted−53
@@ -1,53 +0,0 @@
1−'use strict';
2−
3−/* jshint quotmark: double */
4−window.SwaggerTranslator.learn({
5− "Warning: Deprecated":"Advertencia: Obsoleto",
6− "Implementation Notes":"Notas de implementación",
7− "Response Class":"Clase de la Respuesta",
8− "Status":"Status",
9− "Parameters":"Parámetros",
10− "Parameter":"Parámetro",
11− "Value":"Valor",
12− "Description":"Descripción",
13− "Parameter Type":"Tipo del Parámetro",
14− "Data Type":"Tipo del Dato",
15− "Response Messages":"Mensajes de la Respuesta",
16− "HTTP Status Code":"Código de Status HTTP",
17− "Reason":"Razón",
18− "Response Model":"Modelo de la Respuesta",
19− "Request URL":"URL de la Solicitud",
20− "Response Body":"Cuerpo de la Respuesta",
21− "Response Code":"Código de la Respuesta",
22− "Response Headers":"Encabezados de la Respuesta",
23− "Hide Response":"Ocultar Respuesta",
24− "Try it out!":"Pruébalo!",
25− "Show/Hide":"Mostrar/Ocultar",
26− "List Operations":"Listar Operaciones",
27− "Expand Operations":"Expandir Operaciones",
28− "Raw":"Crudo",
29− "can't parse JSON. Raw result":"no puede parsear el JSON. Resultado crudo",
30− "Example Value":"Valor de Ejemplo",
31− "Model Schema":"Esquema del Modelo",
32− "Model":"Modelo",
33− "apply":"aplicar",
34− "Username":"Nombre de usuario",
35− "Password":"Contraseña",
36− "Terms of service":"Términos de Servicio",
37− "Created by":"Creado por",
38− "See more at":"Ver más en",
39− "Contact the developer":"Contactar al desarrollador",
40− "api version":"versión de la api",
41− "Response Content Type":"Tipo de Contenido (Content Type) de la Respuesta",
42− "fetching resource":"buscando recurso",
43− "fetching resource list":"buscando lista del recurso",
44− "Explore":"Explorar",
45− "Show Swagger Petstore Example Apis":"Mostrar Api Ejemplo de Swagger Petstore",
46− "Can't read from server. It may not have the appropriate access-control-origin settings.":"No se puede leer del servidor. Tal vez no tiene la configuración de control de acceso de origen (access-control-origin) apropiado.",
47− "Please specify the protocol for":"Por favor, especificar el protocola para",
48− "Can't read swagger JSON from":"No se puede leer el JSON de swagger desde",
49− "Finished Loading Resource Information. Rendering Swagger UI":"Finalizada la carga del recurso de Información. Mostrando Swagger UI",
50− "Unable to read api":"No se puede leer la api",
51− "from path":"desde ruta",
52− "server returned":"el servidor retornó"
53−});
swagger-dist-2.1.5/lang/fr.jsdeleted−54
@@ -1,54 +0,0 @@
1−'use strict';
2−
3−/* jshint quotmark: double */
4−window.SwaggerTranslator.learn({
5− "Warning: Deprecated":"Avertissement : Obsolète",
6− "Implementation Notes":"Notes d'implémentation",
7− "Response Class":"Classe de la réponse",
8− "Status":"Statut",
9− "Parameters":"Paramètres",
10− "Parameter":"Paramètre",
11− "Value":"Valeur",
12− "Description":"Description",
13− "Parameter Type":"Type du paramètre",
14− "Data Type":"Type de données",
15− "Response Messages":"Messages de la réponse",
16− "HTTP Status Code":"Code de statut HTTP",
17− "Reason":"Raison",
18− "Response Model":"Modèle de réponse",
19− "Request URL":"URL appelée",
20− "Response Body":"Corps de la réponse",
21− "Response Code":"Code de la réponse",
22− "Response Headers":"En-têtes de la réponse",
23− "Hide Response":"Cacher la réponse",
24− "Headers":"En-têtes",
25− "Try it out!":"Testez !",
26− "Show/Hide":"Afficher/Masquer",
27− "List Operations":"Liste des opérations",
28− "Expand Operations":"Développer les opérations",
29− "Raw":"Brut",
30− "can't parse JSON. Raw result":"impossible de décoder le JSON. Résultat brut",
31− "Example Value":"Exemple la valeur",
32− "Model Schema":"Définition du modèle",
33− "Model":"Modèle",
34− "apply":"appliquer",
35− "Username":"Nom d'utilisateur",
36− "Password":"Mot de passe",
37− "Terms of service":"Conditions de service",
38− "Created by":"Créé par",
39− "See more at":"Voir plus sur",
40− "Contact the developer":"Contacter le développeur",
41− "api version":"version de l'api",
42− "Response Content Type":"Content Type de la réponse",
43− "fetching resource":"récupération de la ressource",
44− "fetching resource list":"récupération de la liste de ressources",
45− "Explore":"Explorer",
46− "Show Swagger Petstore Example Apis":"Montrer les Apis de l'exemple Petstore de Swagger",
47− "Can't read from server. It may not have the appropriate access-control-origin settings.":"Impossible de lire à partir du serveur. Il se peut que les réglages access-control-origin ne soient pas appropriés.",
48− "Please specify the protocol for":"Veuillez spécifier un protocole pour",
49− "Can't read swagger JSON from":"Impossible de lire le JSON swagger à partir de",
50− "Finished Loading Resource Information. Rendering Swagger UI":"Chargement des informations terminé. Affichage de Swagger UI",
51− "Unable to read api":"Impossible de lire l'api",
52− "from path":"à partir du chemin",
53− "server returned":"réponse du serveur"
54−});
swagger-dist-2.1.5/lang/geo.jsdeleted−56
@@ -1,56 +0,0 @@
1−'use strict';
2−
3−/* jshint quotmark: double */
4−window.SwaggerTranslator.learn({
5− "Warning: Deprecated":"ყურადღება: აღარ გამოიყენება",
6− "Implementation Notes":"იმპლემენტაციის აღწერა",
7− "Response Class":"რესპონს კლასი",
8− "Status":"სტატუსი",
9− "Parameters":"პარამეტრები",
10− "Parameter":"პარამეტრი",
11− "Value":"მნიშვნელობა",
12− "Description":"აღწერა",
13− "Parameter Type":"პარამეტრის ტიპი",
14− "Data Type":"მონაცემის ტიპი",
15− "Response Messages":"პასუხი",
16− "HTTP Status Code":"HTTP სტატუსი",
17− "Reason":"მიზეზი",
18− "Response Model":"რესპონს მოდელი",
19− "Request URL":"მოთხოვნის URL",
20− "Response Body":"პასუხის სხეული",
21− "Response Code":"პასუხის კოდი",
22− "Response Headers":"პასუხის ჰედერები",
23− "Hide Response":"დამალე პასუხი",
24− "Headers":"ჰედერები",
25− "Try it out!":"ცადე !",
26− "Show/Hide":"გამოჩენა/დამალვა",
27− "List Operations":"ოპერაციების სია",
28− "Expand Operations":"ოპერაციები ვრცლად",
29− "Raw":"ნედლი",
30− "can't parse JSON. Raw result":"JSON-ის დამუშავება ვერ მოხერხდა. ნედლი პასუხი",
31− "Example Value":"მაგალითი",
32− "Model Schema":"მოდელის სტრუქტურა",
33− "Model":"მოდელი",
34− "Click to set as parameter value":"პარამეტრისთვის მნიშვნელობის მისანიჭებლად, დააკლიკე",
35− "apply":"გამოყენება",
36− "Username":"მოხმარებელი",
37− "Password":"პაროლი",
38− "Terms of service":"მომსახურების პირობები",
39− "Created by":"შექმნა",
40− "See more at":"ნახე ვრცლად",
41− "Contact the developer":"დაუკავშირდი დეველოპერს",
42− "api version":"api ვერსია",
43− "Response Content Type":"პასუხის კონტენტის ტიპი",
44− "Parameter content type:":"პარამეტრის კონტენტის ტიპი:",
45− "fetching resource":"რესურსების მიღება",
46− "fetching resource list":"რესურსების სიის მიღება",
47− "Explore":"ნახვა",
48− "Show Swagger Petstore Example Apis":"ნახე Swagger Petstore სამაგალითო Api",
49− "Can't read from server. It may not have the appropriate access-control-origin settings.":"სერვერთან დაკავშირება ვერ ხერხდება. შეამოწმეთ access-control-origin.",
50− "Please specify the protocol for":"მიუთითეთ პროტოკოლი",
51− "Can't read swagger JSON from":"swagger JSON წაკითხვა ვერ მოხერხდა",
52− "Finished Loading Resource Information. Rendering Swagger UI":"რესურსების ჩატვირთვა სრულდება. Swagger UI რენდერდება",
53− "Unable to read api":"api წაკითხვა ვერ მოხერხდა",
54− "from path":"მისამართიდან",
55− "server returned":"სერვერმა დააბრუნა"
56−});
swagger-dist-2.1.5/lang/it.jsdeleted−52
@@ -1,52 +0,0 @@
1−'use strict';
2−
3−/* jshint quotmark: double */
4−window.SwaggerTranslator.learn({
5− "Warning: Deprecated":"Attenzione: Deprecato",
6− "Implementation Notes":"Note di implementazione",
7− "Response Class":"Classe della risposta",
8− "Status":"Stato",
9− "Parameters":"Parametri",
10− "Parameter":"Parametro",
11− "Value":"Valore",
12− "Description":"Descrizione",
13− "Parameter Type":"Tipo di parametro",
14− "Data Type":"Tipo di dato",
15− "Response Messages":"Messaggi della risposta",
16− "HTTP Status Code":"Codice stato HTTP",
17− "Reason":"Motivo",
18− "Response Model":"Modello di risposta",
19− "Request URL":"URL della richiesta",
20− "Response Body":"Corpo della risposta",
21− "Response Code":"Oggetto della risposta",
22− "Response Headers":"Intestazioni della risposta",
23− "Hide Response":"Nascondi risposta",
24− "Try it out!":"Provalo!",
25− "Show/Hide":"Mostra/Nascondi",
26− "List Operations":"Mostra operazioni",
27− "Expand Operations":"Espandi operazioni",
28− "Raw":"Grezzo (raw)",
29− "can't parse JSON. Raw result":"non è possibile parsare il JSON. Risultato grezzo (raw).",
30− "Model Schema":"Schema del modello",
31− "Model":"Modello",
32− "apply":"applica",
33− "Username":"Nome utente",
34− "Password":"Password",
35− "Terms of service":"Condizioni del servizio",
36− "Created by":"Creato da",
37− "See more at":"Informazioni aggiuntive:",
38− "Contact the developer":"Contatta lo sviluppatore",
39− "api version":"versione api",
40− "Response Content Type":"Tipo di contenuto (content type) della risposta",
41− "fetching resource":"recuperando la risorsa",
42− "fetching resource list":"recuperando lista risorse",
43− "Explore":"Esplora",
44− "Show Swagger Petstore Example Apis":"Mostra le api di esempio di Swagger Petstore",
45− "Can't read from server. It may not have the appropriate access-control-origin settings.":"Non è possibile leggere dal server. Potrebbe non avere le impostazioni di controllo accesso origine (access-control-origin) appropriate.",
46− "Please specify the protocol for":"Si prega di specificare il protocollo per",
47− "Can't read swagger JSON from":"Impossibile leggere JSON swagger da:",
48− "Finished Loading Resource Information. Rendering Swagger UI":"Lettura informazioni risorse termianta. Swagger UI viene mostrata",
49− "Unable to read api":"Impossibile leggere la api",
50− "from path":"da cartella",
51− "server returned":"il server ha restituito"
52−});
swagger-dist-2.1.5/lang/ja.jsdeleted−53
@@ -1,53 +0,0 @@
1−'use strict';
2−
3−/* jshint quotmark: double */
4−window.SwaggerTranslator.learn({
5− "Warning: Deprecated":"警告: 廃止予定",
6− "Implementation Notes":"実装メモ",
7− "Response Class":"レスポンスクラス",
8− "Status":"ステータス",
9− "Parameters":"パラメータ群",
10− "Parameter":"パラメータ",
11− "Value":"値",
12− "Description":"説明",
13− "Parameter Type":"パラメータタイプ",
14− "Data Type":"データタイプ",
15− "Response Messages":"レスポンスメッセージ",
16− "HTTP Status Code":"HTTPステータスコード",
17− "Reason":"理由",
18− "Response Model":"レスポンスモデル",
19− "Request URL":"リクエストURL",
20− "Response Body":"レスポンスボディ",
21− "Response Code":"レスポンスコード",
22− "Response Headers":"レスポンスヘッダ",
23− "Hide Response":"レスポンスを隠す",
24− "Headers":"ヘッダ",
25− "Try it out!":"実際に実行!",
26− "Show/Hide":"表示/非表示",
27− "List Operations":"操作一覧",
28− "Expand Operations":"操作の展開",
29− "Raw":"Raw",
30− "can't parse JSON. Raw result":"JSONへ解釈できません. 未加工の結果",
31− "Model Schema":"モデルスキーマ",
32− "Model":"モデル",
33− "apply":"実行",
34− "Username":"ユーザ名",
35− "Password":"パスワード",
36− "Terms of service":"サービス利用規約",
37− "Created by":"Created by",
38− "See more at":"See more at",
39− "Contact the developer":"開発者に連絡",
40− "api version":"APIバージョン",
41− "Response Content Type":"レスポンス コンテンツタイプ",
42− "fetching resource":"リソースの取得",
43− "fetching resource list":"リソース一覧の取得",
44− "Explore":"Explore",
45− "Show Swagger Petstore Example Apis":"SwaggerペットストアAPIの表示",
46− "Can't read from server. It may not have the appropriate access-control-origin settings.":"サーバから読み込めません. 適切なaccess-control-origin設定を持っていない可能性があります.",
47− "Please specify the protocol for":"プロトコルを指定してください",
48− "Can't read swagger JSON from":"次からswagger JSONを読み込めません",
49− "Finished Loading Resource Information. Rendering Swagger UI":"リソース情報の読み込みが完了しました. Swagger UIを描画しています",
50− "Unable to read api":"APIを読み込めません",
51− "from path":"次のパスから",
52− "server returned":"サーバからの返答"
53−});
swagger-dist-2.1.5/lang/ko-kr.jsdeleted−53
@@ -1,53 +0,0 @@
1−'use strict';
2−
3−/* jshint quotmark: double */
4−window.SwaggerTranslator.learn({
5− "Warning: Deprecated":"경고:폐기예정됨",
6− "Implementation Notes":"구현 노트",
7− "Response Class":"응답 클래스",
8− "Status":"상태",
9− "Parameters":"매개변수들",
10− "Parameter":"매개변수",
11− "Value":"값",
12− "Description":"설명",
13− "Parameter Type":"매개변수 타입",
14− "Data Type":"데이터 타입",
15− "Response Messages":"응답 메세지",
16− "HTTP Status Code":"HTTP 상태 코드",
17− "Reason":"원인",
18− "Response Model":"응답 모델",
19− "Request URL":"요청 URL",
20− "Response Body":"응답 본문",
21− "Response Code":"응답 코드",
22− "Response Headers":"응답 헤더",
23− "Hide Response":"응답 숨기기",
24− "Headers":"헤더",
25− "Try it out!":"써보기!",
26− "Show/Hide":"보이기/숨기기",
27− "List Operations":"목록 작업",
28− "Expand Operations":"전개 작업",
29− "Raw":"원본",
30− "can't parse JSON. Raw result":"JSON을 파싱할수 없음. 원본결과:",
31− "Model Schema":"모델 스키마",
32− "Model":"모델",
33− "apply":"적용",
34− "Username":"사용자 이름",
35− "Password":"암호",
36− "Terms of service":"이용약관",
37− "Created by":"작성자",
38− "See more at":"추가정보:",
39− "Contact the developer":"개발자에게 문의",
40− "api version":"api버전",
41− "Response Content Type":"응답Content Type",
42− "fetching resource":"리소스 가져오기",
43− "fetching resource list":"리소스 목록 가져오기",
44− "Explore":"탐색",
45− "Show Swagger Petstore Example Apis":"Swagger Petstore 예제 보기",
46− "Can't read from server. It may not have the appropriate access-control-origin settings.":"서버로부터 읽어들일수 없습니다. access-control-origin 설정이 올바르지 않을수 있습니다.",
47− "Please specify the protocol for":"다음을 위한 프로토콜을 정하세요",
48− "Can't read swagger JSON from":"swagger JSON 을 다음으로 부터 읽을수 없습니다",
49− "Finished Loading Resource Information. Rendering Swagger UI":"리소스 정보 불러오기 완료. Swagger UI 랜더링",
50− "Unable to read api":"api를 읽을 수 없습니다.",
51− "from path":"다음 경로로 부터",
52− "server returned":"서버 응답함."
53−});
swagger-dist-2.1.5/lang/pl.jsdeleted−53
@@ -1,53 +0,0 @@
1−'use strict';
2−
3−/* jshint quotmark: double */
4−window.SwaggerTranslator.learn({
5− "Warning: Deprecated":"Uwaga: Wycofane",
6− "Implementation Notes":"Uwagi Implementacji",
7− "Response Class":"Klasa Odpowiedzi",
8− "Status":"Status",
9− "Parameters":"Parametry",
10− "Parameter":"Parametr",
11− "Value":"Wartość",
12− "Description":"Opis",
13− "Parameter Type":"Typ Parametru",
14− "Data Type":"Typ Danych",
15− "Response Messages":"Wiadomości Odpowiedzi",
16− "HTTP Status Code":"Kod Statusu HTTP",
17− "Reason":"Przyczyna",
18− "Response Model":"Model Odpowiedzi",
19− "Request URL":"URL Wywołania",
20− "Response Body":"Treść Odpowiedzi",
21− "Response Code":"Kod Odpowiedzi",
22− "Response Headers":"Nagłówki Odpowiedzi",
23− "Hide Response":"Ukryj Odpowiedź",
24− "Headers":"Nagłówki",
25− "Try it out!":"Wypróbuj!",
26− "Show/Hide":"Pokaż/Ukryj",
27− "List Operations":"Lista Operacji",
28− "Expand Operations":"Rozwiń Operacje",
29− "Raw":"Nieprzetworzone",
30− "can't parse JSON. Raw result":"nie można przetworzyć pliku JSON. Nieprzetworzone dane",
31− "Model Schema":"Schemat Modelu",
32− "Model":"Model",
33− "apply":"użyj",
34− "Username":"Nazwa użytkownika",
35− "Password":"Hasło",
36− "Terms of service":"Warunki używania",
37− "Created by":"Utworzone przez",
38− "See more at":"Zobacz więcej na",
39− "Contact the developer":"Kontakt z deweloperem",
40− "api version":"wersja api",
41− "Response Content Type":"Typ Zasobu Odpowiedzi",
42− "fetching resource":"ładowanie zasobu",
43− "fetching resource list":"ładowanie listy zasobów",
44− "Explore":"Eksploruj",
45− "Show Swagger Petstore Example Apis":"Pokaż Przykładowe Api Swagger Petstore",
46− "Can't read from server. It may not have the appropriate access-control-origin settings.":"Brak połączenia z serwerem. Może on nie mieć odpowiednich ustawień access-control-origin.",
47− "Please specify the protocol for":"Proszę podać protokół dla",
48− "Can't read swagger JSON from":"Nie można odczytać swagger JSON z",
49− "Finished Loading Resource Information. Rendering Swagger UI":"Ukończono Ładowanie Informacji o Zasobie. Renderowanie Swagger UI",
50− "Unable to read api":"Nie można odczytać api",
51− "from path":"ze ścieżki",
52− "server returned":"serwer zwrócił"
53−});
swagger-dist-2.1.5/lang/pt.jsdeleted−53
@@ -1,53 +0,0 @@
1−'use strict';
2−
3−/* jshint quotmark: double */
4−window.SwaggerTranslator.learn({
5− "Warning: Deprecated":"Aviso: Depreciado",
6− "Implementation Notes":"Notas de Implementação",
7− "Response Class":"Classe de resposta",
8− "Status":"Status",
9− "Parameters":"Parâmetros",
10− "Parameter":"Parâmetro",
11− "Value":"Valor",
12− "Description":"Descrição",
13− "Parameter Type":"Tipo de parâmetro",
14− "Data Type":"Tipo de dados",
15− "Response Messages":"Mensagens de resposta",
16− "HTTP Status Code":"Código de status HTTP",
17− "Reason":"Razão",
18− "Response Model":"Modelo resposta",
19− "Request URL":"URL requisição",
20− "Response Body":"Corpo da resposta",
21− "Response Code":"Código da resposta",
22− "Response Headers":"Cabeçalho da resposta",
23− "Headers":"Cabeçalhos",
24− "Hide Response":"Esconder resposta",
25− "Try it out!":"Tente agora!",
26− "Show/Hide":"Mostrar/Esconder",
27− "List Operations":"Listar operações",
28− "Expand Operations":"Expandir operações",
29− "Raw":"Cru",
30− "can't parse JSON. Raw result":"Falha ao analisar JSON. Resulto cru",
31− "Model Schema":"Modelo esquema",
32− "Model":"Modelo",
33− "apply":"Aplicar",
34− "Username":"Usuário",
35− "Password":"Senha",
36− "Terms of service":"Termos do serviço",
37− "Created by":"Criado por",
38− "See more at":"Veja mais em",
39− "Contact the developer":"Contate o desenvolvedor",
40− "api version":"Versão api",
41− "Response Content Type":"Tipo de conteúdo da resposta",
42− "fetching resource":"busca recurso",
43− "fetching resource list":"buscando lista de recursos",
44− "Explore":"Explorar",
45− "Show Swagger Petstore Example Apis":"Show Swagger Petstore Example Apis",
46− "Can't read from server. It may not have the appropriate access-control-origin settings.":"Não é possível ler do servidor. Pode não ter as apropriadas configurações access-control-origin",
47− "Please specify the protocol for":"Por favor especifique o protocolo",
48− "Can't read swagger JSON from":"Não é possível ler o JSON Swagger de",
49− "Finished Loading Resource Information. Rendering Swagger UI":"Carregar informação de recurso finalizada. Renderizando Swagger UI",
50− "Unable to read api":"Não foi possível ler api",
51− "from path":"do caminho",
52− "server returned":"servidor retornou"
53−});
swagger-dist-2.1.5/lang/ru.jsdeleted−56
@@ -1,56 +0,0 @@
1−'use strict';
2−
3−/* jshint quotmark: double */
4−window.SwaggerTranslator.learn({
5− "Warning: Deprecated":"Предупреждение: Устарело",
6− "Implementation Notes":"Заметки",
7− "Response Class":"Пример ответа",
8− "Status":"Статус",
9− "Parameters":"Параметры",
10− "Parameter":"Параметр",
11− "Value":"Значение",
12− "Description":"Описание",
13− "Parameter Type":"Тип параметра",
14− "Data Type":"Тип данных",
15− "HTTP Status Code":"HTTP код",
16− "Reason":"Причина",
17− "Response Model":"Структура ответа",
18− "Request URL":"URL запроса",
19− "Response Body":"Тело ответа",
20− "Response Code":"HTTP код ответа",
21− "Response Headers":"Заголовки ответа",
22− "Hide Response":"Спрятать ответ",
23− "Headers":"Заголовки",
24− "Response Messages":"Что может прийти в ответ",
25− "Try it out!":"Попробовать!",
26− "Show/Hide":"Показать/Скрыть",
27− "List Operations":"Операции кратко",
28− "Expand Operations":"Операции подробно",
29− "Raw":"В сыром виде",
30− "can't parse JSON. Raw result":"Не удается распарсить ответ:",
31− "Example Value":"Пример",
32− "Model Schema":"Структура",
33− "Model":"Описание",
34− "Click to set as parameter value":"Нажмите, чтобы испльзовать в качестве значения параметра",
35− "apply":"применить",
36− "Username":"Имя пользователя",
37− "Password":"Пароль",
38− "Terms of service":"Условия использования",
39− "Created by":"Разработано",
40− "See more at":"Еще тут",
41− "Contact the developer":"Связаться с разработчиком",
42− "api version":"Версия API",
43− "Response Content Type":"Content Type ответа",
44− "Parameter content type:":"Content Type параметра:",
45− "fetching resource":"Получение ресурса",
46− "fetching resource list":"Получение ресурсов",
47− "Explore":"Показать",
48− "Show Swagger Petstore Example Apis":"Показать примеры АПИ",
49− "Can't read from server. It may not have the appropriate access-control-origin settings.":"Не удается получить ответ от сервера. Возможно, проблема с настройками доступа",
50− "Please specify the protocol for":"Пожалуйста, укажите протокол для",
51− "Can't read swagger JSON from":"Не получается прочитать swagger json из",
52− "Finished Loading Resource Information. Rendering Swagger UI":"Загрузка информации о ресурсах завершена. Рендерим",
53− "Unable to read api":"Не удалось прочитать api",
54− "from path":"по адресу",
55− "server returned":"сервер сказал"
56−});
swagger-dist-2.1.5/lang/tr.jsdeleted−53
@@ -1,53 +0,0 @@
1−'use strict';
2−
3−/* jshint quotmark: double */
4−window.SwaggerTranslator.learn({
5− "Warning: Deprecated":"Uyarı: Deprecated",
6− "Implementation Notes":"Gerçekleştirim Notları",
7− "Response Class":"Dönen Sınıf",
8− "Status":"Statü",
9− "Parameters":"Parametreler",
10− "Parameter":"Parametre",
11− "Value":"Değer",
12− "Description":"Açıklama",
13− "Parameter Type":"Parametre Tipi",
14− "Data Type":"Veri Tipi",
15− "Response Messages":"Dönüş Mesajı",
16− "HTTP Status Code":"HTTP Statü Kodu",
17− "Reason":"Gerekçe",
18− "Response Model":"Dönüş Modeli",
19− "Request URL":"İstek URL",
20− "Response Body":"Dönüş İçeriği",
21− "Response Code":"Dönüş Kodu",
22− "Response Headers":"Dönüş Üst Bilgileri",
23− "Hide Response":"Dönüşü Gizle",
24− "Headers":"Üst Bilgiler",
25− "Try it out!":"Dene!",
26− "Show/Hide":"Göster/Gizle",
27− "List Operations":"Operasyonları Listele",
28− "Expand Operations":"Operasyonları Aç",
29− "Raw":"Ham",
30− "can't parse JSON. Raw result":"JSON çözümlenemiyor. Ham sonuç",
31− "Model Schema":"Model Şema",
32− "Model":"Model",
33− "apply":"uygula",
34− "Username":"Kullanıcı Adı",
35− "Password":"Parola",
36− "Terms of service":"Servis şartları",
37− "Created by":"Oluşturan",
38− "See more at":"Daha fazlası için",
39− "Contact the developer":"Geliştirici ile İletişime Geçin",
40− "api version":"api versiyon",
41− "Response Content Type":"Dönüş İçerik Tipi",
42− "fetching resource":"kaynak getiriliyor",
43− "fetching resource list":"kaynak listesi getiriliyor",
44− "Explore":"Keşfet",
45− "Show Swagger Petstore Example Apis":"Swagger Petstore Örnek Api'yi Gör",
46− "Can't read from server. It may not have the appropriate access-control-origin settings.":"Sunucudan okuma yapılamıyor. Sunucu access-control-origin ayarlarınızı kontrol edin.",
47− "Please specify the protocol for":"Lütfen istenen adres için protokol belirtiniz",
48− "Can't read swagger JSON from":"Swagger JSON bu kaynaktan okunamıyor",
49− "Finished Loading Resource Information. Rendering Swagger UI":"Kaynak baglantısı tamamlandı. Swagger UI gösterime hazırlanıyor",
50− "Unable to read api":"api okunamadı",
51− "from path":"yoldan",
52− "server returned":"sunucuya dönüldü"
53−});
swagger-dist-2.1.5/lang/translator.jsdeleted−39
@@ -1,39 +0,0 @@
1−'use strict';
2−
3−/**
4− * Translator for documentation pages.
5− *
6− * To enable translation you should include one of language-files in your index.html
7− * after <script src='lang/translator.js' type='text/javascript'></script>.
8− * For example - <script src='lang/ru.js' type='text/javascript'></script>
9− *
10− * If you wish to translate some new texts you should do two things:
11− * 1. Add a new phrase pair ("New Phrase": "New Translation") into your language file (for example lang/ru.js). It will be great if you add it in other language files too.
12− * 2. Mark that text it templates this way <anyHtmlTag data-sw-translate>New Phrase</anyHtmlTag> or <anyHtmlTag data-sw-translate value='New Phrase'/>.
13− * The main thing here is attribute data-sw-translate. Only inner html, title-attribute and value-attribute are going to translate.
14− *
15− */
16−window.SwaggerTranslator = {
17−
18− _words:[],
19−
20− translate: function(sel) {
21− var $this = this;
22− sel = sel || '[data-sw-translate]';
23−
24− $(sel).each(function() {
25− $(this).html($this._tryTranslate($(this).html()));
26−
27− $(this).val($this._tryTranslate($(this).val()));
28− $(this).attr('title', $this._tryTranslate($(this).attr('title')));
29− });
30− },
31−
32− _tryTranslate: function(word) {
33− return this._words[$.trim(word)] !== undefined ? this._words[$.trim(word)] : word;
34− },
35−
36− learn: function(wordsMap) {
37− this._words = wordsMap;
38− }
39−};
swagger-dist-2.1.5/lang/zh-cn.jsdeleted−53
@@ -1,53 +0,0 @@
1−'use strict';
2−
3−/* jshint quotmark: double */
4−window.SwaggerTranslator.learn({
5− "Warning: Deprecated":"警告:已过时",
6− "Implementation Notes":"实现备注",
7− "Response Class":"响应类",
8− "Status":"状态",
9− "Parameters":"参数",
10− "Parameter":"参数",
11− "Value":"值",
12− "Description":"描述",
13− "Parameter Type":"参数类型",
14− "Data Type":"数据类型",
15− "Response Messages":"响应消息",
16− "HTTP Status Code":"HTTP状态码",
17− "Reason":"原因",
18− "Response Model":"响应模型",
19− "Request URL":"请求URL",
20− "Response Body":"响应体",
21− "Response Code":"响应码",
22− "Response Headers":"响应头",
23− "Hide Response":"隐藏响应",
24− "Headers":"头",
25− "Try it out!":"试一下!",
26− "Show/Hide":"显示/隐藏",
27− "List Operations":"显示操作",
28− "Expand Operations":"展开操作",
29− "Raw":"原始",
30− "can't parse JSON. Raw result":"无法解析JSON. 原始结果",
31− "Model Schema":"模型架构",
32− "Model":"模型",
33− "apply":"应用",
34− "Username":"用户名",
35− "Password":"密码",
36− "Terms of service":"服务条款",
37− "Created by":"创建者",
38− "See more at":"查看更多:",
39− "Contact the developer":"联系开发者",
40− "api version":"api版本",
41− "Response Content Type":"响应Content Type",
42− "fetching resource":"正在获取资源",
43− "fetching resource list":"正在获取资源列表",
44− "Explore":"浏览",
45− "Show Swagger Petstore Example Apis":"显示 Swagger Petstore 示例 Apis",
46− "Can't read from server. It may not have the appropriate access-control-origin settings.":"无法从服务器读取。可能没有正确设置access-control-origin。",
47− "Please specify the protocol for":"请指定协议:",
48− "Can't read swagger JSON from":"无法读取swagger JSON于",
49− "Finished Loading Resource Information. Rendering Swagger UI":"已加载资源信息。正在渲染Swagger UI",
50− "Unable to read api":"无法读取api",
51− "from path":"从路径",
52− "server returned":"服务器返回"
53−});
swagger-dist-2.1.5/lib/backbone-min.jsdeleted−15
@@ -1,15 +0,0 @@
1−// Backbone.js 1.1.2
2−
3−(function(t,e){if(typeof define==="function"&&define.amd){define(["underscore","jquery","exports"],function(i,r,s){t.Backbone=e(t,s,i,r)})}else if(typeof exports!=="undefined"){var i=require("underscore");e(t,exports,i)}else{t.Backbone=e(t,{},t._,t.jQuery||t.Zepto||t.ender||t.$)}})(this,function(t,e,i,r){var s=t.Backbone;var n=[];var a=n.push;var o=n.slice;var h=n.splice;e.VERSION="1.1.2";e.$=r;e.noConflict=function(){t.Backbone=s;return this};e.emulateHTTP=false;e.emulateJSON=false;var u=e.Events={on:function(t,e,i){if(!c(this,"on",t,[e,i])||!e)return this;this._events||(this._events={});var r=this._events[t]||(this._events[t]=[]);r.push({callback:e,context:i,ctx:i||this});return this},once:function(t,e,r){if(!c(this,"once",t,[e,r])||!e)return this;var s=this;var n=i.once(function(){s.off(t,n);e.apply(this,arguments)});n._callback=e;return this.on(t,n,r)},off:function(t,e,r){var s,n,a,o,h,u,l,f;if(!this._events||!c(this,"off",t,[e,r]))return this;if(!t&&!e&&!r){this._events=void 0;return this}o=t?[t]:i.keys(this._events);for(h=0,u=o.length;h<u;h++){t=o[h];if(a=this._events[t]){this._events[t]=s=[];if(e||r){for(l=0,f=a.length;l<f;l++){n=a[l];if(e&&e!==n.callback&&e!==n.callback._callback||r&&r!==n.context){s.push(n)}}}if(!s.length)delete this._events[t]}}return this},trigger:function(t){if(!this._events)return this;var e=o.call(arguments,1);if(!c(this,"trigger",t,e))return this;var i=this._events[t];var r=this._events.all;if(i)f(i,e);if(r)f(r,arguments);return this},stopListening:function(t,e,r){var s=this._listeningTo;if(!s)return this;var n=!e&&!r;if(!r&&typeof e==="object")r=this;if(t)(s={})[t._listenId]=t;for(var a in s){t=s[a];t.off(e,r,this);if(n||i.isEmpty(t._events))delete this._listeningTo[a]}return this}};var l=/\s+/;var c=function(t,e,i,r){if(!i)return true;if(typeof i==="object"){for(var s in i){t[e].apply(t,[s,i[s]].concat(r))}return false}if(l.test(i)){var n=i.split(l);for(var a=0,o=n.length;a<o;a++){t[e].apply(t,[n[a]].concat(r))}return false}return true};var f=function(t,e){var i,r=-1,s=t.length,n=e[0],a=e[1],o=e[2];switch(e.length){case 0:while(++r<s)(i=t[r]).callback.call(i.ctx);return;case 1:while(++r<s)(i=t[r]).callback.call(i.ctx,n);return;case 2:while(++r<s)(i=t[r]).callback.call(i.ctx,n,a);return;case 3:while(++r<s)(i=t[r]).callback.call(i.ctx,n,a,o);return;default:while(++r<s)(i=t[r]).callback.apply(i.ctx,e);return}};var d={listenTo:"on",listenToOnce:"once"};i.each(d,function(t,e){u[e]=function(e,r,s){var n=this._listeningTo||(this._listeningTo={});var a=e._listenId||(e._listenId=i.uniqueId("l"));n[a]=e;if(!s&&typeof r==="object")s=this;e[t](r,s,this);return this}});u.bind=u.on;u.unbind=u.off;i.extend(e,u);var p=e.Model=function(t,e){var r=t||{};e||(e={});this.cid=i.uniqueId("c");this.attributes={};if(e.collection)this.collection=e.collection;if(e.parse)r=this.parse(r,e)||{};r=i.defaults({},r,i.result(this,"defaults"));this.set(r,e);this.changed={};this.initialize.apply(this,arguments)};i.extend(p.prototype,u,{changed:null,validationError:null,idAttribute:"id",initialize:function(){},toJSON:function(t){return i.clone(this.attributes)},sync:function(){return e.sync.apply(this,arguments)},get:function(t){return this.attributes[t]},escape:function(t){return i.escape(this.get(t))},has:function(t){return this.get(t)!=null},set:function(t,e,r){var s,n,a,o,h,u,l,c;if(t==null)return this;if(typeof t==="object"){n=t;r=e}else{(n={})[t]=e}r||(r={});if(!this._validate(n,r))return false;a=r.unset;h=r.silent;o=[];u=this._changing;this._changing=true;if(!u){this._previousAttributes=i.clone(this.attributes);this.changed={}}c=this.attributes,l=this._previousAttributes;if(this.idAttribute in n)this.id=n[this.idAttribute];for(s in n){e=n[s];if(!i.isEqual(c[s],e))o.push(s);if(!i.isEqual(l[s],e)){this.changed[s]=e}else{delete this.changed[s]}a?delete c[s]:c[s]=e}if(!h){if(o.length)this._pending=r;for(var f=0,d=o.length;f<d;f++){this.trigger("change:"+o[f],this,c[o[f]],r)}}if(u)return this;if(!h){while(this._pending){r=this._pending;this._pending=false;this.trigger("change",this,r)}}this._pending=false;this._changing=false;return this},unset:function(t,e){return this.set(t,void 0,i.extend({},e,{unset:true}))},clear:function(t){var e={};for(var r in this.attributes)e[r]=void 0;return this.set(e,i.extend({},t,{unset:true}))},hasChanged:function(t){if(t==null)return!i.isEmpty(this.changed);return i.has(this.changed,t)},changedAttributes:function(t){if(!t)return this.hasChanged()?i.clone(this.changed):false;var e,r=false;var s=this._changing?this._previousAttributes:this.attributes;for(var n in t){if(i.isEqual(s[n],e=t[n]))continue;(r||(r={}))[n]=e}return r},previous:function(t){if(t==null||!this._previousAttributes)return null;return this._previousAttributes[t]},previousAttributes:function(){return i.clone(this._previousAttributes)},fetch:function(t){t=t?i.clone(t):{};if(t.parse===void 0)t.parse=true;var e=this;var r=t.success;t.success=function(i){if(!e.set(e.parse(i,t),t))return false;if(r)r(e,i,t);e.trigger("sync",e,i,t)};q(this,t);return this.sync("read",this,t)},save:function(t,e,r){var s,n,a,o=this.attributes;if(t==null||typeof t==="object"){s=t;r=e}else{(s={})[t]=e}r=i.extend({validate:true},r);if(s&&!r.wait){if(!this.set(s,r))return false}else{if(!this._validate(s,r))return false}if(s&&r.wait){this.attributes=i.extend({},o,s)}if(r.parse===void 0)r.parse=true;var h=this;var u=r.success;r.success=function(t){h.attributes=o;var e=h.parse(t,r);if(r.wait)e=i.extend(s||{},e);if(i.isObject(e)&&!h.set(e,r)){return false}if(u)u(h,t,r);h.trigger("sync",h,t,r)};q(this,r);n=this.isNew()?"create":r.patch?"patch":"update";if(n==="patch")r.attrs=s;a=this.sync(n,this,r);if(s&&r.wait)this.attributes=o;return a},destroy:function(t){t=t?i.clone(t):{};var e=this;var r=t.success;var s=function(){e.trigger("destroy",e,e.collection,t)};t.success=function(i){if(t.wait||e.isNew())s();if(r)r(e,i,t);if(!e.isNew())e.trigger("sync",e,i,t)};if(this.isNew()){t.success();return false}q(this,t);var n=this.sync("delete",this,t);if(!t.wait)s();return n},url:function(){var t=i.result(this,"urlRoot")||i.result(this.collection,"url")||M();if(this.isNew())return t;return t.replace(/([^\/])$/,"$1/")+encodeURIComponent(this.id)},parse:function(t,e){return t},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(t){return this._validate({},i.extend(t||{},{validate:true}))},_validate:function(t,e){if(!e.validate||!this.validate)return true;t=i.extend({},this.attributes,t);var r=this.validationError=this.validate(t,e)||null;if(!r)return true;this.trigger("invalid",this,r,i.extend(e,{validationError:r}));return false}});var v=["keys","values","pairs","invert","pick","omit"];i.each(v,function(t){p.prototype[t]=function(){var e=o.call(arguments);e.unshift(this.attributes);return i[t].apply(i,e)}});var g=e.Collection=function(t,e){e||(e={});if(e.model)this.model=e.model;if(e.comparator!==void 0)this.comparator=e.comparator;this._reset();this.initialize.apply(this,arguments);if(t)this.reset(t,i.extend({silent:true},e))};var m={add:true,remove:true,merge:true};var y={add:true,remove:false};i.extend(g.prototype,u,{model:p,initialize:function(){},toJSON:function(t){return this.map(function(e){return e.toJSON(t)})},sync:function(){return e.sync.apply(this,arguments)},add:function(t,e){return this.set(t,i.extend({merge:false},e,y))},remove:function(t,e){var r=!i.isArray(t);t=r?[t]:i.clone(t);e||(e={});var s,n,a,o;for(s=0,n=t.length;s<n;s++){o=t[s]=this.get(t[s]);if(!o)continue;delete this._byId[o.id];delete this._byId[o.cid];a=this.indexOf(o);this.models.splice(a,1);this.length--;if(!e.silent){e.index=a;o.trigger("remove",o,this,e)}this._removeReference(o,e)}return r?t[0]:t},set:function(t,e){e=i.defaults({},e,m);if(e.parse)t=this.parse(t,e);var r=!i.isArray(t);t=r?t?[t]:[]:i.clone(t);var s,n,a,o,h,u,l;var c=e.at;var f=this.model;var d=this.comparator&&c==null&&e.sort!==false;var v=i.isString(this.comparator)?this.comparator:null;var g=[],y=[],_={};var b=e.add,w=e.merge,x=e.remove;var E=!d&&b&&x?[]:false;for(s=0,n=t.length;s<n;s++){h=t[s]||{};if(h instanceof p){a=o=h}else{a=h[f.prototype.idAttribute||"id"]}if(u=this.get(a)){if(x)_[u.cid]=true;if(w){h=h===o?o.attributes:h;if(e.parse)h=u.parse(h,e);u.set(h,e);if(d&&!l&&u.hasChanged(v))l=true}t[s]=u}else if(b){o=t[s]=this._prepareModel(h,e);if(!o)continue;g.push(o);this._addReference(o,e)}o=u||o;if(E&&(o.isNew()||!_[o.id]))E.push(o);_[o.id]=true}if(x){for(s=0,n=this.length;s<n;++s){if(!_[(o=this.models[s]).cid])y.push(o)}if(y.length)this.remove(y,e)}if(g.length||E&&E.length){if(d)l=true;this.length+=g.length;if(c!=null){for(s=0,n=g.length;s<n;s++){this.models.splice(c+s,0,g[s])}}else{if(E)this.models.length=0;var k=E||g;for(s=0,n=k.length;s<n;s++){this.models.push(k[s])}}}if(l)this.sort({silent:true});if(!e.silent){for(s=0,n=g.length;s<n;s++){(o=g[s]).trigger("add",o,this,e)}if(l||E&&E.length)this.trigger("sort",this,e)}return r?t[0]:t},reset:function(t,e){e||(e={});for(var r=0,s=this.models.length;r<s;r++){this._removeReference(this.models[r],e)}e.previousModels=this.models;this._reset();t=this.add(t,i.extend({silent:true},e));if(!e.silent)this.trigger("reset",this,e);return t},push:function(t,e){return this.add(t,i.extend({at:this.length},e))},pop:function(t){var e=this.at(this.length-1);this.remove(e,t);return e},unshift:function(t,e){return this.add(t,i.extend({at:0},e))},shift:function(t){var e=this.at(0);this.remove(e,t);return e},slice:function(){return o.apply(this.models,arguments)},get:function(t){if(t==null)return void 0;return this._byId[t]||this._byId[t.id]||this._byId[t.cid]},at:function(t){return this.models[t]},where:function(t,e){if(i.isEmpty(t))return e?void 0:[];return this[e?"find":"filter"](function(e){for(var i in t){if(t[i]!==e.get(i))return false}return true})},findWhere:function(t){return this.where(t,true)},sort:function(t){if(!this.comparator)throw new Error("Cannot sort a set without a comparator");t||(t={});if(i.isString(this.comparator)||this.comparator.length===1){this.models=this.sortBy(this.comparator,this)}else{this.models.sort(i.bind(this.comparator,this))}if(!t.silent)this.trigger("sort",this,t);return this},pluck:function(t){return i.invoke(this.models,"get",t)},fetch:function(t){t=t?i.clone(t):{};if(t.parse===void 0)t.parse=true;var e=t.success;var r=this;t.success=function(i){var s=t.reset?"reset":"set";r[s](i,t);if(e)e(r,i,t);r.trigger("sync",r,i,t)};q(this,t);return this.sync("read",this,t)},create:function(t,e){e=e?i.clone(e):{};if(!(t=this._prepareModel(t,e)))return false;if(!e.wait)this.add(t,e);var r=this;var s=e.success;e.success=function(t,i){if(e.wait)r.add(t,e);if(s)s(t,i,e)};t.save(null,e);return t},parse:function(t,e){return t},clone:function(){return new this.constructor(this.models)},_reset:function(){this.length=0;this.models=[];this._byId={}},_prepareModel:function(t,e){if(t instanceof p)return t;e=e?i.clone(e):{};e.collection=this;var r=new this.model(t,e);if(!r.validationError)return r;this.trigger("invalid",this,r.validationError,e);return false},_addReference:function(t,e){this._byId[t.cid]=t;if(t.id!=null)this._byId[t.id]=t;if(!t.collection)t.collection=this;t.on("all",this._onModelEvent,this)},_removeReference:function(t,e){if(this===t.collection)delete t.collection;t.off("all",this._onModelEvent,this)},_onModelEvent:function(t,e,i,r){if((t==="add"||t==="remove")&&i!==this)return;if(t==="destroy")this.remove(e,r);if(e&&t==="change:"+e.idAttribute){delete this._byId[e.previous(e.idAttribute)];if(e.id!=null)this._byId[e.id]=e}this.trigger.apply(this,arguments)}});var _=["forEach","each","map","collect","reduce","foldl","inject","reduceRight","foldr","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","max","min","toArray","size","first","head","take","initial","rest","tail","drop","last","without","difference","indexOf","shuffle","lastIndexOf","isEmpty","chain","sample"];i.each(_,function(t){g.prototype[t]=function(){var e=o.call(arguments);e.unshift(this.models);return i[t].apply(i,e)}});var b=["groupBy","countBy","sortBy","indexBy"];i.each(b,function(t){g.prototype[t]=function(e,r){var s=i.isFunction(e)?e:function(t){return t.get(e)};return i[t](this.models,s,r)}});var w=e.View=function(t){this.cid=i.uniqueId("view");t||(t={});i.extend(this,i.pick(t,E));this._ensureElement();this.initialize.apply(this,arguments);this.delegateEvents()};var x=/^(\S+)\s*(.*)$/;var E=["model","collection","el","id","attributes","className","tagName","events"];i.extend(w.prototype,u,{tagName:"div",$:function(t){return this.$el.find(t)},initialize:function(){},render:function(){return this},remove:function(){this.$el.remove();this.stopListening();return this},setElement:function(t,i){if(this.$el)this.undelegateEvents();this.$el=t instanceof e.$?t:e.$(t);this.el=this.$el[0];if(i!==false)this.delegateEvents();return this},delegateEvents:function(t){if(!(t||(t=i.result(this,"events"))))return this;this.undelegateEvents();for(var e in t){var r=t[e];if(!i.isFunction(r))r=this[t[e]];if(!r)continue;var s=e.match(x);var n=s[1],a=s[2];r=i.bind(r,this);n+=".delegateEvents"+this.cid;if(a===""){this.$el.on(n,r)}else{this.$el.on(n,a,r)}}return this},undelegateEvents:function(){this.$el.off(".delegateEvents"+this.cid);return this},_ensureElement:function(){if(!this.el){var t=i.extend({},i.result(this,"attributes"));if(this.id)t.id=i.result(this,"id");if(this.className)t["class"]=i.result(this,"className");var r=e.$("<"+i.result(this,"tagName")+">").attr(t);this.setElement(r,false)}else{this.setElement(i.result(this,"el"),false)}}});e.sync=function(t,r,s){var n=T[t];i.defaults(s||(s={}),{emulateHTTP:e.emulateHTTP,emulateJSON:e.emulateJSON});var a={type:n,dataType:"json"};if(!s.url){a.url=i.result(r,"url")||M()}if(s.data==null&&r&&(t==="create"||t==="update"||t==="patch")){a.contentType="application/json";a.data=JSON.stringify(s.attrs||r.toJSON(s))}if(s.emulateJSON){a.contentType="application/x-www-form-urlencoded";a.data=a.data?{model:a.data}:{}}if(s.emulateHTTP&&(n==="PUT"||n==="DELETE"||n==="PATCH")){a.type="POST";if(s.emulateJSON)a.data._method=n;var o=s.beforeSend;s.beforeSend=function(t){t.setRequestHeader("X-HTTP-Method-Override",n);if(o)return o.apply(this,arguments)}}if(a.type!=="GET"&&!s.emulateJSON){a.processData=false}if(a.type==="PATCH"&&k){a.xhr=function(){return new ActiveXObject("Microsoft.XMLHTTP")}}var h=s.xhr=e.ajax(i.extend(a,s));r.trigger("request",r,h,s);return h};var k=typeof window!=="undefined"&&!!window.ActiveXObject&&!(window.XMLHttpRequest&&(new XMLHttpRequest).dispatchEvent);var T={create:"POST",update:"PUT",patch:"PATCH","delete":"DELETE",read:"GET"};e.ajax=function(){return e.$.ajax.apply(e.$,arguments)};var $=e.Router=function(t){t||(t={});if(t.routes)this.routes=t.routes;this._bindRoutes();this.initialize.apply(this,arguments)};var S=/\((.*?)\)/g;var H=/(\(\?)?:\w+/g;var A=/\*\w+/g;var I=/[\-{}\[\]+?.,\\\^$|#\s]/g;i.extend($.prototype,u,{initialize:function(){},route:function(t,r,s){if(!i.isRegExp(t))t=this._routeToRegExp(t);if(i.isFunction(r)){s=r;r=""}if(!s)s=this[r];var n=this;e.history.route(t,function(i){var a=n._extractParameters(t,i);n.execute(s,a);n.trigger.apply(n,["route:"+r].concat(a));n.trigger("route",r,a);e.history.trigger("route",n,r,a)});return this},execute:function(t,e){if(t)t.apply(this,e)},navigate:function(t,i){e.history.navigate(t,i);return this},_bindRoutes:function(){if(!this.routes)return;this.routes=i.result(this,"routes");var t,e=i.keys(this.routes);while((t=e.pop())!=null){this.route(t,this.routes[t])}},_routeToRegExp:function(t){t=t.replace(I,"\\$&").replace(S,"(?:$1)?").replace(H,function(t,e){return e?t:"([^/?]+)"}).replace(A,"([^?]*?)");return new RegExp("^"+t+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(t,e){var r=t.exec(e).slice(1);return i.map(r,function(t,e){if(e===r.length-1)return t||null;return t?decodeURIComponent(t):null})}});var N=e.History=function(){this.handlers=[];i.bindAll(this,"checkUrl");if(typeof window!=="undefined"){this.location=window.location;this.history=window.history}};var R=/^[#\/]|\s+$/g;var O=/^\/+|\/+$/g;var P=/msie [\w.]+/;var C=/\/$/;var j=/#.*$/;N.started=false;i.extend(N.prototype,u,{interval:50,atRoot:function(){return this.location.pathname.replace(/[^\/]$/,"$&/")===this.root},getHash:function(t){var e=(t||this).location.href.match(/#(.*)$/);return e?e[1]:""},getFragment:function(t,e){if(t==null){if(this._hasPushState||!this._wantsHashChange||e){t=decodeURI(this.location.pathname+this.location.search);var i=this.root.replace(C,"");if(!t.indexOf(i))t=t.slice(i.length)}else{t=this.getHash()}}return t.replace(R,"")},start:function(t){if(N.started)throw new Error("Backbone.history has already been started");N.started=true;this.options=i.extend({root:"/"},this.options,t);this.root=this.options.root;this._wantsHashChange=this.options.hashChange!==false;this._wantsPushState=!!this.options.pushState;this._hasPushState=!!(this.options.pushState&&this.history&&this.history.pushState);var r=this.getFragment();var s=document.documentMode;var n=P.exec(navigator.userAgent.toLowerCase())&&(!s||s<=7);this.root=("/"+this.root+"/").replace(O,"/");if(n&&this._wantsHashChange){var a=e.$('<iframe src="javascript:0" tabindex="-1">');this.iframe=a.hide().appendTo("body")[0].contentWindow;this.navigate(r)}if(this._hasPushState){e.$(window).on("popstate",this.checkUrl)}else if(this._wantsHashChange&&"onhashchange"in window&&!n){e.$(window).on("hashchange",this.checkUrl)}else if(this._wantsHashChange){this._checkUrlInterval=setInterval(this.checkUrl,this.interval)}this.fragment=r;var o=this.location;if(this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot()){this.fragment=this.getFragment(null,true);this.location.replace(this.root+"#"+this.fragment);return true}else if(this._hasPushState&&this.atRoot()&&o.hash){this.fragment=this.getHash().replace(R,"");this.history.replaceState({},document.title,this.root+this.fragment)}}if(!this.options.silent)return this.loadUrl()},stop:function(){e.$(window).off("popstate",this.checkUrl).off("hashchange",this.checkUrl);if(this._checkUrlInterval)clearInterval(this._checkUrlInterval);N.started=false},route:function(t,e){this.handlers.unshift({route:t,callback:e})},checkUrl:function(t){var e=this.getFragment();if(e===this.fragment&&this.iframe){e=this.getFragment(this.getHash(this.iframe))}if(e===this.fragment)return false;if(this.iframe)this.navigate(e);this.loadUrl()},loadUrl:function(t){t=this.fragment=this.getFragment(t);return i.any(this.handlers,function(e){if(e.route.test(t)){e.callback(t);return true}})},navigate:function(t,e){if(!N.started)return false;if(!e||e===true)e={trigger:!!e};var i=this.root+(t=this.getFragment(t||""));t=t.replace(j,"");if(this.fragment===t)return;this.fragment=t;if(t===""&&i!=="/")i=i.slice(0,-1);if(this._hasPushState){this.history[e.replace?"replaceState":"pushState"]({},document.title,i)}else if(this._wantsHashChange){this._updateHash(this.location,t,e.replace);if(this.iframe&&t!==this.getFragment(this.getHash(this.iframe))){if(!e.replace)this.iframe.document.open().close();this._updateHash(this.iframe.location,t,e.replace)}}else{return this.location.assign(i)}if(e.trigger)return this.loadUrl(t)},_updateHash:function(t,e,i){if(i){var r=t.href.replace(/(javascript:|#).*$/,"");t.replace(r+"#"+e)}else{t.hash="#"+e}}});e.history=new N;var U=function(t,e){var r=this;var s;if(t&&i.has(t,"constructor")){s=t.constructor}else{s=function(){return r.apply(this,arguments)}}i.extend(s,r,e);var n=function(){this.constructor=s};n.prototype=r.prototype;s.prototype=new n;if(t)i.extend(s.prototype,t);s.__super__=r.prototype;return s};p.extend=g.extend=$.extend=w.extend=N.extend=U;var M=function(){throw new Error('A "url" property or function must be specified')};var q=function(t,e){var i=e.error;e.error=function(r){if(i)i(t,r,e);t.trigger("error",t,r,e)}};return e});
4−
5−// From http://stackoverflow.com/a/19431552
6−// Compatibility override - Backbone 1.1 got rid of the 'options' binding
7−// automatically to views in the constructor - we need to keep that.
8−Backbone.View = (function(View) {
9− return View.extend({
10− constructor: function(options) {
11− this.options = options || {};
12− View.apply(this, arguments);
13− }
14− });
15−})(Backbone.View);
swagger-dist-2.1.5/lib/es5-shim.jsdeleted−2065
@@ -1,2065 +0,0 @@
1−/*!
2− * https://github.com/es-shims/es5-shim
3− * @license es5-shim Copyright 2009-2015 by contributors, MIT License
4− * see https://github.com/es-shims/es5-shim/blob/master/LICENSE
5− */
6−
7−// vim: ts=4 sts=4 sw=4 expandtab
8−
9−// Add semicolon to prevent IIFE from being passed as argument to concatenated code.
10−;
11−
12−// UMD (Universal Module Definition)
13−// see https://github.com/umdjs/umd/blob/master/templates/returnExports.js
14−(function (root, factory) {
15− 'use strict';
16−
17− /* global define, exports, module */
18− if (typeof define === 'function' && define.amd) {
19− // AMD. Register as an anonymous module.
20− define(factory);
21− } else if (typeof exports === 'object') {
22− // Node. Does not work with strict CommonJS, but
23− // only CommonJS-like enviroments that support module.exports,
24− // like Node.
25− module.exports = factory();
26− } else {
27− // Browser globals (root is window)
28− root.returnExports = factory();
29− }
30−}(this, function () {
31− /**
32− * Brings an environment as close to ECMAScript 5 compliance
33− * as is possible with the facilities of erstwhile engines.
34− *
35− * Annotated ES5: http://es5.github.com/ (specific links below)
36− * ES5 Spec: http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf
37− * Required reading: http://javascriptweblog.wordpress.com/2011/12/05/extending-javascript-natives/
38− */
39−
40− // Shortcut to an often accessed properties, in order to avoid multiple
41− // dereference that costs universally. This also holds a reference to known-good
42− // functions.
43− var $Array = Array;
44− var ArrayPrototype = $Array.prototype;
45− var $Object = Object;
46− var ObjectPrototype = $Object.prototype;
47− var $Function = Function;
48− var FunctionPrototype = $Function.prototype;
49− var $String = String;
50− var StringPrototype = $String.prototype;
51− var $Number = Number;
52− var NumberPrototype = $Number.prototype;
53− var array_slice = ArrayPrototype.slice;
54− var array_splice = ArrayPrototype.splice;
55− var array_push = ArrayPrototype.push;
56− var array_unshift = ArrayPrototype.unshift;
57− var array_concat = ArrayPrototype.concat;
58− var array_join = ArrayPrototype.join;
59− var call = FunctionPrototype.call;
60− var apply = FunctionPrototype.apply;
61− var max = Math.max;
62− var min = Math.min;
63−
64− // Having a toString local variable name breaks in Opera so use to_string.
65− var to_string = ObjectPrototype.toString;
66−
67− /* global Symbol */
68− /* eslint-disable one-var-declaration-per-line, no-redeclare, max-statements-per-line */
69− var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
70− var isCallable; /* inlined from https://npmjs.com/is-callable */ var fnToStr = Function.prototype.toString, constructorRegex = /^\s*class /, isES6ClassFn = function isES6ClassFn(value) { try { var fnStr = fnToStr.call(value); var singleStripped = fnStr.replace(/\/\/.*\n/g, ''); var multiStripped = singleStripped.replace(/\/\*[.\s\S]*\*\//g, ''); var spaceStripped = multiStripped.replace(/\n/mg, ' ').replace(/ {2}/g, ' '); return constructorRegex.test(spaceStripped); } catch (e) { return false; /* not a function */ } }, tryFunctionObject = function tryFunctionObject(value) { try { if (isES6ClassFn(value)) { return false; } fnToStr.call(value); return true; } catch (e) { return false; } }, fnClass = '[object Function]', genClass = '[object GeneratorFunction]', isCallable = function isCallable(value) { if (!value) { return false; } if (typeof value !== 'function' && typeof value !== 'object') { return false; } if (hasToStringTag) { return tryFunctionObject(value); } if (isES6ClassFn(value)) { return false; } var strClass = to_string.call(value); return strClass === fnClass || strClass === genClass; };
71−
72− var isRegex; /* inlined from https://npmjs.com/is-regex */ var regexExec = RegExp.prototype.exec, tryRegexExec = function tryRegexExec(value) { try { regexExec.call(value); return true; } catch (e) { return false; } }, regexClass = '[object RegExp]'; isRegex = function isRegex(value) { if (typeof value !== 'object') { return false; } return hasToStringTag ? tryRegexExec(value) : to_string.call(value) === regexClass; };
73− var isString; /* inlined from https://npmjs.com/is-string */ var strValue = String.prototype.valueOf, tryStringObject = function tryStringObject(value) { try { strValue.call(value); return true; } catch (e) { return false; } }, stringClass = '[object String]'; isString = function isString(value) { if (typeof value === 'string') { return true; } if (typeof value !== 'object') { return false; } return hasToStringTag ? tryStringObject(value) : to_string.call(value) === stringClass; };
74− /* eslint-enable one-var-declaration-per-line, no-redeclare, max-statements-per-line */
75−
76− /* inlined from http://npmjs.com/define-properties */
77− var supportsDescriptors = $Object.defineProperty && (function () {
78− try {
79− var obj = {};
80− $Object.defineProperty(obj, 'x', { enumerable: false, value: obj });
81− for (var _ in obj) { // jscs:ignore disallowUnusedVariables
82− return false;
83− }
84− return obj.x === obj;
85− } catch (e) { /* this is ES3 */
86− return false;
87− }
88− }());
89− var defineProperties = (function (has) {
90− // Define configurable, writable, and non-enumerable props
91− // if they don't exist.
92− var defineProperty;
93− if (supportsDescriptors) {
94− defineProperty = function (object, name, method, forceAssign) {
95− if (!forceAssign && (name in object)) {
96− return;
97− }
98− $Object.defineProperty(object, name, {
99− configurable: true,
100− enumerable: false,
101− writable: true,
102− value: method
103− });
104− };
105− } else {
106− defineProperty = function (object, name, method, forceAssign) {
107− if (!forceAssign && (name in object)) {
108− return;
109− }
110− object[name] = method;
111− };
112− }
113− return function defineProperties(object, map, forceAssign) {
114− for (var name in map) {
115− if (has.call(map, name)) {
116− defineProperty(object, name, map[name], forceAssign);
117− }
118− }
119− };
120− }(ObjectPrototype.hasOwnProperty));
121−
122− //
123− // Util
124− // ======
125− //
126−
127− /* replaceable with https://npmjs.com/package/es-abstract /helpers/isPrimitive */
128− var isPrimitive = function isPrimitive(input) {
129− var type = typeof input;
130− return input === null || (type !== 'object' && type !== 'function');
131− };
132−
133− var isActualNaN = $Number.isNaN || function isActualNaN(x) {
134− return x !== x;
135− };
136−
137− var ES = {
138− // ES5 9.4
139− // http://es5.github.com/#x9.4
140− // http://jsperf.com/to-integer
141− /* replaceable with https://npmjs.com/package/es-abstract ES5.ToInteger */
142− ToInteger: function ToInteger(num) {
143− var n = +num;
144− if (isActualNaN(n)) {
145− n = 0;
146− } else if (n !== 0 && n !== (1 / 0) && n !== -(1 / 0)) {
147− n = (n > 0 || -1) * Math.floor(Math.abs(n));
148− }
149− return n;
150− },
151−
152− /* replaceable with https://npmjs.com/package/es-abstract ES5.ToPrimitive */
153− ToPrimitive: function ToPrimitive(input) {
154− var val, valueOf, toStr;
155− if (isPrimitive(input)) {
156− return input;
157− }
158− valueOf = input.valueOf;
159− if (isCallable(valueOf)) {
160− val = valueOf.call(input);
161− if (isPrimitive(val)) {
162− return val;
163− }
164− }
165− toStr = input.toString;
166− if (isCallable(toStr)) {
167− val = toStr.call(input);
168− if (isPrimitive(val)) {
169− return val;
170− }
171− }
172− throw new TypeError();
173− },
174−
175− // ES5 9.9
176− // http://es5.github.com/#x9.9
177− /* replaceable with https://npmjs.com/package/es-abstract ES5.ToObject */
178− ToObject: function (o) {
179− if (o == null) { // this matches both null and undefined
180− throw new TypeError("can't convert " + o + ' to object');
181− }
182− return $Object(o);
183− },
184−
185− /* replaceable with https://npmjs.com/package/es-abstract ES5.ToUint32 */
186− ToUint32: function ToUint32(x) {
187− return x >>> 0;
188− }
189− };
190−
191− //
192− // Function
193− // ========
194− //
195−
196− // ES-5 15.3.4.5
197− // http://es5.github.com/#x15.3.4.5
198−
199− var Empty = function Empty() {};
200−
201− defineProperties(FunctionPrototype, {
202− bind: function bind(that) { // .length is 1
203− // 1. Let Target be the this value.
204− var target = this;
205− // 2. If IsCallable(Target) is false, throw a TypeError exception.
206− if (!isCallable(target)) {
207− throw new TypeError('Function.prototype.bind called on incompatible ' + target);
208− }
209− // 3. Let A be a new (possibly empty) internal list of all of the
210− // argument values provided after thisArg (arg1, arg2 etc), in order.
211− // XXX slicedArgs will stand in for "A" if used
212− var args = array_slice.call(arguments, 1); // for normal call
213− // 4. Let F be a new native ECMAScript object.
214− // 11. Set the [[Prototype]] internal property of F to the standard
215− // built-in Function prototype object as specified in 15.3.3.1.
216− // 12. Set the [[Call]] internal property of F as described in
217− // 15.3.4.5.1.
218− // 13. Set the [[Construct]] internal property of F as described in
219− // 15.3.4.5.2.
220− // 14. Set the [[HasInstance]] internal property of F as described in
221− // 15.3.4.5.3.
222− var bound;
223− var binder = function () {
224−
225− if (this instanceof bound) {
226− // 15.3.4.5.2 [[Construct]]
227− // When the [[Construct]] internal method of a function object,
228− // F that was created using the bind function is called with a
229− // list of arguments ExtraArgs, the following steps are taken:
230− // 1. Let target be the value of F's [[TargetFunction]]
231− // internal property.
232− // 2. If target has no [[Construct]] internal method, a
233− // TypeError exception is thrown.
234− // 3. Let boundArgs be the value of F's [[BoundArgs]] internal
235− // property.
236− // 4. Let args be a new list containing the same values as the
237− // list boundArgs in the same order followed by the same
238− // values as the list ExtraArgs in the same order.
239− // 5. Return the result of calling the [[Construct]] internal
240− // method of target providing args as the arguments.
241−
242− var result = apply.call(
243− target,
244− this,
245− array_concat.call(args, array_slice.call(arguments))
246− );
247− if ($Object(result) === result) {
248− return result;
249− }
250− return this;
251−
252− } else {
253− // 15.3.4.5.1 [[Call]]
254− // When the [[Call]] internal method of a function object, F,
255− // which was created using the bind function is called with a
256− // this value and a list of arguments ExtraArgs, the following
257− // steps are taken:
258− // 1. Let boundArgs be the value of F's [[BoundArgs]] internal
259− // property.
260− // 2. Let boundThis be the value of F's [[BoundThis]] internal
261− // property.
262− // 3. Let target be the value of F's [[TargetFunction]] internal
263− // property.
264− // 4. Let args be a new list containing the same values as the
265− // list boundArgs in the same order followed by the same
266− // values as the list ExtraArgs in the same order.
267− // 5. Return the result of calling the [[Call]] internal method
268− // of target providing boundThis as the this value and
269− // providing args as the arguments.
270−
271− // equiv: target.call(this, ...boundArgs, ...args)
272− return apply.call(
273− target,
274− that,
275− array_concat.call(args, array_slice.call(arguments))
276− );
277−
278− }
279−
280− };
281−
282− // 15. If the [[Class]] internal property of Target is "Function", then
283− // a. Let L be the length property of Target minus the length of A.
284− // b. Set the length own property of F to either 0 or L, whichever is
285− // larger.
286− // 16. Else set the length own property of F to 0.
287−
288− var boundLength = max(0, target.length - args.length);
289−
290− // 17. Set the attributes of the length own property of F to the values
291− // specified in 15.3.5.1.
292− var boundArgs = [];
293− for (var i = 0; i < boundLength; i++) {
294− array_push.call(boundArgs, '$' + i);
295− }
296−
297− // XXX Build a dynamic function with desired amount of arguments is the only
298− // way to set the length property of a function.
299− // In environments where Content Security Policies enabled (Chrome extensions,
300− // for ex.) all use of eval or Function costructor throws an exception.
301− // However in all of these environments Function.prototype.bind exists
302− // and so this code will never be executed.
303− bound = $Function('binder', 'return function (' + array_join.call(boundArgs, ',') + '){ return binder.apply(this, arguments); }')(binder);
304−
305− if (target.prototype) {
306− Empty.prototype = target.prototype;
307− bound.prototype = new Empty();
308− // Clean up dangling references.
309− Empty.prototype = null;
310− }
311−
312− // TODO
313− // 18. Set the [[Extensible]] internal property of F to true.
314−
315− // TODO
316− // 19. Let thrower be the [[ThrowTypeError]] function Object (13.2.3).
317− // 20. Call the [[DefineOwnProperty]] internal method of F with
318− // arguments "caller", PropertyDescriptor {[[Get]]: thrower, [[Set]]:
319− // thrower, [[Enumerable]]: false, [[Configurable]]: false}, and
320− // false.
321− // 21. Call the [[DefineOwnProperty]] internal method of F with
322− // arguments "arguments", PropertyDescriptor {[[Get]]: thrower,
323− // [[Set]]: thrower, [[Enumerable]]: false, [[Configurable]]: false},
324− // and false.
325−
326− // TODO
327− // NOTE Function objects created using Function.prototype.bind do not
328− // have a prototype property or the [[Code]], [[FormalParameters]], and
329− // [[Scope]] internal properties.
330− // XXX can't delete prototype in pure-js.
331−
332− // 22. Return F.
333− return bound;
334− }
335− });
336−
337− // _Please note: Shortcuts are defined after `Function.prototype.bind` as we
338− // use it in defining shortcuts.
339− var owns = call.bind(ObjectPrototype.hasOwnProperty);
340− var toStr = call.bind(ObjectPrototype.toString);
341− var arraySlice = call.bind(array_slice);
342− var arraySliceApply = apply.bind(array_slice);
343− var strSlice = call.bind(StringPrototype.slice);
344− var strSplit = call.bind(StringPrototype.split);
345− var strIndexOf = call.bind(StringPrototype.indexOf);
346− var pushCall = call.bind(array_push);
347− var isEnum = call.bind(ObjectPrototype.propertyIsEnumerable);
348− var arraySort = call.bind(ArrayPrototype.sort);
349−
350− //
351− // Array
352− // =====
353− //
354−
355− var isArray = $Array.isArray || function isArray(obj) {
356− return toStr(obj) === '[object Array]';
357− };
358−
359− // ES5 15.4.4.12
360− // http://es5.github.com/#x15.4.4.13
361− // Return len+argCount.
362− // [bugfix, ielt8]
363− // IE < 8 bug: [].unshift(0) === undefined but should be "1"
364− var hasUnshiftReturnValueBug = [].unshift(0) !== 1;
365− defineProperties(ArrayPrototype, {
366− unshift: function () {
367− array_unshift.apply(this, arguments);
368− return this.length;
369− }
370− }, hasUnshiftReturnValueBug);
371−
372− // ES5 15.4.3.2
373− // http://es5.github.com/#x15.4.3.2
374− // https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/isArray
375− defineProperties($Array, { isArray: isArray });
376−
377− // The IsCallable() check in the Array functions
378− // has been replaced with a strict check on the
379− // internal class of the object to trap cases where
380− // the provided function was actually a regular
381− // expression literal, which in V8 and
382− // JavaScriptCore is a typeof "function". Only in
383− // V8 are regular expression literals permitted as
384− // reduce parameters, so it is desirable in the
385− // general case for the shim to match the more
386− // strict and common behavior of rejecting regular
387− // expressions.
388−
389− // ES5 15.4.4.18
390− // http://es5.github.com/#x15.4.4.18
391− // https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/array/forEach
392−
393− // Check failure of by-index access of string characters (IE < 9)
394− // and failure of `0 in boxedString` (Rhino)
395− var boxedString = $Object('a');
396− var splitString = boxedString[0] !== 'a' || !(0 in boxedString);
397−
398− var properlyBoxesContext = function properlyBoxed(method) {
399− // Check node 0.6.21 bug where third parameter is not boxed
400− var properlyBoxesNonStrict = true;
401− var properlyBoxesStrict = true;
402− var threwException = false;
403− if (method) {
404− try {
405− method.call('foo', function (_, __, context) {
406− if (typeof context !== 'object') {
407− properlyBoxesNonStrict = false;
408− }
409− });
410−
411− method.call([1], function () {
412− 'use strict';
413−
414− properlyBoxesStrict = typeof this === 'string';
415− }, 'x');
416− } catch (e) {
417− threwException = true;
418− }
419− }
420− return !!method && !threwException && properlyBoxesNonStrict && properlyBoxesStrict;
421− };
422−
423− defineProperties(ArrayPrototype, {
424− forEach: function forEach(callbackfn/*, thisArg*/) {
425− var object = ES.ToObject(this);
426− var self = splitString && isString(this) ? strSplit(this, '') : object;
427− var i = -1;
428− var length = ES.ToUint32(self.length);
429− var T;
430− if (arguments.length > 1) {
431− T = arguments[1];
432− }
433−
434− // If no callback function or if callback is not a callable function
435− if (!isCallable(callbackfn)) {
436− throw new TypeError('Array.prototype.forEach callback must be a function');
437− }
438−
439− while (++i < length) {
440− if (i in self) {
441− // Invoke the callback function with call, passing arguments:
442− // context, property value, property key, thisArg object
443− if (typeof T === 'undefined') {
444− callbackfn(self[i], i, object);
445− } else {
446− callbackfn.call(T, self[i], i, object);
447− }
448− }
449− }
450− }
451− }, !properlyBoxesContext(ArrayPrototype.forEach));
452−
453− // ES5 15.4.4.19
454− // http://es5.github.com/#x15.4.4.19
455− // https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/map
456− defineProperties(ArrayPrototype, {
457− map: function map(callbackfn/*, thisArg*/) {
458− var object = ES.ToObject(this);
459− var self = splitString && isString(this) ? strSplit(this, '') : object;
460− var length = ES.ToUint32(self.length);
461− var result = $Array(length);
462− var T;
463− if (arguments.length > 1) {
464− T = arguments[1];
465− }
466−
467− // If no callback function or if callback is not a callable function
468− if (!isCallable(callbackfn)) {
469− throw new TypeError('Array.prototype.map callback must be a function');
470− }
471−
472− for (var i = 0; i < length; i++) {
473− if (i in self) {
474− if (typeof T === 'undefined') {
475− result[i] = callbackfn(self[i], i, object);
476− } else {
477− result[i] = callbackfn.call(T, self[i], i, object);
478− }
479− }
480− }
481− return result;
482− }
483− }, !properlyBoxesContext(ArrayPrototype.map));
484−
485− // ES5 15.4.4.20
486− // http://es5.github.com/#x15.4.4.20
487− // https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/filter
488− defineProperties(ArrayPrototype, {
489− filter: function filter(callbackfn/*, thisArg*/) {
490− var object = ES.ToObject(this);
491− var self = splitString && isString(this) ? strSplit(this, '') : object;
492− var length = ES.ToUint32(self.length);
493− var result = [];
494− var value;
495− var T;
496− if (arguments.length > 1) {
497− T = arguments[1];
498− }
499−
500− // If no callback function or if callback is not a callable function
501− if (!isCallable(callbackfn)) {
502− throw new TypeError('Array.prototype.filter callback must be a function');
503− }
504−
505− for (var i = 0; i < length; i++) {
506− if (i in self) {
507− value = self[i];
508− if (typeof T === 'undefined' ? callbackfn(value, i, object) : callbackfn.call(T, value, i, object)) {
509− pushCall(result, value);
510− }
511− }
512− }
513− return result;
514− }
515− }, !properlyBoxesContext(ArrayPrototype.filter));
516−
517− // ES5 15.4.4.16
518− // http://es5.github.com/#x15.4.4.16
519− // https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/every
520− defineProperties(ArrayPrototype, {
521− every: function every(callbackfn/*, thisArg*/) {
522− var object = ES.ToObject(this);
523− var self = splitString && isString(this) ? strSplit(this, '') : object;
524− var length = ES.ToUint32(self.length);
525− var T;
526− if (arguments.length > 1) {
527− T = arguments[1];
528− }
529−
530− // If no callback function or if callback is not a callable function
531− if (!isCallable(callbackfn)) {
532− throw new TypeError('Array.prototype.every callback must be a function');
533− }
534−
535− for (var i = 0; i < length; i++) {
536− if (i in self && !(typeof T === 'undefined' ? callbackfn(self[i], i, object) : callbackfn.call(T, self[i], i, object))) {
537− return false;
538− }
539− }
540− return true;
541− }
542− }, !properlyBoxesContext(ArrayPrototype.every));
543−
544− // ES5 15.4.4.17
545− // http://es5.github.com/#x15.4.4.17
546− // https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/some
547− defineProperties(ArrayPrototype, {
548− some: function some(callbackfn/*, thisArg */) {
549− var object = ES.ToObject(this);
550− var self = splitString && isString(this) ? strSplit(this, '') : object;
551− var length = ES.ToUint32(self.length);
552− var T;
553− if (arguments.length > 1) {
554− T = arguments[1];
555− }
556−
557− // If no callback function or if callback is not a callable function
558− if (!isCallable(callbackfn)) {
559− throw new TypeError('Array.prototype.some callback must be a function');
560− }
561−
562− for (var i = 0; i < length; i++) {
563− if (i in self && (typeof T === 'undefined' ? callbackfn(self[i], i, object) : callbackfn.call(T, self[i], i, object))) {
564− return true;
565− }
566− }
567− return false;
568− }
569− }, !properlyBoxesContext(ArrayPrototype.some));
570−
571− // ES5 15.4.4.21
572− // http://es5.github.com/#x15.4.4.21
573− // https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/reduce
574− var reduceCoercesToObject = false;
575− if (ArrayPrototype.reduce) {
576− reduceCoercesToObject = typeof ArrayPrototype.reduce.call('es5', function (_, __, ___, list) {
577− return list;
578− }) === 'object';
579− }
580− defineProperties(ArrayPrototype, {
581− reduce: function reduce(callbackfn/*, initialValue*/) {
582− var object = ES.ToObject(this);
583− var self = splitString && isString(this) ? strSplit(this, '') : object;
584− var length = ES.ToUint32(self.length);
585−
586− // If no callback function or if callback is not a callable function
587− if (!isCallable(callbackfn)) {
588− throw new TypeError('Array.prototype.reduce callback must be a function');
589− }
590−
591− // no value to return if no initial value and an empty array
592− if (length === 0 && arguments.length === 1) {
593− throw new TypeError('reduce of empty array with no initial value');
594− }
595−
596− var i = 0;
597− var result;
598− if (arguments.length >= 2) {
599− result = arguments[1];
600− } else {
601− do {
602− if (i in self) {
603− result = self[i++];
604− break;
605− }
606−
607− // if array contains no values, no initial value to return
608− if (++i >= length) {
609− throw new TypeError('reduce of empty array with no initial value');
610− }
611− } while (true);
612− }
613−
614− for (; i < length; i++) {
615− if (i in self) {
616− result = callbackfn(result, self[i], i, object);
617− }
618− }
619−
620− return result;
621− }
622− }, !reduceCoercesToObject);
623−
624− // ES5 15.4.4.22
625− // http://es5.github.com/#x15.4.4.22
626− // https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/reduceRight
627− var reduceRightCoercesToObject = false;
628− if (ArrayPrototype.reduceRight) {
629− reduceRightCoercesToObject = typeof ArrayPrototype.reduceRight.call('es5', function (_, __, ___, list) {
630− return list;
631− }) === 'object';
632− }
633− defineProperties(ArrayPrototype, {
634− reduceRight: function reduceRight(callbackfn/*, initial*/) {
635− var object = ES.ToObject(this);
636− var self = splitString && isString(this) ? strSplit(this, '') : object;
637− var length = ES.ToUint32(self.length);
638−
639− // If no callback function or if callback is not a callable function
640− if (!isCallable(callbackfn)) {
641− throw new TypeError('Array.prototype.reduceRight callback must be a function');
642− }
643−
644− // no value to return if no initial value, empty array
645− if (length === 0 && arguments.length === 1) {
646− throw new TypeError('reduceRight of empty array with no initial value');
647− }
648−
649− var result;
650− var i = length - 1;
651− if (arguments.length >= 2) {
652− result = arguments[1];
653− } else {
654− do {
655− if (i in self) {
656− result = self[i--];
657− break;
658− }
659−
660− // if array contains no values, no initial value to return
661− if (--i < 0) {
662− throw new TypeError('reduceRight of empty array with no initial value');
663− }
664− } while (true);
665− }
666−
667− if (i < 0) {
668− return result;
669− }
670−
671− do {
672− if (i in self) {
673− result = callbackfn(result, self[i], i, object);
674− }
675− } while (i--);
676−
677− return result;
678− }
679− }, !reduceRightCoercesToObject);
680−
681− // ES5 15.4.4.14
682− // http://es5.github.com/#x15.4.4.14
683− // https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/indexOf
684− var hasFirefox2IndexOfBug = ArrayPrototype.indexOf && [0, 1].indexOf(1, 2) !== -1;
685− defineProperties(ArrayPrototype, {
686− indexOf: function indexOf(searchElement/*, fromIndex */) {
687− var self = splitString && isString(this) ? strSplit(this, '') : ES.ToObject(this);
688− var length = ES.ToUint32(self.length);
689−
690− if (length === 0) {
691− return -1;
692− }
693−
694− var i = 0;
695− if (arguments.length > 1) {
696− i = ES.ToInteger(arguments[1]);
697− }
698−
699− // handle negative indices
700− i = i >= 0 ? i : max(0, length + i);
701− for (; i < length; i++) {
702− if (i in self && self[i] === searchElement) {
703− return i;
704− }
705− }
706− return -1;
707− }
708− }, hasFirefox2IndexOfBug);
709−
710− // ES5 15.4.4.15
711− // http://es5.github.com/#x15.4.4.15
712− // https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/lastIndexOf
713− var hasFirefox2LastIndexOfBug = ArrayPrototype.lastIndexOf && [0, 1].lastIndexOf(0, -3) !== -1;
714− defineProperties(ArrayPrototype, {
715− lastIndexOf: function lastIndexOf(searchElement/*, fromIndex */) {
716− var self = splitString && isString(this) ? strSplit(this, '') : ES.ToObject(this);
717− var length = ES.ToUint32(self.length);
718−
719− if (length === 0) {
720− return -1;
721− }
722− var i = length - 1;
723− if (arguments.length > 1) {
724− i = min(i, ES.ToInteger(arguments[1]));
725− }
726− // handle negative indices
727− i = i >= 0 ? i : length - Math.abs(i);
728− for (; i >= 0; i--) {
729− if (i in self && searchElement === self[i]) {
730− return i;
731− }
732− }
733− return -1;
734− }
735− }, hasFirefox2LastIndexOfBug);
736−
737− // ES5 15.4.4.12
738− // http://es5.github.com/#x15.4.4.12
739− var spliceNoopReturnsEmptyArray = (function () {
740− var a = [1, 2];
741− var result = a.splice();
742− return a.length === 2 && isArray(result) && result.length === 0;
743− }());
744− defineProperties(ArrayPrototype, {
745− // Safari 5.0 bug where .splice() returns undefined
746− splice: function splice(start, deleteCount) {
747− if (arguments.length === 0) {
748− return [];
749− } else {
750− return array_splice.apply(this, arguments);
751− }
752− }
753− }, !spliceNoopReturnsEmptyArray);
754−
755− var spliceWorksWithEmptyObject = (function () {
756− var obj = {};
757− ArrayPrototype.splice.call(obj, 0, 0, 1);
758− return obj.length === 1;
759− }());
760− defineProperties(ArrayPrototype, {
761− splice: function splice(start, deleteCount) {
762− if (arguments.length === 0) {
763− return [];
764− }
765− var args = arguments;
766− this.length = max(ES.ToInteger(this.length), 0);
767− if (arguments.length > 0 && typeof deleteCount !== 'number') {
768− args = arraySlice(arguments);
769− if (args.length < 2) {
770− pushCall(args, this.length - start);
771− } else {
772− args[1] = ES.ToInteger(deleteCount);
773− }
774− }
775− return array_splice.apply(this, args);
776− }
777− }, !spliceWorksWithEmptyObject);
778− var spliceWorksWithLargeSparseArrays = (function () {
779− // Per https://github.com/es-shims/es5-shim/issues/295
780− // Safari 7/8 breaks with sparse arrays of size 1e5 or greater
781− var arr = new $Array(1e5);
782− // note: the index MUST be 8 or larger or the test will false pass
783− arr[8] = 'x';
784− arr.splice(1, 1);
785− // note: this test must be defined *after* the indexOf shim
786− // per https://github.com/es-shims/es5-shim/issues/313
787− return arr.indexOf('x') === 7;
788− }());
789− var spliceWorksWithSmallSparseArrays = (function () {
790− // Per https://github.com/es-shims/es5-shim/issues/295
791− // Opera 12.15 breaks on this, no idea why.
792− var n = 256;
793− var arr = [];
794− arr[n] = 'a';
795− arr.splice(n + 1, 0, 'b');
796− return arr[n] === 'a';
797− }());
798− defineProperties(ArrayPrototype, {
799− splice: function splice(start, deleteCount) {
800− var O = ES.ToObject(this);
801− var A = [];
802− var len = ES.ToUint32(O.length);
803− var relativeStart = ES.ToInteger(start);
804− var actualStart = relativeStart < 0 ? max((len + relativeStart), 0) : min(relativeStart, len);
805− var actualDeleteCount = min(max(ES.ToInteger(deleteCount), 0), len - actualStart);
806−
807− var k = 0;
808− var from;
809− while (k < actualDeleteCount) {
810− from = $String(actualStart + k);
811− if (owns(O, from)) {
812− A[k] = O[from];
813− }
814− k += 1;
815− }
816−
817− var items = arraySlice(arguments, 2);
818− var itemCount = items.length;
819− var to;
820− if (itemCount < actualDeleteCount) {
821− k = actualStart;
822− var maxK = len - actualDeleteCount;
823− while (k < maxK) {
824− from = $String(k + actualDeleteCount);
825− to = $String(k + itemCount);
826− if (owns(O, from)) {
827− O[to] = O[from];
828− } else {
829− delete O[to];
830− }
831− k += 1;
832− }
833− k = len;
834− var minK = len - actualDeleteCount + itemCount;
835− while (k > minK) {
836− delete O[k - 1];
837− k -= 1;
838− }
839− } else if (itemCount > actualDeleteCount) {
840− k = len - actualDeleteCount;
841− while (k > actualStart) {
842− from = $String(k + actualDeleteCount - 1);
843− to = $String(k + itemCount - 1);
844− if (owns(O, from)) {
845− O[to] = O[from];
846− } else {
847− delete O[to];
848− }
849− k -= 1;
850− }
851− }
852− k = actualStart;
853− for (var i = 0; i < items.length; ++i) {
854− O[k] = items[i];
855− k += 1;
856− }
857− O.length = len - actualDeleteCount + itemCount;
858−
859− return A;
860− }
861− }, !spliceWorksWithLargeSparseArrays || !spliceWorksWithSmallSparseArrays);
862−
863− var originalJoin = ArrayPrototype.join;
864− var hasStringJoinBug;
865− try {
866− hasStringJoinBug = Array.prototype.join.call('123', ',') !== '1,2,3';
867− } catch (e) {
868− hasStringJoinBug = true;
869− }
870− if (hasStringJoinBug) {
871− defineProperties(ArrayPrototype, {
872− join: function join(separator) {
873− var sep = typeof separator === 'undefined' ? ',' : separator;
874− return originalJoin.call(isString(this) ? strSplit(this, '') : this, sep);
875− }
876− }, hasStringJoinBug);
877− }
878−
879− var hasJoinUndefinedBug = [1, 2].join(undefined) !== '1,2';
880− if (hasJoinUndefinedBug) {
881− defineProperties(ArrayPrototype, {
882− join: function join(separator) {
883− var sep = typeof separator === 'undefined' ? ',' : separator;
884− return originalJoin.call(this, sep);
885− }
886− }, hasJoinUndefinedBug);
887− }
888−
889− var pushShim = function push(item) {
890− var O = ES.ToObject(this);
891− var n = ES.ToUint32(O.length);
892− var i = 0;
893− while (i < arguments.length) {
894− O[n + i] = arguments[i];
895− i += 1;
896− }
897− O.length = n + i;
898− return n + i;
899− };
900−
901− var pushIsNotGeneric = (function () {
902− var obj = {};
903− var result = Array.prototype.push.call(obj, undefined);
904− return result !== 1 || obj.length !== 1 || typeof obj[0] !== 'undefined' || !owns(obj, 0);
905− }());
906− defineProperties(ArrayPrototype, {
907− push: function push(item) {
908− if (isArray(this)) {
909− return array_push.apply(this, arguments);
910− }
911− return pushShim.apply(this, arguments);
912− }
913− }, pushIsNotGeneric);
914−
915− // This fixes a very weird bug in Opera 10.6 when pushing `undefined
916− var pushUndefinedIsWeird = (function () {
917− var arr = [];
918− var result = arr.push(undefined);
919− return result !== 1 || arr.length !== 1 || typeof arr[0] !== 'undefined' || !owns(arr, 0);
920− }());
921− defineProperties(ArrayPrototype, { push: pushShim }, pushUndefinedIsWeird);
922−
923− // ES5 15.2.3.14
924− // http://es5.github.io/#x15.4.4.10
925− // Fix boxed string bug
926− defineProperties(ArrayPrototype, {
927− slice: function (start, end) {
928− var arr = isString(this) ? strSplit(this, '') : this;
929− return arraySliceApply(arr, arguments);
930− }
931− }, splitString);
932−
933− var sortIgnoresNonFunctions = (function () {
934− try {
935− [1, 2].sort(null);
936− [1, 2].sort({});
937− return true;
938− } catch (e) {}
939− return false;
940− }());
941− var sortThrowsOnRegex = (function () {
942− // this is a problem in Firefox 4, in which `typeof /a/ === 'function'`
943− try {
944− [1, 2].sort(/a/);
945− return false;
946− } catch (e) {}
947− return true;
948− }());
949− var sortIgnoresUndefined = (function () {
950− // applies in IE 8, for one.
951− try {
952− [1, 2].sort(undefined);
953− return true;
954− } catch (e) {}
955− return false;
956− }());
957− defineProperties(ArrayPrototype, {
958− sort: function sort(compareFn) {
959− if (typeof compareFn === 'undefined') {
960− return arraySort(this);
961− }
962− if (!isCallable(compareFn)) {
963− throw new TypeError('Array.prototype.sort callback must be a function');
964− }
965− return arraySort(this, compareFn);
966− }
967− }, sortIgnoresNonFunctions || !sortIgnoresUndefined || !sortThrowsOnRegex);
968−
969− //
970− // Object
971− // ======
972− //
973−
974− // ES5 15.2.3.14
975− // http://es5.github.com/#x15.2.3.14
976−
977− // http://whattheheadsaid.com/2010/10/a-safer-object-keys-compatibility-implementation
978− var hasDontEnumBug = !isEnum({ 'toString': null }, 'toString');
979− var hasProtoEnumBug = isEnum(function () {}, 'prototype');
980− var hasStringEnumBug = !owns('x', '0');
981− var equalsConstructorPrototype = function (o) {
982− var ctor = o.constructor;
983− return ctor && ctor.prototype === o;
984− };
985− var blacklistedKeys = {
986− $window: true,
987− $console: true,
988− $parent: true,
989− $self: true,
990− $frame: true,
991− $frames: true,
992− $frameElement: true,
993− $webkitIndexedDB: true,
994− $webkitStorageInfo: true,
995− $external: true
996− };
997− var hasAutomationEqualityBug = (function () {
998− /* globals window */
999− if (typeof window === 'undefined') {
1000− return false;
1001− }
1002− for (var k in window) {
1003− try {
1004− if (!blacklistedKeys['$' + k] && owns(window, k) && window[k] !== null && typeof window[k] === 'object') {
1005− equalsConstructorPrototype(window[k]);
1006− }
1007− } catch (e) {
1008− return true;
1009− }
1010− }
1011− return false;
1012− }());
1013− var equalsConstructorPrototypeIfNotBuggy = function (object) {
1014− if (typeof window === 'undefined' || !hasAutomationEqualityBug) {
1015− return equalsConstructorPrototype(object);
1016− }
1017− try {
1018− return equalsConstructorPrototype(object);
1019− } catch (e) {
1020− return false;
1021− }
1022− };
1023− var dontEnums = [
1024− 'toString',
1025− 'toLocaleString',
1026− 'valueOf',
1027− 'hasOwnProperty',
1028− 'isPrototypeOf',
1029− 'propertyIsEnumerable',
1030− 'constructor'
1031− ];
1032− var dontEnumsLength = dontEnums.length;
1033−
1034− // taken directly from https://github.com/ljharb/is-arguments/blob/master/index.js
1035− // can be replaced with require('is-arguments') if we ever use a build process instead
1036− var isStandardArguments = function isArguments(value) {
1037− return toStr(value) === '[object Arguments]';
1038− };
1039− var isLegacyArguments = function isArguments(value) {
1040− return value !== null &&
1041− typeof value === 'object' &&
1042− typeof value.length === 'number' &&
1043− value.length >= 0 &&
1044− !isArray(value) &&
1045− isCallable(value.callee);
1046− };
1047− var isArguments = isStandardArguments(arguments) ? isStandardArguments : isLegacyArguments;
1048−
1049− defineProperties($Object, {
1050− keys: function keys(object) {
1051− var isFn = isCallable(object);
1052− var isArgs = isArguments(object);
1053− var isObject = object !== null && typeof object === 'object';
1054− var isStr = isObject && isString(object);
1055−
1056− if (!isObject && !isFn && !isArgs) {
1057− throw new TypeError('Object.keys called on a non-object');
1058− }
1059−
1060− var theKeys = [];
1061− var skipProto = hasProtoEnumBug && isFn;
1062− if ((isStr && hasStringEnumBug) || isArgs) {
1063− for (var i = 0; i < object.length; ++i) {
1064− pushCall(theKeys, $String(i));
1065− }
1066− }
1067−
1068− if (!isArgs) {
1069− for (var name in object) {
1070− if (!(skipProto && name === 'prototype') && owns(object, name)) {
1071− pushCall(theKeys, $String(name));
1072− }
1073− }
1074− }
1075−
1076− if (hasDontEnumBug) {
1077− var skipConstructor = equalsConstructorPrototypeIfNotBuggy(object);
1078− for (var j = 0; j < dontEnumsLength; j++) {
1079− var dontEnum = dontEnums[j];
1080− if (!(skipConstructor && dontEnum === 'constructor') && owns(object, dontEnum)) {
1081− pushCall(theKeys, dontEnum);
1082− }
1083− }
1084− }
1085− return theKeys;
1086− }
1087− });
1088−
1089− var keysWorksWithArguments = $Object.keys && (function () {
1090− // Safari 5.0 bug
1091− return $Object.keys(arguments).length === 2;
1092− }(1, 2));
1093− var keysHasArgumentsLengthBug = $Object.keys && (function () {
1094− var argKeys = $Object.keys(arguments);
1095− return arguments.length !== 1 || argKeys.length !== 1 || argKeys[0] !== 1;
1096− }(1));
1097− var originalKeys = $Object.keys;
1098− defineProperties($Object, {
1099− keys: function keys(object) {
1100− if (isArguments(object)) {
1101− return originalKeys(arraySlice(object));
1102− } else {
1103− return originalKeys(object);
1104− }
1105− }
1106− }, !keysWorksWithArguments || keysHasArgumentsLengthBug);
1107−
1108− //
1109− // Date
1110− // ====
1111− //
1112−
1113− var hasNegativeMonthYearBug = new Date(-3509827329600292).getUTCMonth() !== 0;
1114− var aNegativeTestDate = new Date(-1509842289600292);
1115− var aPositiveTestDate = new Date(1449662400000);
1116− var hasToUTCStringFormatBug = aNegativeTestDate.toUTCString() !== 'Mon, 01 Jan -45875 11:59:59 GMT';
1117− var hasToDateStringFormatBug;
1118− var hasToStringFormatBug;
1119− var timeZoneOffset = aNegativeTestDate.getTimezoneOffset();
1120− if (timeZoneOffset < -720) {
1121− hasToDateStringFormatBug = aNegativeTestDate.toDateString() !== 'Tue Jan 02 -45875';
1122− hasToStringFormatBug = !(/^Thu Dec 10 2015 \d\d:\d\d:\d\d GMT[-\+]\d\d\d\d(?: |$)/).test(aPositiveTestDate.toString());
1123− } else {
1124− hasToDateStringFormatBug = aNegativeTestDate.toDateString() !== 'Mon Jan 01 -45875';
1125− hasToStringFormatBug = !(/^Wed Dec 09 2015 \d\d:\d\d:\d\d GMT[-\+]\d\d\d\d(?: |$)/).test(aPositiveTestDate.toString());
1126− }
1127−
1128− var originalGetFullYear = call.bind(Date.prototype.getFullYear);
1129− var originalGetMonth = call.bind(Date.prototype.getMonth);
1130− var originalGetDate = call.bind(Date.prototype.getDate);
1131− var originalGetUTCFullYear = call.bind(Date.prototype.getUTCFullYear);
1132− var originalGetUTCMonth = call.bind(Date.prototype.getUTCMonth);
1133− var originalGetUTCDate = call.bind(Date.prototype.getUTCDate);
1134− var originalGetUTCDay = call.bind(Date.prototype.getUTCDay);
1135− var originalGetUTCHours = call.bind(Date.prototype.getUTCHours);
1136− var originalGetUTCMinutes = call.bind(Date.prototype.getUTCMinutes);
1137− var originalGetUTCSeconds = call.bind(Date.prototype.getUTCSeconds);
1138− var originalGetUTCMilliseconds = call.bind(Date.prototype.getUTCMilliseconds);
1139− var dayName = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'];
1140− var monthName = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];
1141− var daysInMonth = function daysInMonth(month, year) {
1142− return originalGetDate(new Date(year, month, 0));
1143− };
1144−
1145− defineProperties(Date.prototype, {
1146− getFullYear: function getFullYear() {
1147− if (!this || !(this instanceof Date)) {
1148− throw new TypeError('this is not a Date object.');
1149− }
1150− var year = originalGetFullYear(this);
1151− if (year < 0 && originalGetMonth(this) > 11) {
1152− return year + 1;
1153− }
1154− return year;
1155− },
1156− getMonth: function getMonth() {
1157− if (!this || !(this instanceof Date)) {
1158− throw new TypeError('this is not a Date object.');
1159− }
1160− var year = originalGetFullYear(this);
1161− var month = originalGetMonth(this);
1162− if (year < 0 && month > 11) {
1163− return 0;
1164− }
1165− return month;
1166− },
1167− getDate: function getDate() {
1168− if (!this || !(this instanceof Date)) {
1169− throw new TypeError('this is not a Date object.');
1170− }
1171− var year = originalGetFullYear(this);
1172− var month = originalGetMonth(this);
1173− var date = originalGetDate(this);
1174− if (year < 0 && month > 11) {
1175− if (month === 12) {
1176− return date;
1177− }
1178− var days = daysInMonth(0, year + 1);
1179− return (days - date) + 1;
1180− }
1181− return date;
1182− },
1183− getUTCFullYear: function getUTCFullYear() {
1184− if (!this || !(this instanceof Date)) {
1185− throw new TypeError('this is not a Date object.');
1186− }
1187− var year = originalGetUTCFullYear(this);
1188− if (year < 0 && originalGetUTCMonth(this) > 11) {
1189− return year + 1;
1190− }
1191− return year;
1192− },
1193− getUTCMonth: function getUTCMonth() {
1194− if (!this || !(this instanceof Date)) {
1195− throw new TypeError('this is not a Date object.');
1196− }
1197− var year = originalGetUTCFullYear(this);
1198− var month = originalGetUTCMonth(this);
1199− if (year < 0 && month > 11) {
1200− return 0;
1201− }
1202− return month;
1203− },
1204− getUTCDate: function getUTCDate() {
1205− if (!this || !(this instanceof Date)) {
1206− throw new TypeError('this is not a Date object.');
1207− }
1208− var year = originalGetUTCFullYear(this);
1209− var month = originalGetUTCMonth(this);
1210− var date = originalGetUTCDate(this);
1211− if (year < 0 && month > 11) {
1212− if (month === 12) {
1213− return date;
1214− }
1215− var days = daysInMonth(0, year + 1);
1216− return (days - date) + 1;
1217− }
1218− return date;
1219− }
1220− }, hasNegativeMonthYearBug);
1221−
1222− defineProperties(Date.prototype, {
1223− toUTCString: function toUTCString() {
1224− if (!this || !(this instanceof Date)) {
1225− throw new TypeError('this is not a Date object.');
1226− }
1227− var day = originalGetUTCDay(this);
1228− var date = originalGetUTCDate(this);
1229− var month = originalGetUTCMonth(this);
1230− var year = originalGetUTCFullYear(this);
1231− var hour = originalGetUTCHours(this);
1232− var minute = originalGetUTCMinutes(this);
1233− var second = originalGetUTCSeconds(this);
1234− return dayName[day] + ', ' +
1235− (date < 10 ? '0' + date : date) + ' ' +
1236− monthName[month] + ' ' +
1237− year + ' ' +
1238− (hour < 10 ? '0' + hour : hour) + ':' +
1239− (minute < 10 ? '0' + minute : minute) + ':' +
1240− (second < 10 ? '0' + second : second) + ' GMT';
1241− }
1242− }, hasNegativeMonthYearBug || hasToUTCStringFormatBug);
1243−
1244− // Opera 12 has `,`
1245− defineProperties(Date.prototype, {
1246− toDateString: function toDateString() {
1247− if (!this || !(this instanceof Date)) {
1248− throw new TypeError('this is not a Date object.');
1249− }
1250− var day = this.getDay();
1251− var date = this.getDate();
1252− var month = this.getMonth();
1253− var year = this.getFullYear();
1254− return dayName[day] + ' ' +
1255− monthName[month] + ' ' +
1256− (date < 10 ? '0' + date : date) + ' ' +
1257− year;
1258− }
1259− }, hasNegativeMonthYearBug || hasToDateStringFormatBug);
1260−
1261− // can't use defineProperties here because of toString enumeration issue in IE <= 8
1262− if (hasNegativeMonthYearBug || hasToStringFormatBug) {
1263− Date.prototype.toString = function toString() {
1264− if (!this || !(this instanceof Date)) {
1265− throw new TypeError('this is not a Date object.');
1266− }
1267− var day = this.getDay();
1268− var date = this.getDate();
1269− var month = this.getMonth();
1270− var year = this.getFullYear();
1271− var hour = this.getHours();
1272− var minute = this.getMinutes();
1273− var second = this.getSeconds();
1274− var timezoneOffset = this.getTimezoneOffset();
1275− var hoursOffset = Math.floor(Math.abs(timezoneOffset) / 60);
1276− var minutesOffset = Math.floor(Math.abs(timezoneOffset) % 60);
1277− return dayName[day] + ' ' +
1278− monthName[month] + ' ' +
1279− (date < 10 ? '0' + date : date) + ' ' +
1280− year + ' ' +
1281− (hour < 10 ? '0' + hour : hour) + ':' +
1282− (minute < 10 ? '0' + minute : minute) + ':' +
1283− (second < 10 ? '0' + second : second) + ' GMT' +
1284− (timezoneOffset > 0 ? '-' : '+') +
1285− (hoursOffset < 10 ? '0' + hoursOffset : hoursOffset) +
1286− (minutesOffset < 10 ? '0' + minutesOffset : minutesOffset);
1287− };
1288− if (supportsDescriptors) {
1289− $Object.defineProperty(Date.prototype, 'toString', {
1290− configurable: true,
1291− enumerable: false,
1292− writable: true
1293− });
1294− }
1295− }
1296−
1297− // ES5 15.9.5.43
1298− // http://es5.github.com/#x15.9.5.43
1299− // This function returns a String value represent the instance in time
1300− // represented by this Date object. The format of the String is the Date Time
1301− // string format defined in 15.9.1.15. All fields are present in the String.
1302− // The time zone is always UTC, denoted by the suffix Z. If the time value of
1303− // this object is not a finite Number a RangeError exception is thrown.
1304− var negativeDate = -62198755200000;
1305− var negativeYearString = '-000001';
1306− var hasNegativeDateBug = Date.prototype.toISOString && new Date(negativeDate).toISOString().indexOf(negativeYearString) === -1;
1307− var hasSafari51DateBug = Date.prototype.toISOString && new Date(-1).toISOString() !== '1969-12-31T23:59:59.999Z';
1308−
1309− var getTime = call.bind(Date.prototype.getTime);
1310−
1311− defineProperties(Date.prototype, {
1312− toISOString: function toISOString() {
1313− if (!isFinite(this) || !isFinite(getTime(this))) {
1314− // Adope Photoshop requires the second check.
1315− throw new RangeError('Date.prototype.toISOString called on non-finite value.');
1316− }
1317−
1318− var year = originalGetUTCFullYear(this);
1319−
1320− var month = originalGetUTCMonth(this);
1321− // see https://github.com/es-shims/es5-shim/issues/111
1322− year += Math.floor(month / 12);
1323− month = (month % 12 + 12) % 12;
1324−
1325− // the date time string format is specified in 15.9.1.15.
1326− var result = [month + 1, originalGetUTCDate(this), originalGetUTCHours(this), originalGetUTCMinutes(this), originalGetUTCSeconds(this)];
1327− year = (
1328− (year < 0 ? '-' : (year > 9999 ? '+' : '')) +
1329− strSlice('00000' + Math.abs(year), (0 <= year && year <= 9999) ? -4 : -6)
1330− );
1331−
1332− for (var i = 0; i < result.length; ++i) {
1333− // pad months, days, hours, minutes, and seconds to have two digits.
1334− result[i] = strSlice('00' + result[i], -2);
1335− }
1336− // pad milliseconds to have three digits.
1337− return (
1338− year + '-' + arraySlice(result, 0, 2).join('-') +
1339− 'T' + arraySlice(result, 2).join(':') + '.' +
1340− strSlice('000' + originalGetUTCMilliseconds(this), -3) + 'Z'
1341− );
1342− }
1343− }, hasNegativeDateBug || hasSafari51DateBug);
1344−
1345− // ES5 15.9.5.44
1346− // http://es5.github.com/#x15.9.5.44
1347− // This function provides a String representation of a Date object for use by
1348− // JSON.stringify (15.12.3).
1349− var dateToJSONIsSupported = (function () {
1350− try {
1351− return Date.prototype.toJSON &&
1352− new Date(NaN).toJSON() === null &&
1353− new Date(negativeDate).toJSON().indexOf(negativeYearString) !== -1 &&
1354− Date.prototype.toJSON.call({ // generic
1355− toISOString: function () { return true; }
1356− });
1357− } catch (e) {
1358− return false;
1359− }
1360− }());
1361− if (!dateToJSONIsSupported) {
1362− Date.prototype.toJSON = function toJSON(key) {
1363− // When the toJSON method is called with argument key, the following
1364− // steps are taken:
1365−
1366− // 1. Let O be the result of calling ToObject, giving it the this
1367− // value as its argument.
1368− // 2. Let tv be ES.ToPrimitive(O, hint Number).
1369− var O = $Object(this);
1370− var tv = ES.ToPrimitive(O);
1371− // 3. If tv is a Number and is not finite, return null.
1372− if (typeof tv === 'number' && !isFinite(tv)) {
1373− return null;
1374− }
1375− // 4. Let toISO be the result of calling the [[Get]] internal method of
1376− // O with argument "toISOString".
1377− var toISO = O.toISOString;
1378− // 5. If IsCallable(toISO) is false, throw a TypeError exception.
1379− if (!isCallable(toISO)) {
1380− throw new TypeError('toISOString property is not callable');
1381− }
1382− // 6. Return the result of calling the [[Call]] internal method of
1383− // toISO with O as the this value and an empty argument list.
1384− return toISO.call(O);
1385−
1386− // NOTE 1 The argument is ignored.
1387−
1388− // NOTE 2 The toJSON function is intentionally generic; it does not
1389− // require that its this value be a Date object. Therefore, it can be
1390− // transferred to other kinds of objects for use as a method. However,
1391− // it does require that any such object have a toISOString method. An
1392− // object is free to use the argument key to filter its
1393− // stringification.
1394− };
1395− }
1396−
1397− // ES5 15.9.4.2
1398− // http://es5.github.com/#x15.9.4.2
1399− // based on work shared by Daniel Friesen (dantman)
1400− // http://gist.github.com/303249
1401− var supportsExtendedYears = Date.parse('+033658-09-27T01:46:40.000Z') === 1e15;
1402− var acceptsInvalidDates = !isNaN(Date.parse('2012-04-04T24:00:00.500Z')) || !isNaN(Date.parse('2012-11-31T23:59:59.000Z')) || !isNaN(Date.parse('2012-12-31T23:59:60.000Z'));
1403− var doesNotParseY2KNewYear = isNaN(Date.parse('2000-01-01T00:00:00.000Z'));
1404− if (doesNotParseY2KNewYear || acceptsInvalidDates || !supportsExtendedYears) {
1405− // XXX global assignment won't work in embeddings that use
1406− // an alternate object for the context.
1407− /* global Date: true */
1408− /* eslint-disable no-undef */
1409− var maxSafeUnsigned32Bit = Math.pow(2, 31) - 1;
1410− var hasSafariSignedIntBug = isActualNaN(new Date(1970, 0, 1, 0, 0, 0, maxSafeUnsigned32Bit + 1).getTime());
1411− /* eslint-disable no-implicit-globals */
1412− Date = (function (NativeDate) {
1413− /* eslint-enable no-implicit-globals */
1414− /* eslint-enable no-undef */
1415− // Date.length === 7
1416− var DateShim = function Date(Y, M, D, h, m, s, ms) {
1417− var length = arguments.length;
1418− var date;
1419− if (this instanceof NativeDate) {
1420− var seconds = s;
1421− var millis = ms;
1422− if (hasSafariSignedIntBug && length >= 7 && ms > maxSafeUnsigned32Bit) {
1423− // work around a Safari 8/9 bug where it treats the seconds as signed
1424− var msToShift = Math.floor(ms / maxSafeUnsigned32Bit) * maxSafeUnsigned32Bit;
1425− var sToShift = Math.floor(msToShift / 1e3);
1426− seconds += sToShift;
1427− millis -= sToShift * 1e3;
1428− }
1429− date = length === 1 && $String(Y) === Y ? // isString(Y)
1430− // We explicitly pass it through parse:
1431− new NativeDate(DateShim.parse(Y)) :
1432− // We have to manually make calls depending on argument
1433− // length here
1434− length >= 7 ? new NativeDate(Y, M, D, h, m, seconds, millis) :
1435− length >= 6 ? new NativeDate(Y, M, D, h, m, seconds) :
1436− length >= 5 ? new NativeDate(Y, M, D, h, m) :
1437− length >= 4 ? new NativeDate(Y, M, D, h) :
1438− length >= 3 ? new NativeDate(Y, M, D) :
1439− length >= 2 ? new NativeDate(Y, M) :
1440− length >= 1 ? new NativeDate(Y instanceof NativeDate ? +Y : Y) :
1441− new NativeDate();
1442− } else {
1443− date = NativeDate.apply(this, arguments);
1444− }
1445− if (!isPrimitive(date)) {
1446− // Prevent mixups with unfixed Date object
1447− defineProperties(date, { constructor: DateShim }, true);
1448− }
1449− return date;
1450− };
1451−
1452− // 15.9.1.15 Date Time String Format.
1453− var isoDateExpression = new RegExp('^' +
1454− '(\\d{4}|[+-]\\d{6})' + // four-digit year capture or sign +
1455− // 6-digit extended year
1456− '(?:-(\\d{2})' + // optional month capture
1457− '(?:-(\\d{2})' + // optional day capture
1458− '(?:' + // capture hours:minutes:seconds.milliseconds
1459− 'T(\\d{2})' + // hours capture
1460− ':(\\d{2})' + // minutes capture
1461− '(?:' + // optional :seconds.milliseconds
1462− ':(\\d{2})' + // seconds capture
1463− '(?:(\\.\\d{1,}))?' + // milliseconds capture
1464− ')?' +
1465− '(' + // capture UTC offset component
1466− 'Z|' + // UTC capture
1467− '(?:' + // offset specifier +/-hours:minutes
1468− '([-+])' + // sign capture
1469− '(\\d{2})' + // hours offset capture
1470− ':(\\d{2})' + // minutes offset capture
1471− ')' +
1472− ')?)?)?)?' +
1473− '$');
1474−
1475− var months = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365];
1476−
1477− var dayFromMonth = function dayFromMonth(year, month) {
1478− var t = month > 1 ? 1 : 0;
1479− return (
1480− months[month] +
1481− Math.floor((year - 1969 + t) / 4) -
1482− Math.floor((year - 1901 + t) / 100) +
1483− Math.floor((year - 1601 + t) / 400) +
1484− 365 * (year - 1970)
1485− );
1486− };
1487−
1488− var toUTC = function toUTC(t) {
1489− var s = 0;
1490− var ms = t;
1491− if (hasSafariSignedIntBug && ms > maxSafeUnsigned32Bit) {
1492− // work around a Safari 8/9 bug where it treats the seconds as signed
1493− var msToShift = Math.floor(ms / maxSafeUnsigned32Bit) * maxSafeUnsigned32Bit;
1494− var sToShift = Math.floor(msToShift / 1e3);
1495− s += sToShift;
1496− ms -= sToShift * 1e3;
1497− }
1498− return $Number(new NativeDate(1970, 0, 1, 0, 0, s, ms));
1499− };
1500−
1501− // Copy any custom methods a 3rd party library may have added
1502− for (var key in NativeDate) {
1503− if (owns(NativeDate, key)) {
1504− DateShim[key] = NativeDate[key];
1505− }
1506− }
1507−
1508− // Copy "native" methods explicitly; they may be non-enumerable
1509− defineProperties(DateShim, {
1510− now: NativeDate.now,
1511− UTC: NativeDate.UTC
1512− }, true);
1513− DateShim.prototype = NativeDate.prototype;
1514− defineProperties(DateShim.prototype, {
1515− constructor: DateShim
1516− }, true);
1517−
1518− // Upgrade Date.parse to handle simplified ISO 8601 strings
1519− var parseShim = function parse(string) {
1520− var match = isoDateExpression.exec(string);
1521− if (match) {
1522− // parse months, days, hours, minutes, seconds, and milliseconds
1523− // provide default values if necessary
1524− // parse the UTC offset component
1525− var year = $Number(match[1]),
1526− month = $Number(match[2] || 1) - 1,
1527− day = $Number(match[3] || 1) - 1,
1528− hour = $Number(match[4] || 0),
1529− minute = $Number(match[5] || 0),
1530− second = $Number(match[6] || 0),
1531− millisecond = Math.floor($Number(match[7] || 0) * 1000),
1532− // When time zone is missed, local offset should be used
1533− // (ES 5.1 bug)
1534− // see https://bugs.ecmascript.org/show_bug.cgi?id=112
1535− isLocalTime = Boolean(match[4] && !match[8]),
1536− signOffset = match[9] === '-' ? 1 : -1,
1537− hourOffset = $Number(match[10] || 0),
1538− minuteOffset = $Number(match[11] || 0),
1539− result;
1540− var hasMinutesOrSecondsOrMilliseconds = minute > 0 || second > 0 || millisecond > 0;
1541− if (
1542− hour < (hasMinutesOrSecondsOrMilliseconds ? 24 : 25) &&
1543− minute < 60 && second < 60 && millisecond < 1000 &&
1544− month > -1 && month < 12 && hourOffset < 24 &&
1545− minuteOffset < 60 && // detect invalid offsets
1546− day > -1 &&
1547− day < (dayFromMonth(year, month + 1) - dayFromMonth(year, month))
1548− ) {
1549− result = (
1550− (dayFromMonth(year, month) + day) * 24 +
1551− hour +
1552− hourOffset * signOffset
1553− ) * 60;
1554− result = (
1555− (result + minute + minuteOffset * signOffset) * 60 +
1556− second
1557− ) * 1000 + millisecond;
1558− if (isLocalTime) {
1559− result = toUTC(result);
1560− }
1561− if (-8.64e15 <= result && result <= 8.64e15) {
1562− return result;
1563− }
1564− }
1565− return NaN;
1566− }
1567− return NativeDate.parse.apply(this, arguments);
1568− };
1569− defineProperties(DateShim, { parse: parseShim });
1570−
1571− return DateShim;
1572− }(Date));
1573− /* global Date: false */
1574− }
1575−
1576− // ES5 15.9.4.4
1577− // http://es5.github.com/#x15.9.4.4
1578− if (!Date.now) {
1579− Date.now = function now() {
1580− return new Date().getTime();
1581− };
1582− }
1583−
1584− //
1585− // Number
1586− // ======
1587− //
1588−
1589− // ES5.1 15.7.4.5
1590− // http://es5.github.com/#x15.7.4.5
1591− var hasToFixedBugs = NumberPrototype.toFixed && (
1592− (0.00008).toFixed(3) !== '0.000' ||
1593− (0.9).toFixed(0) !== '1' ||
1594− (1.255).toFixed(2) !== '1.25' ||
1595− (1000000000000000128).toFixed(0) !== '1000000000000000128'
1596− );
1597−
1598− var toFixedHelpers = {
1599− base: 1e7,
1600− size: 6,
1601− data: [0, 0, 0, 0, 0, 0],
1602− multiply: function multiply(n, c) {
1603− var i = -1;
1604− var c2 = c;
1605− while (++i < toFixedHelpers.size) {
1606− c2 += n * toFixedHelpers.data[i];
1607− toFixedHelpers.data[i] = c2 % toFixedHelpers.base;
1608− c2 = Math.floor(c2 / toFixedHelpers.base);
1609− }
1610− },
1611− divide: function divide(n) {
1612− var i = toFixedHelpers.size;
1613− var c = 0;
1614− while (--i >= 0) {
1615− c += toFixedHelpers.data[i];
1616− toFixedHelpers.data[i] = Math.floor(c / n);
1617− c = (c % n) * toFixedHelpers.base;
1618− }
1619− },
1620− numToString: function numToString() {
1621− var i = toFixedHelpers.size;
1622− var s = '';
1623− while (--i >= 0) {
1624− if (s !== '' || i === 0 || toFixedHelpers.data[i] !== 0) {
1625− var t = $String(toFixedHelpers.data[i]);
1626− if (s === '') {
1627− s = t;
1628− } else {
1629− s += strSlice('0000000', 0, 7 - t.length) + t;
1630− }
1631− }
1632− }
1633− return s;
1634− },
1635− pow: function pow(x, n, acc) {
1636− return (n === 0 ? acc : (n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc)));
1637− },
1638− log: function log(x) {
1639− var n = 0;
1640− var x2 = x;
1641− while (x2 >= 4096) {
1642− n += 12;
1643− x2 /= 4096;
1644− }
1645− while (x2 >= 2) {
1646− n += 1;
1647− x2 /= 2;
1648− }
1649− return n;
1650− }
1651− };
1652−
1653− var toFixedShim = function toFixed(fractionDigits) {
1654− var f, x, s, m, e, z, j, k;
1655−
1656− // Test for NaN and round fractionDigits down
1657− f = $Number(fractionDigits);
1658− f = isActualNaN(f) ? 0 : Math.floor(f);
1659−
1660− if (f < 0 || f > 20) {
1661− throw new RangeError('Number.toFixed called with invalid number of decimals');
1662− }
1663−
1664− x = $Number(this);
1665−
1666− if (isActualNaN(x)) {
1667− return 'NaN';
1668− }
1669−
1670− // If it is too big or small, return the string value of the number
1671− if (x <= -1e21 || x >= 1e21) {
1672− return $String(x);
1673− }
1674−
1675− s = '';
1676−
1677− if (x < 0) {
1678− s = '-';
1679− x = -x;
1680− }
1681−
1682− m = '0';
1683−
1684− if (x > 1e-21) {
1685− // 1e-21 < x < 1e21
1686− // -70 < log2(x) < 70
1687− e = toFixedHelpers.log(x * toFixedHelpers.pow(2, 69, 1)) - 69;
1688− z = (e < 0 ? x * toFixedHelpers.pow(2, -e, 1) : x / toFixedHelpers.pow(2, e, 1));
1689− z *= 0x10000000000000; // Math.pow(2, 52);
1690− e = 52 - e;
1691−
1692− // -18 < e < 122
1693− // x = z / 2 ^ e
1694− if (e > 0) {
1695− toFixedHelpers.multiply(0, z);
1696− j = f;
1697−
1698− while (j >= 7) {
1699− toFixedHelpers.multiply(1e7, 0);
1700− j -= 7;
1701− }
1702−
1703− toFixedHelpers.multiply(toFixedHelpers.pow(10, j, 1), 0);
1704− j = e - 1;
1705−
1706− while (j >= 23) {
1707− toFixedHelpers.divide(1 << 23);
1708− j -= 23;
1709− }
1710−
1711− toFixedHelpers.divide(1 << j);
1712− toFixedHelpers.multiply(1, 1);
1713− toFixedHelpers.divide(2);
1714− m = toFixedHelpers.numToString();
1715− } else {
1716− toFixedHelpers.multiply(0, z);
1717− toFixedHelpers.multiply(1 << (-e), 0);
1718− m = toFixedHelpers.numToString() + strSlice('0.00000000000000000000', 2, 2 + f);
1719− }
1720− }
1721−
1722− if (f > 0) {
1723− k = m.length;
1724−
1725− if (k <= f) {
1726− m = s + strSlice('0.0000000000000000000', 0, f - k + 2) + m;
1727− } else {
1728− m = s + strSlice(m, 0, k - f) + '.' + strSlice(m, k - f);
1729− }
1730− } else {
1731− m = s + m;
1732− }
1733−
1734− return m;
1735− };
1736− defineProperties(NumberPrototype, { toFixed: toFixedShim }, hasToFixedBugs);
1737−
1738− var hasToPrecisionUndefinedBug = (function () {
1739− try {
1740− return 1.0.toPrecision(undefined) === '1';
1741− } catch (e) {
1742− return true;
1743− }
1744− }());
1745− var originalToPrecision = NumberPrototype.toPrecision;
1746− defineProperties(NumberPrototype, {
1747− toPrecision: function toPrecision(precision) {
1748− return typeof precision === 'undefined' ? originalToPrecision.call(this) : originalToPrecision.call(this, precision);
1749− }
1750− }, hasToPrecisionUndefinedBug);
1751−
1752− //
1753− // String
1754− // ======
1755− //
1756−
1757− // ES5 15.5.4.14
1758− // http://es5.github.com/#x15.5.4.14
1759−
1760− // [bugfix, IE lt 9, firefox 4, Konqueror, Opera, obscure browsers]
1761− // Many browsers do not split properly with regular expressions or they
1762− // do not perform the split correctly under obscure conditions.
1763− // See http://blog.stevenlevithan.com/archives/cross-browser-split
1764− // I've tested in many browsers and this seems to cover the deviant ones:
1765− // 'ab'.split(/(?:ab)*/) should be ["", ""], not [""]
1766− // '.'.split(/(.?)(.?)/) should be ["", ".", "", ""], not ["", ""]
1767− // 'tesst'.split(/(s)*/) should be ["t", undefined, "e", "s", "t"], not
1768− // [undefined, "t", undefined, "e", ...]
1769− // ''.split(/.?/) should be [], not [""]
1770− // '.'.split(/()()/) should be ["."], not ["", "", "."]
1771−
1772− if (
1773− 'ab'.split(/(?:ab)*/).length !== 2 ||
1774− '.'.split(/(.?)(.?)/).length !== 4 ||
1775− 'tesst'.split(/(s)*/)[1] === 't' ||
1776− 'test'.split(/(?:)/, -1).length !== 4 ||
1777− ''.split(/.?/).length ||
1778− '.'.split(/()()/).length > 1
1779− ) {
1780− (function () {
1781− var compliantExecNpcg = typeof (/()??/).exec('')[1] === 'undefined'; // NPCG: nonparticipating capturing group
1782− var maxSafe32BitInt = Math.pow(2, 32) - 1;
1783−
1784− StringPrototype.split = function (separator, limit) {
1785− var string = String(this);
1786− if (typeof separator === 'undefined' && limit === 0) {
1787− return [];
1788− }
1789−
1790− // If `separator` is not a regex, use native split
1791− if (!isRegex(separator)) {
1792− return strSplit(this, separator, limit);
1793− }
1794−
1795− var output = [];
1796− var flags = (separator.ignoreCase ? 'i' : '') +
1797− (separator.multiline ? 'm' : '') +
1798− (separator.unicode ? 'u' : '') + // in ES6
1799− (separator.sticky ? 'y' : ''), // Firefox 3+ and ES6
1800− lastLastIndex = 0,
1801− // Make `global` and avoid `lastIndex` issues by working with a copy
1802− separator2, match, lastIndex, lastLength;
1803− var separatorCopy = new RegExp(separator.source, flags + 'g');
1804− if (!compliantExecNpcg) {
1805− // Doesn't need flags gy, but they don't hurt
1806− separator2 = new RegExp('^' + separatorCopy.source + '$(?!\\s)', flags);
1807− }
1808− /* Values for `limit`, per the spec:
1809− * If undefined: 4294967295 // maxSafe32BitInt
1810− * If 0, Infinity, or NaN: 0
1811− * If positive number: limit = Math.floor(limit); if (limit > 4294967295) limit -= 4294967296;
1812− * If negative number: 4294967296 - Math.floor(Math.abs(limit))
1813− * If other: Type-convert, then use the above rules
1814− */
1815− var splitLimit = typeof limit === 'undefined' ? maxSafe32BitInt : ES.ToUint32(limit);
1816− match = separatorCopy.exec(string);
1817− while (match) {
1818− // `separatorCopy.lastIndex` is not reliable cross-browser
1819− lastIndex = match.index + match[0].length;
1820− if (lastIndex > lastLastIndex) {
1821− pushCall(output, strSlice(string, lastLastIndex, match.index));
1822− // Fix browsers whose `exec` methods don't consistently return `undefined` for
1823− // nonparticipating capturing groups
1824− if (!compliantExecNpcg && match.length > 1) {
1825− /* eslint-disable no-loop-func */
1826− match[0].replace(separator2, function () {
1827− for (var i = 1; i < arguments.length - 2; i++) {
1828− if (typeof arguments[i] === 'undefined') {
1829− match[i] = void 0;
1830− }
1831− }
1832− });
1833− /* eslint-enable no-loop-func */
1834− }
1835− if (match.length > 1 && match.index < string.length) {
1836− array_push.apply(output, arraySlice(match, 1));
1837− }
1838− lastLength = match[0].length;
1839− lastLastIndex = lastIndex;
1840− if (output.length >= splitLimit) {
1841− break;
1842− }
1843− }
1844− if (separatorCopy.lastIndex === match.index) {
1845− separatorCopy.lastIndex++; // Avoid an infinite loop
1846− }
1847− match = separatorCopy.exec(string);
1848− }
1849− if (lastLastIndex === string.length) {
1850− if (lastLength || !separatorCopy.test('')) {
1851− pushCall(output, '');
1852− }
1853− } else {
1854− pushCall(output, strSlice(string, lastLastIndex));
1855− }
1856− return output.length > splitLimit ? arraySlice(output, 0, splitLimit) : output;
1857− };
1858− }());
1859−
1860− // [bugfix, chrome]
1861− // If separator is undefined, then the result array contains just one String,
1862− // which is the this value (converted to a String). If limit is not undefined,
1863− // then the output array is truncated so that it contains no more than limit
1864− // elements.
1865− // "0".split(undefined, 0) -> []
1866− } else if ('0'.split(void 0, 0).length) {
1867− StringPrototype.split = function split(separator, limit) {
1868− if (typeof separator === 'undefined' && limit === 0) {
1869− return [];
1870− }
1871− return strSplit(this, separator, limit);
1872− };
1873− }
1874−
1875− var str_replace = StringPrototype.replace;
1876− var replaceReportsGroupsCorrectly = (function () {
1877− var groups = [];
1878− 'x'.replace(/x(.)?/g, function (match, group) {
1879− pushCall(groups, group);
1880− });
1881− return groups.length === 1 && typeof groups[0] === 'undefined';
1882− }());
1883−
1884− if (!replaceReportsGroupsCorrectly) {
1885− StringPrototype.replace = function replace(searchValue, replaceValue) {
1886− var isFn = isCallable(replaceValue);
1887− var hasCapturingGroups = isRegex(searchValue) && (/\)[*?]/).test(searchValue.source);
1888− if (!isFn || !hasCapturingGroups) {
1889− return str_replace.call(this, searchValue, replaceValue);
1890− } else {
1891− var wrappedReplaceValue = function (match) {
1892− var length = arguments.length;
1893− var originalLastIndex = searchValue.lastIndex;
1894− searchValue.lastIndex = 0;
1895− var args = searchValue.exec(match) || [];
1896− searchValue.lastIndex = originalLastIndex;
1897− pushCall(args, arguments[length - 2], arguments[length - 1]);
1898− return replaceValue.apply(this, args);
1899− };
1900− return str_replace.call(this, searchValue, wrappedReplaceValue);
1901− }
1902− };
1903− }
1904−
1905− // ECMA-262, 3rd B.2.3
1906− // Not an ECMAScript standard, although ECMAScript 3rd Edition has a
1907− // non-normative section suggesting uniform semantics and it should be
1908− // normalized across all browsers
1909− // [bugfix, IE lt 9] IE < 9 substr() with negative value not working in IE
1910− var string_substr = StringPrototype.substr;
1911− var hasNegativeSubstrBug = ''.substr && '0b'.substr(-1) !== 'b';
1912− defineProperties(StringPrototype, {
1913− substr: function substr(start, length) {
1914− var normalizedStart = start;
1915− if (start < 0) {
1916− normalizedStart = max(this.length + start, 0);
1917− }
1918− return string_substr.call(this, normalizedStart, length);
1919− }
1920− }, hasNegativeSubstrBug);
1921−
1922− // ES5 15.5.4.20
1923− // whitespace from: http://es5.github.io/#x15.5.4.20
1924− var ws = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003' +
1925− '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028' +
1926− '\u2029\uFEFF';
1927− var zeroWidth = '\u200b';
1928− var wsRegexChars = '[' + ws + ']';
1929− var trimBeginRegexp = new RegExp('^' + wsRegexChars + wsRegexChars + '*');
1930− var trimEndRegexp = new RegExp(wsRegexChars + wsRegexChars + '*$');
1931− var hasTrimWhitespaceBug = StringPrototype.trim && (ws.trim() || !zeroWidth.trim());
1932− defineProperties(StringPrototype, {
1933− // http://blog.stevenlevithan.com/archives/faster-trim-javascript
1934− // http://perfectionkills.com/whitespace-deviations/
1935− trim: function trim() {
1936− if (typeof this === 'undefined' || this === null) {
1937− throw new TypeError("can't convert " + this + ' to object');
1938− }
1939− return $String(this).replace(trimBeginRegexp, '').replace(trimEndRegexp, '');
1940− }
1941− }, hasTrimWhitespaceBug);
1942− var trim = call.bind(String.prototype.trim);
1943−
1944− var hasLastIndexBug = StringPrototype.lastIndexOf && 'abcあい'.lastIndexOf('あい', 2) !== -1;
1945− defineProperties(StringPrototype, {
1946− lastIndexOf: function lastIndexOf(searchString) {
1947− if (typeof this === 'undefined' || this === null) {
1948− throw new TypeError("can't convert " + this + ' to object');
1949− }
1950− var S = $String(this);
1951− var searchStr = $String(searchString);
1952− var numPos = arguments.length > 1 ? $Number(arguments[1]) : NaN;
1953− var pos = isActualNaN(numPos) ? Infinity : ES.ToInteger(numPos);
1954− var start = min(max(pos, 0), S.length);
1955− var searchLen = searchStr.length;
1956− var k = start + searchLen;
1957− while (k > 0) {
1958− k = max(0, k - searchLen);
1959− var index = strIndexOf(strSlice(S, k, start + searchLen), searchStr);
1960− if (index !== -1) {
1961− return k + index;
1962− }
1963− }
1964− return -1;
1965− }
1966− }, hasLastIndexBug);
1967−
1968− var originalLastIndexOf = StringPrototype.lastIndexOf;
1969− defineProperties(StringPrototype, {
1970− lastIndexOf: function lastIndexOf(searchString) {
1971− return originalLastIndexOf.apply(this, arguments);
1972− }
1973− }, StringPrototype.lastIndexOf.length !== 1);
1974−
1975− // ES-5 15.1.2.2
1976− /* eslint-disable radix */
1977− if (parseInt(ws + '08') !== 8 || parseInt(ws + '0x16') !== 22) {
1978− /* eslint-enable radix */
1979− /* global parseInt: true */
1980− parseInt = (function (origParseInt) {
1981− var hexRegex = /^[\-+]?0[xX]/;
1982− return function parseInt(str, radix) {
1983− var string = trim(String(str));
1984− var defaultedRadix = $Number(radix) || (hexRegex.test(string) ? 16 : 10);
1985− return origParseInt(string, defaultedRadix);
1986− };
1987− }(parseInt));
1988− }
1989−
1990− // https://es5.github.io/#x15.1.2.3
1991− if (1 / parseFloat('-0') !== -Infinity) {
1992− /* global parseFloat: true */
1993− parseFloat = (function (origParseFloat) {
1994− return function parseFloat(string) {
1995− var inputString = trim(String(string));
1996− var result = origParseFloat(inputString);
1997− return result === 0 && strSlice(inputString, 0, 1) === '-' ? -0 : result;
1998− };
1999− }(parseFloat));
2000− }
2001−
2002− if (String(new RangeError('test')) !== 'RangeError: test') {
2003− var errorToStringShim = function toString() {
2004− if (typeof this === 'undefined' || this === null) {
2005− throw new TypeError("can't convert " + this + ' to object');
2006− }
2007− var name = this.name;
2008− if (typeof name === 'undefined') {
2009− name = 'Error';
2010− } else if (typeof name !== 'string') {
2011− name = $String(name);
2012− }
2013− var msg = this.message;
2014− if (typeof msg === 'undefined') {
2015− msg = '';
2016− } else if (typeof msg !== 'string') {
2017− msg = $String(msg);
2018− }
2019− if (!name) {
2020− return msg;
2021− }
2022− if (!msg) {
2023− return name;
2024− }
2025− return name + ': ' + msg;
2026− };
2027− // can't use defineProperties here because of toString enumeration issue in IE <= 8
2028− Error.prototype.toString = errorToStringShim;
2029− }
2030−
2031− if (supportsDescriptors) {
2032− var ensureNonEnumerable = function (obj, prop) {
2033− if (isEnum(obj, prop)) {
2034− var desc = Object.getOwnPropertyDescriptor(obj, prop);
2035− if (desc.configurable) {
2036− desc.enumerable = false;
2037− Object.defineProperty(obj, prop, desc);
2038− }
2039− }
2040− };
2041− ensureNonEnumerable(Error.prototype, 'message');
2042− if (Error.prototype.message !== '') {
2043− Error.prototype.message = '';
2044− }
2045− ensureNonEnumerable(Error.prototype, 'name');
2046− }
2047−
2048− if (String(/a/mig) !== '/a/gim') {
2049− var regexToString = function toString() {
2050− var str = '/' + this.source + '/';
2051− if (this.global) {
2052− str += 'g';
2053− }
2054− if (this.ignoreCase) {
2055− str += 'i';
2056− }
2057− if (this.multiline) {
2058− str += 'm';
2059− }
2060− return str;
2061− };
2062− // can't use defineProperties here because of toString enumeration issue in IE <= 8
2063− RegExp.prototype.toString = regexToString;
2064− }
2065−}));
swagger-dist-2.1.5/lib/handlebars-2.0.0.jsdeleted−28
@@ -1,28 +0,0 @@
1−/*!
2−
3− handlebars v2.0.0
4−
5−Copyright (C) 2011-2014 by Yehuda Katz
6−
7−Permission is hereby granted, free of charge, to any person obtaining a copy
8−of this software and associated documentation files (the "Software"), to deal
9−in the Software without restriction, including without limitation the rights
10−to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11−copies of the Software, and to permit persons to whom the Software is
12−furnished to do so, subject to the following conditions:
13−
14−The above copyright notice and this permission notice shall be included in
15−all copies or substantial portions of the Software.
16−
17−THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18−IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19−FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20−AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21−LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22−OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23−THE SOFTWARE.
24−
25−@license
26−*/
27−!function(a,b){"function"==typeof define&&define.amd?define([],b):"object"==typeof exports?module.exports=b():a.Handlebars=a.Handlebars||b()}(this,function(){var a=function(){"use strict";function a(a){this.string=a}var b;return a.prototype.toString=function(){return""+this.string},b=a}(),b=function(a){"use strict";function b(a){return i[a]}function c(a){for(var b=1;b<arguments.length;b++)for(var c in arguments[b])Object.prototype.hasOwnProperty.call(arguments[b],c)&&(a[c]=arguments[b][c]);return a}function d(a){return a instanceof h?a.toString():null==a?"":a?(a=""+a,k.test(a)?a.replace(j,b):a):a+""}function e(a){return a||0===a?n(a)&&0===a.length?!0:!1:!0}function f(a,b){return(a?a+".":"")+b}var g={},h=a,i={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},j=/[&<>"'`]/g,k=/[&<>"'`]/;g.extend=c;var l=Object.prototype.toString;g.toString=l;var m=function(a){return"function"==typeof a};m(/x/)&&(m=function(a){return"function"==typeof a&&"[object Function]"===l.call(a)});var m;g.isFunction=m;var n=Array.isArray||function(a){return a&&"object"==typeof a?"[object Array]"===l.call(a):!1};return g.isArray=n,g.escapeExpression=d,g.isEmpty=e,g.appendContextPath=f,g}(a),c=function(){"use strict";function a(a,b){var d;b&&b.firstLine&&(d=b.firstLine,a+=" - "+d+":"+b.firstColumn);for(var e=Error.prototype.constructor.call(this,a),f=0;f<c.length;f++)this[c[f]]=e[c[f]];d&&(this.lineNumber=d,this.column=b.firstColumn)}var b,c=["description","fileName","lineNumber","message","name","number","stack"];return a.prototype=new Error,b=a}(),d=function(a,b){"use strict";function c(a,b){this.helpers=a||{},this.partials=b||{},d(this)}function d(a){a.registerHelper("helperMissing",function(){if(1===arguments.length)return void 0;throw new g("Missing helper: '"+arguments[arguments.length-1].name+"'")}),a.registerHelper("blockHelperMissing",function(b,c){var d=c.inverse,e=c.fn;if(b===!0)return e(this);if(b===!1||null==b)return d(this);if(k(b))return b.length>0?(c.ids&&(c.ids=[c.name]),a.helpers.each(b,c)):d(this);if(c.data&&c.ids){var g=q(c.data);g.contextPath=f.appendContextPath(c.data.contextPath,c.name),c={data:g}}return e(b,c)}),a.registerHelper("each",function(a,b){if(!b)throw new g("Must pass iterator to #each");var c,d,e=b.fn,h=b.inverse,i=0,j="";if(b.data&&b.ids&&(d=f.appendContextPath(b.data.contextPath,b.ids[0])+"."),l(a)&&(a=a.call(this)),b.data&&(c=q(b.data)),a&&"object"==typeof a)if(k(a))for(var m=a.length;m>i;i++)c&&(c.index=i,c.first=0===i,c.last=i===a.length-1,d&&(c.contextPath=d+i)),j+=e(a[i],{data:c});else for(var n in a)a.hasOwnProperty(n)&&(c&&(c.key=n,c.index=i,c.first=0===i,d&&(c.contextPath=d+n)),j+=e(a[n],{data:c}),i++);return 0===i&&(j=h(this)),j}),a.registerHelper("if",function(a,b){return l(a)&&(a=a.call(this)),!b.hash.includeZero&&!a||f.isEmpty(a)?b.inverse(this):b.fn(this)}),a.registerHelper("unless",function(b,c){return a.helpers["if"].call(this,b,{fn:c.inverse,inverse:c.fn,hash:c.hash})}),a.registerHelper("with",function(a,b){l(a)&&(a=a.call(this));var c=b.fn;if(f.isEmpty(a))return b.inverse(this);if(b.data&&b.ids){var d=q(b.data);d.contextPath=f.appendContextPath(b.data.contextPath,b.ids[0]),b={data:d}}return c(a,b)}),a.registerHelper("log",function(b,c){var d=c.data&&null!=c.data.level?parseInt(c.data.level,10):1;a.log(d,b)}),a.registerHelper("lookup",function(a,b){return a&&a[b]})}var e={},f=a,g=b,h="2.0.0";e.VERSION=h;var i=6;e.COMPILER_REVISION=i;var j={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1"};e.REVISION_CHANGES=j;var k=f.isArray,l=f.isFunction,m=f.toString,n="[object Object]";e.HandlebarsEnvironment=c,c.prototype={constructor:c,logger:o,log:p,registerHelper:function(a,b){if(m.call(a)===n){if(b)throw new g("Arg not supported with multiple helpers");f.extend(this.helpers,a)}else this.helpers[a]=b},unregisterHelper:function(a){delete this.helpers[a]},registerPartial:function(a,b){m.call(a)===n?f.extend(this.partials,a):this.partials[a]=b},unregisterPartial:function(a){delete this.partials[a]}};var o={methodMap:{0:"debug",1:"info",2:"warn",3:"error"},DEBUG:0,INFO:1,WARN:2,ERROR:3,level:3,log:function(a,b){if(o.level<=a){var c=o.methodMap[a];"undefined"!=typeof console&&console[c]&&console[c].call(console,b)}}};e.logger=o;var p=o.log;e.log=p;var q=function(a){var b=f.extend({},a);return b._parent=a,b};return e.createFrame=q,e}(b,c),e=function(a,b,c){"use strict";function d(a){var b=a&&a[0]||1,c=m;if(b!==c){if(c>b){var d=n[c],e=n[b];throw new l("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+d+") or downgrade your runtime to an older version ("+e+").")}throw new l("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+a[1]+").")}}function e(a,b){if(!b)throw new l("No environment passed to template");if(!a||!a.main)throw new l("Unknown template object: "+typeof a);b.VM.checkRevision(a.compiler);var c=function(c,d,e,f,g,h,i,j,m){g&&(f=k.extend({},f,g));var n=b.VM.invokePartial.call(this,c,e,f,h,i,j,m);if(null==n&&b.compile){var o={helpers:h,partials:i,data:j,depths:m};i[e]=b.compile(c,{data:void 0!==j,compat:a.compat},b),n=i[e](f,o)}if(null!=n){if(d){for(var p=n.split("\n"),q=0,r=p.length;r>q&&(p[q]||q+1!==r);q++)p[q]=d+p[q];n=p.join("\n")}return n}throw new l("The partial "+e+" could not be compiled when running in runtime-only mode")},d={lookup:function(a,b){for(var c=a.length,d=0;c>d;d++)if(a[d]&&null!=a[d][b])return a[d][b]},lambda:function(a,b){return"function"==typeof a?a.call(b):a},escapeExpression:k.escapeExpression,invokePartial:c,fn:function(b){return a[b]},programs:[],program:function(a,b,c){var d=this.programs[a],e=this.fn(a);return b||c?d=f(this,a,e,b,c):d||(d=this.programs[a]=f(this,a,e)),d},data:function(a,b){for(;a&&b--;)a=a._parent;return a},merge:function(a,b){var c=a||b;return a&&b&&a!==b&&(c=k.extend({},b,a)),c},noop:b.VM.noop,compilerInfo:a.compiler},e=function(b,c){c=c||{};var f=c.data;e._setup(c),!c.partial&&a.useData&&(f=i(b,f));var g;return a.useDepths&&(g=c.depths?[b].concat(c.depths):[b]),a.main.call(d,b,d.helpers,d.partials,f,g)};return e.isTop=!0,e._setup=function(c){c.partial?(d.helpers=c.helpers,d.partials=c.partials):(d.helpers=d.merge(c.helpers,b.helpers),a.usePartial&&(d.partials=d.merge(c.partials,b.partials)))},e._child=function(b,c,e){if(a.useDepths&&!e)throw new l("must pass parent depths");return f(d,b,a[b],c,e)},e}function f(a,b,c,d,e){var f=function(b,f){return f=f||{},c.call(a,b,a.helpers,a.partials,f.data||d,e&&[b].concat(e))};return f.program=b,f.depth=e?e.length:0,f}function g(a,b,c,d,e,f,g){var h={partial:!0,helpers:d,partials:e,data:f,depths:g};if(void 0===a)throw new l("The partial "+b+" could not be found");return a instanceof Function?a(c,h):void 0}function h(){return""}function i(a,b){return b&&"root"in b||(b=b?o(b):{},b.root=a),b}var j={},k=a,l=b,m=c.COMPILER_REVISION,n=c.REVISION_CHANGES,o=c.createFrame;return j.checkRevision=d,j.template=e,j.program=f,j.invokePartial=g,j.noop=h,j}(b,c,d),f=function(a,b,c,d,e){"use strict";var f,g=a,h=b,i=c,j=d,k=e,l=function(){var a=new g.HandlebarsEnvironment;return j.extend(a,g),a.SafeString=h,a.Exception=i,a.Utils=j,a.escapeExpression=j.escapeExpression,a.VM=k,a.template=function(b){return k.template(b,a)},a},m=l();return m.create=l,m["default"]=m,f=m}(d,a,c,b,e),g=function(a){"use strict";function b(a){a=a||{},this.firstLine=a.first_line,this.firstColumn=a.first_column,this.lastColumn=a.last_column,this.lastLine=a.last_line}var c,d=a,e={ProgramNode:function(a,c,d){b.call(this,d),this.type="program",this.statements=a,this.strip=c},MustacheNode:function(a,c,d,f,g){if(b.call(this,g),this.type="mustache",this.strip=f,null!=d&&d.charAt){var h=d.charAt(3)||d.charAt(2);this.escaped="{"!==h&&"&"!==h}else this.escaped=!!d;this.sexpr=a instanceof e.SexprNode?a:new e.SexprNode(a,c),this.id=this.sexpr.id,this.params=this.sexpr.params,this.hash=this.sexpr.hash,this.eligibleHelper=this.sexpr.eligibleHelper,this.isHelper=this.sexpr.isHelper},SexprNode:function(a,c,d){b.call(this,d),this.type="sexpr",this.hash=c;var e=this.id=a[0],f=this.params=a.slice(1);this.isHelper=!(!f.length&&!c),this.eligibleHelper=this.isHelper||e.isSimple},PartialNode:function(a,c,d,e,f){b.call(this,f),this.type="partial",this.partialName=a,this.context=c,this.hash=d,this.strip=e,this.strip.inlineStandalone=!0},BlockNode:function(a,c,d,e,f){b.call(this,f),this.type="block",this.mustache=a,this.program=c,this.inverse=d,this.strip=e,d&&!c&&(this.isInverse=!0)},RawBlockNode:function(a,c,f,g){if(b.call(this,g),a.sexpr.id.original!==f)throw new d(a.sexpr.id.original+" doesn't match "+f,this);c=new e.ContentNode(c,g),this.type="block",this.mustache=a,this.program=new e.ProgramNode([c],{},g)},ContentNode:function(a,c){b.call(this,c),this.type="content",this.original=this.string=a},HashNode:function(a,c){b.call(this,c),this.type="hash",this.pairs=a},IdNode:function(a,c){b.call(this,c),this.type="ID";for(var e="",f=[],g=0,h="",i=0,j=a.length;j>i;i++){var k=a[i].part;if(e+=(a[i].separator||"")+k,".."===k||"."===k||"this"===k){if(f.length>0)throw new d("Invalid path: "+e,this);".."===k?(g++,h+="../"):this.isScoped=!0}else f.push(k)}this.original=e,this.parts=f,this.string=f.join("."),this.depth=g,this.idName=h+this.string,this.isSimple=1===a.length&&!this.isScoped&&0===g,this.stringModeValue=this.string},PartialNameNode:function(a,c){b.call(this,c),this.type="PARTIAL_NAME",this.name=a.original},DataNode:function(a,c){b.call(this,c),this.type="DATA",this.id=a,this.stringModeValue=a.stringModeValue,this.idName="@"+a.stringModeValue},StringNode:function(a,c){b.call(this,c),this.type="STRING",this.original=this.string=this.stringModeValue=a},NumberNode:function(a,c){b.call(this,c),this.type="NUMBER",this.original=this.number=a,this.stringModeValue=Number(a)},BooleanNode:function(a,c){b.call(this,c),this.type="BOOLEAN",this.bool=a,this.stringModeValue="true"===a},CommentNode:function(a,c){b.call(this,c),this.type="comment",this.comment=a,this.strip={inlineStandalone:!0}}};return c=e}(c),h=function(){"use strict";var a,b=function(){function a(){this.yy={}}var b={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,CONTENT:12,COMMENT:13,openRawBlock:14,END_RAW_BLOCK:15,OPEN_RAW_BLOCK:16,sexpr:17,CLOSE_RAW_BLOCK:18,openBlock:19,block_option0:20,closeBlock:21,openInverse:22,block_option1:23,OPEN_BLOCK:24,CLOSE:25,OPEN_INVERSE:26,inverseAndProgram:27,INVERSE:28,OPEN_ENDBLOCK:29,path:30,OPEN:31,OPEN_UNESCAPED:32,CLOSE_UNESCAPED:33,OPEN_PARTIAL:34,partialName:35,param:36,partial_option0:37,partial_option1:38,sexpr_repetition0:39,sexpr_option0:40,dataName:41,STRING:42,NUMBER:43,BOOLEAN:44,OPEN_SEXPR:45,CLOSE_SEXPR:46,hash:47,hash_repetition_plus0:48,hashSegment:49,ID:50,EQUALS:51,DATA:52,pathSegments:53,SEP:54,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",12:"CONTENT",13:"COMMENT",15:"END_RAW_BLOCK",16:"OPEN_RAW_BLOCK",18:"CLOSE_RAW_BLOCK",24:"OPEN_BLOCK",25:"CLOSE",26:"OPEN_INVERSE",28:"INVERSE",29:"OPEN_ENDBLOCK",31:"OPEN",32:"OPEN_UNESCAPED",33:"CLOSE_UNESCAPED",34:"OPEN_PARTIAL",42:"STRING",43:"NUMBER",44:"BOOLEAN",45:"OPEN_SEXPR",46:"CLOSE_SEXPR",50:"ID",51:"EQUALS",52:"DATA",54:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[10,3],[14,3],[9,4],[9,4],[19,3],[22,3],[27,2],[21,3],[8,3],[8,3],[11,5],[11,4],[17,3],[17,1],[36,1],[36,1],[36,1],[36,1],[36,1],[36,3],[47,1],[49,3],[35,1],[35,1],[35,1],[41,2],[30,1],[53,3],[53,1],[6,0],[6,2],[20,0],[20,1],[23,0],[23,1],[37,0],[37,1],[38,0],[38,1],[39,0],[39,2],[40,0],[40,1],[48,1],[48,2]],performAction:function(a,b,c,d,e,f){var g=f.length-1;switch(e){case 1:return d.prepareProgram(f[g-1].statements,!0),f[g-1];case 2:this.$=new d.ProgramNode(d.prepareProgram(f[g]),{},this._$);break;case 3:this.$=f[g];break;case 4:this.$=f[g];break;case 5:this.$=f[g];break;case 6:this.$=f[g];break;case 7:this.$=new d.ContentNode(f[g],this._$);break;case 8:this.$=new d.CommentNode(f[g],this._$);break;case 9:this.$=new d.RawBlockNode(f[g-2],f[g-1],f[g],this._$);break;case 10:this.$=new d.MustacheNode(f[g-1],null,"","",this._$);break;case 11:this.$=d.prepareBlock(f[g-3],f[g-2],f[g-1],f[g],!1,this._$);break;case 12:this.$=d.prepareBlock(f[g-3],f[g-2],f[g-1],f[g],!0,this._$);break;case 13:this.$=new d.MustacheNode(f[g-1],null,f[g-2],d.stripFlags(f[g-2],f[g]),this._$);break;case 14:this.$=new d.MustacheNode(f[g-1],null,f[g-2],d.stripFlags(f[g-2],f[g]),this._$);break;case 15:this.$={strip:d.stripFlags(f[g-1],f[g-1]),program:f[g]};break;case 16:this.$={path:f[g-1],strip:d.stripFlags(f[g-2],f[g])};break;case 17:this.$=new d.MustacheNode(f[g-1],null,f[g-2],d.stripFlags(f[g-2],f[g]),this._$);break;case 18:this.$=new d.MustacheNode(f[g-1],null,f[g-2],d.stripFlags(f[g-2],f[g]),this._$);break;case 19:this.$=new d.PartialNode(f[g-3],f[g-2],f[g-1],d.stripFlags(f[g-4],f[g]),this._$);break;case 20:this.$=new d.PartialNode(f[g-2],void 0,f[g-1],d.stripFlags(f[g-3],f[g]),this._$);break;case 21:this.$=new d.SexprNode([f[g-2]].concat(f[g-1]),f[g],this._$);break;case 22:this.$=new d.SexprNode([f[g]],null,this._$);break;case 23:this.$=f[g];break;case 24:this.$=new d.StringNode(f[g],this._$);break;case 25:this.$=new d.NumberNode(f[g],this._$);break;case 26:this.$=new d.BooleanNode(f[g],this._$);break;case 27:this.$=f[g];break;case 28:f[g-1].isHelper=!0,this.$=f[g-1];break;case 29:this.$=new d.HashNode(f[g],this._$);break;case 30:this.$=[f[g-2],f[g]];break;case 31:this.$=new d.PartialNameNode(f[g],this._$);break;case 32:this.$=new d.PartialNameNode(new d.StringNode(f[g],this._$),this._$);break;case 33:this.$=new d.PartialNameNode(new d.NumberNode(f[g],this._$));break;case 34:this.$=new d.DataNode(f[g],this._$);break;case 35:this.$=new d.IdNode(f[g],this._$);break;case 36:f[g-2].push({part:f[g],separator:f[g-1]}),this.$=f[g-2];break;case 37:this.$=[{part:f[g]}];break;case 38:this.$=[];break;case 39:f[g-1].push(f[g]);break;case 48:this.$=[];break;case 49:f[g-1].push(f[g]);break;case 52:this.$=[f[g]];break;case 53:f[g-1].push(f[g])}},table:[{3:1,4:2,5:[2,38],6:3,12:[2,38],13:[2,38],16:[2,38],24:[2,38],26:[2,38],31:[2,38],32:[2,38],34:[2,38]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:[1,10],13:[1,11],14:16,16:[1,20],19:14,22:15,24:[1,18],26:[1,19],28:[2,2],29:[2,2],31:[1,12],32:[1,13],34:[1,17]},{1:[2,1]},{5:[2,39],12:[2,39],13:[2,39],16:[2,39],24:[2,39],26:[2,39],28:[2,39],29:[2,39],31:[2,39],32:[2,39],34:[2,39]},{5:[2,3],12:[2,3],13:[2,3],16:[2,3],24:[2,3],26:[2,3],28:[2,3],29:[2,3],31:[2,3],32:[2,3],34:[2,3]},{5:[2,4],12:[2,4],13:[2,4],16:[2,4],24:[2,4],26:[2,4],28:[2,4],29:[2,4],31:[2,4],32:[2,4],34:[2,4]},{5:[2,5],12:[2,5],13:[2,5],16:[2,5],24:[2,5],26:[2,5],28:[2,5],29:[2,5],31:[2,5],32:[2,5],34:[2,5]},{5:[2,6],12:[2,6],13:[2,6],16:[2,6],24:[2,6],26:[2,6],28:[2,6],29:[2,6],31:[2,6],32:[2,6],34:[2,6]},{5:[2,7],12:[2,7],13:[2,7],16:[2,7],24:[2,7],26:[2,7],28:[2,7],29:[2,7],31:[2,7],32:[2,7],34:[2,7]},{5:[2,8],12:[2,8],13:[2,8],16:[2,8],24:[2,8],26:[2,8],28:[2,8],29:[2,8],31:[2,8],32:[2,8],34:[2,8]},{17:21,30:22,41:23,50:[1,26],52:[1,25],53:24},{17:27,30:22,41:23,50:[1,26],52:[1,25],53:24},{4:28,6:3,12:[2,38],13:[2,38],16:[2,38],24:[2,38],26:[2,38],28:[2,38],29:[2,38],31:[2,38],32:[2,38],34:[2,38]},{4:29,6:3,12:[2,38],13:[2,38],16:[2,38],24:[2,38],26:[2,38],28:[2,38],29:[2,38],31:[2,38],32:[2,38],34:[2,38]},{12:[1,30]},{30:32,35:31,42:[1,33],43:[1,34],50:[1,26],53:24},{17:35,30:22,41:23,50:[1,26],52:[1,25],53:24},{17:36,30:22,41:23,50:[1,26],52:[1,25],53:24},{17:37,30:22,41:23,50:[1,26],52:[1,25],53:24},{25:[1,38]},{18:[2,48],25:[2,48],33:[2,48],39:39,42:[2,48],43:[2,48],44:[2,48],45:[2,48],46:[2,48],50:[2,48],52:[2,48]},{18:[2,22],25:[2,22],33:[2,22],46:[2,22]},{18:[2,35],25:[2,35],33:[2,35],42:[2,35],43:[2,35],44:[2,35],45:[2,35],46:[2,35],50:[2,35],52:[2,35],54:[1,40]},{30:41,50:[1,26],53:24},{18:[2,37],25:[2,37],33:[2,37],42:[2,37],43:[2,37],44:[2,37],45:[2,37],46:[2,37],50:[2,37],52:[2,37],54:[2,37]},{33:[1,42]},{20:43,27:44,28:[1,45],29:[2,40]},{23:46,27:47,28:[1,45],29:[2,42]},{15:[1,48]},{25:[2,46],30:51,36:49,38:50,41:55,42:[1,52],43:[1,53],44:[1,54],45:[1,56],47:57,48:58,49:60,50:[1,59],52:[1,25],53:24},{25:[2,31],42:[2,31],43:[2,31],44:[2,31],45:[2,31],50:[2,31],52:[2,31]},{25:[2,32],42:[2,32],43:[2,32],44:[2,32],45:[2,32],50:[2,32],52:[2,32]},{25:[2,33],42:[2,33],43:[2,33],44:[2,33],45:[2,33],50:[2,33],52:[2,33]},{25:[1,61]},{25:[1,62]},{18:[1,63]},{5:[2,17],12:[2,17],13:[2,17],16:[2,17],24:[2,17],26:[2,17],28:[2,17],29:[2,17],31:[2,17],32:[2,17],34:[2,17]},{18:[2,50],25:[2,50],30:51,33:[2,50],36:65,40:64,41:55,42:[1,52],43:[1,53],44:[1,54],45:[1,56],46:[2,50],47:66,48:58,49:60,50:[1,59],52:[1,25],53:24},{50:[1,67]},{18:[2,34],25:[2,34],33:[2,34],42:[2,34],43:[2,34],44:[2,34],45:[2,34],46:[2,34],50:[2,34],52:[2,34]},{5:[2,18],12:[2,18],13:[2,18],16:[2,18],24:[2,18],26:[2,18],28:[2,18],29:[2,18],31:[2,18],32:[2,18],34:[2,18]},{21:68,29:[1,69]},{29:[2,41]},{4:70,6:3,12:[2,38],13:[2,38],16:[2,38],24:[2,38],26:[2,38],29:[2,38],31:[2,38],32:[2,38],34:[2,38]},{21:71,29:[1,69]},{29:[2,43]},{5:[2,9],12:[2,9],13:[2,9],16:[2,9],24:[2,9],26:[2,9],28:[2,9],29:[2,9],31:[2,9],32:[2,9],34:[2,9]},{25:[2,44],37:72,47:73,48:58,49:60,50:[1,74]},{25:[1,75]},{18:[2,23],25:[2,23],33:[2,23],42:[2,23],43:[2,23],44:[2,23],45:[2,23],46:[2,23],50:[2,23],52:[2,23]},{18:[2,24],25:[2,24],33:[2,24],42:[2,24],43:[2,24],44:[2,24],45:[2,24],46:[2,24],50:[2,24],52:[2,24]},{18:[2,25],25:[2,25],33:[2,25],42:[2,25],43:[2,25],44:[2,25],45:[2,25],46:[2,25],50:[2,25],52:[2,25]},{18:[2,26],25:[2,26],33:[2,26],42:[2,26],43:[2,26],44:[2,26],45:[2,26],46:[2,26],50:[2,26],52:[2,26]},{18:[2,27],25:[2,27],33:[2,27],42:[2,27],43:[2,27],44:[2,27],45:[2,27],46:[2,27],50:[2,27],52:[2,27]},{17:76,30:22,41:23,50:[1,26],52:[1,25],53:24},{25:[2,47]},{18:[2,29],25:[2,29],33:[2,29],46:[2,29],49:77,50:[1,74]},{18:[2,37],25:[2,37],33:[2,37],42:[2,37],43:[2,37],44:[2,37],45:[2,37],46:[2,37],50:[2,37],51:[1,78],52:[2,37],54:[2,37]},{18:[2,52],25:[2,52],33:[2,52],46:[2,52],50:[2,52]},{12:[2,13],13:[2,13],16:[2,13],24:[2,13],26:[2,13],28:[2,13],29:[2,13],31:[2,13],32:[2,13],34:[2,13]},{12:[2,14],13:[2,14],16:[2,14],24:[2,14],26:[2,14],28:[2,14],29:[2,14],31:[2,14],32:[2,14],34:[2,14]},{12:[2,10]},{18:[2,21],25:[2,21],33:[2,21],46:[2,21]},{18:[2,49],25:[2,49],33:[2,49],42:[2,49],43:[2,49],44:[2,49],45:[2,49],46:[2,49],50:[2,49],52:[2,49]},{18:[2,51],25:[2,51],33:[2,51],46:[2,51]},{18:[2,36],25:[2,36],33:[2,36],42:[2,36],43:[2,36],44:[2,36],45:[2,36],46:[2,36],50:[2,36],52:[2,36],54:[2,36]},{5:[2,11],12:[2,11],13:[2,11],16:[2,11],24:[2,11],26:[2,11],28:[2,11],29:[2,11],31:[2,11],32:[2,11],34:[2,11]},{30:79,50:[1,26],53:24},{29:[2,15]},{5:[2,12],12:[2,12],13:[2,12],16:[2,12],24:[2,12],26:[2,12],28:[2,12],29:[2,12],31:[2,12],32:[2,12],34:[2,12]},{25:[1,80]},{25:[2,45]},{51:[1,78]},{5:[2,20],12:[2,20],13:[2,20],16:[2,20],24:[2,20],26:[2,20],28:[2,20],29:[2,20],31:[2,20],32:[2,20],34:[2,20]},{46:[1,81]},{18:[2,53],25:[2,53],33:[2,53],46:[2,53],50:[2,53]},{30:51,36:82,41:55,42:[1,52],43:[1,53],44:[1,54],45:[1,56],50:[1,26],52:[1,25],53:24},{25:[1,83]},{5:[2,19],12:[2,19],13:[2,19],16:[2,19],24:[2,19],26:[2,19],28:[2,19],29:[2,19],31:[2,19],32:[2,19],34:[2,19]},{18:[2,28],25:[2,28],33:[2,28],42:[2,28],43:[2,28],44:[2,28],45:[2,28],46:[2,28],50:[2,28],52:[2,28]},{18:[2,30],25:[2,30],33:[2,30],46:[2,30],50:[2,30]},{5:[2,16],12:[2,16],13:[2,16],16:[2,16],24:[2,16],26:[2,16],28:[2,16],29:[2,16],31:[2,16],32:[2,16],34:[2,16]}],defaultActions:{4:[2,1],44:[2,41],47:[2,43],57:[2,47],63:[2,10],70:[2,15],73:[2,45]},parseError:function(a){throw new Error(a)},parse:function(a){function b(){var a;return a=c.lexer.lex()||1,"number"!=typeof a&&(a=c.symbols_[a]||a),a}var c=this,d=[0],e=[null],f=[],g=this.table,h="",i=0,j=0,k=0;this.lexer.setInput(a),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,"undefined"==typeof this.lexer.yylloc&&(this.lexer.yylloc={});var l=this.lexer.yylloc;f.push(l);var m=this.lexer.options&&this.lexer.options.ranges;"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var n,o,p,q,r,s,t,u,v,w={};;){if(p=d[d.length-1],this.defaultActions[p]?q=this.defaultActions[p]:((null===n||"undefined"==typeof n)&&(n=b()),q=g[p]&&g[p][n]),"undefined"==typeof q||!q.length||!q[0]){var x="";if(!k){v=[];for(s in g[p])this.terminals_[s]&&s>2&&v.push("'"+this.terminals_[s]+"'");x=this.lexer.showPosition?"Parse error on line "+(i+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+v.join(", ")+", got '"+(this.terminals_[n]||n)+"'":"Parse error on line "+(i+1)+": Unexpected "+(1==n?"end of input":"'"+(this.terminals_[n]||n)+"'"),this.parseError(x,{text:this.lexer.match,token:this.terminals_[n]||n,line:this.lexer.yylineno,loc:l,expected:v})}}if(q[0]instanceof Array&&q.length>1)throw new Error("Parse Error: multiple actions possible at state: "+p+", token: "+n);switch(q[0]){case 1:d.push(n),e.push(this.lexer.yytext),f.push(this.lexer.yylloc),d.push(q[1]),n=null,o?(n=o,o=null):(j=this.lexer.yyleng,h=this.lexer.yytext,i=this.lexer.yylineno,l=this.lexer.yylloc,k>0&&k--);break;case 2:if(t=this.productions_[q[1]][1],w.$=e[e.length-t],w._$={first_line:f[f.length-(t||1)].first_line,last_line:f[f.length-1].last_line,first_column:f[f.length-(t||1)].first_column,last_column:f[f.length-1].last_column},m&&(w._$.range=[f[f.length-(t||1)].range[0],f[f.length-1].range[1]]),r=this.performAction.call(w,h,j,i,this.yy,q[1],e,f),"undefined"!=typeof r)return r;t&&(d=d.slice(0,-1*t*2),e=e.slice(0,-1*t),f=f.slice(0,-1*t)),d.push(this.productions_[q[1]][0]),e.push(w.$),f.push(w._$),u=g[d[d.length-2]][d[d.length-1]],d.push(u);break;case 3:return!0}}return!0}},c=function(){var a={EOF:1,parseError:function(a,b){if(!this.yy.parser)throw new Error(a);this.yy.parser.parseError(a,b)},setInput:function(a){return this._input=a,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var a=this._input[0];this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a;var b=a.match(/(?:\r\n?|\n).*/g);return b?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),a},unput:function(a){var b=a.length,c=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-b-1),this.offset-=b;var d=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===d.length?this.yylloc.first_column:0)+d[d.length-c.length].length-c[0].length:this.yylloc.first_column-b},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-b]),this},more:function(){return this._more=!0,this},less:function(a){this.unput(this.match.slice(a))},pastInput:function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var a=this.pastInput(),b=new Array(a.length+1).join("-");return a+this.upcomingInput()+"\n"+b+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var a,b,c,d,e;this._more||(this.yytext="",this.match="");for(var f=this._currentRules(),g=0;g<f.length&&(c=this._input.match(this.rules[f[g]]),!c||b&&!(c[0].length>b[0].length)||(b=c,d=g,this.options.flex));g++);return b?(e=b[0].match(/(?:\r\n?|\n).*/g),e&&(this.yylineno+=e.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:e?e[e.length-1].length-e[e.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+b[0].length},this.yytext+=b[0],this.match+=b[0],this.matches=b,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(b[0].length),this.matched+=b[0],a=this.performAction.call(this,this.yy,this,f[d],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),a?a:void 0):""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var a=this.next();return"undefined"!=typeof a?a:this.lex()},begin:function(a){this.conditionStack.push(a)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(a){this.begin(a)}};return a.options={},a.performAction=function(a,b,c,d){function e(a,c){return b.yytext=b.yytext.substr(a,b.yyleng-c)}switch(c){case 0:if("\\\\"===b.yytext.slice(-2)?(e(0,1),this.begin("mu")):"\\"===b.yytext.slice(-1)?(e(0,1),this.begin("emu")):this.begin("mu"),b.yytext)return 12;break;case 1:return 12;case 2:return this.popState(),12;case 3:return b.yytext=b.yytext.substr(5,b.yyleng-9),this.popState(),15;case 4:return 12;case 5:return e(0,4),this.popState(),13;case 6:return 45;case 7:return 46;case 8:return 16;case 9:return this.popState(),this.begin("raw"),18;case 10:return 34;case 11:return 24;case 12:return 29;case 13:return this.popState(),28;case 14:return this.popState(),28;case 15:return 26;case 16:return 26;case 17:return 32;case 18:return 31;case 19:this.popState(),this.begin("com");break;case 20:return e(3,5),this.popState(),13;case 21:return 31;case 22:return 51;case 23:return 50;case 24:return 50;case 25:return 54;case 26:break;case 27:return this.popState(),33;case 28:return this.popState(),25;case 29:return b.yytext=e(1,2).replace(/\\"/g,'"'),42;case 30:return b.yytext=e(1,2).replace(/\\'/g,"'"),42;case 31:return 52;case 32:return 44;case 33:return 44;case 34:return 43;case 35:return 50;case 36:return b.yytext=e(1,2),50;case 37:return"INVALID";case 38:return 5}},a.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]*?(?=(\{\{\{\{\/)))/,/^(?:[\s\S]*?--\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{!--)/,/^(?:\{\{![\s\S]*?\}\})/,/^(?:\{\{(~)?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)]))))/,/^(?:\[[^\]]*\])/,/^(?:.)/,/^(?:$)/],a.conditions={mu:{rules:[6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[5],inclusive:!1},raw:{rules:[3,4],inclusive:!1},INITIAL:{rules:[0,1,38],inclusive:!0}},a}();return b.lexer=c,a.prototype=b,b.Parser=a,new a}();return a=b}(),i=function(a){"use strict";function b(a,b){return{left:"~"===a.charAt(2),right:"~"===b.charAt(b.length-3)}}function c(a,b,c,d,i,k){if(a.sexpr.id.original!==d.path.original)throw new j(a.sexpr.id.original+" doesn't match "+d.path.original,a);var l=c&&c.program,m={left:a.strip.left,right:d.strip.right,openStandalone:f(b.statements),closeStandalone:e((l||b).statements)};if(a.strip.right&&g(b.statements,null,!0),l){var n=c.strip;n.left&&h(b.statements,null,!0),n.right&&g(l.statements,null,!0),d.strip.left&&h(l.statements,null,!0),e(b.statements)&&f(l.statements)&&(h(b.statements),g(l.statements))}else d.strip.left&&h(b.statements,null,!0);return i?new this.BlockNode(a,l,b,m,k):new this.BlockNode(a,b,l,m,k)}function d(a,b){for(var c=0,d=a.length;d>c;c++){var i=a[c],j=i.strip;if(j){var k=e(a,c,b,"partial"===i.type),l=f(a,c,b),m=j.openStandalone&&k,n=j.closeStandalone&&l,o=j.inlineStandalone&&k&&l;j.right&&g(a,c,!0),j.left&&h(a,c,!0),o&&(g(a,c),h(a,c)&&"partial"===i.type&&(i.indent=/([ \t]+$)/.exec(a[c-1].original)?RegExp.$1:"")),m&&(g((i.program||i.inverse).statements),h(a,c)),n&&(g(a,c),h((i.inverse||i.program).statements))}}return a}function e(a,b,c){void 0===b&&(b=a.length);var d=a[b-1],e=a[b-2];return d?"content"===d.type?(e||!c?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(d.original):void 0:c}function f(a,b,c){void 0===b&&(b=-1);var d=a[b+1],e=a[b+2];return d?"content"===d.type?(e||!c?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(d.original):void 0:c}function g(a,b,c){var d=a[null==b?0:b+1];if(d&&"content"===d.type&&(c||!d.rightStripped)){var e=d.string;d.string=d.string.replace(c?/^\s+/:/^[ \t]*\r?\n?/,""),d.rightStripped=d.string!==e}}function h(a,b,c){var d=a[null==b?a.length-1:b-1];if(d&&"content"===d.type&&(c||!d.leftStripped)){var e=d.string;return d.string=d.string.replace(c?/\s+$/:/[ \t]+$/,""),d.leftStripped=d.string!==e,d.leftStripped}}var i={},j=a;return i.stripFlags=b,i.prepareBlock=c,i.prepareProgram=d,i}(c),j=function(a,b,c,d){"use strict";function e(a){return a.constructor===h.ProgramNode?a:(g.yy=k,g.parse(a))}var f={},g=a,h=b,i=c,j=d.extend;f.parser=g;var k={};return j(k,i,h),f.parse=e,f}(h,g,i,b),k=function(a,b){"use strict";function c(){}function d(a,b,c){if(null==a||"string"!=typeof a&&a.constructor!==c.AST.ProgramNode)throw new h("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+a);b=b||{},"data"in b||(b.data=!0),b.compat&&(b.useDepths=!0);var d=c.parse(a),e=(new c.Compiler).compile(d,b);return(new c.JavaScriptCompiler).compile(e,b)}function e(a,b,c){function d(){var d=c.parse(a),e=(new c.Compiler).compile(d,b),f=(new c.JavaScriptCompiler).compile(e,b,void 0,!0);return c.template(f)}if(null==a||"string"!=typeof a&&a.constructor!==c.AST.ProgramNode)throw new h("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+a);b=b||{},"data"in b||(b.data=!0),b.compat&&(b.useDepths=!0);var e,f=function(a,b){return e||(e=d()),e.call(this,a,b)};return f._setup=function(a){return e||(e=d()),e._setup(a)},f._child=function(a,b,c){return e||(e=d()),e._child(a,b,c)},f}function f(a,b){if(a===b)return!0;if(i(a)&&i(b)&&a.length===b.length){for(var c=0;c<a.length;c++)if(!f(a[c],b[c]))return!1;return!0}}var g={},h=a,i=b.isArray,j=[].slice;return g.Compiler=c,c.prototype={compiler:c,equals:function(a){var b=this.opcodes.length;if(a.opcodes.length!==b)return!1;for(var c=0;b>c;c++){var d=this.opcodes[c],e=a.opcodes[c];if(d.opcode!==e.opcode||!f(d.args,e.args))return!1}for(b=this.children.length,c=0;b>c;c++)if(!this.children[c].equals(a.children[c]))return!1;return!0},guid:0,compile:function(a,b){this.opcodes=[],this.children=[],this.depths={list:[]},this.options=b,this.stringParams=b.stringParams,this.trackIds=b.trackIds;var c=this.options.knownHelpers;if(this.options.knownHelpers={helperMissing:!0,blockHelperMissing:!0,each:!0,"if":!0,unless:!0,"with":!0,log:!0,lookup:!0},c)for(var d in c)this.options.knownHelpers[d]=c[d];return this.accept(a)},accept:function(a){return this[a.type](a)},program:function(a){for(var b=a.statements,c=0,d=b.length;d>c;c++)this.accept(b[c]);return this.isSimple=1===d,this.depths.list=this.depths.list.sort(function(a,b){return a-b}),this},compileProgram:function(a){var b,c=(new this.compiler).compile(a,this.options),d=this.guid++;
28−this.usePartial=this.usePartial||c.usePartial,this.children[d]=c;for(var e=0,f=c.depths.list.length;f>e;e++)b=c.depths.list[e],2>b||this.addDepth(b-1);return d},block:function(a){var b=a.mustache,c=a.program,d=a.inverse;c&&(c=this.compileProgram(c)),d&&(d=this.compileProgram(d));var e=b.sexpr,f=this.classifySexpr(e);"helper"===f?this.helperSexpr(e,c,d):"simple"===f?(this.simpleSexpr(e),this.opcode("pushProgram",c),this.opcode("pushProgram",d),this.opcode("emptyHash"),this.opcode("blockValue",e.id.original)):(this.ambiguousSexpr(e,c,d),this.opcode("pushProgram",c),this.opcode("pushProgram",d),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},hash:function(a){var b,c,d=a.pairs;for(this.opcode("pushHash"),b=0,c=d.length;c>b;b++)this.pushParam(d[b][1]);for(;b--;)this.opcode("assignToHash",d[b][0]);this.opcode("popHash")},partial:function(a){var b=a.partialName;this.usePartial=!0,a.hash?this.accept(a.hash):this.opcode("push","undefined"),a.context?this.accept(a.context):(this.opcode("getContext",0),this.opcode("pushContext")),this.opcode("invokePartial",b.name,a.indent||""),this.opcode("append")},content:function(a){a.string&&this.opcode("appendContent",a.string)},mustache:function(a){this.sexpr(a.sexpr),a.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},ambiguousSexpr:function(a,b,c){var d=a.id,e=d.parts[0],f=null!=b||null!=c;this.opcode("getContext",d.depth),this.opcode("pushProgram",b),this.opcode("pushProgram",c),this.ID(d),this.opcode("invokeAmbiguous",e,f)},simpleSexpr:function(a){var b=a.id;"DATA"===b.type?this.DATA(b):b.parts.length?this.ID(b):(this.addDepth(b.depth),this.opcode("getContext",b.depth),this.opcode("pushContext")),this.opcode("resolvePossibleLambda")},helperSexpr:function(a,b,c){var d=this.setupFullMustacheParams(a,b,c),e=a.id,f=e.parts[0];if(this.options.knownHelpers[f])this.opcode("invokeKnownHelper",d.length,f);else{if(this.options.knownHelpersOnly)throw new h("You specified knownHelpersOnly, but used the unknown helper "+f,a);e.falsy=!0,this.ID(e),this.opcode("invokeHelper",d.length,e.original,e.isSimple)}},sexpr:function(a){var b=this.classifySexpr(a);"simple"===b?this.simpleSexpr(a):"helper"===b?this.helperSexpr(a):this.ambiguousSexpr(a)},ID:function(a){this.addDepth(a.depth),this.opcode("getContext",a.depth);var b=a.parts[0];b?this.opcode("lookupOnContext",a.parts,a.falsy,a.isScoped):this.opcode("pushContext")},DATA:function(a){this.options.data=!0,this.opcode("lookupData",a.id.depth,a.id.parts)},STRING:function(a){this.opcode("pushString",a.string)},NUMBER:function(a){this.opcode("pushLiteral",a.number)},BOOLEAN:function(a){this.opcode("pushLiteral",a.bool)},comment:function(){},opcode:function(a){this.opcodes.push({opcode:a,args:j.call(arguments,1)})},addDepth:function(a){0!==a&&(this.depths[a]||(this.depths[a]=!0,this.depths.list.push(a)))},classifySexpr:function(a){var b=a.isHelper,c=a.eligibleHelper,d=this.options;if(c&&!b){var e=a.id.parts[0];d.knownHelpers[e]?b=!0:d.knownHelpersOnly&&(c=!1)}return b?"helper":c?"ambiguous":"simple"},pushParams:function(a){for(var b=0,c=a.length;c>b;b++)this.pushParam(a[b])},pushParam:function(a){this.stringParams?(a.depth&&this.addDepth(a.depth),this.opcode("getContext",a.depth||0),this.opcode("pushStringParam",a.stringModeValue,a.type),"sexpr"===a.type&&this.sexpr(a)):(this.trackIds&&this.opcode("pushId",a.type,a.idName||a.stringModeValue),this.accept(a))},setupFullMustacheParams:function(a,b,c){var d=a.params;return this.pushParams(d),this.opcode("pushProgram",b),this.opcode("pushProgram",c),a.hash?this.hash(a.hash):this.opcode("emptyHash"),d}},g.precompile=d,g.compile=e,g}(c,b),l=function(a,b){"use strict";function c(a){this.value=a}function d(){}var e,f=a.COMPILER_REVISION,g=a.REVISION_CHANGES,h=b;d.prototype={nameLookup:function(a,b){return d.isValidJavaScriptVariableName(b)?a+"."+b:a+"['"+b+"']"},depthedLookup:function(a){return this.aliases.lookup="this.lookup",'lookup(depths, "'+a+'")'},compilerInfo:function(){var a=f,b=g[a];return[a,b]},appendToBuffer:function(a){return this.environment.isSimple?"return "+a+";":{appendToBuffer:!0,content:a,toString:function(){return"buffer += "+a+";"}}},initializeBuffer:function(){return this.quotedString("")},namespace:"Handlebars",compile:function(a,b,c,d){this.environment=a,this.options=b,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!d,this.name=this.environment.name,this.isChild=!!c,this.context=c||{programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.compileChildren(a,b),this.useDepths=this.useDepths||a.depths.list.length||this.options.compat;var e,f,g,i=a.opcodes;for(f=0,g=i.length;g>f;f++)e=i[f],this[e.opcode].apply(this,e.args);if(this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new h("Compile completed with content left on stack");var j=this.createFunctionContext(d);if(this.isChild)return j;var k={compiler:this.compilerInfo(),main:j},l=this.context.programs;for(f=0,g=l.length;g>f;f++)l[f]&&(k[f]=l[f]);return this.environment.usePartial&&(k.usePartial=!0),this.options.data&&(k.useData=!0),this.useDepths&&(k.useDepths=!0),this.options.compat&&(k.compat=!0),d||(k.compiler=JSON.stringify(k.compiler),k=this.objectLiteral(k)),k},preamble:function(){this.lastContext=0,this.source=[]},createFunctionContext:function(a){var b="",c=this.stackVars.concat(this.registers.list);c.length>0&&(b+=", "+c.join(", "));for(var d in this.aliases)this.aliases.hasOwnProperty(d)&&(b+=", "+d+"="+this.aliases[d]);var e=["depth0","helpers","partials","data"];this.useDepths&&e.push("depths");var f=this.mergeSource(b);return a?(e.push(f),Function.apply(this,e)):"function("+e.join(",")+") {\n "+f+"}"},mergeSource:function(a){for(var b,c,d="",e=!this.forceBuffer,f=0,g=this.source.length;g>f;f++){var h=this.source[f];h.appendToBuffer?b=b?b+"\n + "+h.content:h.content:(b&&(d?d+="buffer += "+b+";\n ":(c=!0,d=b+";\n "),b=void 0),d+=h+"\n ",this.environment.isSimple||(e=!1))}return e?(b||!d)&&(d+="return "+(b||'""')+";\n"):(a+=", buffer = "+(c?"":this.initializeBuffer()),d+=b?"return buffer + "+b+";\n":"return buffer;\n"),a&&(d="var "+a.substring(2)+(c?"":";\n ")+d),d},blockValue:function(a){this.aliases.blockHelperMissing="helpers.blockHelperMissing";var b=[this.contextName(0)];this.setupParams(a,0,b);var c=this.popStack();b.splice(1,0,c),this.push("blockHelperMissing.call("+b.join(", ")+")")},ambiguousBlockValue:function(){this.aliases.blockHelperMissing="helpers.blockHelperMissing";var a=[this.contextName(0)];this.setupParams("",0,a,!0),this.flushInline();var b=this.topStack();a.splice(1,0,b),this.pushSource("if (!"+this.lastHelper+") { "+b+" = blockHelperMissing.call("+a.join(", ")+"); }")},appendContent:function(a){this.pendingContent&&(a=this.pendingContent+a),this.pendingContent=a},append:function(){this.flushInline();var a=this.popStack();this.pushSource("if ("+a+" != null) { "+this.appendToBuffer(a)+" }"),this.environment.isSimple&&this.pushSource("else { "+this.appendToBuffer("''")+" }")},appendEscaped:function(){this.aliases.escapeExpression="this.escapeExpression",this.pushSource(this.appendToBuffer("escapeExpression("+this.popStack()+")"))},getContext:function(a){this.lastContext=a},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(a,b,c){var d=0,e=a.length;for(c||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(a[d++]));e>d;d++)this.replaceStack(function(c){var e=this.nameLookup(c,a[d],"context");return b?" && "+e:" != null ? "+e+" : "+c})},lookupData:function(a,b){a?this.pushStackLiteral("this.data(data, "+a+")"):this.pushStackLiteral("data");for(var c=b.length,d=0;c>d;d++)this.replaceStack(function(a){return" && "+this.nameLookup(a,b[d],"data")})},resolvePossibleLambda:function(){this.aliases.lambda="this.lambda",this.push("lambda("+this.popStack()+", "+this.contextName(0)+")")},pushStringParam:function(a,b){this.pushContext(),this.pushString(b),"sexpr"!==b&&("string"==typeof a?this.pushString(a):this.pushStackLiteral(a))},emptyHash:function(){this.pushStackLiteral("{}"),this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}"))},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:[],types:[],contexts:[],ids:[]}},popHash:function(){var a=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push("{"+a.ids.join(",")+"}"),this.stringParams&&(this.push("{"+a.contexts.join(",")+"}"),this.push("{"+a.types.join(",")+"}")),this.push("{\n "+a.values.join(",\n ")+"\n }")},pushString:function(a){this.pushStackLiteral(this.quotedString(a))},push:function(a){return this.inlineStack.push(a),a},pushLiteral:function(a){this.pushStackLiteral(a)},pushProgram:function(a){null!=a?this.pushStackLiteral(this.programExpression(a)):this.pushStackLiteral(null)},invokeHelper:function(a,b,c){this.aliases.helperMissing="helpers.helperMissing";var d=this.popStack(),e=this.setupHelper(a,b),f=(c?e.name+" || ":"")+d+" || helperMissing";this.push("(("+f+").call("+e.callParams+"))")},invokeKnownHelper:function(a,b){var c=this.setupHelper(a,b);this.push(c.name+".call("+c.callParams+")")},invokeAmbiguous:function(a,b){this.aliases.functionType='"function"',this.aliases.helperMissing="helpers.helperMissing",this.useRegister("helper");var c=this.popStack();this.emptyHash();var d=this.setupHelper(0,a,b),e=this.lastHelper=this.nameLookup("helpers",a,"helper");this.push("((helper = (helper = "+e+" || "+c+") != null ? helper : helperMissing"+(d.paramsInit?"),("+d.paramsInit:"")+"),(typeof helper === functionType ? helper.call("+d.callParams+") : helper))")},invokePartial:function(a,b){var c=[this.nameLookup("partials",a,"partial"),"'"+b+"'","'"+a+"'",this.popStack(),this.popStack(),"helpers","partials"];this.options.data?c.push("data"):this.options.compat&&c.push("undefined"),this.options.compat&&c.push("depths"),this.push("this.invokePartial("+c.join(", ")+")")},assignToHash:function(a){var b,c,d,e=this.popStack();this.trackIds&&(d=this.popStack()),this.stringParams&&(c=this.popStack(),b=this.popStack());var f=this.hash;b&&f.contexts.push("'"+a+"': "+b),c&&f.types.push("'"+a+"': "+c),d&&f.ids.push("'"+a+"': "+d),f.values.push("'"+a+"': ("+e+")")},pushId:function(a,b){"ID"===a||"DATA"===a?this.pushString(b):"sexpr"===a?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:d,compileChildren:function(a,b){for(var c,d,e=a.children,f=0,g=e.length;g>f;f++){c=e[f],d=new this.compiler;var h=this.matchExistingProgram(c);null==h?(this.context.programs.push(""),h=this.context.programs.length,c.index=h,c.name="program"+h,this.context.programs[h]=d.compile(c,b,this.context,!this.precompile),this.context.environments[h]=c,this.useDepths=this.useDepths||d.useDepths):(c.index=h,c.name="program"+h)}},matchExistingProgram:function(a){for(var b=0,c=this.context.environments.length;c>b;b++){var d=this.context.environments[b];if(d&&d.equals(a))return b}},programExpression:function(a){var b=this.environment.children[a],c=(b.depths.list,this.useDepths),d=[b.index,"data"];return c&&d.push("depths"),"this.program("+d.join(", ")+")"},useRegister:function(a){this.registers[a]||(this.registers[a]=!0,this.registers.list.push(a))},pushStackLiteral:function(a){return this.push(new c(a))},pushSource:function(a){this.pendingContent&&(this.source.push(this.appendToBuffer(this.quotedString(this.pendingContent))),this.pendingContent=void 0),a&&this.source.push(a)},pushStack:function(a){this.flushInline();var b=this.incrStack();return this.pushSource(b+" = "+a+";"),this.compileStack.push(b),b},replaceStack:function(a){{var b,d,e,f="";this.isInline()}if(!this.isInline())throw new h("replaceStack on non-inline");var g=this.popStack(!0);if(g instanceof c)f=b=g.value,e=!0;else{d=!this.stackSlot;var i=d?this.incrStack():this.topStackName();f="("+this.push(i)+" = "+g+")",b=this.topStack()}var j=a.call(this,b);e||this.popStack(),d&&this.stackSlot--,this.push("("+f+j+")")},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var a=this.inlineStack;if(a.length){this.inlineStack=[];for(var b=0,d=a.length;d>b;b++){var e=a[b];e instanceof c?this.compileStack.push(e):this.pushStack(e)}}},isInline:function(){return this.inlineStack.length},popStack:function(a){var b=this.isInline(),d=(b?this.inlineStack:this.compileStack).pop();if(!a&&d instanceof c)return d.value;if(!b){if(!this.stackSlot)throw new h("Invalid stack pop");this.stackSlot--}return d},topStack:function(){var a=this.isInline()?this.inlineStack:this.compileStack,b=a[a.length-1];return b instanceof c?b.value:b},contextName:function(a){return this.useDepths&&a?"depths["+a+"]":"depth"+a},quotedString:function(a){return'"'+a.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function(a){var b=[];for(var c in a)a.hasOwnProperty(c)&&b.push(this.quotedString(c)+":"+a[c]);return"{"+b.join(",")+"}"},setupHelper:function(a,b,c){var d=[],e=this.setupParams(b,a,d,c),f=this.nameLookup("helpers",b,"helper");return{params:d,paramsInit:e,name:f,callParams:[this.contextName(0)].concat(d).join(", ")}},setupOptions:function(a,b,c){var d,e,f,g={},h=[],i=[],j=[];g.name=this.quotedString(a),g.hash=this.popStack(),this.trackIds&&(g.hashIds=this.popStack()),this.stringParams&&(g.hashTypes=this.popStack(),g.hashContexts=this.popStack()),e=this.popStack(),f=this.popStack(),(f||e)&&(f||(f="this.noop"),e||(e="this.noop"),g.fn=f,g.inverse=e);for(var k=b;k--;)d=this.popStack(),c[k]=d,this.trackIds&&(j[k]=this.popStack()),this.stringParams&&(i[k]=this.popStack(),h[k]=this.popStack());return this.trackIds&&(g.ids="["+j.join(",")+"]"),this.stringParams&&(g.types="["+i.join(",")+"]",g.contexts="["+h.join(",")+"]"),this.options.data&&(g.data="data"),g},setupParams:function(a,b,c,d){var e=this.objectLiteral(this.setupOptions(a,b,c));return d?(this.useRegister("options"),c.push("options"),"options="+e):(c.push(e),"")}};for(var i="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield".split(" "),j=d.RESERVED_WORDS={},k=0,l=i.length;l>k;k++)j[i[k]]=!0;return d.isValidJavaScriptVariableName=function(a){return!d.RESERVED_WORDS[a]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(a)},e=d}(d,c),m=function(a,b,c,d,e){"use strict";var f,g=a,h=b,i=c.parser,j=c.parse,k=d.Compiler,l=d.compile,m=d.precompile,n=e,o=g.create,p=function(){var a=o();return a.compile=function(b,c){return l(b,c,a)},a.precompile=function(b,c){return m(b,c,a)},a.AST=h,a.Compiler=k,a.JavaScriptCompiler=n,a.Parser=i,a.parse=j,a};return g=p(),g.create=p,g["default"]=g,f=g}(f,g,j,k,l);return m});
swagger-dist-2.1.5/lib/highlight.9.1.0.pack.jsdeleted−2
@@ -1,2 +0,0 @@
1−/*! highlight.js v9.1.0 | BSD3 License | git.io/hljslicense */
2−!function(e){"undefined"!=typeof exports?e(exports):(self.hljs=e({}),"function"==typeof define&&define.amd&&define("hljs",[],function(){return self.hljs}))}(function(e){function n(e){return e.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;")}function t(e){return e.nodeName.toLowerCase()}function r(e,n){var t=e&&e.exec(n);return t&&0==t.index}function a(e){return/^(no-?highlight|plain|text)$/i.test(e)}function i(e){var n,t,r,i=e.className+" ";if(i+=e.parentNode?e.parentNode.className:"",t=/\blang(?:uage)?-([\w-]+)\b/i.exec(i))return E(t[1])?t[1]:"no-highlight";for(i=i.split(/\s+/),n=0,r=i.length;r>n;n++)if(E(i[n])||a(i[n]))return i[n]}function o(e,n){var t,r={};for(t in e)r[t]=e[t];if(n)for(t in n)r[t]=n[t];return r}function u(e){var n=[];return function r(e,a){for(var i=e.firstChild;i;i=i.nextSibling)3==i.nodeType?a+=i.nodeValue.length:1==i.nodeType&&(n.push({event:"start",offset:a,node:i}),a=r(i,a),t(i).match(/br|hr|img|input/)||n.push({event:"stop",offset:a,node:i}));return a}(e,0),n}function c(e,r,a){function i(){return e.length&&r.length?e[0].offset!=r[0].offset?e[0].offset<r[0].offset?e:r:"start"==r[0].event?e:r:e.length?e:r}function o(e){function r(e){return" "+e.nodeName+'="'+n(e.value)+'"'}l+="<"+t(e)+Array.prototype.map.call(e.attributes,r).join("")+">"}function u(e){l+="</"+t(e)+">"}function c(e){("start"==e.event?o:u)(e.node)}for(var s=0,l="",f=[];e.length||r.length;){var g=i();if(l+=n(a.substr(s,g[0].offset-s)),s=g[0].offset,g==e){f.reverse().forEach(u);do c(g.splice(0,1)[0]),g=i();while(g==e&&g.length&&g[0].offset==s);f.reverse().forEach(o)}else"start"==g[0].event?f.push(g[0].node):f.pop(),c(g.splice(0,1)[0])}return l+n(a.substr(s))}function s(e){function n(e){return e&&e.source||e}function t(t,r){return new RegExp(n(t),"m"+(e.cI?"i":"")+(r?"g":""))}function r(a,i){if(!a.compiled){if(a.compiled=!0,a.k=a.k||a.bK,a.k){var u={},c=function(n,t){e.cI&&(t=t.toLowerCase()),t.split(" ").forEach(function(e){var t=e.split("|");u[t[0]]=[n,t[1]?Number(t[1]):1]})};"string"==typeof a.k?c("keyword",a.k):Object.keys(a.k).forEach(function(e){c(e,a.k[e])}),a.k=u}a.lR=t(a.l||/\b\w+\b/,!0),i&&(a.bK&&(a.b="\\b("+a.bK.split(" ").join("|")+")\\b"),a.b||(a.b=/\B|\b/),a.bR=t(a.b),a.e||a.eW||(a.e=/\B|\b/),a.e&&(a.eR=t(a.e)),a.tE=n(a.e)||"",a.eW&&i.tE&&(a.tE+=(a.e?"|":"")+i.tE)),a.i&&(a.iR=t(a.i)),void 0===a.r&&(a.r=1),a.c||(a.c=[]);var s=[];a.c.forEach(function(e){e.v?e.v.forEach(function(n){s.push(o(e,n))}):s.push("self"==e?a:e)}),a.c=s,a.c.forEach(function(e){r(e,a)}),a.starts&&r(a.starts,i);var l=a.c.map(function(e){return e.bK?"\\.?("+e.b+")\\.?":e.b}).concat([a.tE,a.i]).map(n).filter(Boolean);a.t=l.length?t(l.join("|"),!0):{exec:function(){return null}}}}r(e)}function l(e,t,a,i){function o(e,n){for(var t=0;t<n.c.length;t++)if(r(n.c[t].bR,e))return n.c[t]}function u(e,n){if(r(e.eR,n)){for(;e.endsParent&&e.parent;)e=e.parent;return e}return e.eW?u(e.parent,n):void 0}function c(e,n){return!a&&r(n.iR,e)}function g(e,n){var t=N.cI?n[0].toLowerCase():n[0];return e.k.hasOwnProperty(t)&&e.k[t]}function h(e,n,t,r){var a=r?"":x.classPrefix,i='<span class="'+a,o=t?"":"</span>";return i+=e+'">',i+n+o}function p(){if(!L.k)return n(M);var e="",t=0;L.lR.lastIndex=0;for(var r=L.lR.exec(M);r;){e+=n(M.substr(t,r.index-t));var a=g(L,r);a?(B+=a[1],e+=h(a[0],n(r[0]))):e+=n(r[0]),t=L.lR.lastIndex,r=L.lR.exec(M)}return e+n(M.substr(t))}function d(){var e="string"==typeof L.sL;if(e&&!R[L.sL])return n(M);var t=e?l(L.sL,M,!0,y[L.sL]):f(M,L.sL.length?L.sL:void 0);return L.r>0&&(B+=t.r),e&&(y[L.sL]=t.top),h(t.language,t.value,!1,!0)}function b(){return void 0!==L.sL?d():p()}function v(e,t){var r=e.cN?h(e.cN,"",!0):"";e.rB?(k+=r,M=""):e.eB?(k+=n(t)+r,M=""):(k+=r,M=t),L=Object.create(e,{parent:{value:L}})}function m(e,t){if(M+=e,void 0===t)return k+=b(),0;var r=o(t,L);if(r)return k+=b(),v(r,t),r.rB?0:t.length;var a=u(L,t);if(a){var i=L;i.rE||i.eE||(M+=t),k+=b();do L.cN&&(k+="</span>"),B+=L.r,L=L.parent;while(L!=a.parent);return i.eE&&(k+=n(t)),M="",a.starts&&v(a.starts,""),i.rE?0:t.length}if(c(t,L))throw new Error('Illegal lexeme "'+t+'" for mode "'+(L.cN||"<unnamed>")+'"');return M+=t,t.length||1}var N=E(e);if(!N)throw new Error('Unknown language: "'+e+'"');s(N);var w,L=i||N,y={},k="";for(w=L;w!=N;w=w.parent)w.cN&&(k=h(w.cN,"",!0)+k);var M="",B=0;try{for(var C,j,I=0;;){if(L.t.lastIndex=I,C=L.t.exec(t),!C)break;j=m(t.substr(I,C.index-I),C[0]),I=C.index+j}for(m(t.substr(I)),w=L;w.parent;w=w.parent)w.cN&&(k+="</span>");return{r:B,value:k,language:e,top:L}}catch(O){if(-1!=O.message.indexOf("Illegal"))return{r:0,value:n(t)};throw O}}function f(e,t){t=t||x.languages||Object.keys(R);var r={r:0,value:n(e)},a=r;return t.forEach(function(n){if(E(n)){var t=l(n,e,!1);t.language=n,t.r>a.r&&(a=t),t.r>r.r&&(a=r,r=t)}}),a.language&&(r.second_best=a),r}function g(e){return x.tabReplace&&(e=e.replace(/^((<[^>]+>|\t)+)/gm,function(e,n){return n.replace(/\t/g,x.tabReplace)})),x.useBR&&(e=e.replace(/\n/g,"<br>")),e}function h(e,n,t){var r=n?w[n]:t,a=[e.trim()];return e.match(/\bhljs\b/)||a.push("hljs"),-1===e.indexOf(r)&&a.push(r),a.join(" ").trim()}function p(e){var n=i(e);if(!a(n)){var t;x.useBR?(t=document.createElementNS("http://www.w3.org/1999/xhtml","div"),t.innerHTML=e.innerHTML.replace(/\n/g,"").replace(/<br[ \/]*>/g,"\n")):t=e;var r=t.textContent,o=n?l(n,r,!0):f(r),s=u(t);if(s.length){var p=document.createElementNS("http://www.w3.org/1999/xhtml","div");p.innerHTML=o.value,o.value=c(s,u(p),r)}o.value=g(o.value),e.innerHTML=o.value,e.className=h(e.className,n,o.language),e.result={language:o.language,re:o.r},o.second_best&&(e.second_best={language:o.second_best.language,re:o.second_best.r})}}function d(e){x=o(x,e)}function b(){if(!b.called){b.called=!0;var e=document.querySelectorAll("pre code");Array.prototype.forEach.call(e,p)}}function v(){addEventListener("DOMContentLoaded",b,!1),addEventListener("load",b,!1)}function m(n,t){var r=R[n]=t(e);r.aliases&&r.aliases.forEach(function(e){w[e]=n})}function N(){return Object.keys(R)}function E(e){return e=(e||"").toLowerCase(),R[e]||R[w[e]]}var x={classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:void 0},R={},w={};return e.highlight=l,e.highlightAuto=f,e.fixMarkup=g,e.highlightBlock=p,e.configure=d,e.initHighlighting=b,e.initHighlightingOnLoad=v,e.registerLanguage=m,e.listLanguages=N,e.getLanguage=E,e.inherit=o,e.IR="[a-zA-Z]\\w*",e.UIR="[a-zA-Z_]\\w*",e.NR="\\b\\d+(\\.\\d+)?",e.CNR="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",e.BNR="\\b(0b[01]+)",e.RSR="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",e.BE={b:"\\\\[\\s\\S]",r:0},e.ASM={cN:"string",b:"'",e:"'",i:"\\n",c:[e.BE]},e.QSM={cN:"string",b:'"',e:'"',i:"\\n",c:[e.BE]},e.PWM={b:/\b(a|an|the|are|I|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|like)\b/},e.C=function(n,t,r){var a=e.inherit({cN:"comment",b:n,e:t,c:[]},r||{});return a.c.push(e.PWM),a.c.push({cN:"doctag",b:"(?:TODO|FIXME|NOTE|BUG|XXX):",r:0}),a},e.CLCM=e.C("//","$"),e.CBCM=e.C("/\\*","\\*/"),e.HCM=e.C("#","$"),e.NM={cN:"number",b:e.NR,r:0},e.CNM={cN:"number",b:e.CNR,r:0},e.BNM={cN:"number",b:e.BNR,r:0},e.CSSNM={cN:"number",b:e.NR+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",r:0},e.RM={cN:"regexp",b:/\//,e:/\/[gimuy]*/,i:/\n/,c:[e.BE,{b:/\[/,e:/\]/,r:0,c:[e.BE]}]},e.TM={cN:"title",b:e.IR,r:0},e.UTM={cN:"title",b:e.UIR,r:0},e});hljs.registerLanguage("json",function(e){var t={literal:"true false null"},i=[e.QSM,e.CNM],r={e:",",eW:!0,eE:!0,c:i,k:t},s={b:"{",e:"}",c:[{cN:"attr",b:'\\s*"',e:'"\\s*:\\s*',eB:!0,eE:!0,c:[e.BE],i:"\\n",starts:r}],i:"\\S"},n={b:"\\[",e:"\\]",c:[e.inherit(r)],i:"\\S"};return i.splice(i.length,0,s,n),{c:i,k:t,i:"\\S"}});hljs.registerLanguage("xml",function(s){var t="[A-Za-z0-9\\._:-]+",e={b:/<\?(php)?(?!\w)/,e:/\?>/,sL:"php"},r={eW:!0,i:/</,r:0,c:[e,{cN:"attr",b:t,r:0},{b:"=",r:0,c:[{cN:"string",c:[e],v:[{b:/"/,e:/"/},{b:/'/,e:/'/},{b:/[^\s\/>]+/}]}]}]};return{aliases:["html","xhtml","rss","atom","xsl","plist"],cI:!0,c:[{cN:"meta",b:"<!DOCTYPE",e:">",r:10,c:[{b:"\\[",e:"\\]"}]},s.C("<!--","-->",{r:10}),{b:"<\\!\\[CDATA\\[",e:"\\]\\]>",r:10},{cN:"tag",b:"<style(?=\\s|>|$)",e:">",k:{name:"style"},c:[r],starts:{e:"</style>",rE:!0,sL:["css","xml"]}},{cN:"tag",b:"<script(?=\\s|>|$)",e:">",k:{name:"script"},c:[r],starts:{e:"</script>",rE:!0,sL:["actionscript","javascript","handlebars","xml"]}},e,{cN:"meta",b:/<\?\w+/,e:/\?>/,r:10},{cN:"tag",b:"</?",e:"/?>",c:[{cN:"name",b:/[^\/><\s]+/,r:0},r]}]}});hljs.registerLanguage("javascript",function(e){return{aliases:["js"],k:{keyword:"in of if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await import from as",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Promise"},c:[{cN:"meta",r:10,b:/^\s*['"]use (strict|asm)['"]/},{cN:"meta",b:/^#!/,e:/$/},e.ASM,e.QSM,{cN:"string",b:"`",e:"`",c:[e.BE,{cN:"subst",b:"\\$\\{",e:"\\}"}]},e.CLCM,e.CBCM,{cN:"number",v:[{b:"\\b(0[bB][01]+)"},{b:"\\b(0[oO][0-7]+)"},{b:e.CNR}],r:0},{b:"("+e.RSR+"|\\b(case|return|throw)\\b)\\s*",k:"return throw case",c:[e.CLCM,e.CBCM,e.RM,{b:/</,e:/>\s*[);\]]/,r:0,sL:"xml"}],r:0},{cN:"function",bK:"function",e:/\{/,eE:!0,c:[e.inherit(e.TM,{b:/[A-Za-z$_][0-9A-Za-z$_]*/}),{cN:"params",b:/\(/,e:/\)/,eB:!0,eE:!0,c:[e.CLCM,e.CBCM]}],i:/\[|%/},{b:/\$[(.]/},{b:"\\."+e.IR,r:0},{cN:"class",bK:"class",e:/[{;=]/,eE:!0,i:/[:"\[\]]/,c:[{bK:"extends"},e.UTM]},{bK:"constructor",e:/\{/,eE:!0}],i:/#(?!!)/}});hljs.registerLanguage("css",function(e){var c="[a-zA-Z-][a-zA-Z0-9_-]*",t={b:/[A-Z\_\.\-]+\s*:/,rB:!0,e:";",eW:!0,c:[{cN:"attribute",b:/\S/,e:":",eE:!0,starts:{eW:!0,eE:!0,c:[{b:/[\w-]+\s*\(/,rB:!0,c:[{cN:"built_in",b:/[\w-]+/}]},e.CSSNM,e.QSM,e.ASM,e.CBCM,{cN:"number",b:"#[0-9A-Fa-f]+"},{cN:"meta",b:"!important"}]}}]};return{cI:!0,i:/[=\/|'\$]/,c:[e.CBCM,{cN:"selector-id",b:/#[A-Za-z0-9_-]+/},{cN:"selector-class",b:/\.[A-Za-z0-9_-]+/},{cN:"selector-attr",b:/\[/,e:/\]/,i:"$"},{cN:"selector-pseudo",b:/:(:)?[a-zA-Z0-9\_\-\+\(\)"'.]+/},{b:"@(font-face|page)",l:"[a-z-]+",k:"font-face page"},{b:"@",e:"[{;]",c:[{cN:"keyword",b:/\S+/},{b:/\s/,eW:!0,eE:!0,r:0,c:[e.ASM,e.QSM,e.CSSNM]}]},{cN:"selector-tag",b:c,r:0},{b:"{",e:"}",i:/\S/,c:[e.CBCM,t]}]}});
swagger-dist-2.1.5/lib/highlight.9.1.0.pack_extended.jsdeleted−34
@@ -1,34 +0,0 @@
1−'use strict';
2−
3−(function () {
4− var configure, highlightBlock;
5−
6− configure = hljs.configure;
7− // "extending" hljs.configure method
8− hljs.configure = function _configure (options) {
9− var size = options.highlightSizeThreshold;
10−
11− // added highlightSizeThreshold option to set maximum size
12− // of processed string. Set to null if not a number
13− hljs.highlightSizeThreshold = size === +size ? size : null;
14−
15− configure.call(this, options);
16− };
17−
18− highlightBlock = hljs.highlightBlock;
19−
20− // "extending" hljs.highlightBlock method
21− hljs.highlightBlock = function _highlightBlock (el) {
22− var innerHTML = el.innerHTML;
23− var size = hljs.highlightSizeThreshold;
24−
25− // check if highlightSizeThreshold is not set or element innerHTML
26− // is less than set option highlightSizeThreshold
27− if (size == null || size > innerHTML.length) {
28− // proceed with hljs.highlightBlock
29− highlightBlock.call(hljs, el);
30− }
31− };
32−
33−})();
34−
swagger-dist-2.1.5/lib/jquery-1.8.0.min.jsdeleted−2
@@ -1,2 +0,0 @@
1−/*! jQuery v@1.8.0 jquery.com | jquery.org/license */
2−(function(a,b){function G(a){var b=F[a]={};return p.each(a.split(s),function(a,c){b[c]=!0}),b}function J(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(I,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:+d+""===d?+d:H.test(d)?p.parseJSON(d):d}catch(f){}p.data(a,c,d)}else d=b}return d}function K(a){var b;for(b in a){if(b==="data"&&p.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function ba(){return!1}function bb(){return!0}function bh(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function bi(a,b){do a=a[b];while(a&&a.nodeType!==1);return a}function bj(a,b,c){b=b||0;if(p.isFunction(b))return p.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return p.grep(a,function(a,d){return a===b===c});if(typeof b=="string"){var d=p.grep(a,function(a){return a.nodeType===1});if(be.test(b))return p.filter(b,d,!c);b=p.filter(b,d)}return p.grep(a,function(a,d){return p.inArray(a,b)>=0===c})}function bk(a){var b=bl.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}function bC(a,b){return a.getElementsByTagName(b)[0]||a.appendChild(a.ownerDocument.createElement(b))}function bD(a,b){if(b.nodeType!==1||!p.hasData(a))return;var c,d,e,f=p._data(a),g=p._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;d<e;d++)p.event.add(b,c,h[c][d])}g.data&&(g.data=p.extend({},g.data))}function bE(a,b){var c;if(b.nodeType!==1)return;b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(a),c=b.nodeName.toLowerCase(),c==="object"?(b.parentNode&&(b.outerHTML=a.outerHTML),p.support.html5Clone&&a.innerHTML&&!p.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):c==="input"&&bv.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):c==="option"?b.selected=a.defaultSelected:c==="input"||c==="textarea"?b.defaultValue=a.defaultValue:c==="script"&&b.text!==a.text&&(b.text=a.text),b.removeAttribute(p.expando)}function bF(a){return typeof a.getElementsByTagName!="undefined"?a.getElementsByTagName("*"):typeof a.querySelectorAll!="undefined"?a.querySelectorAll("*"):[]}function bG(a){bv.test(a.type)&&(a.defaultChecked=a.checked)}function bX(a,b){if(b in a)return b;var c=b.charAt(0).toUpperCase()+b.slice(1),d=b,e=bV.length;while(e--){b=bV[e]+c;if(b in a)return b}return d}function bY(a,b){return a=b||a,p.css(a,"display")==="none"||!p.contains(a.ownerDocument,a)}function bZ(a,b){var c,d,e=[],f=0,g=a.length;for(;f<g;f++){c=a[f];if(!c.style)continue;e[f]=p._data(c,"olddisplay"),b?(!e[f]&&c.style.display==="none"&&(c.style.display=""),c.style.display===""&&bY(c)&&(e[f]=p._data(c,"olddisplay",cb(c.nodeName)))):(d=bH(c,"display"),!e[f]&&d!=="none"&&p._data(c,"olddisplay",d))}for(f=0;f<g;f++){c=a[f];if(!c.style)continue;if(!b||c.style.display==="none"||c.style.display==="")c.style.display=b?e[f]||"":"none"}return a}function b$(a,b,c){var d=bO.exec(b);return d?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b}function b_(a,b,c,d){var e=c===(d?"border":"content")?4:b==="width"?1:0,f=0;for(;e<4;e+=2)c==="margin"&&(f+=p.css(a,c+bU[e],!0)),d?(c==="content"&&(f-=parseFloat(bH(a,"padding"+bU[e]))||0),c!=="margin"&&(f-=parseFloat(bH(a,"border"+bU[e]+"Width"))||0)):(f+=parseFloat(bH(a,"padding"+bU[e]))||0,c!=="padding"&&(f+=parseFloat(bH(a,"border"+bU[e]+"Width"))||0));return f}function ca(a,b,c){var d=b==="width"?a.offsetWidth:a.offsetHeight,e=!0,f=p.support.boxSizing&&p.css(a,"boxSizing")==="border-box";if(d<=0){d=bH(a,b);if(d<0||d==null)d=a.style[b];if(bP.test(d))return d;e=f&&(p.support.boxSizingReliable||d===a.style[b]),d=parseFloat(d)||0}return d+b_(a,b,c||(f?"border":"content"),e)+"px"}function cb(a){if(bR[a])return bR[a];var b=p("<"+a+">").appendTo(e.body),c=b.css("display");b.remove();if(c==="none"||c===""){bI=e.body.appendChild(bI||p.extend(e.createElement("iframe"),{frameBorder:0,width:0,height:0}));if(!bJ||!bI.createElement)bJ=(bI.contentWindow||bI.contentDocument).document,bJ.write("<!doctype html><html><body>"),bJ.close();b=bJ.body.appendChild(bJ.createElement(a)),c=bH(b,"display"),e.body.removeChild(bI)}return bR[a]=c,c}function ch(a,b,c,d){var e;if(p.isArray(b))p.each(b,function(b,e){c||cd.test(a)?d(a,e):ch(a+"["+(typeof e=="object"?b:"")+"]",e,c,d)});else if(!c&&p.type(b)==="object")for(e in b)ch(a+"["+e+"]",b[e],c,d);else d(a,b)}function cy(a){return function(b,c){typeof b!="string"&&(c=b,b="*");var d,e,f,g=b.toLowerCase().split(s),h=0,i=g.length;if(p.isFunction(c))for(;h<i;h++)d=g[h],f=/^\+/.test(d),f&&(d=d.substr(1)||"*"),e=a[d]=a[d]||[],e[f?"unshift":"push"](c)}}function cz(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var h,i=a[f],j=0,k=i?i.length:0,l=a===cu;for(;j<k&&(l||!h);j++)h=i[j](c,d,e),typeof h=="string"&&(!l||g[h]?h=b:(c.dataTypes.unshift(h),h=cz(a,c,d,e,h,g)));return(l||!h)&&!g["*"]&&(h=cz(a,c,d,e,"*",g)),h}function cA(a,c){var d,e,f=p.ajaxSettings.flatOptions||{};for(d in c)c[d]!==b&&((f[d]?a:e||(e={}))[d]=c[d]);e&&p.extend(!0,a,e)}function cB(a,c,d){var e,f,g,h,i=a.contents,j=a.dataTypes,k=a.responseFields;for(f in k)f in d&&(c[k[f]]=d[f]);while(j[0]==="*")j.shift(),e===b&&(e=a.mimeType||c.getResponseHeader("content-type"));if(e)for(f in i)if(i[f]&&i[f].test(e)){j.unshift(f);break}if(j[0]in d)g=j[0];else{for(f in d){if(!j[0]||a.converters[f+" "+j[0]]){g=f;break}h||(h=f)}g=g||h}if(g)return g!==j[0]&&j.unshift(g),d[g]}function cC(a,b){var c,d,e,f,g=a.dataTypes.slice(),h=g[0],i={},j=0;a.dataFilter&&(b=a.dataFilter(b,a.dataType));if(g[1])for(c in a.converters)i[c.toLowerCase()]=a.converters[c];for(;e=g[++j];)if(e!=="*"){if(h!=="*"&&h!==e){c=i[h+" "+e]||i["* "+e];if(!c)for(d in i){f=d.split(" ");if(f[1]===e){c=i[h+" "+f[0]]||i["* "+f[0]];if(c){c===!0?c=i[d]:i[d]!==!0&&(e=f[0],g.splice(j--,0,e));break}}}if(c!==!0)if(c&&a["throws"])b=c(b);else try{b=c(b)}catch(k){return{state:"parsererror",error:c?k:"No conversion from "+h+" to "+e}}}h=e}return{state:"success",data:b}}function cK(){try{return new a.XMLHttpRequest}catch(b){}}function cL(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function cT(){return setTimeout(function(){cM=b},0),cM=p.now()}function cU(a,b){p.each(b,function(b,c){var d=(cS[b]||[]).concat(cS["*"]),e=0,f=d.length;for(;e<f;e++)if(d[e].call(a,b,c))return})}function cV(a,b,c){var d,e=0,f=0,g=cR.length,h=p.Deferred().always(function(){delete i.elem}),i=function(){var b=cM||cT(),c=Math.max(0,j.startTime+j.duration-b),d=1-(c/j.duration||0),e=0,f=j.tweens.length;for(;e<f;e++)j.tweens[e].run(d);return h.notifyWith(a,[j,d,c]),d<1&&f?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:p.extend({},b),opts:p.extend(!0,{specialEasing:{}},c),originalProperties:b,originalOptions:c,startTime:cM||cT(),duration:c.duration,tweens:[],createTween:function(b,c,d){var e=p.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(e),e},stop:function(b){var c=0,d=b?j.tweens.length:0;for(;c<d;c++)j.tweens[c].run(1);return b?h.resolveWith(a,[j,b]):h.rejectWith(a,[j,b]),this}}),k=j.props;cW(k,j.opts.specialEasing);for(;e<g;e++){d=cR[e].call(j,a,k,j.opts);if(d)return d}return cU(j,k),p.isFunction(j.opts.start)&&j.opts.start.call(a,j),p.fx.timer(p.extend(i,{anim:j,queue:j.opts.queue,elem:a})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}function cW(a,b){var c,d,e,f,g;for(c in a){d=p.camelCase(c),e=b[d],f=a[c],p.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=p.cssHooks[d];if(g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}}function cX(a,b,c){var d,e,f,g,h,i,j,k,l=this,m=a.style,n={},o=[],q=a.nodeType&&bY(a);c.queue||(j=p._queueHooks(a,"fx"),j.unqueued==null&&(j.unqueued=0,k=j.empty.fire,j.empty.fire=function(){j.unqueued||k()}),j.unqueued++,l.always(function(){l.always(function(){j.unqueued--,p.queue(a,"fx").length||j.empty.fire()})})),a.nodeType===1&&("height"in b||"width"in b)&&(c.overflow=[m.overflow,m.overflowX,m.overflowY],p.css(a,"display")==="inline"&&p.css(a,"float")==="none"&&(!p.support.inlineBlockNeedsLayout||cb(a.nodeName)==="inline"?m.display="inline-block":m.zoom=1)),c.overflow&&(m.overflow="hidden",p.support.shrinkWrapBlocks||l.done(function(){m.overflow=c.overflow[0],m.overflowX=c.overflow[1],m.overflowY=c.overflow[2]}));for(d in b){f=b[d];if(cO.exec(f)){delete b[d];if(f===(q?"hide":"show"))continue;o.push(d)}}g=o.length;if(g){h=p._data(a,"fxshow")||p._data(a,"fxshow",{}),q?p(a).show():l.done(function(){p(a).hide()}),l.done(function(){var b;p.removeData(a,"fxshow",!0);for(b in n)p.style(a,b,n[b])});for(d=0;d<g;d++)e=o[d],i=l.createTween(e,q?h[e]:0),n[e]=h[e]||p.style(a,e),e in h||(h[e]=i.start,q&&(i.end=i.start,i.start=e==="width"||e==="height"?1:0))}}function cY(a,b,c,d,e){return new cY.prototype.init(a,b,c,d,e)}function cZ(a,b){var c,d={height:a},e=0;for(;e<4;e+=2-b)c=bU[e],d["margin"+c]=d["padding"+c]=a;return b&&(d.opacity=d.width=a),d}function c_(a){return p.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}var c,d,e=a.document,f=a.location,g=a.navigator,h=a.jQuery,i=a.$,j=Array.prototype.push,k=Array.prototype.slice,l=Array.prototype.indexOf,m=Object.prototype.toString,n=Object.prototype.hasOwnProperty,o=String.prototype.trim,p=function(a,b){return new p.fn.init(a,b,c)},q=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,r=/\S/,s=/\s+/,t=r.test(" ")?/^[\s\xA0]+|[\s\xA0]+$/g:/^\s+|\s+$/g,u=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,v=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,w=/^[\],:{}\s]*$/,x=/(?:^|:|,)(?:\s*\[)+/g,y=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,z=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,A=/^-ms-/,B=/-([\da-z])/gi,C=function(a,b){return(b+"").toUpperCase()},D=function(){e.addEventListener?(e.removeEventListener("DOMContentLoaded",D,!1),p.ready()):e.readyState==="complete"&&(e.detachEvent("onreadystatechange",D),p.ready())},E={};p.fn=p.prototype={constructor:p,init:function(a,c,d){var f,g,h,i;if(!a)return this;if(a.nodeType)return this.context=this[0]=a,this.length=1,this;if(typeof a=="string"){a.charAt(0)==="<"&&a.charAt(a.length-1)===">"&&a.length>=3?f=[null,a,null]:f=u.exec(a);if(f&&(f[1]||!c)){if(f[1])return c=c instanceof p?c[0]:c,i=c&&c.nodeType?c.ownerDocument||c:e,a=p.parseHTML(f[1],i,!0),v.test(f[1])&&p.isPlainObject(c)&&this.attr.call(a,c,!0),p.merge(this,a);g=e.getElementById(f[2]);if(g&&g.parentNode){if(g.id!==f[2])return d.find(a);this.length=1,this[0]=g}return this.context=e,this.selector=a,this}return!c||c.jquery?(c||d).find(a):this.constructor(c).find(a)}return p.isFunction(a)?d.ready(a):(a.selector!==b&&(this.selector=a.selector,this.context=a.context),p.makeArray(a,this))},selector:"",jquery:"1.8.0",length:0,size:function(){return this.length},toArray:function(){return k.call(this)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=p.merge(this.constructor(),a);return d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")"),d},each:function(a,b){return p.each(this,a,b)},ready:function(a){return p.ready.promise().done(a),this},eq:function(a){return a=+a,a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(k.apply(this,arguments),"slice",k.call(arguments).join(","))},map:function(a){return this.pushStack(p.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:j,sort:[].sort,splice:[].splice},p.fn.init.prototype=p.fn,p.extend=p.fn.extend=function(){var a,c,d,e,f,g,h=arguments[0]||{},i=1,j=arguments.length,k=!1;typeof h=="boolean"&&(k=h,h=arguments[1]||{},i=2),typeof h!="object"&&!p.isFunction(h)&&(h={}),j===i&&(h=this,--i);for(;i<j;i++)if((a=arguments[i])!=null)for(c in a){d=h[c],e=a[c];if(h===e)continue;k&&e&&(p.isPlainObject(e)||(f=p.isArray(e)))?(f?(f=!1,g=d&&p.isArray(d)?d:[]):g=d&&p.isPlainObject(d)?d:{},h[c]=p.extend(k,g,e)):e!==b&&(h[c]=e)}return h},p.extend({noConflict:function(b){return a.$===p&&(a.$=i),b&&a.jQuery===p&&(a.jQuery=h),p},isReady:!1,readyWait:1,holdReady:function(a){a?p.readyWait++:p.ready(!0)},ready:function(a){if(a===!0?--p.readyWait:p.isReady)return;if(!e.body)return setTimeout(p.ready,1);p.isReady=!0;if(a!==!0&&--p.readyWait>0)return;d.resolveWith(e,[p]),p.fn.trigger&&p(e).trigger("ready").off("ready")},isFunction:function(a){return p.type(a)==="function"},isArray:Array.isArray||function(a){return p.type(a)==="array"},isWindow:function(a){return a!=null&&a==a.window},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):E[m.call(a)]||"object"},isPlainObject:function(a){if(!a||p.type(a)!=="object"||a.nodeType||p.isWindow(a))return!1;try{if(a.constructor&&!n.call(a,"constructor")&&!n.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||n.call(a,d)},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},error:function(a){throw new Error(a)},parseHTML:function(a,b,c){var d;return!a||typeof a!="string"?null:(typeof b=="boolean"&&(c=b,b=0),b=b||e,(d=v.exec(a))?[b.createElement(d[1])]:(d=p.buildFragment([a],b,c?null:[]),p.merge([],(d.cacheable?p.clone(d.fragment):d.fragment).childNodes)))},parseJSON:function(b){if(!b||typeof b!="string")return null;b=p.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(w.test(b.replace(y,"@").replace(z,"]").replace(x,"")))return(new Function("return "+b))();p.error("Invalid JSON: "+b)},parseXML:function(c){var d,e;if(!c||typeof c!="string")return null;try{a.DOMParser?(e=new DOMParser,d=e.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(f){d=b}return(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&p.error("Invalid XML: "+c),d},noop:function(){},globalEval:function(b){b&&r.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(A,"ms-").replace(B,C)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var e,f=0,g=a.length,h=g===b||p.isFunction(a);if(d){if(h){for(e in a)if(c.apply(a[e],d)===!1)break}else for(;f<g;)if(c.apply(a[f++],d)===!1)break}else if(h){for(e in a)if(c.call(a[e],e,a[e])===!1)break}else for(;f<g;)if(c.call(a[f],f,a[f++])===!1)break;return a},trim:o?function(a){return a==null?"":o.call(a)}:function(a){return a==null?"":a.toString().replace(t,"")},makeArray:function(a,b){var c,d=b||[];return a!=null&&(c=p.type(a),a.length==null||c==="string"||c==="function"||c==="regexp"||p.isWindow(a)?j.call(d,a):p.merge(d,a)),d},inArray:function(a,b,c){var d;if(b){if(l)return l.call(b,a,c);d=b.length,c=c?c<0?Math.max(0,d+c):c:0;for(;c<d;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,c){var d=c.length,e=a.length,f=0;if(typeof d=="number")for(;f<d;f++)a[e++]=c[f];else while(c[f]!==b)a[e++]=c[f++];return a.length=e,a},grep:function(a,b,c){var d,e=[],f=0,g=a.length;c=!!c;for(;f<g;f++)d=!!b(a[f],f),c!==d&&e.push(a[f]);return e},map:function(a,c,d){var e,f,g=[],h=0,i=a.length,j=a instanceof p||i!==b&&typeof i=="number"&&(i>0&&a[0]&&a[i-1]||i===0||p.isArray(a));if(j)for(;h<i;h++)e=c(a[h],h,d),e!=null&&(g[g.length]=e);else for(f in a)e=c(a[f],f,d),e!=null&&(g[g.length]=e);return g.concat.apply([],g)},guid:1,proxy:function(a,c){var d,e,f;return typeof c=="string"&&(d=a[c],c=a,a=d),p.isFunction(a)?(e=k.call(arguments,2),f=function(){return a.apply(c,e.concat(k.call(arguments)))},f.guid=a.guid=a.guid||f.guid||p.guid++,f):b},access:function(a,c,d,e,f,g,h){var i,j=d==null,k=0,l=a.length;if(d&&typeof d=="object"){for(k in d)p.access(a,c,k,d[k],1,g,e);f=1}else if(e!==b){i=h===b&&p.isFunction(e),j&&(i?(i=c,c=function(a,b,c){return i.call(p(a),c)}):(c.call(a,e),c=null));if(c)for(;k<l;k++)c(a[k],d,i?e.call(a[k],k,c(a[k],d)):e,h);f=1}return f?a:j?c.call(a):l?c(a[0],d):g},now:function(){return(new Date).getTime()}}),p.ready.promise=function(b){if(!d){d=p.Deferred();if(e.readyState==="complete"||e.readyState!=="loading"&&e.addEventListener)setTimeout(p.ready,1);else if(e.addEventListener)e.addEventListener("DOMContentLoaded",D,!1),a.addEventListener("load",p.ready,!1);else{e.attachEvent("onreadystatechange",D),a.attachEvent("onload",p.ready);var c=!1;try{c=a.frameElement==null&&e.documentElement}catch(f){}c&&c.doScroll&&function g(){if(!p.isReady){try{c.doScroll("left")}catch(a){return setTimeout(g,50)}p.ready()}}()}}return d.promise(b)},p.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){E["[object "+b+"]"]=b.toLowerCase()}),c=p(e);var F={};p.Callbacks=function(a){a=typeof a=="string"?F[a]||G(a):p.extend({},a);var c,d,e,f,g,h,i=[],j=!a.once&&[],k=function(b){c=a.memory&&b,d=!0,h=f||0,f=0,g=i.length,e=!0;for(;i&&h<g;h++)if(i[h].apply(b[0],b[1])===!1&&a.stopOnFalse){c=!1;break}e=!1,i&&(j?j.length&&k(j.shift()):c?i=[]:l.disable())},l={add:function(){if(i){var b=i.length;(function d(b){p.each(b,function(b,c){p.isFunction(c)&&(!a.unique||!l.has(c))?i.push(c):c&&c.length&&d(c)})})(arguments),e?g=i.length:c&&(f=b,k(c))}return this},remove:function(){return i&&p.each(arguments,function(a,b){var c;while((c=p.inArray(b,i,c))>-1)i.splice(c,1),e&&(c<=g&&g--,c<=h&&h--)}),this},has:function(a){return p.inArray(a,i)>-1},empty:function(){return i=[],this},disable:function(){return i=j=c=b,this},disabled:function(){return!i},lock:function(){return j=b,c||l.disable(),this},locked:function(){return!j},fireWith:function(a,b){return b=b||[],b=[a,b.slice?b.slice():b],i&&(!d||j)&&(e?j.push(b):k(b)),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!d}};return l},p.extend({Deferred:function(a){var b=[["resolve","done",p.Callbacks("once memory"),"resolved"],["reject","fail",p.Callbacks("once memory"),"rejected"],["notify","progress",p.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return p.Deferred(function(c){p.each(b,function(b,d){var f=d[0],g=a[b];e[d[1]](p.isFunction(g)?function(){var a=g.apply(this,arguments);a&&p.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f+"With"](this===e?c:this,[a])}:c[f])}),a=null}).promise()},promise:function(a){return typeof a=="object"?p.extend(a,d):d}},e={};return d.pipe=d.then,p.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[a^1][2].disable,b[2][2].lock),e[f[0]]=g.fire,e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=k.call(arguments),d=c.length,e=d!==1||a&&p.isFunction(a.promise)?d:0,f=e===1?a:p.Deferred(),g=function(a,b,c){return function(d){b[a]=this,c[a]=arguments.length>1?k.call(arguments):d,c===h?f.notifyWith(b,c):--e||f.resolveWith(b,c)}},h,i,j;if(d>1){h=new Array(d),i=new Array(d),j=new Array(d);for(;b<d;b++)c[b]&&p.isFunction(c[b].promise)?c[b].promise().done(g(b,j,c)).fail(f.reject).progress(g(b,i,h)):--e}return e||f.resolveWith(j,c),f.promise()}}),p.support=function(){var b,c,d,f,g,h,i,j,k,l,m,n=e.createElement("div");n.setAttribute("className","t"),n.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",c=n.getElementsByTagName("*"),d=n.getElementsByTagName("a")[0],d.style.cssText="top:1px;float:left;opacity:.5";if(!c||!c.length||!d)return{};f=e.createElement("select"),g=f.appendChild(e.createElement("option")),h=n.getElementsByTagName("input")[0],b={leadingWhitespace:n.firstChild.nodeType===3,tbody:!n.getElementsByTagName("tbody").length,htmlSerialize:!!n.getElementsByTagName("link").length,style:/top/.test(d.getAttribute("style")),hrefNormalized:d.getAttribute("href")==="/a",opacity:/^0.5/.test(d.style.opacity),cssFloat:!!d.style.cssFloat,checkOn:h.value==="on",optSelected:g.selected,getSetAttribute:n.className!=="t",enctype:!!e.createElement("form").enctype,html5Clone:e.createElement("nav").cloneNode(!0).outerHTML!=="<:nav></:nav>",boxModel:e.compatMode==="CSS1Compat",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},h.checked=!0,b.noCloneChecked=h.cloneNode(!0).checked,f.disabled=!0,b.optDisabled=!g.disabled;try{delete n.test}catch(o){b.deleteExpando=!1}!n.addEventListener&&n.attachEvent&&n.fireEvent&&(n.attachEvent("onclick",m=function(){b.noCloneEvent=!1}),n.cloneNode(!0).fireEvent("onclick"),n.detachEvent("onclick",m)),h=e.createElement("input"),h.value="t",h.setAttribute("type","radio"),b.radioValue=h.value==="t",h.setAttribute("checked","checked"),h.setAttribute("name","t"),n.appendChild(h),i=e.createDocumentFragment(),i.appendChild(n.lastChild),b.checkClone=i.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=h.checked,i.removeChild(h),i.appendChild(n);if(n.attachEvent)for(k in{submit:!0,change:!0,focusin:!0})j="on"+k,l=j in n,l||(n.setAttribute(j,"return;"),l=typeof n[j]=="function"),b[k+"Bubbles"]=l;return p(function(){var c,d,f,g,h="padding:0;margin:0;border:0;display:block;overflow:hidden;",i=e.getElementsByTagName("body")[0];if(!i)return;c=e.createElement("div"),c.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",i.insertBefore(c,i.firstChild),d=e.createElement("div"),c.appendChild(d),d.innerHTML="<table><tr><td></td><td>t</td></tr></table>",f=d.getElementsByTagName("td"),f[0].style.cssText="padding:0;margin:0;border:0;display:none",l=f[0].offsetHeight===0,f[0].style.display="",f[1].style.display="none",b.reliableHiddenOffsets=l&&f[0].offsetHeight===0,d.innerHTML="",d.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",b.boxSizing=d.offsetWidth===4,b.doesNotIncludeMarginInBodyOffset=i.offsetTop!==1,a.getComputedStyle&&(b.pixelPosition=(a.getComputedStyle(d,null)||{}).top!=="1%",b.boxSizingReliable=(a.getComputedStyle(d,null)||{width:"4px"}).width==="4px",g=e.createElement("div"),g.style.cssText=d.style.cssText=h,g.style.marginRight=g.style.width="0",d.style.width="1px",d.appendChild(g),b.reliableMarginRight=!parseFloat((a.getComputedStyle(g,null)||{}).marginRight)),typeof d.style.zoom!="undefined"&&(d.innerHTML="",d.style.cssText=h+"width:1px;padding:1px;display:inline;zoom:1",b.inlineBlockNeedsLayout=d.offsetWidth===3,d.style.display="block",d.style.overflow="visible",d.innerHTML="<div></div>",d.firstChild.style.width="5px",b.shrinkWrapBlocks=d.offsetWidth!==3,c.style.zoom=1),i.removeChild(c),c=d=f=g=null}),i.removeChild(n),c=d=f=g=h=i=n=null,b}();var H=/^(?:\{.*\}|\[.*\])$/,I=/([A-Z])/g;p.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(p.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){return a=a.nodeType?p.cache[a[p.expando]]:a[p.expando],!!a&&!K(a)},data:function(a,c,d,e){if(!p.acceptData(a))return;var f,g,h=p.expando,i=typeof c=="string",j=a.nodeType,k=j?p.cache:a,l=j?a[h]:a[h]&&h;if((!l||!k[l]||!e&&!k[l].data)&&i&&d===b)return;l||(j?a[h]=l=p.deletedIds.pop()||++p.uuid:l=h),k[l]||(k[l]={},j||(k[l].toJSON=p.noop));if(typeof c=="object"||typeof c=="function")e?k[l]=p.extend(k[l],c):k[l].data=p.extend(k[l].data,c);return f=k[l],e||(f.data||(f.data={}),f=f.data),d!==b&&(f[p.camelCase(c)]=d),i?(g=f[c],g==null&&(g=f[p.camelCase(c)])):g=f,g},removeData:function(a,b,c){if(!p.acceptData(a))return;var d,e,f,g=a.nodeType,h=g?p.cache:a,i=g?a[p.expando]:p.expando;if(!h[i])return;if(b){d=c?h[i]:h[i].data;if(d){p.isArray(b)||(b in d?b=[b]:(b=p.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,f=b.length;e<f;e++)delete d[b[e]];if(!(c?K:p.isEmptyObject)(d))return}}if(!c){delete h[i].data;if(!K(h[i]))return}g?p.cleanData([a],!0):p.support.deleteExpando||h!=h.window?delete h[i]:h[i]=null},_data:function(a,b,c){return p.data(a,b,c,!0)},acceptData:function(a){var b=a.nodeName&&p.noData[a.nodeName.toLowerCase()];return!b||b!==!0&&a.getAttribute("classid")===b}}),p.fn.extend({data:function(a,c){var d,e,f,g,h,i=this[0],j=0,k=null;if(a===b){if(this.length){k=p.data(i);if(i.nodeType===1&&!p._data(i,"parsedAttrs")){f=i.attributes;for(h=f.length;j<h;j++)g=f[j].name,g.indexOf("data-")===0&&(g=p.camelCase(g.substring(5)),J(i,g,k[g]));p._data(i,"parsedAttrs",!0)}}return k}return typeof a=="object"?this.each(function(){p.data(this,a)}):(d=a.split(".",2),d[1]=d[1]?"."+d[1]:"",e=d[1]+"!",p.access(this,function(c){if(c===b)return k=this.triggerHandler("getData"+e,[d[0]]),k===b&&i&&(k=p.data(i,a),k=J(i,a,k)),k===b&&d[1]?this.data(d[0]):k;d[1]=c,this.each(function(){var b=p(this);b.triggerHandler("setData"+e,d),p.data(this,a,c),b.triggerHandler("changeData"+e,d)})},null,c,arguments.length>1,null,!1))},removeData:function(a){return this.each(function(){p.removeData(this,a)})}}),p.extend({queue:function(a,b,c){var d;if(a)return b=(b||"fx")+"queue",d=p._data(a,b),c&&(!d||p.isArray(c)?d=p._data(a,b,p.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||"fx";var c=p.queue(a,b),d=c.shift(),e=p._queueHooks(a,b),f=function(){p.dequeue(a,b)};d==="inprogress"&&(d=c.shift()),d&&(b==="fx"&&c.unshift("inprogress"),delete e.stop,d.call(a,f,e)),!c.length&&e&&e.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return p._data(a,c)||p._data(a,c,{empty:p.Callbacks("once memory").add(function(){p.removeData(a,b+"queue",!0),p.removeData(a,c,!0)})})}}),p.fn.extend({queue:function(a,c){var d=2;return typeof a!="string"&&(c=a,a="fx",d--),arguments.length<d?p.queue(this[0],a):c===b?this:this.each(function(){var b=p.queue(this,a,c);p._queueHooks(this,a),a==="fx"&&b[0]!=="inprogress"&&p.dequeue(this,a)})},dequeue:function(a){return this.each(function(){p.dequeue(this,a)})},delay:function(a,b){return a=p.fx?p.fx.speeds[a]||a:a,b=b||"fx",this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,c){var d,e=1,f=p.Deferred(),g=this,h=this.length,i=function(){--e||f.resolveWith(g,[g])};typeof a!="string"&&(c=a,a=b),a=a||"fx";while(h--)(d=p._data(g[h],a+"queueHooks"))&&d.empty&&(e++,d.empty.add(i));return i(),f.promise(c)}});var L,M,N,O=/[\t\r\n]/g,P=/\r/g,Q=/^(?:button|input)$/i,R=/^(?:button|input|object|select|textarea)$/i,S=/^a(?:rea|)$/i,T=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,U=p.support.getSetAttribute;p.fn.extend({attr:function(a,b){return p.access(this,p.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){p.removeAttr(this,a)})},prop:function(a,b){return p.access(this,p.prop,a,b,arguments.length>1)},removeProp:function(a){return a=p.propFix[a]||a,this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},addClass:function(a){var b,c,d,e,f,g,h;if(p.isFunction(a))return this.each(function(b){p(this).addClass(a.call(this,b,this.className))});if(a&&typeof a=="string"){b=a.split(s);for(c=0,d=this.length;c<d;c++){e=this[c];if(e.nodeType===1)if(!e.className&&b.length===1)e.className=a;else{f=" "+e.className+" ";for(g=0,h=b.length;g<h;g++)~f.indexOf(" "+b[g]+" ")||(f+=b[g]+" ");e.className=p.trim(f)}}}return this},removeClass:function(a){var c,d,e,f,g,h,i;if(p.isFunction(a))return this.each(function(b){p(this).removeClass(a.call(this,b,this.className))});if(a&&typeof a=="string"||a===b){c=(a||"").split(s);for(h=0,i=this.length;h<i;h++){e=this[h];if(e.nodeType===1&&e.className){d=(" "+e.className+" ").replace(O," ");for(f=0,g=c.length;f<g;f++)while(d.indexOf(" "+c[f]+" ")>-1)d=d.replace(" "+c[f]+" "," ");e.className=a?p.trim(d):""}}}return this},toggleClass:function(a,b){var c=typeof a,d=typeof b=="boolean";return p.isFunction(a)?this.each(function(c){p(this).toggleClass(a.call(this,c,this.className,b),b)}):this.each(function(){if(c==="string"){var e,f=0,g=p(this),h=b,i=a.split(s);while(e=i[f++])h=d?h:!g.hasClass(e),g[h?"addClass":"removeClass"](e)}else if(c==="undefined"||c==="boolean")this.className&&p._data(this,"__className__",this.className),this.className=this.className||a===!1?"":p._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ",c=0,d=this.length;for(;c<d;c++)if(this[c].nodeType===1&&(" "+this[c].className+" ").replace(O," ").indexOf(b)>-1)return!0;return!1},val:function(a){var c,d,e,f=this[0];if(!arguments.length){if(f)return c=p.valHooks[f.type]||p.valHooks[f.nodeName.toLowerCase()],c&&"get"in c&&(d=c.get(f,"value"))!==b?d:(d=f.value,typeof d=="string"?d.replace(P,""):d==null?"":d);return}return e=p.isFunction(a),this.each(function(d){var f,g=p(this);if(this.nodeType!==1)return;e?f=a.call(this,d,g.val()):f=a,f==null?f="":typeof f=="number"?f+="":p.isArray(f)&&(f=p.map(f,function(a){return a==null?"":a+""})),c=p.valHooks[this.type]||p.valHooks[this.nodeName.toLowerCase()];if(!c||!("set"in c)||c.set(this,f,"value")===b)this.value=f})}}),p.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,f=a.selectedIndex,g=[],h=a.options,i=a.type==="select-one";if(f<0)return null;c=i?f:0,d=i?f+1:h.length;for(;c<d;c++){e=h[c];if(e.selected&&(p.support.optDisabled?!e.disabled:e.getAttribute("disabled")===null)&&(!e.parentNode.disabled||!p.nodeName(e.parentNode,"optgroup"))){b=p(e).val();if(i)return b;g.push(b)}}return i&&!g.length&&h.length?p(h[f]).val():g},set:function(a,b){var c=p.makeArray(b);return p(a).find("option").each(function(){this.selected=p.inArray(p(this).val(),c)>=0}),c.length||(a.selectedIndex=-1),c}}},attrFn:{},attr:function(a,c,d,e){var f,g,h,i=a.nodeType;if(!a||i===3||i===8||i===2)return;if(e&&p.isFunction(p.fn[c]))return p(a)[c](d);if(typeof a.getAttribute=="undefined")return p.prop(a,c,d);h=i!==1||!p.isXMLDoc(a),h&&(c=c.toLowerCase(),g=p.attrHooks[c]||(T.test(c)?M:L));if(d!==b){if(d===null){p.removeAttr(a,c);return}return g&&"set"in g&&h&&(f=g.set(a,d,c))!==b?f:(a.setAttribute(c,""+d),d)}return g&&"get"in g&&h&&(f=g.get(a,c))!==null?f:(f=a.getAttribute(c),f===null?b:f)},removeAttr:function(a,b){var c,d,e,f,g=0;if(b&&a.nodeType===1){d=b.split(s);for(;g<d.length;g++)e=d[g],e&&(c=p.propFix[e]||e,f=T.test(e),f||p.attr(a,e,""),a.removeAttribute(U?e:c),f&&c in a&&(a[c]=!1))}},attrHooks:{type:{set:function(a,b){if(Q.test(a.nodeName)&&a.parentNode)p.error("type property can't be changed");else if(!p.support.radioValue&&b==="radio"&&p.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}},value:{get:function(a,b){return L&&p.nodeName(a,"button")?L.get(a,b):b in a?a.value:null},set:function(a,b,c){if(L&&p.nodeName(a,"button"))return L.set(a,b,c);a.value=b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,c,d){var e,f,g,h=a.nodeType;if(!a||h===3||h===8||h===2)return;return g=h!==1||!p.isXMLDoc(a),g&&(c=p.propFix[c]||c,f=p.propHooks[c]),d!==b?f&&"set"in f&&(e=f.set(a,d,c))!==b?e:a[c]=d:f&&"get"in f&&(e=f.get(a,c))!==null?e:a[c]},propHooks:{tabIndex:{get:function(a){var c=a.getAttributeNode("tabindex");return c&&c.specified?parseInt(c.value,10):R.test(a.nodeName)||S.test(a.nodeName)&&a.href?0:b}}}}),M={get:function(a,c){var d,e=p.prop(a,c);return e===!0||typeof e!="boolean"&&(d=a.getAttributeNode(c))&&d.nodeValue!==!1?c.toLowerCase():b},set:function(a,b,c){var d;return b===!1?p.removeAttr(a,c):(d=p.propFix[c]||c,d in a&&(a[d]=!0),a.setAttribute(c,c.toLowerCase())),c}},U||(N={name:!0,id:!0,coords:!0},L=p.valHooks.button={get:function(a,c){var d;return d=a.getAttributeNode(c),d&&(N[c]?d.value!=="":d.specified)?d.value:b},set:function(a,b,c){var d=a.getAttributeNode(c);return d||(d=e.createAttribute(c),a.setAttributeNode(d)),d.value=b+""}},p.each(["width","height"],function(a,b){p.attrHooks[b]=p.extend(p.attrHooks[b],{set:function(a,c){if(c==="")return a.setAttribute(b,"auto"),c}})}),p.attrHooks.contenteditable={get:L.get,set:function(a,b,c){b===""&&(b="false"),L.set(a,b,c)}}),p.support.hrefNormalized||p.each(["href","src","width","height"],function(a,c){p.attrHooks[c]=p.extend(p.attrHooks[c],{get:function(a){var d=a.getAttribute(c,2);return d===null?b:d}})}),p.support.style||(p.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||b},set:function(a,b){return a.style.cssText=""+b}}),p.support.optSelected||(p.propHooks.selected=p.extend(p.propHooks.selected,{get:function(a){var b=a.parentNode;return b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex),null}})),p.support.enctype||(p.propFix.enctype="encoding"),p.support.checkOn||p.each(["radio","checkbox"],function(){p.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}}),p.each(["radio","checkbox"],function(){p.valHooks[this]=p.extend(p.valHooks[this],{set:function(a,b){if(p.isArray(b))return a.checked=p.inArray(p(a).val(),b)>=0}})});var V=/^(?:textarea|input|select)$/i,W=/^([^\.]*|)(?:\.(.+)|)$/,X=/(?:^|\s)hover(\.\S+|)\b/,Y=/^key/,Z=/^(?:mouse|contextmenu)|click/,$=/^(?:focusinfocus|focusoutblur)$/,_=function(a){return p.event.special.hover?a:a.replace(X,"mouseenter$1 mouseleave$1")};p.event={add:function(a,c,d,e,f){var g,h,i,j,k,l,m,n,o,q,r;if(a.nodeType===3||a.nodeType===8||!c||!d||!(g=p._data(a)))return;d.handler&&(o=d,d=o.handler,f=o.selector),d.guid||(d.guid=p.guid++),i=g.events,i||(g.events=i={}),h=g.handle,h||(g.handle=h=function(a){return typeof p!="undefined"&&(!a||p.event.triggered!==a.type)?p.event.dispatch.apply(h.elem,arguments):b},h.elem=a),c=p.trim(_(c)).split(" ");for(j=0;j<c.length;j++){k=W.exec(c[j])||[],l=k[1],m=(k[2]||"").split(".").sort(),r=p.event.special[l]||{},l=(f?r.delegateType:r.bindType)||l,r=p.event.special[l]||{},n=p.extend({type:l,origType:k[1],data:e,handler:d,guid:d.guid,selector:f,namespace:m.join(".")},o),q=i[l];if(!q){q=i[l]=[],q.delegateCount=0;if(!r.setup||r.setup.call(a,e,m,h)===!1)a.addEventListener?a.addEventListener(l,h,!1):a.attachEvent&&a.attachEvent("on"+l,h)}r.add&&(r.add.call(a,n),n.handler.guid||(n.handler.guid=d.guid)),f?q.splice(q.delegateCount++,0,n):q.push(n),p.event.global[l]=!0}a=null},global:{},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,q,r=p.hasData(a)&&p._data(a);if(!r||!(m=r.events))return;b=p.trim(_(b||"")).split(" ");for(f=0;f<b.length;f++){g=W.exec(b[f])||[],h=i=g[1],j=g[2];if(!h){for(h in m)p.event.remove(a,h+b[f],c,d,!0);continue}n=p.event.special[h]||{},h=(d?n.delegateType:n.bindType)||h,o=m[h]||[],k=o.length,j=j?new RegExp("(^|\\.)"+j.split(".").sort().join("\\.(?:.*\\.|)")+"(\\.|$)"):null;for(l=0;l<o.length;l++)q=o[l],(e||i===q.origType)&&(!c||c.guid===q.guid)&&(!j||j.test(q.namespace))&&(!d||d===q.selector||d==="**"&&q.selector)&&(o.splice(l--,1),q.selector&&o.delegateCount--,n.remove&&n.remove.call(a,q));o.length===0&&k!==o.length&&((!n.teardown||n.teardown.call(a,j,r.handle)===!1)&&p.removeEvent(a,h,r.handle),delete m[h])}p.isEmptyObject(m)&&(delete r.handle,p.removeData(a,"events",!0))},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(c,d,f,g){if(!f||f.nodeType!==3&&f.nodeType!==8){var h,i,j,k,l,m,n,o,q,r,s=c.type||c,t=[];if($.test(s+p.event.triggered))return;s.indexOf("!")>=0&&(s=s.slice(0,-1),i=!0),s.indexOf(".")>=0&&(t=s.split("."),s=t.shift(),t.sort());if((!f||p.event.customEvent[s])&&!p.event.global[s])return;c=typeof c=="object"?c[p.expando]?c:new p.Event(s,c):new p.Event(s),c.type=s,c.isTrigger=!0,c.exclusive=i,c.namespace=t.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+t.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,m=s.indexOf(":")<0?"on"+s:"";if(!f){h=p.cache;for(j in h)h[j].events&&h[j].events[s]&&p.event.trigger(c,d,h[j].handle.elem,!0);return}c.result=b,c.target||(c.target=f),d=d!=null?p.makeArray(d):[],d.unshift(c),n=p.event.special[s]||{};if(n.trigger&&n.trigger.apply(f,d)===!1)return;q=[[f,n.bindType||s]];if(!g&&!n.noBubble&&!p.isWindow(f)){r=n.delegateType||s,k=$.test(r+s)?f:f.parentNode;for(l=f;k;k=k.parentNode)q.push([k,r]),l=k;l===(f.ownerDocument||e)&&q.push([l.defaultView||l.parentWindow||a,r])}for(j=0;j<q.length&&!c.isPropagationStopped();j++)k=q[j][0],c.type=q[j][1],o=(p._data(k,"events")||{})[c.type]&&p._data(k,"handle"),o&&o.apply(k,d),o=m&&k[m],o&&p.acceptData(k)&&o.apply(k,d)===!1&&c.preventDefault();return c.type=s,!g&&!c.isDefaultPrevented()&&(!n._default||n._default.apply(f.ownerDocument,d)===!1)&&(s!=="click"||!p.nodeName(f,"a"))&&p.acceptData(f)&&m&&f[s]&&(s!=="focus"&&s!=="blur"||c.target.offsetWidth!==0)&&!p.isWindow(f)&&(l=f[m],l&&(f[m]=null),p.event.triggered=s,f[s](),p.event.triggered=b,l&&(f[m]=l)),c.result}return},dispatch:function(c){c=p.event.fix(c||a.event);var d,e,f,g,h,i,j,k,l,m,n,o=(p._data(this,"events")||{})[c.type]||[],q=o.delegateCount,r=[].slice.call(arguments),s=!c.exclusive&&!c.namespace,t=p.event.special[c.type]||{},u=[];r[0]=c,c.delegateTarget=this;if(t.preDispatch&&t.preDispatch.call(this,c)===!1)return;if(q&&(!c.button||c.type!=="click")){g=p(this),g.context=this;for(f=c.target;f!=this;f=f.parentNode||this)if(f.disabled!==!0||c.type!=="click"){i={},k=[],g[0]=f;for(d=0;d<q;d++)l=o[d],m=l.selector,i[m]===b&&(i[m]=g.is(m)),i[m]&&k.push(l);k.length&&u.push({elem:f,matches:k})}}o.length>q&&u.push({elem:this,matches:o.slice(q)});for(d=0;d<u.length&&!c.isPropagationStopped();d++){j=u[d],c.currentTarget=j.elem;for(e=0;e<j.matches.length&&!c.isImmediatePropagationStopped();e++){l=j.matches[e];if(s||!c.namespace&&!l.namespace||c.namespace_re&&c.namespace_re.test(l.namespace))c.data=l.data,c.handleObj=l,h=((p.event.special[l.origType]||{}).handle||l.handler).apply(j.elem,r),h!==b&&(c.result=h,h===!1&&(c.preventDefault(),c.stopPropagation()))}}return t.postDispatch&&t.postDispatch.call(this,c),c.result},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){return a.which==null&&(a.which=b.charCode!=null?b.charCode:b.keyCode),a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,c){var d,f,g,h=c.button,i=c.fromElement;return a.pageX==null&&c.clientX!=null&&(d=a.target.ownerDocument||e,f=d.documentElement,g=d.body,a.pageX=c.clientX+(f&&f.scrollLeft||g&&g.scrollLeft||0)-(f&&f.clientLeft||g&&g.clientLeft||0),a.pageY=c.clientY+(f&&f.scrollTop||g&&g.scrollTop||0)-(f&&f.clientTop||g&&g.clientTop||0)),!a.relatedTarget&&i&&(a.relatedTarget=i===a.target?c.toElement:i),!a.which&&h!==b&&(a.which=h&1?1:h&2?3:h&4?2:0),a}},fix:function(a){if(a[p.expando])return a;var b,c,d=a,f=p.event.fixHooks[a.type]||{},g=f.props?this.props.concat(f.props):this.props;a=p.Event(d);for(b=g.length;b;)c=g[--b],a[c]=d[c];return a.target||(a.target=d.srcElement||e),a.target.nodeType===3&&(a.target=a.target.parentNode),a.metaKey=!!a.metaKey,f.filter?f.filter(a,d):a},special:{ready:{setup:p.bindReady},load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(a,b,c){p.isWindow(this)&&(this.onbeforeunload=c)},teardown:function(a,b){this.onbeforeunload===b&&(this.onbeforeunload=null)}}},simulate:function(a,b,c,d){var e=p.extend(new p.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?p.event.trigger(e,null,b):p.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},p.event.handle=p.event.dispatch,p.removeEvent=e.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){var d="on"+b;a.detachEvent&&(typeof a[d]=="undefined"&&(a[d]=null),a.detachEvent(d,c))},p.Event=function(a,b){if(this instanceof p.Event)a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?bb:ba):this.type=a,b&&p.extend(this,b),this.timeStamp=a&&a.timeStamp||p.now(),this[p.expando]=!0;else return new p.Event(a,b)},p.Event.prototype={preventDefault:function(){this.isDefaultPrevented=bb;var a=this.originalEvent;if(!a)return;a.preventDefault?a.preventDefault():a.returnValue=!1},stopPropagation:function(){this.isPropagationStopped=bb;var a=this.originalEvent;if(!a)return;a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=bb,this.stopPropagation()},isDefaultPrevented:ba,isPropagationStopped:ba,isImmediatePropagationStopped:ba},p.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){p.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj,g=f.selector;if(!e||e!==d&&!p.contains(d,e))a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b;return c}}}),p.support.submitBubbles||(p.event.special.submit={setup:function(){if(p.nodeName(this,"form"))return!1;p.event.add(this,"click._submit keypress._submit",function(a){var c=a.target,d=p.nodeName(c,"input")||p.nodeName(c,"button")?c.form:b;d&&!p._data(d,"_submit_attached")&&(p.event.add(d,"submit._submit",function(a){a._submit_bubble=!0}),p._data(d,"_submit_attached",!0))})},postDispatch:function(a){a._submit_bubble&&(delete a._submit_bubble,this.parentNode&&!a.isTrigger&&p.event.simulate("submit",this.parentNode,a,!0))},teardown:function(){if(p.nodeName(this,"form"))return!1;p.event.remove(this,"._submit")}}),p.support.changeBubbles||(p.event.special.change={setup:function(){if(V.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio")p.event.add(this,"propertychange._change",function(a){a.originalEvent.propertyName==="checked"&&(this._just_changed=!0)}),p.event.add(this,"click._change",function(a){this._just_changed&&!a.isTrigger&&(this._just_changed=!1),p.event.simulate("change",this,a,!0)});return!1}p.event.add(this,"beforeactivate._change",function(a){var b=a.target;V.test(b.nodeName)&&!p._data(b,"_change_attached")&&(p.event.add(b,"change._change",function(a){this.parentNode&&!a.isSimulated&&!a.isTrigger&&p.event.simulate("change",this.parentNode,a,!0)}),p._data(b,"_change_attached",!0))})},handle:function(a){var b=a.target;if(this!==b||a.isSimulated||a.isTrigger||b.type!=="radio"&&b.type!=="checkbox")return a.handleObj.handler.apply(this,arguments)},teardown:function(){return p.event.remove(this,"._change"),V.test(this.nodeName)}}),p.support.focusinBubbles||p.each({focus:"focusin",blur:"focusout"},function(a,b){var c=0,d=function(a){p.event.simulate(b,a.target,p.event.fix(a),!0)};p.event.special[b]={setup:function(){c++===0&&e.addEventListener(a,d,!0)},teardown:function(){--c===0&&e.removeEventListener(a,d,!0)}}}),p.fn.extend({on:function(a,c,d,e,f){var g,h;if(typeof a=="object"){typeof c!="string"&&(d=d||c,c=b);for(h in a)this.on(h,c,d,a[h],f);return this}d==null&&e==null?(e=c,d=c=b):e==null&&(typeof c=="string"?(e=d,d=b):(e=d,d=c,c=b));if(e===!1)e=ba;else if(!e)return this;return f===1&&(g=e,e=function(a){return p().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=p.guid++)),this.each(function(){p.event.add(this,a,e,d,c)})},one:function(a,b,c,d){return this.on(a,b,c,d,1)},off:function(a,c,d){var e,f;if(a&&a.preventDefault&&a.handleObj)return e=a.handleObj,p(a.delegateTarget).off(e.namespace?e.origType+"."+e.namespace:e.origType,e.selector,e.handler),this;if(typeof a=="object"){for(f in a)this.off(f,c,a[f]);return this}if(c===!1||typeof c=="function")d=c,c=b;return d===!1&&(d=ba),this.each(function(){p.event.remove(this,a,d,c)})},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},live:function(a,b,c){return p(this.context).on(a,this.selector,b,c),this},die:function(a,b){return p(this.context).off(a,this.selector||"**",b),this},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return arguments.length==1?this.off(a,"**"):this.off(b,a||"**",c)},trigger:function(a,b){return this.each(function(){p.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0])return p.event.trigger(a,b,this[0],!0)},toggle:function(a){var b=arguments,c=a.guid||p.guid++,d=0,e=function(c){var e=(p._data(this,"lastToggle"+a.guid)||0)%d;return p._data(this,"lastToggle"+a.guid,e+1),c.preventDefault(),b[e].apply(this,arguments)||!1};e.guid=c;while(d<b.length)b[d++].guid=c;return this.click(e)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),p.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){p.fn[b]=function(a,c){return c==null&&(c=a,a=null),arguments.length>0?this.on(b,null,a,c):this.trigger(b)},Y.test(b)&&(p.event.fixHooks[b]=p.event.keyHooks),Z.test(b)&&(p.event.fixHooks[b]=p.event.mouseHooks)}),function(a,b){function bd(a,b,c,d){var e=0,f=b.length;for(;e<f;e++)Z(a,b[e],c,d)}function be(a,b,c,d,e,f){var g,h=$.setFilters[b.toLowerCase()];return h||Z.error(b),(a||!(g=e))&&bd(a||"*",d,g=[],e),g.length>0?h(g,c,f):[]}function bf(a,c,d,e,f){var g,h,i,j,k,l,m,n,p=0,q=f.length,s=L.POS,t=new RegExp("^"+s.source+"(?!"+r+")","i"),u=function(){var a=1,c=arguments.length-2;for(;a<c;a++)arguments[a]===b&&(g[a]=b)};for(;p<q;p++){s.exec(""),a=f[p],j=[],i=0,k=e;while(g=s.exec(a)){n=s.lastIndex=g.index+g[0].length;if(n>i){m=a.slice(i,g.index),i=n,l=[c],B.test(m)&&(k&&(l=k),k=e);if(h=H.test(m))m=m.slice(0,-5).replace(B,"$&*");g.length>1&&g[0].replace(t,u),k=be(m,g[1],g[2],l,k,h)}}k?(j=j.concat(k),(m=a.slice(i))&&m!==")"?B.test(m)?bd(m,j,d,e):Z(m,c,d,e?e.concat(k):k):o.apply(d,j)):Z(a,c,d,e)}return q===1?d:Z.uniqueSort(d)}function bg(a,b,c){var d,e,f,g=[],i=0,j=D.exec(a),k=!j.pop()&&!j.pop(),l=k&&a.match(C)||[""],m=$.preFilter,n=$.filter,o=!c&&b!==h;for(;(e=l[i])!=null&&k;i++){g.push(d=[]),o&&(e=" "+e);while(e){k=!1;if(j=B.exec(e))e=e.slice(j[0].length),k=d.push({part:j.pop().replace(A," "),captures:j});for(f in n)(j=L[f].exec(e))&&(!m[f]||(j=m[f](j,b,c)))&&(e=e.slice(j.shift().length),k=d.push({part:f,captures:j}));if(!k)break}}return k||Z.error(a),g}function bh(a,b,e){var f=b.dir,g=m++;return a||(a=function(a){return a===e}),b.first?function(b,c){while(b=b[f])if(b.nodeType===1)return a(b,c)&&b}:function(b,e){var h,i=g+"."+d,j=i+"."+c;while(b=b[f])if(b.nodeType===1){if((h=b[q])===j)return b.sizset;if(typeof h=="string"&&h.indexOf(i)===0){if(b.sizset)return b}else{b[q]=j;if(a(b,e))return b.sizset=!0,b;b.sizset=!1}}}}function bi(a,b){return a?function(c,d){var e=b(c,d);return e&&a(e===!0?c:e,d)}:b}function bj(a,b,c){var d,e,f=0;for(;d=a[f];f++)$.relative[d.part]?e=bh(e,$.relative[d.part],b):(d.captures.push(b,c),e=bi(e,$.filter[d.part].apply(null,d.captures)));return e}function bk(a){return function(b,c){var d,e=0;for(;d=a[e];e++)if(d(b,c))return!0;return!1}}var c,d,e,f,g,h=a.document,i=h.documentElement,j="undefined",k=!1,l=!0,m=0,n=[].slice,o=[].push,q=("sizcache"+Math.random()).replace(".",""),r="[\\x20\\t\\r\\n\\f]",s="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",t=s.replace("w","w#"),u="([*^$|!~]?=)",v="\\["+r+"*("+s+")"+r+"*(?:"+u+r+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+t+")|)|)"+r+"*\\]",w=":("+s+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|((?:[^,]|\\\\,|(?:,(?=[^\\[]*\\]))|(?:,(?=[^\\(]*\\))))*))\\)|)",x=":(nth|eq|gt|lt|first|last|even|odd)(?:\\((\\d*)\\)|)(?=[^-]|$)",y=r+"*([\\x20\\t\\r\\n\\f>+~])"+r+"*",z="(?=[^\\x20\\t\\r\\n\\f])(?:\\\\.|"+v+"|"+w.replace(2,7)+"|[^\\\\(),])+",A=new RegExp("^"+r+"+|((?:^|[^\\\\])(?:\\\\.)*)"+r+"+$","g"),B=new RegExp("^"+y),C=new RegExp(z+"?(?="+r+"*,|$)","g"),D=new RegExp("^(?:(?!,)(?:(?:^|,)"+r+"*"+z+")*?|"+r+"*(.*?))(\\)|$)"),E=new RegExp(z.slice(19,-6)+"\\x20\\t\\r\\n\\f>+~])+|"+y,"g"),F=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,G=/[\x20\t\r\n\f]*[+~]/,H=/:not\($/,I=/h\d/i,J=/input|select|textarea|button/i,K=/\\(?!\\)/g,L={ID:new RegExp("^#("+s+")"),CLASS:new RegExp("^\\.("+s+")"),NAME:new RegExp("^\\[name=['\"]?("+s+")['\"]?\\]"),TAG:new RegExp("^("+s.replace("[-","[-\\*")+")"),ATTR:new RegExp("^"+v),PSEUDO:new RegExp("^"+w),CHILD:new RegExp("^:(only|nth|last|first)-child(?:\\("+r+"*(even|odd|(([+-]|)(\\d*)n|)"+r+"*(?:([+-]|)"+r+"*(\\d+)|))"+r+"*\\)|)","i"),POS:new RegExp(x,"ig"),needsContext:new RegExp("^"+r+"*[>+~]|"+x,"i")},M={},N=[],O={},P=[],Q=function(a){return a.sizzleFilter=!0,a},R=function(a){return function(b){return b.nodeName.toLowerCase()==="input"&&b.type===a}},S=function(a){return function(b){var c=b.nodeName.toLowerCase();return(c==="input"||c==="button")&&b.type===a}},T=function(a){var b=!1,c=h.createElement("div");try{b=a(c)}catch(d){}return c=null,b},U=T(function(a){a.innerHTML="<select></select>";var b=typeof a.lastChild.getAttribute("multiple");return b!=="boolean"&&b!=="string"}),V=T(function(a){a.id=q+0,a.innerHTML="<a name='"+q+"'></a><div name='"+q+"'></div>",i.insertBefore(a,i.firstChild);var b=h.getElementsByName&&h.getElementsByName(q).length===2+h.getElementsByName(q+0).length;return g=!h.getElementById(q),i.removeChild(a),b}),W=T(function(a){return a.appendChild(h.createComment("")),a.getElementsByTagName("*").length===0}),X=T(function(a){return a.innerHTML="<a href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!==j&&a.firstChild.getAttribute("href")==="#"}),Y=T(function(a){return a.innerHTML="<div class='hidden e'></div><div class='hidden'></div>",!a.getElementsByClassName||a.getElementsByClassName("e").length===0?!1:(a.lastChild.className="e",a.getElementsByClassName("e").length!==1)}),Z=function(a,b,c,d){c=c||[],b=b||h;var e,f,g,i,j=b.nodeType;if(j!==1&&j!==9)return[];if(!a||typeof a!="string")return c;g=ba(b);if(!g&&!d)if(e=F.exec(a))if(i=e[1]){if(j===9){f=b.getElementById(i);if(!f||!f.parentNode)return c;if(f.id===i)return c.push(f),c}else if(b.ownerDocument&&(f=b.ownerDocument.getElementById(i))&&bb(b,f)&&f.id===i)return c.push(f),c}else{if(e[2])return o.apply(c,n.call(b.getElementsByTagName(a),0)),c;if((i=e[3])&&Y&&b.getElementsByClassName)return o.apply(c,n.call(b.getElementsByClassName(i),0)),c}return bm(a,b,c,d,g)},$=Z.selectors={cacheLength:50,match:L,order:["ID","TAG"],attrHandle:{},createPseudo:Q,find:{ID:g?function(a,b,c){if(typeof b.getElementById!==j&&!c){var d=b.getElementById(a);return d&&d.parentNode?[d]:[]}}:function(a,c,d){if(typeof c.getElementById!==j&&!d){var e=c.getElementById(a);return e?e.id===a||typeof e.getAttributeNode!==j&&e.getAttributeNode("id").value===a?[e]:b:[]}},TAG:W?function(a,b){if(typeof b.getElementsByTagName!==j)return b.getElementsByTagName(a)}:function(a,b){var c=b.getElementsByTagName(a);if(a==="*"){var d,e=[],f=0;for(;d=c[f];f++)d.nodeType===1&&e.push(d);return e}return c}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(K,""),a[3]=(a[4]||a[5]||"").replace(K,""),a[2]==="~="&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),a[1]==="nth"?(a[2]||Z.error(a[0]),a[3]=+(a[3]?a[4]+(a[5]||1):2*(a[2]==="even"||a[2]==="odd")),a[4]=+(a[6]+a[7]||a[2]==="odd")):a[2]&&Z.error(a[0]),a},PSEUDO:function(a){var b,c=a[4];return L.CHILD.test(a[0])?null:(c&&(b=D.exec(c))&&b.pop()&&(a[0]=a[0].slice(0,b[0].length-c.length-1),c=b[0].slice(0,-1)),a.splice(2,3,c||a[3]),a)}},filter:{ID:g?function(a){return a=a.replace(K,""),function(b){return b.getAttribute("id")===a}}:function(a){return a=a.replace(K,""),function(b){var c=typeof b.getAttributeNode!==j&&b.getAttributeNode("id");return c&&c.value===a}},TAG:function(a){return a==="*"?function(){return!0}:(a=a.replace(K,"").toLowerCase(),function(b){return b.nodeName&&b.nodeName.toLowerCase()===a})},CLASS:function(a){var b=M[a];return b||(b=M[a]=new RegExp("(^|"+r+")"+a+"("+r+"|$)"),N.push(a),N.length>$.cacheLength&&delete M[N.shift()]),function(a){return b.test(a.className||typeof a.getAttribute!==j&&a.getAttribute("class")||"")}},ATTR:function(a,b,c){return b?function(d){var e=Z.attr(d,a),f=e+"";if(e==null)return b==="!=";switch(b){case"=":return f===c;case"!=":return f!==c;case"^=":return c&&f.indexOf(c)===0;case"*=":return c&&f.indexOf(c)>-1;case"$=":return c&&f.substr(f.length-c.length)===c;case"~=":return(" "+f+" ").indexOf(c)>-1;case"|=":return f===c||f.substr(0,c.length+1)===c+"-"}}:function(b){return Z.attr(b,a)!=null}},CHILD:function(a,b,c,d){if(a==="nth"){var e=m++;return function(a){var b,f,g=0,h=a;if(c===1&&d===0)return!0;b=a.parentNode;if(b&&(b[q]!==e||!a.sizset)){for(h=b.firstChild;h;h=h.nextSibling)if(h.nodeType===1){h.sizset=++g;if(h===a)break}b[q]=e}return f=a.sizset-d,c===0?f===0:f%c===0&&f/c>=0}}return function(b){var c=b;switch(a){case"only":case"first":while(c=c.previousSibling)if(c.nodeType===1)return!1;if(a==="first")return!0;c=b;case"last":while(c=c.nextSibling)if(c.nodeType===1)return!1;return!0}}},PSEUDO:function(a,b,c,d){var e=$.pseudos[a]||$.pseudos[a.toLowerCase()];return e||Z.error("unsupported pseudo: "+a),e.sizzleFilter?e(b,c,d):e}},pseudos:{not:Q(function(a,b,c){var d=bl(a.replace(A,"$1"),b,c);return function(a){return!d(a)}}),enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&!!a.checked||b==="option"&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},parent:function(a){return!$.pseudos.empty(a)},empty:function(a){var b;a=a.firstChild;while(a){if(a.nodeName>"@"||(b=a.nodeType)===3||b===4)return!1;a=a.nextSibling}return!0},contains:Q(function(a){return function(b){return(b.textContent||b.innerText||bc(b)).indexOf(a)>-1}}),has:Q(function(a){return function(b){return Z(a,b).length>0}}),header:function(a){return I.test(a.nodeName)},text:function(a){var b,c;return a.nodeName.toLowerCase()==="input"&&(b=a.type)==="text"&&((c=a.getAttribute("type"))==null||c.toLowerCase()===b)},radio:R("radio"),checkbox:R("checkbox"),file:R("file"),password:R("password"),image:R("image"),submit:S("submit"),reset:S("reset"),button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&a.type==="button"||b==="button"},input:function(a){return J.test(a.nodeName)},focus:function(a){var b=a.ownerDocument;return a===b.activeElement&&(!b.hasFocus||b.hasFocus())&&(!!a.type||!!a.href)},active:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b,c){return c?a.slice(1):[a[0]]},last:function(a,b,c){var d=a.pop();return c?a:[d]},even:function(a,b,c){var d=[],e=c?1:0,f=a.length;for(;e<f;e=e+2)d.push(a[e]);return d},odd:function(a,b,c){var d=[],e=c?0:1,f=a.length;for(;e<f;e=e+2)d.push(a[e]);return d},lt:function(a,b,c){return c?a.slice(+b):a.slice(0,+b)},gt:function(a,b,c){return c?a.slice(0,+b+1):a.slice(+b+1)},eq:function(a,b,c){var d=a.splice(+b,1);return c?a:d}}};$.setFilters.nth=$.setFilters.eq,$.filters=$.pseudos,X||($.attrHandle={href:function(a){return a.getAttribute("href",2)},type:function(a){return a.getAttribute("type")}}),V&&($.order.push("NAME"),$.find.NAME=function(a,b){if(typeof b.getElementsByName!==j)return b.getElementsByName(a)}),Y&&($.order.splice(1,0,"CLASS"),$.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!==j&&!c)return b.getElementsByClassName(a)});try{n.call(i.childNodes,0)[0].nodeType}catch(_){n=function(a){var b,c=[];for(;b=this[a];a++)c.push(b);return c}}var ba=Z.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?b.nodeName!=="HTML":!1},bb=Z.contains=i.compareDocumentPosition?function(a,b){return!!(a.compareDocumentPosition(b)&16)}:i.contains?function(a,b){var c=a.nodeType===9?a.documentElement:a,d=b.parentNode;return a===d||!!(d&&d.nodeType===1&&c.contains&&c.contains(d))}:function(a,b){while(b=b.parentNode)if(b===a)return!0;return!1},bc=Z.getText=function(a){var b,c="",d=0,e=a.nodeType;if(e){if(e===1||e===9||e===11){if(typeof a.textContent=="string")return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=bc(a)}else if(e===3||e===4)return a.nodeValue}else for(;b=a[d];d++)c+=bc(b);return c};Z.attr=function(a,b){var c,d=ba(a);return d||(b=b.toLowerCase()),$.attrHandle[b]?$.attrHandle[b](a):U||d?a.getAttribute(b):(c=a.getAttributeNode(b),c?typeof a[b]=="boolean"?a[b]?b:null:c.specified?c.value:null:null)},Z.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},[0,0].sort(function(){return l=0}),i.compareDocumentPosition?e=function(a,b){return a===b?(k=!0,0):(!a.compareDocumentPosition||!b.compareDocumentPosition?a.compareDocumentPosition:a.compareDocumentPosition(b)&4)?-1:1}:(e=function(a,b){if(a===b)return k=!0,0;if(a.sourceIndex&&b.sourceIndex)return a.sourceIndex-b.sourceIndex;var c,d,e=[],g=[],h=a.parentNode,i=b.parentNode,j=h;if(h===i)return f(a,b);if(!h)return-1;if(!i)return 1;while(j)e.unshift(j),j=j.parentNode;j=i;while(j)g.unshift(j),j=j.parentNode;c=e.length,d=g.length;for(var l=0;l<c&&l<d;l++)if(e[l]!==g[l])return f(e[l],g[l]);return l===c?f(a,g[l],-1):f(e[l],b,1)},f=function(a,b,c){if(a===b)return c;var d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return 1}),Z.uniqueSort=function(a){var b,c=1;if(e){k=l,a.sort(e);if(k)for(;b=a[c];c++)b===a[c-1]&&a.splice(c--,1)}return a};var bl=Z.compile=function(a,b,c){var d,e,f,g=O[a];if(g&&g.context===b)return g;e=bg(a,b,c);for(f=0;d=e[f];f++)e[f]=bj(d,b,c);return g=O[a]=bk(e),g.context=b,g.runs=g.dirruns=0,P.push(a),P.length>$.cacheLength&&delete O[P.shift()],g};Z.matches=function(a,b){return Z(a,null,null,b)},Z.matchesSelector=function(a,b){return Z(b,null,null,[a]).length>0};var bm=function(a,b,e,f,g){a=a.replace(A,"$1");var h,i,j,k,l,m,p,q,r,s=a.match(C),t=a.match(E),u=b.nodeType;if(L.POS.test(a))return bf(a,b,e,f,s);if(f)h=n.call(f,0);else if(s&&s.length===1){if(t.length>1&&u===9&&!g&&(s=L.ID.exec(t[0]))){b=$.find.ID(s[1],b,g)[0];if(!b)return e;a=a.slice(t.shift().length)}q=(s=G.exec(t[0]))&&!s.index&&b.parentNode||b,r=t.pop(),m=r.split(":not")[0];for(j=0,k=$.order.length;j<k;j++){p=$.order[j];if(s=L[p].exec(m)){h=$.find[p]((s[1]||"").replace(K,""),q,g);if(h==null)continue;m===r&&(a=a.slice(0,a.length-r.length)+m.replace(L[p],""),a||o.apply(e,n.call(h,0)));break}}}if(a){i=bl(a,b,g),d=i.dirruns++,h==null&&(h=$.find.TAG("*",G.test(a)&&b.parentNode||b));for(j=0;l=h[j];j++)c=i.runs++,i(l,b)&&e.push(l)}return e};h.querySelectorAll&&function(){var a,b=bm,c=/'|\\/g,d=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,e=[],f=[":active"],g=i.matchesSelector||i.mozMatchesSelector||i.webkitMatchesSelector||i.oMatchesSelector||i.msMatchesSelector;T(function(a){a.innerHTML="<select><option selected></option></select>",a.querySelectorAll("[selected]").length||e.push("\\["+r+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),a.querySelectorAll(":checked").length||e.push(":checked")}),T(function(a){a.innerHTML="<p test=''></p>",a.querySelectorAll("[test^='']").length&&e.push("[*^$]="+r+"*(?:\"\"|'')"),a.innerHTML="<input type='hidden'>",a.querySelectorAll(":enabled").length||e.push(":enabled",":disabled")}),e=e.length&&new RegExp(e.join("|")),bm=function(a,d,f,g,h){if(!g&&!h&&(!e||!e.test(a)))if(d.nodeType===9)try{return o.apply(f,n.call(d.querySelectorAll(a),0)),f}catch(i){}else if(d.nodeType===1&&d.nodeName.toLowerCase()!=="object"){var j=d.getAttribute("id"),k=j||q,l=G.test(a)&&d.parentNode||d;j?k=k.replace(c,"\\$&"):d.setAttribute("id",k);try{return o.apply(f,n.call(l.querySelectorAll(a.replace(C,"[id='"+k+"'] $&")),0)),f}catch(i){}finally{j||d.removeAttribute("id")}}return b(a,d,f,g,h)},g&&(T(function(b){a=g.call(b,"div");try{g.call(b,"[test!='']:sizzle"),f.push($.match.PSEUDO)}catch(c){}}),f=new RegExp(f.join("|")),Z.matchesSelector=function(b,c){c=c.replace(d,"='$1']");if(!ba(b)&&!f.test(c)&&(!e||!e.test(c)))try{var h=g.call(b,c);if(h||a||b.document&&b.document.nodeType!==11)return h}catch(i){}return Z(c,null,null,[b]).length>0})}(),Z.attr=p.attr,p.find=Z,p.expr=Z.selectors,p.expr[":"]=p.expr.pseudos,p.unique=Z.uniqueSort,p.text=Z.getText,p.isXMLDoc=Z.isXML,p.contains=Z.contains}(a);var bc=/Until$/,bd=/^(?:parents|prev(?:Until|All))/,be=/^.[^:#\[\.,]*$/,bf=p.expr.match.needsContext,bg={children:!0,contents:!0,next:!0,prev:!0};p.fn.extend({find:function(a){var b,c,d,e,f,g,h=this;if(typeof a!="string")return p(a).filter(function(){for(b=0,c=h.length;b<c;b++)if(p.contains(h[b],this))return!0});g=this.pushStack("","find",a);for(b=0,c=this.length;b<c;b++){d=g.length,p.find(a,this[b],g);if(b>0)for(e=d;e<g.length;e++)for(f=0;f<d;f++)if(g[f]===g[e]){g.splice(e--,1);break}}return g},has:function(a){var b,c=p(a,this),d=c.length;return this.filter(function(){for(b=0;b<d;b++)if(p.contains(this,c[b]))return!0})},not:function(a){return this.pushStack(bj(this,a,!1),"not",a)},filter:function(a){return this.pushStack(bj(this,a,!0),"filter",a)},is:function(a){return!!a&&(typeof a=="string"?bf.test(a)?p(a,this.context).index(this[0])>=0:p.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c,d=0,e=this.length,f=[],g=bf.test(a)||typeof a!="string"?p(a,b||this.context):0;for(;d<e;d++){c=this[d];while(c&&c.ownerDocument&&c!==b&&c.nodeType!==11){if(g?g.index(c)>-1:p.find.matchesSelector(c,a)){f.push(c);break}c=c.parentNode}}return f=f.length>1?p.unique(f):f,this.pushStack(f,"closest",a)},index:function(a){return a?typeof a=="string"?p.inArray(this[0],p(a)):p.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(a,b){var c=typeof a=="string"?p(a,b):p.makeArray(a&&a.nodeType?[a]:a),d=p.merge(this.get(),c);return this.pushStack(bh(c[0])||bh(d[0])?d:p.unique(d))},addBack:function(a){return this.add(a==null?this.prevObject:this.prevObject.filter(a))}}),p.fn.andSelf=p.fn.addBack,p.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return p.dir(a,"parentNode")},parentsUntil:function(a,b,c){return p.dir(a,"parentNode",c)},next:function(a){return bi(a,"nextSibling")},prev:function(a){return bi(a,"previousSibling")},nextAll:function(a){return p.dir(a,"nextSibling")},prevAll:function(a){return p.dir(a,"previousSibling")},nextUntil:function(a,b,c){return p.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return p.dir(a,"previousSibling",c)},siblings:function(a){return p.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return p.sibling(a.firstChild)},contents:function(a){return p.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:p.merge([],a.childNodes)}},function(a,b){p.fn[a]=function(c,d){var e=p.map(this,b,c);return bc.test(a)||(d=c),d&&typeof d=="string"&&(e=p.filter(d,e)),e=this.length>1&&!bg[a]?p.unique(e):e,this.length>1&&bd.test(a)&&(e=e.reverse()),this.pushStack(e,a,k.call(arguments).join(","))}}),p.extend({filter:function(a,b,c){return c&&(a=":not("+a+")"),b.length===1?p.find.matchesSelector(b[0],a)?[b[0]]:[]:p.find.matches(a,b)},dir:function(a,c,d){var e=[],f=a[c];while(f&&f.nodeType!==9&&(d===b||f.nodeType!==1||!p(f).is(d)))f.nodeType===1&&e.push(f),f=f[c];return e},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var bl="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",bm=/ jQuery\d+="(?:null|\d+)"/g,bn=/^\s+/,bo=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bp=/<([\w:]+)/,bq=/<tbody/i,br=/<|&#?\w+;/,bs=/<(?:script|style|link)/i,bt=/<(?:script|object|embed|option|style)/i,bu=new RegExp("<(?:"+bl+")[\\s/>]","i"),bv=/^(?:checkbox|radio)$/,bw=/checked\s*(?:[^=]|=\s*.checked.)/i,bx=/\/(java|ecma)script/i,by=/^\s*<!(?:\[CDATA\[|\-\-)|[\]\-]{2}>\s*$/g,bz={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},bA=bk(e),bB=bA.appendChild(e.createElement("div"));bz.optgroup=bz.option,bz.tbody=bz.tfoot=bz.colgroup=bz.caption=bz.thead,bz.th=bz.td,p.support.htmlSerialize||(bz._default=[1,"X<div>","</div>"]),p.fn.extend({text:function(a){return p.access(this,function(a){return a===b?p.text(this):this.empty().append((this[0]&&this[0].ownerDocument||e).createTextNode(a))},null,a,arguments.length)},wrapAll:function(a){if(p.isFunction(a))return this.each(function(b){p(this).wrapAll(a.call(this,b))});if(this[0]){var b=p(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return p.isFunction(a)?this.each(function(b){p(this).wrapInner(a.call(this,b))}):this.each(function(){var b=p(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=p.isFunction(a);return this.each(function(c){p(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){p.nodeName(this,"body")||p(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){(this.nodeType===1||this.nodeType===11)&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){(this.nodeType===1||this.nodeType===11)&&this.insertBefore(a,this.firstChild)})},before:function(){if(!bh(this[0]))return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=p.clean(arguments);return this.pushStack(p.merge(a,this),"before",this.selector)}},after:function(){if(!bh(this[0]))return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=p.clean(arguments);return this.pushStack(p.merge(this,a),"after",this.selector)}},remove:function(a,b){var c,d=0;for(;(c=this[d])!=null;d++)if(!a||p.filter(a,[c]).length)!b&&c.nodeType===1&&(p.cleanData(c.getElementsByTagName("*")),p.cleanData([c])),c.parentNode&&c.parentNode.removeChild(c);return this},empty:function(){var a,b=0;for(;(a=this[b])!=null;b++){a.nodeType===1&&p.cleanData(a.getElementsByTagName("*"));while(a.firstChild)a.removeChild(a.firstChild)}return this},clone:function(a,b){return a=a==null?!1:a,b=b==null?a:b,this.map(function(){return p.clone(this,a,b)})},html:function(a){return p.access(this,function(a){var c=this[0]||{},d=0,e=this.length;if(a===b)return c.nodeType===1?c.innerHTML.replace(bm,""):b;if(typeof a=="string"&&!bs.test(a)&&(p.support.htmlSerialize||!bu.test(a))&&(p.support.leadingWhitespace||!bn.test(a))&&!bz[(bp.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(bo,"<$1></$2>");try{for(;d<e;d++)c=this[d]||{},c.nodeType===1&&(p.cleanData(c.getElementsByTagName("*")),c.innerHTML=a);c=0}catch(f){}}c&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(a){return bh(this[0])?this.length?this.pushStack(p(p.isFunction(a)?a():a),"replaceWith",a):this:p.isFunction(a)?this.each(function(b){var c=p(this),d=c.html();c.replaceWith(a.call(this,b,d))}):(typeof a!="string"&&(a=p(a).detach()),this.each(function(){var b=this.nextSibling,c=this.parentNode;p(this).remove(),b?p(b).before(a):p(c).append(a)}))},detach:function(a){return this.remove(a,!0)},domManip:function(a,c,d){a=[].concat.apply([],a);var e,f,g,h,i=0,j=a[0],k=[],l=this.length;if(!p.support.checkClone&&l>1&&typeof j=="string"&&bw.test(j))return this.each(function(){p(this).domManip(a,c,d)});if(p.isFunction(j))return this.each(function(e){var f=p(this);a[0]=j.call(this,e,c?f.html():b),f.domManip(a,c,d)});if(this[0]){e=p.buildFragment(a,this,k),g=e.fragment,f=g.firstChild,g.childNodes.length===1&&(g=f);if(f){c=c&&p.nodeName(f,"tr");for(h=e.cacheable||l-1;i<l;i++)d.call(c&&p.nodeName(this[i],"table")?bC(this[i],"tbody"):this[i],i===h?g:p.clone(g,!0,!0))}g=f=null,k.length&&p.each(k,function(a,b){b.src?p.ajax?p.ajax({url:b.src,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0}):p.error("no ajax"):p.globalEval((b.text||b.textContent||b.innerHTML||"").replace(by,"")),b.parentNode&&b.parentNode.removeChild(b)})}return this}}),p.buildFragment=function(a,c,d){var f,g,h,i=a[0];return c=c||e,c=(c[0]||c).ownerDocument||c[0]||c,typeof c.createDocumentFragment=="undefined"&&(c=e),a.length===1&&typeof i=="string"&&i.length<512&&c===e&&i.charAt(0)==="<"&&!bt.test(i)&&(p.support.checkClone||!bw.test(i))&&(p.support.html5Clone||!bu.test(i))&&(g=!0,f=p.fragments[i],h=f!==b),f||(f=c.createDocumentFragment(),p.clean(a,c,f,d),g&&(p.fragments[i]=h&&f)),{fragment:f,cacheable:g}},p.fragments={},p.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){p.fn[a]=function(c){var d,e=0,f=[],g=p(c),h=g.length,i=this.length===1&&this[0].parentNode;if((i==null||i&&i.nodeType===11&&i.childNodes.length===1)&&h===1)return g[b](this[0]),this;for(;e<h;e++)d=(e>0?this.clone(!0):this).get(),p(g[e])[b](d),f=f.concat(d);return this.pushStack(f,a,g.selector)}}),p.extend({clone:function(a,b,c){var d,e,f,g;p.support.html5Clone||p.isXMLDoc(a)||!bu.test("<"+a.nodeName+">")?g=a.cloneNode(!0):(bB.innerHTML=a.outerHTML,bB.removeChild(g=bB.firstChild));if((!p.support.noCloneEvent||!p.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!p.isXMLDoc(a)){bE(a,g),d=bF(a),e=bF(g);for(f=0;d[f];++f)e[f]&&bE(d[f],e[f])}if(b){bD(a,g);if(c){d=bF(a),e=bF(g);for(f=0;d[f];++f)bD(d[f],e[f])}}return d=e=null,g},clean:function(a,b,c,d){var f,g,h,i,j,k,l,m,n,o,q,r,s=0,t=[];if(!b||typeof b.createDocumentFragment=="undefined")b=e;for(g=b===e&&bA;(h=a[s])!=null;s++){typeof h=="number"&&(h+="");if(!h)continue;if(typeof h=="string")if(!br.test(h))h=b.createTextNode(h);else{g=g||bk(b),l=l||g.appendChild(b.createElement("div")),h=h.replace(bo,"<$1></$2>"),i=(bp.exec(h)||["",""])[1].toLowerCase(),j=bz[i]||bz._default,k=j[0],l.innerHTML=j[1]+h+j[2];while(k--)l=l.lastChild;if(!p.support.tbody){m=bq.test(h),n=i==="table"&&!m?l.firstChild&&l.firstChild.childNodes:j[1]==="<table>"&&!m?l.childNodes:[];for(f=n.length-1;f>=0;--f)p.nodeName(n[f],"tbody")&&!n[f].childNodes.length&&n[f].parentNode.removeChild(n[f])}!p.support.leadingWhitespace&&bn.test(h)&&l.insertBefore(b.createTextNode(bn.exec(h)[0]),l.firstChild),h=l.childNodes,l=g.lastChild}h.nodeType?t.push(h):t=p.merge(t,h)}l&&(g.removeChild(l),h=l=g=null);if(!p.support.appendChecked)for(s=0;(h=t[s])!=null;s++)p.nodeName(h,"input")?bG(h):typeof h.getElementsByTagName!="undefined"&&p.grep(h.getElementsByTagName("input"),bG);if(c){q=function(a){if(!a.type||bx.test(a.type))return d?d.push(a.parentNode?a.parentNode.removeChild(a):a):c.appendChild(a)};for(s=0;(h=t[s])!=null;s++)if(!p.nodeName(h,"script")||!q(h))c.appendChild(h),typeof h.getElementsByTagName!="undefined"&&(r=p.grep(p.merge([],h.getElementsByTagName("script")),q),t.splice.apply(t,[s+1,0].concat(r)),s+=r.length)}return t},cleanData:function(a,b){var c,d,e,f,g=0,h=p.expando,i=p.cache,j=p.support.deleteExpando,k=p.event.special;for(;(e=a[g])!=null;g++)if(b||p.acceptData(e)){d=e[h],c=d&&i[d];if(c){if(c.events)for(f in c.events)k[f]?p.event.remove(e,f):p.removeEvent(e,f,c.handle);i[d]&&(delete i[d],j?delete e[h]:e.removeAttribute?e.removeAttribute(h):e[h]=null,p.deletedIds.push(d))}}}}),function(){var a,b;p.uaMatch=function(a){a=a.toLowerCase();var b=/(chrome)[ \/]([\w.]+)/.exec(a)||/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||a.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},a=p.uaMatch(g.userAgent),b={},a.browser&&(b[a.browser]=!0,b.version=a.version),b.webkit&&(b.safari=!0),p.browser=b,p.sub=function(){function a(b,c){return new a.fn.init(b,c)}p.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.sub=this.sub,a.fn.init=function c(c,d){return d&&d instanceof p&&!(d instanceof a)&&(d=a(d)),p.fn.init.call(this,c,d,b)},a.fn.init.prototype=a.fn;var b=a(e);return a}}();var bH,bI,bJ,bK=/alpha\([^)]*\)/i,bL=/opacity=([^)]*)/,bM=/^(top|right|bottom|left)$/,bN=/^margin/,bO=new RegExp("^("+q+")(.*)$","i"),bP=new RegExp("^("+q+")(?!px)[a-z%]+$","i"),bQ=new RegExp("^([-+])=("+q+")","i"),bR={},bS={position:"absolute",visibility:"hidden",display:"block"},bT={letterSpacing:0,fontWeight:400,lineHeight:1},bU=["Top","Right","Bottom","Left"],bV=["Webkit","O","Moz","ms"],bW=p.fn.toggle;p.fn.extend({css:function(a,c){return p.access(this,function(a,c,d){return d!==b?p.style(a,c,d):p.css(a,c)},a,c,arguments.length>1)},show:function(){return bZ(this,!0)},hide:function(){return bZ(this)},toggle:function(a,b){var c=typeof a=="boolean";return p.isFunction(a)&&p.isFunction(b)?bW.apply(this,arguments):this.each(function(){(c?a:bY(this))?p(this).show():p(this).hide()})}}),p.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=bH(a,"opacity");return c===""?"1":c}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":p.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,e){if(!a||a.nodeType===3||a.nodeType===8||!a.style)return;var f,g,h,i=p.camelCase(c),j=a.style;c=p.cssProps[i]||(p.cssProps[i]=bX(j,i)),h=p.cssHooks[c]||p.cssHooks[i];if(d===b)return h&&"get"in h&&(f=h.get(a,!1,e))!==b?f:j[c];g=typeof d,g==="string"&&(f=bQ.exec(d))&&(d=(f[1]+1)*f[2]+parseFloat(p.css(a,c)),g="number");if(d==null||g==="number"&&isNaN(d))return;g==="number"&&!p.cssNumber[i]&&(d+="px");if(!h||!("set"in h)||(d=h.set(a,d,e))!==b)try{j[c]=d}catch(k){}},css:function(a,c,d,e){var f,g,h,i=p.camelCase(c);return c=p.cssProps[i]||(p.cssProps[i]=bX(a.style,i)),h=p.cssHooks[c]||p.cssHooks[i],h&&"get"in h&&(f=h.get(a,!0,e)),f===b&&(f=bH(a,c)),f==="normal"&&c in bT&&(f=bT[c]),d||e!==b?(g=parseFloat(f),d||p.isNumeric(g)?g||0:f):f},swap:function(a,b,c){var d,e,f={};for(e in b)f[e]=a.style[e],a.style[e]=b[e];d=c.call(a);for(e in b)a.style[e]=f[e];return d}}),a.getComputedStyle?bH=function(a,b){var c,d,e,f,g=getComputedStyle(a,null),h=a.style;return g&&(c=g[b],c===""&&!p.contains(a.ownerDocument.documentElement,a)&&(c=p.style(a,b)),bP.test(c)&&bN.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=c,c=g.width,h.width=d,h.minWidth=e,h.maxWidth=f)),c}:e.documentElement.currentStyle&&(bH=function(a,b){var c,d,e=a.currentStyle&&a.currentStyle[b],f=a.style;return e==null&&f&&f[b]&&(e=f[b]),bP.test(e)&&!bM.test(b)&&(c=f.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),f.left=b==="fontSize"?"1em":e,e=f.pixelLeft+"px",f.left=c,d&&(a.runtimeStyle.left=d)),e===""?"auto":e}),p.each(["height","width"],function(a,b){p.cssHooks[b]={get:function(a,c,d){if(c)return a.offsetWidth!==0||bH(a,"display")!=="none"?ca(a,b,d):p.swap(a,bS,function(){return ca(a,b,d)})},set:function(a,c,d){return b$(a,c,d?b_(a,b,d,p.support.boxSizing&&p.css(a,"boxSizing")==="border-box"):0)}}}),p.support.opacity||(p.cssHooks.opacity={get:function(a,b){return bL.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=p.isNumeric(b)?"alpha(opacity="+b*100+")":"",f=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&p.trim(f.replace(bK,""))===""&&c.removeAttribute){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bK.test(f)?f.replace(bK,e):f+" "+e}}),p(function(){p.support.reliableMarginRight||(p.cssHooks.marginRight={get:function(a,b){return p.swap(a,{display:"inline-block"},function(){if(b)return bH(a,"marginRight")})}}),!p.support.pixelPosition&&p.fn.position&&p.each(["top","left"],function(a,b){p.cssHooks[b]={get:function(a,c){if(c){var d=bH(a,b);return bP.test(d)?p(a).position()[b]+"px":d}}}})}),p.expr&&p.expr.filters&&(p.expr.filters.hidden=function(a){return a.offsetWidth===0&&a.offsetHeight===0||!p.support.reliableHiddenOffsets&&(a.style&&a.style.display||bH(a,"display"))==="none"},p.expr.filters.visible=function(a){return!p.expr.filters.hidden(a)}),p.each({margin:"",padding:"",border:"Width"},function(a,b){p.cssHooks[a+b]={expand:function(c){var d,e=typeof c=="string"?c.split(" "):[c],f={};for(d=0;d<4;d++)f[a+bU[d]+b]=e[d]||e[d-2]||e[0];return f}},bN.test(a)||(p.cssHooks[a+b].set=b$)});var cc=/%20/g,cd=/\[\]$/,ce=/\r?\n/g,cf=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,cg=/^(?:select|textarea)/i;p.fn.extend({serialize:function(){return p.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?p.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||cg.test(this.nodeName)||cf.test(this.type))}).map(function(a,b){var c=p(this).val();return c==null?null:p.isArray(c)?p.map(c,function(a,c){return{name:b.name,value:a.replace(ce,"\r\n")}}):{name:b.name,value:c.replace(ce,"\r\n")}}).get()}}),p.param=function(a,c){var d,e=[],f=function(a,b){b=p.isFunction(b)?b():b==null?"":b,e[e.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=p.ajaxSettings&&p.ajaxSettings.traditional);if(p.isArray(a)||a.jquery&&!p.isPlainObject(a))p.each(a,function(){f(this.name,this.value)});else for(d in a)ch(d,a[d],c,f);return e.join("&").replace(cc,"+")};var ci,cj,ck=/#.*$/,cl=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,cm=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,cn=/^(?:GET|HEAD)$/,co=/^\/\//,cp=/\?/,cq=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,cr=/([?&])_=[^&]*/,cs=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,ct=p.fn.load,cu={},cv={},cw=["*/"]+["*"];try{ci=f.href}catch(cx){ci=e.createElement("a"),ci.href="",ci=ci.href}cj=cs.exec(ci.toLowerCase())||[],p.fn.load=function(a,c,d){if(typeof a!="string"&&ct)return ct.apply(this,arguments);if(!this.length)return this;var e,f,g,h=this,i=a.indexOf(" ");return i>=0&&(e=a.slice(i,a.length),a=a.slice(0,i)),p.isFunction(c)?(d=c,c=b):typeof c=="object"&&(f="POST"),p.ajax({url:a,type:f,dataType:"html",data:c,complete:function(a,b){d&&h.each(d,g||[a.responseText,b,a])}}).done(function(a){g=arguments,h.html(e?p("<div>").append(a.replace(cq,"")).find(e):a)}),this},p.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){p.fn[b]=function(a){return this.on(b,a)}}),p.each(["get","post"],function(a,c){p[c]=function(a,d,e,f){return p.isFunction(d)&&(f=f||e,e=d,d=b),p.ajax({type:c,url:a,data:d,success:e,dataType:f})}}),p.extend({getScript:function(a,c){return p.get(a,b,c,"script")},getJSON:function(a,b,c){return p.get(a,b,c,"json")},ajaxSetup:function(a,b){return b?cA(a,p.ajaxSettings):(b=a,a=p.ajaxSettings),cA(a,b),a},ajaxSettings:{url:ci,isLocal:cm.test(cj[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":cw},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":p.parseJSON,"text xml":p.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:cy(cu),ajaxTransport:cy(cv),ajax:function(a,c){function y(a,c,f,i){var k,s,t,u,w,y=c;if(v===2)return;v=2,h&&clearTimeout(h),g=b,e=i||"",x.readyState=a>0?4:0,f&&(u=cB(l,x,f));if(a>=200&&a<300||a===304)l.ifModified&&(w=x.getResponseHeader("Last-Modified"),w&&(p.lastModified[d]=w),w=x.getResponseHeader("Etag"),w&&(p.etag[d]=w)),a===304?(y="notmodified",k=!0):(k=cC(l,u),y=k.state,s=k.data,t=k.error,k=!t);else{t=y;if(!y||a)y="error",a<0&&(a=0)}x.status=a,x.statusText=""+(c||y),k?o.resolveWith(m,[s,y,x]):o.rejectWith(m,[x,y,t]),x.statusCode(r),r=b,j&&n.trigger("ajax"+(k?"Success":"Error"),[x,l,k?s:t]),q.fireWith(m,[x,y]),j&&(n.trigger("ajaxComplete",[x,l]),--p.active||p.event.trigger("ajaxStop"))}typeof a=="object"&&(c=a,a=b),c=c||{};var d,e,f,g,h,i,j,k,l=p.ajaxSetup({},c),m=l.context||l,n=m!==l&&(m.nodeType||m instanceof p)?p(m):p.event,o=p.Deferred(),q=p.Callbacks("once memory"),r=l.statusCode||{},t={},u={},v=0,w="canceled",x={readyState:0,setRequestHeader:function(a,b){if(!v){var c=a.toLowerCase();a=u[c]=u[c]||a,t[a]=b}return this},getAllResponseHeaders:function(){return v===2?e:null},getResponseHeader:function(a){var c;if(v===2){if(!f){f={};while(c=cl.exec(e))f[c[1].toLowerCase()]=c[2]}c=f[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){return v||(l.mimeType=a),this},abort:function(a){return a=a||w,g&&g.abort(a),y(0,a),this}};o.promise(x),x.success=x.done,x.error=x.fail,x.complete=q.add,x.statusCode=function(a){if(a){var b;if(v<2)for(b in a)r[b]=[r[b],a[b]];else b=a[x.status],x.always(b)}return this},l.url=((a||l.url)+"").replace(ck,"").replace(co,cj[1]+"//"),l.dataTypes=p.trim(l.dataType||"*").toLowerCase().split(s),l.crossDomain==null&&(i=cs.exec(l.url.toLowerCase()),l.crossDomain=!(!i||i[1]==cj[1]&&i[2]==cj[2]&&(i[3]||(i[1]==="http:"?80:443))==(cj[3]||(cj[1]==="http:"?80:443)))),l.data&&l.processData&&typeof l.data!="string"&&(l.data=p.param(l.data,l.traditional)),cz(cu,l,c,x);if(v===2)return x;j=l.global,l.type=l.type.toUpperCase(),l.hasContent=!cn.test(l.type),j&&p.active++===0&&p.event.trigger("ajaxStart");if(!l.hasContent){l.data&&(l.url+=(cp.test(l.url)?"&":"?")+l.data,delete l.data),d=l.url;if(l.cache===!1){var z=p.now(),A=l.url.replace(cr,"$1_="+z);l.url=A+(A===l.url?(cp.test(l.url)?"&":"?")+"_="+z:"")}}(l.data&&l.hasContent&&l.contentType!==!1||c.contentType)&&x.setRequestHeader("Content-Type",l.contentType),l.ifModified&&(d=d||l.url,p.lastModified[d]&&x.setRequestHeader("If-Modified-Since",p.lastModified[d]),p.etag[d]&&x.setRequestHeader("If-None-Match",p.etag[d])),x.setRequestHeader("Accept",l.dataTypes[0]&&l.accepts[l.dataTypes[0]]?l.accepts[l.dataTypes[0]]+(l.dataTypes[0]!=="*"?", "+cw+"; q=0.01":""):l.accepts["*"]);for(k in l.headers)x.setRequestHeader(k,l.headers[k]);if(!l.beforeSend||l.beforeSend.call(m,x,l)!==!1&&v!==2){w="abort";for(k in{success:1,error:1,complete:1})x[k](l[k]);g=cz(cv,l,c,x);if(!g)y(-1,"No Transport");else{x.readyState=1,j&&n.trigger("ajaxSend",[x,l]),l.async&&l.timeout>0&&(h=setTimeout(function(){x.abort("timeout")},l.timeout));try{v=1,g.send(t,y)}catch(B){if(v<2)y(-1,B);else throw B}}return x}return x.abort()},active:0,lastModified:{},etag:{}});var cD=[],cE=/\?/,cF=/(=)\?(?=&|$)|\?\?/,cG=p.now();p.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=cD.pop()||p.expando+"_"+cG++;return this[a]=!0,a}}),p.ajaxPrefilter("json jsonp",function(c,d,e){var f,g,h,i=c.data,j=c.url,k=c.jsonp!==!1,l=k&&cF.test(j),m=k&&!l&&typeof i=="string"&&!(c.contentType||"").indexOf("application/x-www-form-urlencoded")&&cF.test(i);if(c.dataTypes[0]==="jsonp"||l||m)return f=c.jsonpCallback=p.isFunction(c.jsonpCallback)?c.jsonpCallback():c.jsonpCallback,g=a[f],l?c.url=j.replace(cF,"$1"+f):m?c.data=i.replace(cF,"$1"+f):k&&(c.url+=(cE.test(j)?"&":"?")+c.jsonp+"="+f),c.converters["script json"]=function(){return h||p.error(f+" was not called"),h[0]},c.dataTypes[0]="json",a[f]=function(){h=arguments},e.always(function(){a[f]=g,c[f]&&(c.jsonpCallback=d.jsonpCallback,cD.push(f)),h&&p.isFunction(g)&&g(h[0]),h=g=b}),"script"}),p.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){return p.globalEval(a),a}}}),p.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),p.ajaxTransport("script",function(a){if(a.crossDomain){var c,d=e.head||e.getElementsByTagName("head")[0]||e.documentElement;return{send:function(f,g){c=e.createElement("script"),c.async="async",a.scriptCharset&&(c.charset=a.scriptCharset),c.src=a.url,c.onload=c.onreadystatechange=function(a,e){if(e||!c.readyState||/loaded|complete/.test(c.readyState))c.onload=c.onreadystatechange=null,d&&c.parentNode&&d.removeChild(c),c=b,e||g(200,"success")},d.insertBefore(c,d.firstChild)},abort:function(){c&&c.onload(0,1)}}}});var cH,cI=a.ActiveXObject?function(){for(var a in cH)cH[a](0,1)}:!1,cJ=0;p.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&cK()||cL()}:cK,function(a){p.extend(p.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(p.ajaxSettings.xhr()),p.support.ajax&&p.ajaxTransport(function(c){if(!c.crossDomain||p.support.cors){var d;return{send:function(e,f){var g,h,i=c.xhr();c.username?i.open(c.type,c.url,c.async,c.username,c.password):i.open(c.type,c.url,c.async);if(c.xhrFields)for(h in c.xhrFields)i[h]=c.xhrFields[h];c.mimeType&&i.overrideMimeType&&i.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(h in e)i.setRequestHeader(h,e[h])}catch(j){}i.send(c.hasContent&&c.data||null),d=function(a,e){var h,j,k,l,m;try{if(d&&(e||i.readyState===4)){d=b,g&&(i.onreadystatechange=p.noop,cI&&delete cH[g]);if(e)i.readyState!==4&&i.abort();else{h=i.status,k=i.getAllResponseHeaders(),l={},m=i.responseXML,m&&m.documentElement&&(l.xml=m);try{l.text=i.responseText}catch(a){}try{j=i.statusText}catch(n){j=""}!h&&c.isLocal&&!c.crossDomain?h=l.text?200:404:h===1223&&(h=204)}}}catch(o){e||f(-1,o)}l&&f(h,j,l,k)},c.async?i.readyState===4?setTimeout(d,0):(g=++cJ,cI&&(cH||(cH={},p(a).unload(cI)),cH[g]=d),i.onreadystatechange=d):d()},abort:function(){d&&d(0,1)}}}});var cM,cN,cO=/^(?:toggle|show|hide)$/,cP=new RegExp("^(?:([-+])=|)("+q+")([a-z%]*)$","i"),cQ=/queueHooks$/,cR=[cX],cS={"*":[function(a,b){var c,d,e,f=this.createTween(a,b),g=cP.exec(b),h=f.cur(),i=+h||0,j=1;if(g){c=+g[2],d=g[3]||(p.cssNumber[a]?"":"px");if(d!=="px"&&i){i=p.css(f.elem,a,!0)||c||1;do e=j=j||".5",i=i/j,p.style(f.elem,a,i+d),j=f.cur()/h;while(j!==1&&j!==e)}f.unit=d,f.start=i,f.end=g[1]?i+(g[1]+1)*c:c}return f}]};p.Animation=p.extend(cV,{tweener:function(a,b){p.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");var c,d=0,e=a.length;for(;d<e;d++)c=a[d],cS[c]=cS[c]||[],cS[c].unshift(b)},prefilter:function(a,b){b?cR.unshift(a):cR.push(a)}}),p.Tween=cY,cY.prototype={constructor:cY,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||"swing",this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(p.cssNumber[c]?"":"px")},cur:function(){var a=cY.propHooks[this.prop];return a&&a.get?a.get(this):cY.propHooks._default.get(this)},run:function(a){var b,c=cY.propHooks[this.prop];return this.pos=b=p.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration),this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):cY.propHooks._default.set(this),this}},cY.prototype.init.prototype=cY.prototype,cY.propHooks={_default:{get:function(a){var b;return a.elem[a.prop]==null||!!a.elem.style&&a.elem.style[a.prop]!=null?(b=p.css(a.elem,a.prop,!1,""),!b||b==="auto"?0:b):a.elem[a.prop]},set:function(a){p.fx.step[a.prop]?p.fx.step[a.prop](a):a.elem.style&&(a.elem.style[p.cssProps[a.prop]]!=null||p.cssHooks[a.prop])?p.style(a.elem,a.prop,a.now+a.unit):a.elem[a.prop]=a.now}}},cY.propHooks.scrollTop=cY.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},p.each(["toggle","show","hide"],function(a,b){var c=p.fn[b];p.fn[b]=function(d,e,f){return d==null||typeof d=="boolean"||!a&&p.isFunction(d)&&p.isFunction(e)?c.apply(this,arguments):this.animate(cZ(b,!0),d,e,f)}}),p.fn.extend({fadeTo:function(a,b,c,d){return this.filter(bY).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=p.isEmptyObject(a),f=p.speed(b,c,d),g=function(){var b=cV(this,p.extend({},a),f);e&&b.stop(!0)};return e||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(a,c,d){var e=function(a){var b=a.stop;delete a.stop,b(d)};return typeof a!="string"&&(d=c,c=a,a=b),c&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var b=!0,c=a!=null&&a+"queueHooks",f=p.timers,g=p._data(this);if(c)g[c]&&g[c].stop&&e(g[c]);else for(c in g)g[c]&&g[c].stop&&cQ.test(c)&&e(g[c]);for(c=f.length;c--;)f[c].elem===this&&(a==null||f[c].queue===a)&&(f[c].anim.stop(d),b=!1,f.splice(c,1));(b||!d)&&p.dequeue(this,a)})}}),p.each({slideDown:cZ("show"),slideUp:cZ("hide"),slideToggle:cZ("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){p.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),p.speed=function(a,b,c){var d=a&&typeof a=="object"?p.extend({},a):{complete:c||!c&&b||p.isFunction(a)&&a,duration:a,easing:c&&b||b&&!p.isFunction(b)&&b};d.duration=p.fx.off?0:typeof d.duration=="number"?d.duration:d.duration in p.fx.speeds?p.fx.speeds[d.duration]:p.fx.speeds._default;if(d.queue==null||d.queue===!0)d.queue="fx";return d.old=d.complete,d.complete=function(){p.isFunction(d.old)&&d.old.call(this),d.queue&&p.dequeue(this,d.queue)},d},p.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2}},p.timers=[],p.fx=cY.prototype.init,p.fx.tick=function(){var a,b=p.timers,c=0;for(;c<b.length;c++)a=b[c],!a()&&b[c]===a&&b.splice(c--,1);b.length||p.fx.stop()},p.fx.timer=function(a){a()&&p.timers.push(a)&&!cN&&(cN=setInterval(p.fx.tick,p.fx.interval))},p.fx.interval=13,p.fx.stop=function(){clearInterval(cN),cN=null},p.fx.speeds={slow:600,fast:200,_default:400},p.fx.step={},p.expr&&p.expr.filters&&(p.expr.filters.animated=function(a){return p.grep(p.timers,function(b){return a===b.elem}).length});var c$=/^(?:body|html)$/i;p.fn.offset=function(a){if(arguments.length)return a===b?this:this.each(function(b){p.offset.setOffset(this,a,b)});var c,d,e,f,g,h,i,j,k,l,m=this[0],n=m&&m.ownerDocument;if(!n)return;return(e=n.body)===m?p.offset.bodyOffset(m):(d=n.documentElement,p.contains(d,m)?(c=m.getBoundingClientRect(),f=c_(n),g=d.clientTop||e.clientTop||0,h=d.clientLeft||e.clientLeft||0,i=f.pageYOffset||d.scrollTop,j=f.pageXOffset||d.scrollLeft,k=c.top+i-g,l=c.left+j-h,{top:k,left:l}):{top:0,left:0})},p.offset={bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;return p.support.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(p.css(a,"marginTop"))||0,c+=parseFloat(p.css(a,"marginLeft"))||0),{top:b,left:c}},setOffset:function(a,b,c){var d=p.css(a,"position");d==="static"&&(a.style.position="relative");var e=p(a),f=e.offset(),g=p.css(a,"top"),h=p.css(a,"left"),i=(d==="absolute"||d==="fixed")&&p.inArray("auto",[g,h])>-1,j={},k={},l,m;i?(k=e.position(),l=k.top,m=k.left):(l=parseFloat(g)||0,m=parseFloat(h)||0),p.isFunction(b)&&(b=b.call(a,c,f)),b.top!=null&&(j.top=b.top-f.top+l),b.left!=null&&(j.left=b.left-f.left+m),"using"in b?b.using.call(a,j):e.css(j)}},p.fn.extend({position:function(){if(!this[0])return;var a=this[0],b=this.offsetParent(),c=this.offset(),d=c$.test(b[0].nodeName)?{top:0,left:0}:b.offset();return c.top-=parseFloat(p.css(a,"marginTop"))||0,c.left-=parseFloat(p.css(a,"marginLeft"))||0,d.top+=parseFloat(p.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(p.css(b[0],"borderLeftWidth"))||0,{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||e.body;while(a&&!c$.test(a.nodeName)&&p.css(a,"position")==="static")a=a.offsetParent;return a||e.body})}}),p.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,c){var d=/Y/.test(c);p.fn[a]=function(e){return p.access(this,function(a,e,f){var g=c_(a);if(f===b)return g?c in g?g[c]:g.document.documentElement[e]:a[e];g?g.scrollTo(d?p(g).scrollLeft():f,d?f:p(g).scrollTop()):a[e]=f},a,e,arguments.length,null)}}),p.each({Height:"height",Width:"width"},function(a,c){p.each({padding:"inner"+a,content:c,"":"outer"+a},function(d,e){p.fn[e]=function(e,f){var g=arguments.length&&(d||typeof e!="boolean"),h=d||(e===!0||f===!0?"margin":"border");return p.access(this,function(c,d,e){var f;return p.isWindow(c)?c.document.documentElement["client"+a]:c.nodeType===9?(f=c.documentElement,Math.max(c.body["scroll"+a],f["scroll"+a],c.body["offset"+a],f["offset"+a],f["client"+a])):e===b?p.css(c,d,e,h):p.style(c,d,e,h)},c,g?e:b,g)}})}),a.jQuery=a.$=p,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return p})})(window);
swagger-dist-2.1.5/lib/jquery.ba-bbq.min.jsdeleted−18
@@ -1,18 +0,0 @@
1−/*
2− * jQuery BBQ: Back Button & Query Library - v1.2.1 - 2/17/2010
3− * http://benalman.com/projects/jquery-bbq-plugin/
4− *
5− * Copyright (c) 2010 "Cowboy" Ben Alman
6− * Dual licensed under the MIT and GPL licenses.
7− * http://benalman.com/about/license/
8− */
9−(function($,p){var i,m=Array.prototype.slice,r=decodeURIComponent,a=$.param,c,l,v,b=$.bbq=$.bbq||{},q,u,j,e=$.event.special,d="hashchange",A="querystring",D="fragment",y="elemUrlAttr",g="location",k="href",t="src",x=/^.*\?|#.*$/g,w=/^.*\#/,h,C={};function E(F){return typeof F==="string"}function B(G){var F=m.call(arguments,1);return function(){return G.apply(this,F.concat(m.call(arguments)))}}function n(F){return F.replace(/^[^#]*#?(.*)$/,"$1")}function o(F){return F.replace(/(?:^[^?#]*\?([^#]*).*$)?.*/,"$1")}function f(H,M,F,I,G){var O,L,K,N,J;if(I!==i){K=F.match(H?/^([^#]*)\#?(.*)$/:/^([^#?]*)\??([^#]*)(#?.*)/);J=K[3]||"";if(G===2&&E(I)){L=I.replace(H?w:x,"")}else{N=l(K[2]);I=E(I)?l[H?D:A](I):I;L=G===2?I:G===1?$.extend({},I,N):$.extend({},N,I);L=a(L);if(H){L=L.replace(h,r)}}O=K[1]+(H?"#":L||!K[1]?"?":"")+L+J}else{O=M(F!==i?F:p[g][k])}return O}a[A]=B(f,0,o);a[D]=c=B(f,1,n);c.noEscape=function(G){G=G||"";var F=$.map(G.split(""),encodeURIComponent);h=new RegExp(F.join("|"),"g")};c.noEscape(",/");$.deparam=l=function(I,F){var H={},G={"true":!0,"false":!1,"null":null};$.each(I.replace(/\+/g," ").split("&"),function(L,Q){var K=Q.split("="),P=r(K[0]),J,O=H,M=0,R=P.split("]["),N=R.length-1;if(/\[/.test(R[0])&&/\]$/.test(R[N])){R[N]=R[N].replace(/\]$/,"");R=R.shift().split("[").concat(R);N=R.length-1}else{N=0}if(K.length===2){J=r(K[1]);if(F){J=J&&!isNaN(J)?+J:J==="undefined"?i:G[J]!==i?G[J]:J}if(N){for(;M<=N;M++){P=R[M]===""?O.length:R[M];O=O[P]=M<N?O[P]||(R[M+1]&&isNaN(R[M+1])?{}:[]):J}}else{if($.isArray(H[P])){H[P].push(J)}else{if(H[P]!==i){H[P]=[H[P],J]}else{H[P]=J}}}}else{if(P){H[P]=F?i:""}}});return H};function z(H,F,G){if(F===i||typeof F==="boolean"){G=F;F=a[H?D:A]()}else{F=E(F)?F.replace(H?w:x,""):F}return l(F,G)}l[A]=B(z,0);l[D]=v=B(z,1);$[y]||($[y]=function(F){return $.extend(C,F)})({a:k,base:k,iframe:t,img:t,input:t,form:"action",link:k,script:t});j=$[y];function s(I,G,H,F){if(!E(H)&&typeof H!=="object"){F=H;H=G;G=i}return this.each(function(){var L=$(this),J=G||j()[(this.nodeName||"").toLowerCase()]||"",K=J&&L.attr(J)||"";L.attr(J,a[I](K,H,F))})}$.fn[A]=B(s,A);$.fn[D]=B(s,D);b.pushState=q=function(I,F){if(E(I)&&/^#/.test(I)&&F===i){F=2}var H=I!==i,G=c(p[g][k],H?I:{},H?F:2);p[g][k]=G+(/#/.test(G)?"":"#")};b.getState=u=function(F,G){return F===i||typeof F==="boolean"?v(F):v(G)[F]};b.removeState=function(F){var G={};if(F!==i){G=u();$.each($.isArray(F)?F:arguments,function(I,H){delete G[H]})}q(G,2)};e[d]=$.extend(e[d],{add:function(F){var H;function G(J){var I=J[D]=c();J.getState=function(K,L){return K===i||typeof K==="boolean"?l(I,K):l(I,L)[K]};H.apply(this,arguments)}if($.isFunction(F)){H=F;return G}else{H=F.handler;F.handler=G}}})})(jQuery,this);
10−/*
11− * jQuery hashchange event - v1.2 - 2/11/2010
12− * http://benalman.com/projects/jquery-hashchange-plugin/
13− *
14− * Copyright (c) 2010 "Cowboy" Ben Alman
15− * Dual licensed under the MIT and GPL licenses.
16− * http://benalman.com/about/license/
17− */
18−(function($,i,b){var j,k=$.event.special,c="location",d="hashchange",l="href",f=$.browser,g=document.documentMode,h=f.msie&&(g===b||g<8),e="on"+d in i&&!h;function a(m){m=m||i[c][l];return m.replace(/^[^#]*#?(.*)$/,"$1")}$[d+"Delay"]=100;k[d]=$.extend(k[d],{setup:function(){if(e){return false}$(j.start)},teardown:function(){if(e){return false}$(j.stop)}});j=(function(){var m={},r,n,o,q;function p(){o=q=function(s){return s};if(h){n=$('<iframe src="javascript:0"/>').hide().insertAfter("body")[0].contentWindow;q=function(){return a(n.document[c][l])};o=function(u,s){if(u!==s){var t=n.document;t.open().close();t[c].hash="#"+u}};o(a())}}m.start=function(){if(r){return}var t=a();o||p();(function s(){var v=a(),u=q(t);if(v!==t){o(t=v,u);$(i).trigger(d)}else{if(u!==t){i[c][l]=i[c][l].replace(/#.*/,"")+"#"+u}}r=setTimeout(s,$[d+"Delay"])})()};m.stop=function(){if(!n){r&&clearTimeout(r);r=0}};return m})()})(jQuery,this);
swagger-dist-2.1.5/lib/jquery.slideto.min.jsdeleted−1
@@ -1 +0,0 @@
1−(function(b){b.fn.slideto=function(a){a=b.extend({slide_duration:"slow",highlight_duration:3E3,highlight:true,highlight_color:"#FFFF99"},a);return this.each(function(){obj=b(this);b("body").animate({scrollTop:obj.offset().top},a.slide_duration,function(){a.highlight&&b.ui.version&&obj.effect("highlight",{color:a.highlight_color},a.highlight_duration)})})}})(jQuery);
swagger-dist-2.1.5/lib/jquery.wiggle.min.jsdeleted−8
@@ -1,8 +0,0 @@
1−/*
2−jQuery Wiggle
3−Author: WonderGroup, Jordan Thomas
4−URL: http://labs.wondergroup.com/demos/mini-ui/index.html
5−License: MIT (http://en.wikipedia.org/wiki/MIT_License)
6−*/
7−jQuery.fn.wiggle=function(o){var d={speed:50,wiggles:3,travel:5,callback:null};var o=jQuery.extend(d,o);return this.each(function(){var cache=this;var wrap=jQuery(this).wrap('<div class="wiggle-wrap"></div>').css("position","relative");var calls=0;for(i=1;i<=o.wiggles;i++){jQuery(this).animate({left:"-="+o.travel},o.speed).animate({left:"+="+o.travel*2},o.speed*2).animate({left:"-="+o.travel},o.speed,function(){calls++;if(jQuery(cache).parent().hasClass('wiggle-wrap')){jQuery(cache).parent().replaceWith(cache);}
8−if(calls==o.wiggles&&jQuery.isFunction(o.callback)){o.callback();}});}});};
swagger-dist-2.1.5/lib/js-yaml.min.jsdeleted−3
@@ -1,3 +0,0 @@
1−/* js-yaml 3.4.6 https://github.com/nodeca/js-yaml */
2−!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e;e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,e.jsyaml=t()}}(function(){var t;return function e(t,n,i){function r(a,s){if(!n[a]){if(!t[a]){var c="function"==typeof require&&require;if(!s&&c)return c(a,!0);if(o)return o(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var l=n[a]={exports:{}};t[a][0].call(l.exports,function(e){var n=t[a][1][e];return r(n?n:e)},l,l.exports,e,t,n,i)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a<i.length;a++)r(i[a]);return r}({1:[function(t,e,n){"use strict";function i(t){return function(){throw new Error("Function "+t+" is deprecated and cannot be used.")}}var r=t("./js-yaml/loader"),o=t("./js-yaml/dumper");e.exports.Type=t("./js-yaml/type"),e.exports.Schema=t("./js-yaml/schema"),e.exports.FAILSAFE_SCHEMA=t("./js-yaml/schema/failsafe"),e.exports.JSON_SCHEMA=t("./js-yaml/schema/json"),e.exports.CORE_SCHEMA=t("./js-yaml/schema/core"),e.exports.DEFAULT_SAFE_SCHEMA=t("./js-yaml/schema/default_safe"),e.exports.DEFAULT_FULL_SCHEMA=t("./js-yaml/schema/default_full"),e.exports.load=r.load,e.exports.loadAll=r.loadAll,e.exports.safeLoad=r.safeLoad,e.exports.safeLoadAll=r.safeLoadAll,e.exports.dump=o.dump,e.exports.safeDump=o.safeDump,e.exports.YAMLException=t("./js-yaml/exception"),e.exports.MINIMAL_SCHEMA=t("./js-yaml/schema/failsafe"),e.exports.SAFE_SCHEMA=t("./js-yaml/schema/default_safe"),e.exports.DEFAULT_SCHEMA=t("./js-yaml/schema/default_full"),e.exports.scan=i("scan"),e.exports.parse=i("parse"),e.exports.compose=i("compose"),e.exports.addConstructor=i("addConstructor")},{"./js-yaml/dumper":3,"./js-yaml/exception":4,"./js-yaml/loader":5,"./js-yaml/schema":7,"./js-yaml/schema/core":8,"./js-yaml/schema/default_full":9,"./js-yaml/schema/default_safe":10,"./js-yaml/schema/failsafe":11,"./js-yaml/schema/json":12,"./js-yaml/type":13}],2:[function(t,e,n){"use strict";function i(t){return"undefined"==typeof t||null===t}function r(t){return"object"==typeof t&&null!==t}function o(t){return Array.isArray(t)?t:i(t)?[]:[t]}function a(t,e){var n,i,r,o;if(e)for(o=Object.keys(e),n=0,i=o.length;i>n;n+=1)r=o[n],t[r]=e[r];return t}function s(t,e){var n,i="";for(n=0;e>n;n+=1)i+=t;return i}function c(t){return 0===t&&Number.NEGATIVE_INFINITY===1/t}e.exports.isNothing=i,e.exports.isObject=r,e.exports.toArray=o,e.exports.repeat=s,e.exports.isNegativeZero=c,e.exports.extend=a},{}],3:[function(t,e,n){"use strict";function i(t,e){var n,i,r,o,a,s,c;if(null===e)return{};for(n={},i=Object.keys(e),r=0,o=i.length;o>r;r+=1)a=i[r],s=String(e[a]),"!!"===a.slice(0,2)&&(a="tag:yaml.org,2002:"+a.slice(2)),c=t.compiledTypeMap[a],c&&E.call(c.styleAliases,s)&&(s=c.styleAliases[s]),n[a]=s;return n}function r(t){var e,n,i;if(e=t.toString(16).toUpperCase(),255>=t)n="x",i=2;else if(65535>=t)n="u",i=4;else{if(!(4294967295>=t))throw new O("code point within a string may not be greater than 0xFFFFFFFF");n="U",i=8}return"\\"+n+j.repeat("0",i-e.length)+e}function o(t){this.schema=t.schema||S,this.indent=Math.max(1,t.indent||2),this.skipInvalid=t.skipInvalid||!1,this.flowLevel=j.isNothing(t.flowLevel)?-1:t.flowLevel,this.styleMap=i(this.schema,t.styles||null),this.sortKeys=t.sortKeys||!1,this.lineWidth=t.lineWidth||80,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function a(t,e){for(var n,i=j.repeat(" ",e),r=0,o=-1,a="",s=t.length;s>r;)o=t.indexOf("\n",r),-1===o?(n=t.slice(r),r=s):(n=t.slice(r,o+1),r=o+1),n.length&&"\n"!==n&&(a+=i),a+=n;return a}function s(t,e){return"\n"+j.repeat(" ",t.indent*e)}function c(t,e){var n,i,r;for(n=0,i=t.implicitTypes.length;i>n;n+=1)if(r=t.implicitTypes[n],r.resolve(e))return!0;return!1}function u(t){this.source=t,this.result="",this.checkpoint=0}function l(t,e,n,i){var r,o,s,l,f,m,g,y,v,x,A,b,w,k,C,j,O,S,_,I,E;if(0===e.length)return void(t.dump="''");if(-1!==et.indexOf(e))return void(t.dump="'"+e+"'");for(r=!0,o=e.length?e.charCodeAt(0):0,s=M===o||M===e.charCodeAt(e.length-1),(K===o||W===o||G===o||z===o)&&(r=!1),s?(r=!1,l=!1,f=!1):(l=!i,f=!i),m=!0,g=new u(e),y=!1,v=0,x=0,A=t.indent*n,b=t.lineWidth,-1===b&&(b=9007199254740991),40>A?b-=A:b=40,k=0;k<e.length;k++){if(w=e.charCodeAt(k),r){if(h(w))continue;r=!1}m&&w===P&&(m=!1),C=tt[w],j=d(w),(C||j)&&(w!==N&&w!==D&&w!==P?(l=!1,f=!1):w===N&&(y=!0,m=!1,k>0&&(O=e.charCodeAt(k-1),O===M&&(f=!1,l=!1)),l&&(S=k-v,v=k,S>x&&(x=S))),w!==D&&(m=!1),g.takeUpTo(k),g.escapeChar())}if(r&&c(t,e)&&(r=!1),_="",(l||f)&&(I=0,e.charCodeAt(e.length-1)===N&&(I+=1,e.charCodeAt(e.length-2)===N&&(I+=1)),0===I?_="-":2===I&&(_="+")),f&&b>x&&(l=!1),y||(f=!1),r)t.dump=e;else if(m)t.dump="'"+e+"'";else if(l)E=p(e,b),t.dump=">"+_+"\n"+a(E,A);else if(f)_||(e=e.replace(/\n$/,"")),t.dump="|"+_+"\n"+a(e,A);else{if(!g)throw new Error("Failed to dump scalar value");g.finish(),t.dump='"'+g.result+'"'}}function p(t,e){var n,i="",r=0,o=t.length,a=/\n+$/.exec(t);for(a&&(o=a.index+1);o>r;)n=t.indexOf("\n",r),n>o||-1===n?(i&&(i+="\n\n"),i+=f(t.slice(r,o),e),r=o):(i&&(i+="\n\n"),i+=f(t.slice(r,n),e),r=n+1);return a&&"\n"!==a[0]&&(i+=a[0]),i}function f(t,e){if(""===t)return t;for(var n,i,r,o=/[^\s] [^\s]/g,a="",s=0,c=0,u=o.exec(t);u;)n=u.index,n-c>e&&(i=s!==c?s:n,a&&(a+="\n"),r=t.slice(c,i),a+=r,c=i+1),s=n+1,u=o.exec(t);return a&&(a+="\n"),a+=c!==s&&t.length-c>e?t.slice(c,s)+"\n"+t.slice(s+1):t.slice(c)}function h(t){return F!==t&&N!==t&&T!==t&&B!==t&&V!==t&&Z!==t&&J!==t&&X!==t&&U!==t&&Y!==t&&$!==t&&L!==t&&Q!==t&&R!==t&&P!==t&&D!==t&&q!==t&&H!==t&&!tt[t]&&!d(t)}function d(t){return!(t>=32&&126>=t||133===t||t>=160&&55295>=t||t>=57344&&65533>=t||t>=65536&&1114111>=t)}function m(t,e,n){var i,r,o="",a=t.tag;for(i=0,r=n.length;r>i;i+=1)A(t,e,n[i],!1,!1)&&(0!==i&&(o+=", "),o+=t.dump);t.tag=a,t.dump="["+o+"]"}function g(t,e,n,i){var r,o,a="",c=t.tag;for(r=0,o=n.length;o>r;r+=1)A(t,e+1,n[r],!0,!0)&&(i&&0===r||(a+=s(t,e)),a+="- "+t.dump);t.tag=c,t.dump=a||"[]"}function y(t,e,n){var i,r,o,a,s,c="",u=t.tag,l=Object.keys(n);for(i=0,r=l.length;r>i;i+=1)s="",0!==i&&(s+=", "),o=l[i],a=n[o],A(t,e,o,!1,!1)&&(t.dump.length>1024&&(s+="? "),s+=t.dump+": ",A(t,e,a,!1,!1)&&(s+=t.dump,c+=s));t.tag=u,t.dump="{"+c+"}"}function v(t,e,n,i){var r,o,a,c,u,l,p="",f=t.tag,h=Object.keys(n);if(t.sortKeys===!0)h.sort();else if("function"==typeof t.sortKeys)h.sort(t.sortKeys);else if(t.sortKeys)throw new O("sortKeys must be a boolean or a function");for(r=0,o=h.length;o>r;r+=1)l="",i&&0===r||(l+=s(t,e)),a=h[r],c=n[a],A(t,e+1,a,!0,!0,!0)&&(u=null!==t.tag&&"?"!==t.tag||t.dump&&t.dump.length>1024,u&&(l+=t.dump&&N===t.dump.charCodeAt(0)?"?":"? "),l+=t.dump,u&&(l+=s(t,e)),A(t,e+1,c,!0,u)&&(l+=t.dump&&N===t.dump.charCodeAt(0)?":":": ",l+=t.dump,p+=l));t.tag=f,t.dump=p||"{}"}function x(t,e,n){var i,r,o,a,s,c;for(r=n?t.explicitTypes:t.implicitTypes,o=0,a=r.length;a>o;o+=1)if(s=r[o],(s.instanceOf||s.predicate)&&(!s.instanceOf||"object"==typeof e&&e instanceof s.instanceOf)&&(!s.predicate||s.predicate(e))){if(t.tag=n?s.tag:"?",s.represent){if(c=t.styleMap[s.tag]||s.defaultStyle,"[object Function]"===I.call(s.represent))i=s.represent(e,c);else{if(!E.call(s.represent,c))throw new O("!<"+s.tag+'> tag resolver accepts not "'+c+'" style');i=s.represent[c](e,c)}t.dump=i}return!0}return!1}function A(t,e,n,i,r,o){t.tag=null,t.dump=n,x(t,n,!1)||x(t,n,!0);var a=I.call(t.dump);i&&(i=0>t.flowLevel||t.flowLevel>e);var s,c,u="[object Object]"===a||"[object Array]"===a;if(u&&(s=t.duplicates.indexOf(n),c=-1!==s),(null!==t.tag&&"?"!==t.tag||c||2!==t.indent&&e>0)&&(r=!1),c&&t.usedDuplicates[s])t.dump="*ref_"+s;else{if(u&&c&&!t.usedDuplicates[s]&&(t.usedDuplicates[s]=!0),"[object Object]"===a)i&&0!==Object.keys(t.dump).length?(v(t,e,t.dump,r),c&&(t.dump="&ref_"+s+t.dump)):(y(t,e,t.dump),c&&(t.dump="&ref_"+s+" "+t.dump));else if("[object Array]"===a)i&&0!==t.dump.length?(g(t,e,t.dump,r),c&&(t.dump="&ref_"+s+t.dump)):(m(t,e,t.dump),c&&(t.dump="&ref_"+s+" "+t.dump));else{if("[object String]"!==a){if(t.skipInvalid)return!1;throw new O("unacceptable kind of an object to dump "+a)}"?"!==t.tag&&l(t,t.dump,e,o)}null!==t.tag&&"?"!==t.tag&&(t.dump="!<"+t.tag+"> "+t.dump)}return!0}function b(t,e){var n,i,r=[],o=[];for(w(t,r,o),n=0,i=o.length;i>n;n+=1)e.duplicates.push(r[o[n]]);e.usedDuplicates=new Array(i)}function w(t,e,n){var i,r,o;if(null!==t&&"object"==typeof t)if(r=e.indexOf(t),-1!==r)-1===n.indexOf(r)&&n.push(r);else if(e.push(t),Array.isArray(t))for(r=0,o=t.length;o>r;r+=1)w(t[r],e,n);else for(i=Object.keys(t),r=0,o=i.length;o>r;r+=1)w(t[i[r]],e,n)}function k(t,e){e=e||{};var n=new o(e);return b(t,n),A(n,0,t,!0,!0)?n.dump+"\n":""}function C(t,e){return k(t,j.extend({schema:_},e))}var j=t("./common"),O=t("./exception"),S=t("./schema/default_full"),_=t("./schema/default_safe"),I=Object.prototype.toString,E=Object.prototype.hasOwnProperty,F=9,N=10,T=13,M=32,L=33,D=34,U=35,q=37,Y=38,P=39,$=42,B=44,K=45,H=58,R=62,W=63,G=64,V=91,Z=93,z=96,J=123,Q=124,X=125,tt={};tt[0]="\\0",tt[7]="\\a",tt[8]="\\b",tt[9]="\\t",tt[10]="\\n",tt[11]="\\v",tt[12]="\\f",tt[13]="\\r",tt[27]="\\e",tt[34]='\\"',tt[92]="\\\\",tt[133]="\\N",tt[160]="\\_",tt[8232]="\\L",tt[8233]="\\P";var et=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];u.prototype.takeUpTo=function(t){var e;if(t<this.checkpoint)throw e=new Error("position should be > checkpoint"),e.position=t,e.checkpoint=this.checkpoint,e;return this.result+=this.source.slice(this.checkpoint,t),this.checkpoint=t,this},u.prototype.escapeChar=function(){var t,e;return t=this.source.charCodeAt(this.checkpoint),e=tt[t]||r(t),this.result+=e,this.checkpoint+=1,this},u.prototype.finish=function(){this.source.length>this.checkpoint&&this.takeUpTo(this.source.length)},e.exports.dump=k,e.exports.safeDump=C},{"./common":2,"./exception":4,"./schema/default_full":9,"./schema/default_safe":10}],4:[function(t,e,n){"use strict";function i(t,e){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||"",this.name="YAMLException",this.reason=t,this.mark=e,this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():"")}var r=t("inherit");r(i,Error),i.prototype.toString=function(t){var e=this.name+": ";return e+=this.reason||"(unknown reason)",!t&&this.mark&&(e+=" "+this.mark.toString()),e},e.exports=i},{inherit:31}],5:[function(t,e,n){"use strict";function i(t){return 10===t||13===t}function r(t){return 9===t||32===t}function o(t){return 9===t||32===t||10===t||13===t}function a(t){return 44===t||91===t||93===t||123===t||125===t}function s(t){var e;return t>=48&&57>=t?t-48:(e=32|t,e>=97&&102>=e?e-97+10:-1)}function c(t){return 120===t?2:117===t?4:85===t?8:0}function u(t){return t>=48&&57>=t?t-48:-1}function l(t){return 48===t?"\x00":97===t?"":98===t?"\b":116===t?" ":9===t?" ":110===t?"\n":118===t?" ":102===t?"\f":114===t?"\r":101===t?"":32===t?" ":34===t?'"':47===t?"/":92===t?"\\":78===t?"…":95===t?" ":76===t?"\u2028":80===t?"\u2029":""}function p(t){return 65535>=t?String.fromCharCode(t):String.fromCharCode((t-65536>>10)+55296,(t-65536&1023)+56320)}function f(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||H,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=t.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function h(t,e){return new $(e,new B(t.filename,t.input,t.position,t.line,t.position-t.lineStart))}function d(t,e){throw h(t,e)}function m(t,e){t.onWarning&&t.onWarning.call(null,h(t,e))}function g(t,e,n,i){var r,o,a,s;if(n>e){if(s=t.input.slice(e,n),i)for(r=0,o=s.length;o>r;r+=1)a=s.charCodeAt(r),9===a||a>=32&&1114111>=a||d(t,"expected valid JSON character");else X.test(s)&&d(t,"the stream contains non-printable characters");t.result+=s}}function y(t,e,n){var i,r,o,a;for(P.isObject(n)||d(t,"cannot merge mappings; the provided source object is unacceptable"),i=Object.keys(n),o=0,a=i.length;a>o;o+=1)r=i[o],R.call(e,r)||(e[r]=n[r])}function v(t,e,n,i,r){var o,a;if(i=String(i),null===e&&(e={}),"tag:yaml.org,2002:merge"===n)if(Array.isArray(r))for(o=0,a=r.length;a>o;o+=1)y(t,e,r[o]);else y(t,e,r);else e[i]=r;return e}function x(t){var e;e=t.input.charCodeAt(t.position),10===e?t.position++:13===e?(t.position++,10===t.input.charCodeAt(t.position)&&t.position++):d(t,"a line break is expected"),t.line+=1,t.lineStart=t.position}function A(t,e,n){for(var o=0,a=t.input.charCodeAt(t.position);0!==a;){for(;r(a);)a=t.input.charCodeAt(++t.position);if(e&&35===a)do a=t.input.charCodeAt(++t.position);while(10!==a&&13!==a&&0!==a);if(!i(a))break;for(x(t),a=t.input.charCodeAt(t.position),o++,t.lineIndent=0;32===a;)t.lineIndent++,a=t.input.charCodeAt(++t.position)}return-1!==n&&0!==o&&t.lineIndent<n&&m(t,"deficient indentation"),o}function b(t){var e,n=t.position;return e=t.input.charCodeAt(n),45!==e&&46!==e||t.input.charCodeAt(n+1)!==e||t.input.charCodeAt(n+2)!==e||(n+=3,e=t.input.charCodeAt(n),0!==e&&!o(e))?!1:!0}function w(t,e){1===e?t.result+=" ":e>1&&(t.result+=P.repeat("\n",e-1))}function k(t,e,n){var s,c,u,l,p,f,h,d,m,y=t.kind,v=t.result;if(m=t.input.charCodeAt(t.position),o(m)||a(m)||35===m||38===m||42===m||33===m||124===m||62===m||39===m||34===m||37===m||64===m||96===m)return!1;if((63===m||45===m)&&(c=t.input.charCodeAt(t.position+1),o(c)||n&&a(c)))return!1;for(t.kind="scalar",t.result="",u=l=t.position,p=!1;0!==m;){if(58===m){if(c=t.input.charCodeAt(t.position+1),o(c)||n&&a(c))break}else if(35===m){if(s=t.input.charCodeAt(t.position-1),o(s))break}else{if(t.position===t.lineStart&&b(t)||n&&a(m))break;if(i(m)){if(f=t.line,h=t.lineStart,d=t.lineIndent,A(t,!1,-1),t.lineIndent>=e){p=!0,m=t.input.charCodeAt(t.position);continue}t.position=l,t.line=f,t.lineStart=h,t.lineIndent=d;break}}p&&(g(t,u,l,!1),w(t,t.line-f),u=l=t.position,p=!1),r(m)||(l=t.position+1),m=t.input.charCodeAt(++t.position)}return g(t,u,l,!1),t.result?!0:(t.kind=y,t.result=v,!1)}function C(t,e){var n,r,o;if(n=t.input.charCodeAt(t.position),39!==n)return!1;for(t.kind="scalar",t.result="",t.position++,r=o=t.position;0!==(n=t.input.charCodeAt(t.position));)if(39===n){if(g(t,r,t.position,!0),n=t.input.charCodeAt(++t.position),39!==n)return!0;r=o=t.position,t.position++}else i(n)?(g(t,r,o,!0),w(t,A(t,!1,e)),r=o=t.position):t.position===t.lineStart&&b(t)?d(t,"unexpected end of the document within a single quoted scalar"):(t.position++,o=t.position);d(t,"unexpected end of the stream within a single quoted scalar")}function j(t,e){var n,r,o,a,u,l;if(l=t.input.charCodeAt(t.position),34!==l)return!1;for(t.kind="scalar",t.result="",t.position++,n=r=t.position;0!==(l=t.input.charCodeAt(t.position));){if(34===l)return g(t,n,t.position,!0),t.position++,!0;if(92===l){if(g(t,n,t.position,!0),l=t.input.charCodeAt(++t.position),i(l))A(t,!1,e);else if(256>l&&rt[l])t.result+=ot[l],t.position++;else if((u=c(l))>0){for(o=u,a=0;o>0;o--)l=t.input.charCodeAt(++t.position),(u=s(l))>=0?a=(a<<4)+u:d(t,"expected hexadecimal character");t.result+=p(a),t.position++}else d(t,"unknown escape sequence");n=r=t.position}else i(l)?(g(t,n,r,!0),w(t,A(t,!1,e)),n=r=t.position):t.position===t.lineStart&&b(t)?d(t,"unexpected end of the document within a double quoted scalar"):(t.position++,r=t.position)}d(t,"unexpected end of the stream within a double quoted scalar")}function O(t,e){var n,i,r,a,s,c,u,l,p,f,h,m=!0,g=t.tag,y=t.anchor;if(h=t.input.charCodeAt(t.position),91===h)a=93,u=!1,i=[];else{if(123!==h)return!1;a=125,u=!0,i={}}for(null!==t.anchor&&(t.anchorMap[t.anchor]=i),h=t.input.charCodeAt(++t.position);0!==h;){if(A(t,!0,e),h=t.input.charCodeAt(t.position),h===a)return t.position++,t.tag=g,t.anchor=y,t.kind=u?"mapping":"sequence",t.result=i,!0;m||d(t,"missed comma between flow collection entries"),p=l=f=null,s=c=!1,63===h&&(r=t.input.charCodeAt(t.position+1),o(r)&&(s=c=!0,t.position++,A(t,!0,e))),n=t.line,T(t,e,W,!1,!0),p=t.tag,l=t.result,A(t,!0,e),h=t.input.charCodeAt(t.position),!c&&t.line!==n||58!==h||(s=!0,h=t.input.charCodeAt(++t.position),A(t,!0,e),T(t,e,W,!1,!0),f=t.result),u?v(t,i,p,l,f):i.push(s?v(t,null,p,l,f):l),A(t,!0,e),h=t.input.charCodeAt(t.position),44===h?(m=!0,h=t.input.charCodeAt(++t.position)):m=!1}d(t,"unexpected end of the stream within a flow collection")}function S(t,e){var n,o,a,s,c=z,l=!1,p=e,f=0,h=!1;if(s=t.input.charCodeAt(t.position),124===s)o=!1;else{if(62!==s)return!1;o=!0}for(t.kind="scalar",t.result="";0!==s;)if(s=t.input.charCodeAt(++t.position),43===s||45===s)z===c?c=43===s?Q:J:d(t,"repeat of a chomping mode identifier");else{if(!((a=u(s))>=0))break;0===a?d(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):l?d(t,"repeat of an indentation width identifier"):(p=e+a-1,l=!0)}if(r(s)){do s=t.input.charCodeAt(++t.position);while(r(s));if(35===s)do s=t.input.charCodeAt(++t.position);while(!i(s)&&0!==s)}for(;0!==s;){for(x(t),t.lineIndent=0,s=t.input.charCodeAt(t.position);(!l||t.lineIndent<p)&&32===s;)t.lineIndent++,s=t.input.charCodeAt(++t.position);if(!l&&t.lineIndent>p&&(p=t.lineIndent),i(s))f++;else{if(t.lineIndent<p){c===Q?t.result+=P.repeat("\n",f):c===z&&l&&(t.result+="\n");break}for(o?r(s)?(h=!0,t.result+=P.repeat("\n",f+1)):h?(h=!1,t.result+=P.repeat("\n",f+1)):0===f?l&&(t.result+=" "):t.result+=P.repeat("\n",f):l?t.result+=P.repeat("\n",f+1):t.result+=P.repeat("\n",f),l=!0,f=0,n=t.position;!i(s)&&0!==s;)s=t.input.charCodeAt(++t.position);g(t,n,t.position,!1)}}return!0}function _(t,e){var n,i,r,a=t.tag,s=t.anchor,c=[],u=!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=c),r=t.input.charCodeAt(t.position);0!==r&&45===r&&(i=t.input.charCodeAt(t.position+1),o(i));)if(u=!0,t.position++,A(t,!0,-1)&&t.lineIndent<=e)c.push(null),r=t.input.charCodeAt(t.position);else if(n=t.line,T(t,e,V,!1,!0),c.push(t.result),A(t,!0,-1),r=t.input.charCodeAt(t.position),(t.line===n||t.lineIndent>e)&&0!==r)d(t,"bad indentation of a sequence entry");else if(t.lineIndent<e)break;return u?(t.tag=a,t.anchor=s,t.kind="sequence",t.result=c,!0):!1}function I(t,e,n){var i,a,s,c,u=t.tag,l=t.anchor,p={},f=null,h=null,m=null,g=!1,y=!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=p),c=t.input.charCodeAt(t.position);0!==c;){if(i=t.input.charCodeAt(t.position+1),s=t.line,63!==c&&58!==c||!o(i)){if(!T(t,n,G,!1,!0))break;if(t.line===s){for(c=t.input.charCodeAt(t.position);r(c);)c=t.input.charCodeAt(++t.position);if(58===c)c=t.input.charCodeAt(++t.position),o(c)||d(t,"a whitespace character is expected after the key-value separator within a block mapping"),g&&(v(t,p,f,h,null),f=h=m=null),y=!0,g=!1,a=!1,f=t.tag,h=t.result;else{if(!y)return t.tag=u,t.anchor=l,!0;d(t,"can not read an implicit mapping pair; a colon is missed")}}else{if(!y)return t.tag=u,t.anchor=l,!0;d(t,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===c?(g&&(v(t,p,f,h,null),f=h=m=null),y=!0,g=!0,a=!0):g?(g=!1,a=!0):d(t,"incomplete explicit mapping pair; a key node is missed"),t.position+=1,c=i;if((t.line===s||t.lineIndent>e)&&(T(t,e,Z,!0,a)&&(g?h=t.result:m=t.result),g||(v(t,p,f,h,m),f=h=m=null),A(t,!0,-1),c=t.input.charCodeAt(t.position)),t.lineIndent>e&&0!==c)d(t,"bad indentation of a mapping entry");else if(t.lineIndent<e)break}return g&&v(t,p,f,h,null),y&&(t.tag=u,t.anchor=l,t.kind="mapping",t.result=p),y}function E(t){var e,n,i,r,a=!1,s=!1;if(r=t.input.charCodeAt(t.position),33!==r)return!1;if(null!==t.tag&&d(t,"duplication of a tag property"),r=t.input.charCodeAt(++t.position),60===r?(a=!0,r=t.input.charCodeAt(++t.position)):33===r?(s=!0,n="!!",r=t.input.charCodeAt(++t.position)):n="!",e=t.position,a){do r=t.input.charCodeAt(++t.position);while(0!==r&&62!==r);t.position<t.length?(i=t.input.slice(e,t.position),r=t.input.charCodeAt(++t.position)):d(t,"unexpected end of the stream within a verbatim tag")}else{for(;0!==r&&!o(r);)33===r&&(s?d(t,"tag suffix cannot contain exclamation marks"):(n=t.input.slice(e-1,t.position+1),nt.test(n)||d(t,"named tag handle cannot contain such characters"),s=!0,e=t.position+1)),r=t.input.charCodeAt(++t.position);i=t.input.slice(e,t.position),et.test(i)&&d(t,"tag suffix cannot contain flow indicator characters")}return i&&!it.test(i)&&d(t,"tag name cannot contain such characters: "+i),a?t.tag=i:R.call(t.tagMap,n)?t.tag=t.tagMap[n]+i:"!"===n?t.tag="!"+i:"!!"===n?t.tag="tag:yaml.org,2002:"+i:d(t,'undeclared tag handle "'+n+'"'),!0}function F(t){var e,n;if(n=t.input.charCodeAt(t.position),38!==n)return!1;for(null!==t.anchor&&d(t,"duplication of an anchor property"),n=t.input.charCodeAt(++t.position),e=t.position;0!==n&&!o(n)&&!a(n);)n=t.input.charCodeAt(++t.position);return t.position===e&&d(t,"name of an anchor node must contain at least one character"),t.anchor=t.input.slice(e,t.position),!0}function N(t){var e,n,i;if(i=t.input.charCodeAt(t.position),42!==i)return!1;for(i=t.input.charCodeAt(++t.position),e=t.position;0!==i&&!o(i)&&!a(i);)i=t.input.charCodeAt(++t.position);return t.position===e&&d(t,"name of an alias node must contain at least one character"),n=t.input.slice(e,t.position),t.anchorMap.hasOwnProperty(n)||d(t,'unidentified alias "'+n+'"'),t.result=t.anchorMap[n],A(t,!0,-1),!0}function T(t,e,n,i,r){var o,a,s,c,u,l,p,f,h=1,m=!1,g=!1;if(t.tag=null,t.anchor=null,t.kind=null,t.result=null,o=a=s=Z===n||V===n,i&&A(t,!0,-1)&&(m=!0,t.lineIndent>e?h=1:t.lineIndent===e?h=0:t.lineIndent<e&&(h=-1)),1===h)for(;E(t)||F(t);)A(t,!0,-1)?(m=!0,s=o,t.lineIndent>e?h=1:t.lineIndent===e?h=0:t.lineIndent<e&&(h=-1)):s=!1;if(s&&(s=m||r),(1===h||Z===n)&&(p=W===n||G===n?e:e+1,f=t.position-t.lineStart,1===h?s&&(_(t,f)||I(t,f,p))||O(t,p)?g=!0:(a&&S(t,p)||C(t,p)||j(t,p)?g=!0:N(t)?(g=!0,(null!==t.tag||null!==t.anchor)&&d(t,"alias node should not have any properties")):k(t,p,W===n)&&(g=!0,null===t.tag&&(t.tag="?")),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):0===h&&(g=s&&_(t,f))),null!==t.tag&&"!"!==t.tag)if("?"===t.tag){for(c=0,u=t.implicitTypes.length;u>c;c+=1)if(l=t.implicitTypes[c],l.resolve(t.result)){t.result=l.construct(t.result),t.tag=l.tag,null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);break}}else R.call(t.typeMap,t.tag)?(l=t.typeMap[t.tag],null!==t.result&&l.kind!==t.kind&&d(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+l.kind+'", not "'+t.kind+'"'),l.resolve(t.result)?(t.result=l.construct(t.result),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):d(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")):d(t,"unknown tag !<"+t.tag+">");return null!==t.tag||null!==t.anchor||g}function M(t){var e,n,a,s,c=t.position,u=!1;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap={},t.anchorMap={};0!==(s=t.input.charCodeAt(t.position))&&(A(t,!0,-1),s=t.input.charCodeAt(t.position),!(t.lineIndent>0||37!==s));){for(u=!0,s=t.input.charCodeAt(++t.position),e=t.position;0!==s&&!o(s);)s=t.input.charCodeAt(++t.position);for(n=t.input.slice(e,t.position),a=[],n.length<1&&d(t,"directive name must not be less than one character in length");0!==s;){for(;r(s);)s=t.input.charCodeAt(++t.position);if(35===s){do s=t.input.charCodeAt(++t.position);while(0!==s&&!i(s));break}if(i(s))break;for(e=t.position;0!==s&&!o(s);)s=t.input.charCodeAt(++t.position);a.push(t.input.slice(e,t.position))}0!==s&&x(t),R.call(st,n)?st[n](t,n,a):m(t,'unknown document directive "'+n+'"')}return A(t,!0,-1),0===t.lineIndent&&45===t.input.charCodeAt(t.position)&&45===t.input.charCodeAt(t.position+1)&&45===t.input.charCodeAt(t.position+2)?(t.position+=3,A(t,!0,-1)):u&&d(t,"directives end mark is expected"),T(t,t.lineIndent-1,Z,!1,!0),A(t,!0,-1),t.checkLineBreaks&&tt.test(t.input.slice(c,t.position))&&m(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&b(t)?void(46===t.input.charCodeAt(t.position)&&(t.position+=3,A(t,!0,-1))):void(t.position<t.length-1&&d(t,"end of the stream or a document separator is expected"))}function L(t,e){t=String(t),e=e||{},0!==t.length&&(10!==t.charCodeAt(t.length-1)&&13!==t.charCodeAt(t.length-1)&&(t+="\n"),65279===t.charCodeAt(0)&&(t=t.slice(1)));var n=new f(t,e);for(n.input+="\x00";32===n.input.charCodeAt(n.position);)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)M(n);return n.documents}function D(t,e,n){var i,r,o=L(t,n);for(i=0,r=o.length;r>i;i+=1)e(o[i])}function U(t,e){var n=L(t,e);if(0===n.length)return void 0;if(1===n.length)return n[0];throw new $("expected a single document in the stream, but found more")}function q(t,e,n){D(t,e,P.extend({schema:K},n))}function Y(t,e){return U(t,P.extend({schema:K},e))}for(var P=t("./common"),$=t("./exception"),B=t("./mark"),K=t("./schema/default_safe"),H=t("./schema/default_full"),R=Object.prototype.hasOwnProperty,W=1,G=2,V=3,Z=4,z=1,J=2,Q=3,X=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,tt=/[\x85\u2028\u2029]/,et=/[,\[\]\{\}]/,nt=/^(?:!|!!|![a-z\-]+!)$/i,it=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i,rt=new Array(256),ot=new Array(256),at=0;256>at;at++)rt[at]=l(at)?1:0,ot[at]=l(at);var st={YAML:function(t,e,n){var i,r,o;null!==t.version&&d(t,"duplication of %YAML directive"),1!==n.length&&d(t,"YAML directive accepts exactly one argument"),i=/^([0-9]+)\.([0-9]+)$/.exec(n[0]),null===i&&d(t,"ill-formed argument of the YAML directive"),r=parseInt(i[1],10),o=parseInt(i[2],10),1!==r&&d(t,"unacceptable YAML version of the document"),t.version=n[0],t.checkLineBreaks=2>o,1!==o&&2!==o&&m(t,"unsupported YAML version of the document")},TAG:function(t,e,n){var i,r;2!==n.length&&d(t,"TAG directive accepts exactly two arguments"),i=n[0],r=n[1],nt.test(i)||d(t,"ill-formed tag handle (first argument) of the TAG directive"),R.call(t.tagMap,i)&&d(t,'there is a previously declared suffix for "'+i+'" tag handle'),it.test(r)||d(t,"ill-formed tag prefix (second argument) of the TAG directive"),t.tagMap[i]=r}};e.exports.loadAll=D,e.exports.load=U,e.exports.safeLoadAll=q,e.exports.safeLoad=Y},{"./common":2,"./exception":4,"./mark":6,"./schema/default_full":9,"./schema/default_safe":10}],6:[function(t,e,n){"use strict";function i(t,e,n,i,r){this.name=t,this.buffer=e,this.position=n,this.line=i,this.column=r}var r=t("./common");i.prototype.getSnippet=function(t,e){var n,i,o,a,s;if(!this.buffer)return null;for(t=t||4,e=e||75,n="",i=this.position;i>0&&-1==="\x00\r\n…\u2028\u2029".indexOf(this.buffer.charAt(i-1));)if(i-=1,this.position-i>e/2-1){n=" ... ",i+=5;break}for(o="",a=this.position;a<this.buffer.length&&-1==="\x00\r\n…\u2028\u2029".indexOf(this.buffer.charAt(a));)if(a+=1,a-this.position>e/2-1){o=" ... ",a-=5;break}return s=this.buffer.slice(i,a),r.repeat(" ",t)+n+s+o+"\n"+r.repeat(" ",t+this.position-i+n.length)+"^"},i.prototype.toString=function(t){var e,n="";return this.name&&(n+='in "'+this.name+'" '),n+="at line "+(this.line+1)+", column "+(this.column+1),t||(e=this.getSnippet(),e&&(n+=":\n"+e)),n},e.exports=i},{"./common":2}],7:[function(t,e,n){"use strict";function i(t,e,n){var r=[];return t.include.forEach(function(t){n=i(t,e,n)}),t[e].forEach(function(t){n.forEach(function(e,n){e.tag===t.tag&&r.push(n)}),n.push(t)}),n.filter(function(t,e){return-1===r.indexOf(e)})}function r(){function t(t){i[t.tag]=t}var e,n,i={};for(e=0,n=arguments.length;n>e;e+=1)arguments[e].forEach(t);return i}function o(t){this.include=t.include||[],this.implicit=t.implicit||[],this.explicit=t.explicit||[],this.implicit.forEach(function(t){if(t.loadKind&&"scalar"!==t.loadKind)throw new s("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")}),this.compiledImplicit=i(this,"implicit",[]),this.compiledExplicit=i(this,"explicit",[]),this.compiledTypeMap=r(this.compiledImplicit,this.compiledExplicit)}var a=t("./common"),s=t("./exception"),c=t("./type");o.DEFAULT=null,o.create=function(){var t,e;switch(arguments.length){case 1:t=o.DEFAULT,e=arguments[0];break;case 2:t=arguments[0],e=arguments[1];break;default:throw new s("Wrong number of arguments for Schema.create function")}if(t=a.toArray(t),e=a.toArray(e),!t.every(function(t){return t instanceof o}))throw new s("Specified list of super schemas (or a single Schema object) contains a non-Schema object.");if(!e.every(function(t){return t instanceof c}))throw new s("Specified list of YAML types (or a single Type object) contains a non-Type object.");return new o({include:t,explicit:e})},e.exports=o},{"./common":2,"./exception":4,"./type":13}],8:[function(t,e,n){"use strict";var i=t("../schema");e.exports=new i({include:[t("./json")]})},{"../schema":7,"./json":12}],9:[function(t,e,n){"use strict";var i=t("../schema");e.exports=i.DEFAULT=new i({include:[t("./default_safe")],explicit:[t("../type/js/undefined"),t("../type/js/regexp"),t("../type/js/function")]})},{"../schema":7,"../type/js/function":18,"../type/js/regexp":19,"../type/js/undefined":20,"./default_safe":10}],10:[function(t,e,n){"use strict";var i=t("../schema");e.exports=new i({include:[t("./core")],implicit:[t("../type/timestamp"),t("../type/merge")],explicit:[t("../type/binary"),t("../type/omap"),t("../type/pairs"),t("../type/set")]})},{"../schema":7,"../type/binary":14,"../type/merge":22,"../type/omap":24,"../type/pairs":25,"../type/set":27,"../type/timestamp":29,"./core":8}],11:[function(t,e,n){"use strict";var i=t("../schema");e.exports=new i({explicit:[t("../type/str"),t("../type/seq"),t("../type/map")]})},{"../schema":7,"../type/map":21,"../type/seq":26,"../type/str":28}],12:[function(t,e,n){"use strict";var i=t("../schema");e.exports=new i({include:[t("./failsafe")],implicit:[t("../type/null"),t("../type/bool"),t("../type/int"),t("../type/float")]})},{"../schema":7,"../type/bool":15,"../type/float":16,"../type/int":17,"../type/null":23,"./failsafe":11}],13:[function(t,e,n){"use strict";function i(t){var e={};return null!==t&&Object.keys(t).forEach(function(n){t[n].forEach(function(t){e[String(t)]=n})}),e}function r(t,e){if(e=e||{},Object.keys(e).forEach(function(e){if(-1===a.indexOf(e))throw new o('Unknown option "'+e+'" is met in definition of "'+t+'" YAML type.')}),this.tag=t,this.kind=e.kind||null,this.resolve=e.resolve||function(){return!0},this.construct=e.construct||function(t){return t},this.instanceOf=e.instanceOf||null,this.predicate=e.predicate||null,this.represent=e.represent||null,this.defaultStyle=e.defaultStyle||null,this.styleAliases=i(e.styleAliases||null),-1===s.indexOf(this.kind))throw new o('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')}var o=t("./exception"),a=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],s=["scalar","sequence","mapping"];e.exports=r},{"./exception":4}],14:[function(t,e,n){"use strict";function i(t){if(null===t)return!1;var e,n,i=0,r=t.length,o=u;for(n=0;r>n;n++)if(e=o.indexOf(t.charAt(n)),!(e>64)){if(0>e)return!1;i+=6}return i%8===0}function r(t){var e,n,i=t.replace(/[\r\n=]/g,""),r=i.length,o=u,a=0,c=[];for(e=0;r>e;e++)e%4===0&&e&&(c.push(a>>16&255),c.push(a>>8&255),c.push(255&a)),a=a<<6|o.indexOf(i.charAt(e));return n=r%4*6,0===n?(c.push(a>>16&255),c.push(a>>8&255),c.push(255&a)):18===n?(c.push(a>>10&255),c.push(a>>2&255)):12===n&&c.push(a>>4&255),s?new s(c):c}function o(t){var e,n,i="",r=0,o=t.length,a=u;for(e=0;o>e;e++)e%3===0&&e&&(i+=a[r>>18&63],i+=a[r>>12&63],i+=a[r>>6&63],i+=a[63&r]),r=(r<<8)+t[e];return n=o%3,0===n?(i+=a[r>>18&63],i+=a[r>>12&63],i+=a[r>>6&63],i+=a[63&r]):2===n?(i+=a[r>>10&63],i+=a[r>>4&63],i+=a[r<<2&63],i+=a[64]):1===n&&(i+=a[r>>2&63],i+=a[r<<4&63],i+=a[64],i+=a[64]),i}function a(t){return s&&s.isBuffer(t)}var s=t("buffer").Buffer,c=t("../type"),u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";e.exports=new c("tag:yaml.org,2002:binary",{kind:"scalar",resolve:i,
3−construct:r,predicate:a,represent:o})},{"../type":13,buffer:30}],15:[function(t,e,n){"use strict";function i(t){if(null===t)return!1;var e=t.length;return 4===e&&("true"===t||"True"===t||"TRUE"===t)||5===e&&("false"===t||"False"===t||"FALSE"===t)}function r(t){return"true"===t||"True"===t||"TRUE"===t}function o(t){return"[object Boolean]"===Object.prototype.toString.call(t)}var a=t("../type");e.exports=new a("tag:yaml.org,2002:bool",{kind:"scalar",resolve:i,construct:r,predicate:o,represent:{lowercase:function(t){return t?"true":"false"},uppercase:function(t){return t?"TRUE":"FALSE"},camelcase:function(t){return t?"True":"False"}},defaultStyle:"lowercase"})},{"../type":13}],16:[function(t,e,n){"use strict";function i(t){return null===t?!1:u.test(t)?!0:!1}function r(t){var e,n,i,r;return e=t.replace(/_/g,"").toLowerCase(),n="-"===e[0]?-1:1,r=[],0<="+-".indexOf(e[0])&&(e=e.slice(1)),".inf"===e?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===e?NaN:0<=e.indexOf(":")?(e.split(":").forEach(function(t){r.unshift(parseFloat(t,10))}),e=0,i=1,r.forEach(function(t){e+=t*i,i*=60}),n*e):n*parseFloat(e,10)}function o(t,e){var n;if(isNaN(t))switch(e){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===t)switch(e){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===t)switch(e){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(s.isNegativeZero(t))return"-0.0";return n=t.toString(10),l.test(n)?n.replace("e",".e"):n}function a(t){return"[object Number]"===Object.prototype.toString.call(t)&&(0!==t%1||s.isNegativeZero(t))}var s=t("../common"),c=t("../type"),u=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)\\.[0-9_]*(?:[eE][-+][0-9]+)?|\\.[0-9_]+(?:[eE][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),l=/^[-+]?[0-9]+e/;e.exports=new c("tag:yaml.org,2002:float",{kind:"scalar",resolve:i,construct:r,predicate:a,represent:o,defaultStyle:"lowercase"})},{"../common":2,"../type":13}],17:[function(t,e,n){"use strict";function i(t){return t>=48&&57>=t||t>=65&&70>=t||t>=97&&102>=t}function r(t){return t>=48&&55>=t}function o(t){return t>=48&&57>=t}function a(t){if(null===t)return!1;var e,n=t.length,a=0,s=!1;if(!n)return!1;if(e=t[a],("-"===e||"+"===e)&&(e=t[++a]),"0"===e){if(a+1===n)return!0;if(e=t[++a],"b"===e){for(a++;n>a;a++)if(e=t[a],"_"!==e){if("0"!==e&&"1"!==e)return!1;s=!0}return s}if("x"===e){for(a++;n>a;a++)if(e=t[a],"_"!==e){if(!i(t.charCodeAt(a)))return!1;s=!0}return s}for(;n>a;a++)if(e=t[a],"_"!==e){if(!r(t.charCodeAt(a)))return!1;s=!0}return s}for(;n>a;a++)if(e=t[a],"_"!==e){if(":"===e)break;if(!o(t.charCodeAt(a)))return!1;s=!0}return s?":"!==e?!0:/^(:[0-5]?[0-9])+$/.test(t.slice(a)):!1}function s(t){var e,n,i=t,r=1,o=[];return-1!==i.indexOf("_")&&(i=i.replace(/_/g,"")),e=i[0],("-"===e||"+"===e)&&("-"===e&&(r=-1),i=i.slice(1),e=i[0]),"0"===i?0:"0"===e?"b"===i[1]?r*parseInt(i.slice(2),2):"x"===i[1]?r*parseInt(i,16):r*parseInt(i,8):-1!==i.indexOf(":")?(i.split(":").forEach(function(t){o.unshift(parseInt(t,10))}),i=0,n=1,o.forEach(function(t){i+=t*n,n*=60}),r*i):r*parseInt(i,10)}function c(t){return"[object Number]"===Object.prototype.toString.call(t)&&0===t%1&&!u.isNegativeZero(t)}var u=t("../common"),l=t("../type");e.exports=new l("tag:yaml.org,2002:int",{kind:"scalar",resolve:a,construct:s,predicate:c,represent:{binary:function(t){return"0b"+t.toString(2)},octal:function(t){return"0"+t.toString(8)},decimal:function(t){return t.toString(10)},hexadecimal:function(t){return"0x"+t.toString(16).toUpperCase()}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},{"../common":2,"../type":13}],18:[function(t,e,n){"use strict";function i(t){if(null===t)return!1;try{var e="("+t+")",n=s.parse(e,{range:!0});return"Program"!==n.type||1!==n.body.length||"ExpressionStatement"!==n.body[0].type||"FunctionExpression"!==n.body[0].expression.type?!1:!0}catch(i){return!1}}function r(t){var e,n="("+t+")",i=s.parse(n,{range:!0}),r=[];if("Program"!==i.type||1!==i.body.length||"ExpressionStatement"!==i.body[0].type||"FunctionExpression"!==i.body[0].expression.type)throw new Error("Failed to resolve function");return i.body[0].expression.params.forEach(function(t){r.push(t.name)}),e=i.body[0].expression.body.range,new Function(r,n.slice(e[0]+1,e[1]-1))}function o(t){return t.toString()}function a(t){return"[object Function]"===Object.prototype.toString.call(t)}var s;try{s=t("esprima")}catch(c){"undefined"!=typeof window&&(s=window.esprima)}var u=t("../../type");e.exports=new u("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:i,construct:r,predicate:a,represent:o})},{"../../type":13,esprima:"esprima"}],19:[function(t,e,n){"use strict";function i(t){if(null===t)return!1;if(0===t.length)return!1;var e=t,n=/\/([gim]*)$/.exec(t),i="";if("/"===e[0]){if(n&&(i=n[1]),i.length>3)return!1;if("/"!==e[e.length-i.length-1])return!1;e=e.slice(1,e.length-i.length-1)}try{return!0}catch(r){return!1}}function r(t){var e=t,n=/\/([gim]*)$/.exec(t),i="";return"/"===e[0]&&(n&&(i=n[1]),e=e.slice(1,e.length-i.length-1)),new RegExp(e,i)}function o(t){var e="/"+t.source+"/";return t.global&&(e+="g"),t.multiline&&(e+="m"),t.ignoreCase&&(e+="i"),e}function a(t){return"[object RegExp]"===Object.prototype.toString.call(t)}var s=t("../../type");e.exports=new s("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:i,construct:r,predicate:a,represent:o})},{"../../type":13}],20:[function(t,e,n){"use strict";function i(){return!0}function r(){return void 0}function o(){return""}function a(t){return"undefined"==typeof t}var s=t("../../type");e.exports=new s("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:i,construct:r,predicate:a,represent:o})},{"../../type":13}],21:[function(t,e,n){"use strict";var i=t("../type");e.exports=new i("tag:yaml.org,2002:map",{kind:"mapping",construct:function(t){return null!==t?t:{}}})},{"../type":13}],22:[function(t,e,n){"use strict";function i(t){return"<<"===t||null===t}var r=t("../type");e.exports=new r("tag:yaml.org,2002:merge",{kind:"scalar",resolve:i})},{"../type":13}],23:[function(t,e,n){"use strict";function i(t){if(null===t)return!0;var e=t.length;return 1===e&&"~"===t||4===e&&("null"===t||"Null"===t||"NULL"===t)}function r(){return null}function o(t){return null===t}var a=t("../type");e.exports=new a("tag:yaml.org,2002:null",{kind:"scalar",resolve:i,construct:r,predicate:o,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},{"../type":13}],24:[function(t,e,n){"use strict";function i(t){if(null===t)return!0;var e,n,i,r,o,c=[],u=t;for(e=0,n=u.length;n>e;e+=1){if(i=u[e],o=!1,"[object Object]"!==s.call(i))return!1;for(r in i)if(a.call(i,r)){if(o)return!1;o=!0}if(!o)return!1;if(-1!==c.indexOf(r))return!1;c.push(r)}return!0}function r(t){return null!==t?t:[]}var o=t("../type"),a=Object.prototype.hasOwnProperty,s=Object.prototype.toString;e.exports=new o("tag:yaml.org,2002:omap",{kind:"sequence",resolve:i,construct:r})},{"../type":13}],25:[function(t,e,n){"use strict";function i(t){if(null===t)return!0;var e,n,i,r,o,s=t;for(o=new Array(s.length),e=0,n=s.length;n>e;e+=1){if(i=s[e],"[object Object]"!==a.call(i))return!1;if(r=Object.keys(i),1!==r.length)return!1;o[e]=[r[0],i[r[0]]]}return!0}function r(t){if(null===t)return[];var e,n,i,r,o,a=t;for(o=new Array(a.length),e=0,n=a.length;n>e;e+=1)i=a[e],r=Object.keys(i),o[e]=[r[0],i[r[0]]];return o}var o=t("../type"),a=Object.prototype.toString;e.exports=new o("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:i,construct:r})},{"../type":13}],26:[function(t,e,n){"use strict";var i=t("../type");e.exports=new i("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(t){return null!==t?t:[]}})},{"../type":13}],27:[function(t,e,n){"use strict";function i(t){if(null===t)return!0;var e,n=t;for(e in n)if(a.call(n,e)&&null!==n[e])return!1;return!0}function r(t){return null!==t?t:{}}var o=t("../type"),a=Object.prototype.hasOwnProperty;e.exports=new o("tag:yaml.org,2002:set",{kind:"mapping",resolve:i,construct:r})},{"../type":13}],28:[function(t,e,n){"use strict";var i=t("../type");e.exports=new i("tag:yaml.org,2002:str",{kind:"scalar",construct:function(t){return null!==t?t:""}})},{"../type":13}],29:[function(t,e,n){"use strict";function i(t){return null===t?!1:null===s.exec(t)?!1:!0}function r(t){var e,n,i,r,o,a,c,u,l,p,f=0,h=null;if(e=s.exec(t),null===e)throw new Error("Date resolve error");if(n=+e[1],i=+e[2]-1,r=+e[3],!e[4])return new Date(Date.UTC(n,i,r));if(o=+e[4],a=+e[5],c=+e[6],e[7]){for(f=e[7].slice(0,3);f.length<3;)f+="0";f=+f}return e[9]&&(u=+e[10],l=+(e[11]||0),h=6e4*(60*u+l),"-"===e[9]&&(h=-h)),p=new Date(Date.UTC(n,i,r,o,a,c,f)),h&&p.setTime(p.getTime()-h),p}function o(t){return t.toISOString()}var a=t("../type"),s=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?)?$");e.exports=new a("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:i,construct:r,instanceOf:Date,represent:o})},{"../type":13}],30:[function(t,e,n){},{}],31:[function(t,e,n){e.exports=t("./lib/inherit")},{"./lib/inherit":32}],32:[function(e,n,i){!function(e){function r(t){var e=f(t);if(v)for(var n,i=0;n=b[i++];)t.hasOwnProperty(n)&&e.push(n);return e}function o(t,e,n){for(var i,o,a=r(n),s=0,u=a.length;u>s;)"__self"!==(i=a[s++])&&(o=n[i],g(o)&&(!c||o.toString().indexOf(".__base")>-1)?e[i]=function(n,i){var r=t[n]?t[n]:"__constructor"===n?e.__self.__parent:y;return function(){var t=this.__base;this.__base=r;var e=i.apply(this,arguments);return this.__base=t,e}}(i,o):e[i]=o)}function a(t,e){for(var n,i=1;n=t[i++];)e?g(n)?s.self(e,n.prototype,n):s.self(e,n):e=g(n)?s(t[0],n.prototype,n):s(t[0],n);return e||t[0]}function s(){var t=arguments,e=m(t[0]),n=e||g(t[0]),i=n?e?a(t[0]):t[0]:u,r=t[n?1:0]||{},s=t[n?2:1],c=r.__constructor||n&&i.prototype.__constructor?function(){return this.__constructor.apply(this,arguments)}:n?function(){return i.apply(this,arguments)}:function(){};if(!n)return c.prototype=r,c.prototype.__self=c.prototype.constructor=c,h(c,s);h(c,i),c.__parent=i;var l=i.prototype,f=c.prototype=p(l);return f.__self=f.constructor=c,r&&o(l,f,r),s&&o(i,c,s),c}var c=function(){"_"}.toString().indexOf("_")>-1,u=function(){},l=Object.prototype.hasOwnProperty,p=Object.create||function(t){var e=function(){};return e.prototype=t,new e},f=Object.keys||function(t){var e=[];for(var n in t)l.call(t,n)&&e.push(n);return e},h=function(t,e){for(var n in e)l.call(e,n)&&(t[n]=e[n]);return t},d=Object.prototype.toString,m=Array.isArray||function(t){return"[object Array]"===d.call(t)},g=function(t){return"[object Function]"===d.call(t)},y=function(){},v=!0,x={toString:""};for(var A in x)x.hasOwnProperty(A)&&(v=!1);var b=v?["toString","valueOf"]:null;s.self=function(){var t=arguments,e=m(t[0]),n=e?a(t[0],t[0][0]):t[0],i=t[1],r=t[2],s=n.prototype;return i&&o(s,s,i),r&&o(n,n,r),n};var w=!0;"object"==typeof i&&(n.exports=s,w=!1),"object"==typeof modules&&(modules.define("inherit",function(t){t(s)}),w=!1),"function"==typeof t&&(t(function(t,e,n){n.exports=s}),w=!1),w&&(e.inherit=s)}(this)},{}],"/":[function(t,e,n){"use strict";var i=t("./lib/js-yaml.js");e.exports=i},{"./lib/js-yaml.js":1}]},{},[])("/")});
swagger-dist-2.1.5/lib/jsoneditor.min.jsdeleted−11
@@ -1,11 +0,0 @@
1−/*! JSON Editor v0.7.22 - JSON Schema -> HTML Editor
2− * By Jeremy Dorn - https://github.com/jdorn/json-editor/
3− * Released under the MIT license
4− *
5− * Date: 2015-08-12
6− */
7−!function(){var a;!function(){var b=!1,c=/xyz/.test(function(){window.postMessage("xyz")})?/\b_super\b/:/.*/;return a=function(){},a.extend=function(a){function d(){!b&&this.init&&this.init.apply(this,arguments)}var e=this.prototype;b=!0;var f=new this;b=!1;for(var g in a)f[g]="function"==typeof a[g]&&"function"==typeof e[g]&&c.test(a[g])?function(a,b){return function(){var c=this._super;this._super=e[a];var d=b.apply(this,arguments);return this._super=c,d}}(g,a[g]):a[g];return d.prototype=f,d.prototype.constructor=d,d.extend=arguments.callee,d},a}(),function(){function a(a,b){b=b||{bubbles:!1,cancelable:!1,detail:void 0};var c=document.createEvent("CustomEvent");return c.initCustomEvent(a,b.bubbles,b.cancelable,b.detail),c}a.prototype=window.Event.prototype,window.CustomEvent=a}(),function(){for(var a=0,b=["ms","moz","webkit","o"],c=0;c<b.length&&!window.requestAnimationFrame;++c)window.requestAnimationFrame=window[b[c]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[b[c]+"CancelAnimationFrame"]||window[b[c]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(b,c){var d=(new Date).getTime(),e=Math.max(0,16-(d-a)),f=window.setTimeout(function(){b(d+e)},e);return a=d+e,f}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(a){clearTimeout(a)})}(),function(){Array.isArray||(Array.isArray=function(a){return"[object Array]"===Object.prototype.toString.call(a)})}();var b=function(a){return"object"!=typeof a||a.nodeType||null!==a&&a===a.window?!1:a.constructor&&!Object.prototype.hasOwnProperty.call(a.constructor.prototype,"isPrototypeOf")?!1:!0},c=function(a){var d,e,f;for(e=1;e<arguments.length;e++){d=arguments[e];for(f in d)d.hasOwnProperty(f)&&(d[f]&&b(d[f])?(a.hasOwnProperty(f)||(a[f]={}),c(a[f],d[f])):a[f]=d[f])}return a},d=function(a,b){if(a&&"object"==typeof a){var c;if(Array.isArray(a)||"number"==typeof a.length&&a.length>0&&a.length-1 in a){for(c=0;c<a.length;c++)if(b(c,a[c])===!1)return}else if(Object.keys){var d=Object.keys(a);for(c=0;c<d.length;c++)if(b(d[c],a[d[c]])===!1)return}else for(c in a)if(a.hasOwnProperty(c)&&b(c,a[c])===!1)return}},e=function(a,b){var c=document.createEvent("HTMLEvents");c.initEvent(b,!0,!0),a.dispatchEvent(c)},f=function(a,b){if(!(a instanceof Element))throw new Error("element should be an instance of Element");b=c({},f.defaults.options,b||{}),this.element=a,this.options=b,this.init()};f.prototype={constructor:f,init:function(){var a=this;this.ready=!1;var b=f.defaults.themes[this.options.theme||f.defaults.theme];if(!b)throw"Unknown theme "+(this.options.theme||f.defaults.theme);this.schema=this.options.schema,this.theme=new b,this.template=this.options.template,this.refs=this.options.refs||{},this.uuid=0,this.__data={};var c=f.defaults.iconlibs[this.options.iconlib||f.defaults.iconlib];c&&(this.iconlib=new c),this.root_container=this.theme.getContainer(),this.element.appendChild(this.root_container),this.translate=this.options.translate||f.defaults.translate,this._loadExternalRefs(this.schema,function(){a._getDefinitions(a.schema),a.validator=new f.Validator(a);var b=a.getEditorClass(a.schema);a.root=a.createEditor(b,{jsoneditor:a,schema:a.schema,required:!0,container:a.root_container}),a.root.preBuild(),a.root.build(),a.root.postBuild(),a.options.startval&&a.root.setValue(a.options.startval),a.validation_results=a.validator.validate(a.root.getValue()),a.root.showValidationErrors(a.validation_results),a.ready=!0,window.requestAnimationFrame(function(){a.ready&&(a.validation_results=a.validator.validate(a.root.getValue()),a.root.showValidationErrors(a.validation_results),a.trigger("ready"),a.trigger("change"))})})},getValue:function(){if(!this.ready)throw"JSON Editor not ready yet. Listen for 'ready' event before getting the value";return this.root.getValue()},setValue:function(a){if(!this.ready)throw"JSON Editor not ready yet. Listen for 'ready' event before setting the value";return this.root.setValue(a),this},validate:function(a){if(!this.ready)throw"JSON Editor not ready yet. Listen for 'ready' event before validating";return 1===arguments.length?this.validator.validate(a):this.validation_results},destroy:function(){this.destroyed||this.ready&&(this.schema=null,this.options=null,this.root.destroy(),this.root=null,this.root_container=null,this.validator=null,this.validation_results=null,this.theme=null,this.iconlib=null,this.template=null,this.__data=null,this.ready=!1,this.element.innerHTML="",this.destroyed=!0)},on:function(a,b){return this.callbacks=this.callbacks||{},this.callbacks[a]=this.callbacks[a]||[],this.callbacks[a].push(b),this},off:function(a,b){if(a&&b){this.callbacks=this.callbacks||{},this.callbacks[a]=this.callbacks[a]||[];for(var c=[],d=0;d<this.callbacks[a].length;d++)this.callbacks[a][d]!==b&&c.push(this.callbacks[a][d]);this.callbacks[a]=c}else a?(this.callbacks=this.callbacks||{},this.callbacks[a]=[]):this.callbacks={};return this},trigger:function(a){if(this.callbacks&&this.callbacks[a]&&this.callbacks[a].length)for(var b=0;b<this.callbacks[a].length;b++)this.callbacks[a][b]();return this},setOption:function(a,b){if("show_errors"!==a)throw"Option "+a+" must be set during instantiation and cannot be changed later";return this.options.show_errors=b,this.onChange(),this},getEditorClass:function(a){var b;if(a=this.expandSchema(a),d(f.defaults.resolvers,function(c,d){var e=d(a);return e&&f.defaults.editors[e]?(b=e,!1):void 0}),!b)throw"Unknown editor for schema "+JSON.stringify(a);if(!f.defaults.editors[b])throw"Unknown editor "+b;return f.defaults.editors[b]},createEditor:function(a,b){return b=c({},a.options||{},b),new a(b)},onChange:function(){if(this.ready&&!this.firing_change){this.firing_change=!0;var a=this;return window.requestAnimationFrame(function(){a.firing_change=!1,a.ready&&(a.validation_results=a.validator.validate(a.root.getValue()),"never"!==a.options.show_errors?a.root.showValidationErrors(a.validation_results):a.root.showValidationErrors([]),a.trigger("change"))}),this}},compileTemplate:function(a,b){b=b||f.defaults.template;var c;if("string"==typeof b){if(!f.defaults.templates[b])throw"Unknown template engine "+b;if(c=f.defaults.templates[b](),!c)throw"Template engine "+b+" missing required library."}else c=b;if(!c)throw"No template engine set";if(!c.compile)throw"Invalid template engine set";return c.compile(a)},_data:function(a,b,c){if(3!==arguments.length)return a.hasAttribute("data-jsoneditor-"+b)?this.__data[a.getAttribute("data-jsoneditor-"+b)]:null;var d;a.hasAttribute("data-jsoneditor-"+b)?d=a.getAttribute("data-jsoneditor-"+b):(d=this.uuid++,a.setAttribute("data-jsoneditor-"+b,d)),this.__data[d]=c},registerEditor:function(a){return this.editors=this.editors||{},this.editors[a.path]=a,this},unregisterEditor:function(a){return this.editors=this.editors||{},this.editors[a.path]=null,this},getEditor:function(a){return this.editors?this.editors[a]:void 0},watch:function(a,b){return this.watchlist=this.watchlist||{},this.watchlist[a]=this.watchlist[a]||[],this.watchlist[a].push(b),this},unwatch:function(a,b){if(!this.watchlist||!this.watchlist[a])return this;if(!b)return this.watchlist[a]=null,this;for(var c=[],d=0;d<this.watchlist[a].length;d++)this.watchlist[a][d]!==b&&c.push(this.watchlist[a][d]);return this.watchlist[a]=c.length?c:null,this},notifyWatchers:function(a){if(!this.watchlist||!this.watchlist[a])return this;for(var b=0;b<this.watchlist[a].length;b++)this.watchlist[a][b]()},isEnabled:function(){return!this.root||this.root.isEnabled()},enable:function(){this.root.enable()},disable:function(){this.root.disable()},_getDefinitions:function(a,b){if(b=b||"#/definitions/",a.definitions)for(var c in a.definitions)a.definitions.hasOwnProperty(c)&&(this.refs[b+c]=a.definitions[c],a.definitions[c].definitions&&this._getDefinitions(a.definitions[c],b+c+"/definitions/"))},_getExternalRefs:function(a){var b={},c=function(a){for(var c in a)a.hasOwnProperty(c)&&(b[c]=!0)};a.$ref&&"object"!=typeof a.$ref&&"#"!==a.$ref.substr(0,1)&&!this.refs[a.$ref]&&(b[a.$ref]=!0);for(var d in a)if(a.hasOwnProperty(d))if(a[d]&&"object"==typeof a[d]&&Array.isArray(a[d]))for(var e=0;e<a[d].length;e++)"object"==typeof a[d][e]&&c(this._getExternalRefs(a[d][e]));else a[d]&&"object"==typeof a[d]&&c(this._getExternalRefs(a[d]));return b},_loadExternalRefs:function(a,b){var c=this,e=this._getExternalRefs(a),f=0,g=0,h=!1;d(e,function(a){if(!c.refs[a]){if(!c.options.ajax)throw"Must set ajax option to true to load external ref "+a;c.refs[a]="loading",g++;var d=new XMLHttpRequest;d.open("GET",a,!0),d.onreadystatechange=function(){if(4==d.readyState){if(200!==d.status)throw window.console.log(d),"Failed to fetch ref via ajax- "+a;var e;try{e=JSON.parse(d.responseText)}catch(i){throw window.console.log(i),"Failed to parse external ref "+a}if(!e||"object"!=typeof e)throw"External ref does not contain a valid schema - "+a;c.refs[a]=e,c._loadExternalRefs(e,function(){f++,f>=g&&!h&&(h=!0,b())})}},d.send()}}),g||b()},expandRefs:function(a){for(a=c({},a);a.$ref;){var b=a.$ref;delete a.$ref,this.refs[b]||(b=decodeURIComponent(b)),a=this.extendSchemas(a,this.refs[b])}return a},expandSchema:function(a){var b,e=this,f=c({},a);if("object"==typeof a.type&&(Array.isArray(a.type)?d(a.type,function(b,c){"object"==typeof c&&(a.type[b]=e.expandSchema(c))}):a.type=e.expandSchema(a.type)),"object"==typeof a.disallow&&(Array.isArray(a.disallow)?d(a.disallow,function(b,c){"object"==typeof c&&(a.disallow[b]=e.expandSchema(c))}):a.disallow=e.expandSchema(a.disallow)),a.anyOf&&d(a.anyOf,function(b,c){a.anyOf[b]=e.expandSchema(c)}),a.dependencies&&d(a.dependencies,function(b,c){"object"!=typeof c||Array.isArray(c)||(a.dependencies[b]=e.expandSchema(c))}),a.not&&(a.not=this.expandSchema(a.not)),a.allOf){for(b=0;b<a.allOf.length;b++)f=this.extendSchemas(f,this.expandSchema(a.allOf[b]));delete f.allOf}if(a["extends"]){if(Array.isArray(a["extends"]))for(b=0;b<a["extends"].length;b++)f=this.extendSchemas(f,this.expandSchema(a["extends"][b]));else f=this.extendSchemas(f,this.expandSchema(a["extends"]));delete f["extends"]}if(a.oneOf){var g=c({},f);for(delete g.oneOf,b=0;b<a.oneOf.length;b++)f.oneOf[b]=this.extendSchemas(this.expandSchema(a.oneOf[b]),g)}return this.expandRefs(f)},extendSchemas:function(a,b){a=c({},a),b=c({},b);var e=this,f={};return d(a,function(a,c){"undefined"!=typeof b[a]?"required"===a&&"object"==typeof c&&Array.isArray(c)?f.required=c.concat(b[a]).reduce(function(a,b){return a.indexOf(b)<0&&a.push(b),a},[]):"type"!==a||"string"!=typeof c&&!Array.isArray(c)?"object"==typeof c&&Array.isArray(c)?f[a]=c.filter(function(c){return-1!==b[a].indexOf(c)}):"object"==typeof c&&null!==c?f[a]=e.extendSchemas(c,b[a]):f[a]=c:("string"==typeof c&&(c=[c]),"string"==typeof b.type&&(b.type=[b.type]),f.type=c.filter(function(a){return-1!==b.type.indexOf(a)}),1===f.type.length&&"string"==typeof f.type[0]&&(f.type=f.type[0])):f[a]=c}),d(b,function(b,c){"undefined"==typeof a[b]&&(f[b]=c)}),f}},f.defaults={themes:{},templates:{},iconlibs:{},editors:{},languages:{},resolvers:[],custom_validators:[]},f.Validator=a.extend({init:function(a,b){this.jsoneditor=a,this.schema=b||this.jsoneditor.schema,this.options={},this.translate=this.jsoneditor.translate||f.defaults.translate},validate:function(a){return this._validateSchema(this.schema,a)},_validateSchema:function(a,b,e){var g,h,i,j=this,k=[],l=JSON.stringify(b);if(e=e||"root",a=c({},this.jsoneditor.expandRefs(a)),a.required&&a.required===!0){if("undefined"==typeof b)return k.push({path:e,property:"required",message:this.translate("error_notset")}),k}else if("undefined"==typeof b){if(!this.jsoneditor.options.required_by_default)return k;k.push({path:e,property:"required",message:this.translate("error_notset")})}if(a["enum"]){for(g=!1,h=0;h<a["enum"].length;h++)l===JSON.stringify(a["enum"][h])&&(g=!0);g||k.push({path:e,property:"enum",message:this.translate("error_enum")})}if(a["extends"])for(h=0;h<a["extends"].length;h++)k=k.concat(this._validateSchema(a["extends"][h],b,e));if(a.allOf)for(h=0;h<a.allOf.length;h++)k=k.concat(this._validateSchema(a.allOf[h],b,e));if(a.anyOf){for(g=!1,h=0;h<a.anyOf.length;h++)if(!this._validateSchema(a.anyOf[h],b,e).length){g=!0;break}g||k.push({path:e,property:"anyOf",message:this.translate("error_anyOf")})}if(a.oneOf){g=0;var m=[];for(h=0;h<a.oneOf.length;h++){var n=this._validateSchema(a.oneOf[h],b,e);for(n.length||g++,i=0;i<n.length;i++)n[i].path=e+".oneOf["+h+"]"+n[i].path.substr(e.length);m=m.concat(n)}1!==g&&(k.push({path:e,property:"oneOf",message:this.translate("error_oneOf",[g])}),k=k.concat(m))}if(a.not&&(this._validateSchema(a.not,b,e).length||k.push({path:e,property:"not",message:this.translate("error_not")})),a.type)if(Array.isArray(a.type)){for(g=!1,h=0;h<a.type.length;h++)if(this._checkType(a.type[h],b)){g=!0;break}g||k.push({path:e,property:"type",message:this.translate("error_type_union")})}else this._checkType(a.type,b)||k.push({path:e,property:"type",message:this.translate("error_type",[a.type])});if(a.disallow)if(Array.isArray(a.disallow)){for(g=!0,h=0;h<a.disallow.length;h++)if(this._checkType(a.disallow[h],b)){g=!1;break}g||k.push({path:e,property:"disallow",message:this.translate("error_disallow_union")})}else this._checkType(a.disallow,b)&&k.push({path:e,property:"disallow",message:this.translate("error_disallow",[a.disallow])});if("number"==typeof b)(a.multipleOf||a.divisibleBy)&&(g=b/(a.multipleOf||a.divisibleBy),g!==Math.floor(g)&&k.push({path:e,property:a.multipleOf?"multipleOf":"divisibleBy",message:this.translate("error_multipleOf",[a.multipleOf||a.divisibleBy])})),a.hasOwnProperty("maximum")&&(a.exclusiveMaximum&&b>=a.maximum?k.push({path:e,property:"maximum",message:this.translate("error_maximum_excl",[a.maximum])}):!a.exclusiveMaximum&&b>a.maximum&&k.push({path:e,property:"maximum",message:this.translate("error_maximum_incl",[a.maximum])})),a.hasOwnProperty("minimum")&&(a.exclusiveMinimum&&b<=a.minimum?k.push({path:e,property:"minimum",message:this.translate("error_minimum_excl",[a.minimum])}):!a.exclusiveMinimum&&b<a.minimum&&k.push({path:e,property:"minimum",message:this.translate("error_minimum_incl",[a.minimum])}));else if("string"==typeof b)a.maxLength&&(b+"").length>a.maxLength&&k.push({path:e,property:"maxLength",message:this.translate("error_maxLength",[a.maxLength])}),a.minLength&&(b+"").length<a.minLength&&k.push({path:e,property:"minLength",message:this.translate(1===a.minLength?"error_notempty":"error_minLength",[a.minLength])}),a.pattern&&(new RegExp(a.pattern).test(b)||k.push({path:e,property:"pattern",message:this.translate("error_pattern")}));else if("object"==typeof b&&null!==b&&Array.isArray(b)){if(a.items)if(Array.isArray(a.items))for(h=0;h<b.length;h++)if(a.items[h])k=k.concat(this._validateSchema(a.items[h],b[h],e+"."+h));else{if(a.additionalItems===!0)break;if(!a.additionalItems){if(a.additionalItems===!1){k.push({path:e,property:"additionalItems",message:this.translate("error_additionalItems")});break}break}k=k.concat(this._validateSchema(a.additionalItems,b[h],e+"."+h))}else for(h=0;h<b.length;h++)k=k.concat(this._validateSchema(a.items,b[h],e+"."+h));if(a.maxItems&&b.length>a.maxItems&&k.push({path:e,property:"maxItems",message:this.translate("error_maxItems",[a.maxItems])}),a.minItems&&b.length<a.minItems&&k.push({path:e,property:"minItems",message:this.translate("error_minItems",[a.minItems])}),a.uniqueItems){var o={};for(h=0;h<b.length;h++){if(g=JSON.stringify(b[h]),o[g]){k.push({path:e,property:"uniqueItems",message:this.translate("error_uniqueItems")});break}o[g]=!0}}}else if("object"==typeof b&&null!==b){if(a.maxProperties){g=0;for(h in b)b.hasOwnProperty(h)&&g++;g>a.maxProperties&&k.push({path:e,property:"maxProperties",message:this.translate("error_maxProperties",[a.maxProperties])})}if(a.minProperties){g=0;for(h in b)b.hasOwnProperty(h)&&g++;g<a.minProperties&&k.push({path:e,property:"minProperties",message:this.translate("error_minProperties",[a.minProperties])})}if(a.required&&Array.isArray(a.required))for(h=0;h<a.required.length;h++)"undefined"==typeof b[a.required[h]]&&k.push({path:e,property:"required",message:this.translate("error_required",[a.required[h]])});var p={};if(a.properties)for(h in a.properties)a.properties.hasOwnProperty(h)&&(p[h]=!0,k=k.concat(this._validateSchema(a.properties[h],b[h],e+"."+h)));if(a.patternProperties)for(h in a.patternProperties)if(a.patternProperties.hasOwnProperty(h)){var q=new RegExp(h);for(i in b)b.hasOwnProperty(i)&&q.test(i)&&(p[i]=!0,k=k.concat(this._validateSchema(a.patternProperties[h],b[i],e+"."+i)))}if("undefined"!=typeof a.additionalProperties||!this.jsoneditor.options.no_additional_properties||a.oneOf||a.anyOf||(a.additionalProperties=!1),"undefined"!=typeof a.additionalProperties)for(h in b)if(b.hasOwnProperty(h)&&!p[h]){if(!a.additionalProperties){k.push({path:e,property:"additionalProperties",message:this.translate("error_additional_properties",[h])});break}if(a.additionalProperties===!0)break;k=k.concat(this._validateSchema(a.additionalProperties,b[h],e+"."+h))}if(a.dependencies)for(h in a.dependencies)if(a.dependencies.hasOwnProperty(h)&&"undefined"!=typeof b[h])if(Array.isArray(a.dependencies[h]))for(i=0;i<a.dependencies[h].length;i++)"undefined"==typeof b[a.dependencies[h][i]]&&k.push({path:e,property:"dependencies",message:this.translate("error_dependency",[a.dependencies[h][i]])});else k=k.concat(this._validateSchema(a.dependencies[h],b,e))}return d(f.defaults.custom_validators,function(c,d){k=k.concat(d.call(j,a,b,e))}),k},_checkType:function(a,b){return"string"==typeof a?"string"===a?"string"==typeof b:"number"===a?"number"==typeof b:"integer"===a?"number"==typeof b&&b===Math.floor(b):"boolean"===a?"boolean"==typeof b:"array"===a?Array.isArray(b):"object"===a?null!==b&&!Array.isArray(b)&&"object"==typeof b:"null"===a?null===b:!0:!this._validateSchema(a,b).length}}),f.AbstractEditor=a.extend({onChildEditorChange:function(a){this.onChange(!0)},notify:function(){this.jsoneditor.notifyWatchers(this.path)},change:function(){this.parent?this.parent.onChildEditorChange(this):this.jsoneditor.onChange()},onChange:function(a){this.notify(),this.watch_listener&&this.watch_listener(),a&&this.change()},register:function(){this.jsoneditor.registerEditor(this),this.onChange()},unregister:function(){this.jsoneditor&&this.jsoneditor.unregisterEditor(this)},getNumColumns:function(){return 12},init:function(a){this.jsoneditor=a.jsoneditor,this.theme=this.jsoneditor.theme,this.template_engine=this.jsoneditor.template,this.iconlib=this.jsoneditor.iconlib,this.original_schema=a.schema,this.schema=this.jsoneditor.expandSchema(this.original_schema),this.options=c({},this.options||{},a.schema.options||{},a),a.path||this.schema.id||(this.schema.id="root"),this.path=a.path||"root",this.formname=a.formname||this.path.replace(/\.([^.]+)/g,"[$1]"),this.jsoneditor.options.form_name_root&&(this.formname=this.formname.replace(/^root\[/,this.jsoneditor.options.form_name_root+"[")),this.key=this.path.split(".").pop(),this.parent=a.parent,this.link_watchers=[],a.container&&this.setContainer(a.container)},setContainer:function(a){this.container=a,this.schema.id&&this.container.setAttribute("data-schemaid",this.schema.id),this.schema.type&&"string"==typeof this.schema.type&&this.container.setAttribute("data-schematype",this.schema.type),this.container.setAttribute("data-schemapath",this.path)},preBuild:function(){},build:function(){},postBuild:function(){this.setupWatchListeners(),this.addLinks(),this.setValue(this.getDefault(),!0),this.updateHeaderText(),this.register(),this.onWatchedFieldChange()},setupWatchListeners:function(){var a=this;if(this.watched={},this.schema.vars&&(this.schema.watch=this.schema.vars),this.watched_values={},this.watch_listener=function(){a.refreshWatchedFieldValues()&&a.onWatchedFieldChange()},this.register(),this.schema.hasOwnProperty("watch")){var b,c,d,e,f;for(var g in this.schema.watch)if(this.schema.watch.hasOwnProperty(g)){if(b=this.schema.watch[g],Array.isArray(b)?c=[b[0]].concat(b[1].split(".")):(c=b.split("."),a.theme.closest(a.container,'[data-schemaid="'+c[0]+'"]')||c.unshift("#")),d=c.shift(),"#"===d&&(d=a.jsoneditor.schema.id||"root"),e=a.theme.closest(a.container,'[data-schemaid="'+d+'"]'),!e)throw"Could not find ancestor node with id "+d;f=e.getAttribute("data-schemapath")+"."+c.join("."),a.jsoneditor.watch(f,a.watch_listener),a.watched[g]=f}}this.schema.headerTemplate&&(this.header_template=this.jsoneditor.compileTemplate(this.schema.headerTemplate,this.template_engine))},addLinks:function(){if(!this.no_link_holder&&(this.link_holder=this.theme.getLinksHolder(),this.container.appendChild(this.link_holder),this.schema.links))for(var a=0;a<this.schema.links.length;a++)this.addLink(this.getLink(this.schema.links[a]))},getButton:function(a,b,c){var d="json-editor-btn-"+b;b=this.iconlib?this.iconlib.getIcon(b):null,!b&&c&&(a=c,c=null);var e=this.theme.getButton(a,b,c);return e.className+=" "+d+" ",e},setButtonText:function(a,b,c,d){return c=this.iconlib?this.iconlib.getIcon(c):null,!c&&d&&(b=d,d=null),this.theme.setButtonText(a,b,c,d)},addLink:function(a){this.link_holder&&this.link_holder.appendChild(a)},getLink:function(a){var b,c,d=a.mediaType||"application/javascript",e=d.split("/")[0],f=this.jsoneditor.compileTemplate(a.href,this.template_engine);if("image"===e){b=this.theme.getBlockLinkHolder(),c=document.createElement("a"),c.setAttribute("target","_blank");var g=document.createElement("img");this.theme.createImageLink(b,c,g),this.link_watchers.push(function(b){var d=f(b);c.setAttribute("href",d),c.setAttribute("title",a.rel||d),g.setAttribute("src",d)})}else if(["audio","video"].indexOf(e)>=0){b=this.theme.getBlockLinkHolder(),c=this.theme.getBlockLink(),c.setAttribute("target","_blank");var h=document.createElement(e);h.setAttribute("controls","controls"),this.theme.createMediaLink(b,c,h),this.link_watchers.push(function(b){var d=f(b);c.setAttribute("href",d),c.textContent=a.rel||d,h.setAttribute("src",d)})}else b=this.theme.getBlockLink(),b.setAttribute("target","_blank"),b.textContent=a.rel,this.link_watchers.push(function(c){var d=f(c);b.setAttribute("href",d),b.textContent=a.rel||d});return b},refreshWatchedFieldValues:function(){if(this.watched_values){var a={},b=!1,c=this;if(this.watched){var d,e;for(var f in this.watched)this.watched.hasOwnProperty(f)&&(e=c.jsoneditor.getEditor(this.watched[f]),d=e?e.getValue():null,c.watched_values[f]!==d&&(b=!0),a[f]=d)}return a.self=this.getValue(),this.watched_values.self!==a.self&&(b=!0),this.watched_values=a,b}},getWatchedFieldValues:function(){return this.watched_values},updateHeaderText:function(){if(this.header)if(this.header.children.length){for(var a=0;a<this.header.childNodes.length;a++)if(3===this.header.childNodes[a].nodeType){this.header.childNodes[a].nodeValue=this.getHeaderText();break}}else this.header.textContent=this.getHeaderText()},getHeaderText:function(a){return this.header_text?this.header_text:a?this.schema.title:this.getTitle()},onWatchedFieldChange:function(){var a;if(this.header_template){a=c(this.getWatchedFieldValues(),{key:this.key,i:this.key,i0:1*this.key,i1:1*this.key+1,title:this.getTitle()});var b=this.header_template(a);b!==this.header_text&&(this.header_text=b,this.updateHeaderText(),this.notify())}if(this.link_watchers.length){a=this.getWatchedFieldValues();for(var d=0;d<this.link_watchers.length;d++)this.link_watchers[d](a)}},setValue:function(a){this.value=a},getValue:function(){return this.value},refreshValue:function(){},getChildEditors:function(){return!1},destroy:function(){var a=this;this.unregister(this),d(this.watched,function(b,c){a.jsoneditor.unwatch(c,a.watch_listener)}),this.watched=null,this.watched_values=null,this.watch_listener=null,this.header_text=null,this.header_template=null,this.value=null,this.container&&this.container.parentNode&&this.container.parentNode.removeChild(this.container),this.container=null,this.jsoneditor=null,this.schema=null,this.path=null,this.key=null,this.parent=null},getDefault:function(){if(this.schema["default"])return this.schema["default"];if(this.schema["enum"])return this.schema["enum"][0];var a=this.schema.type||this.schema.oneOf;if(a&&Array.isArray(a)&&(a=a[0]),a&&"object"==typeof a&&(a=a.type),a&&Array.isArray(a)&&(a=a[0]),"string"==typeof a){if("number"===a)return 0;if("boolean"===a)return!1;if("integer"===a)return 0;if("string"===a)return"";if("object"===a)return{};if("array"===a)return[]}return null},getTitle:function(){return this.schema.title||this.key},enable:function(){this.disabled=!1},disable:function(){this.disabled=!0},isEnabled:function(){return!this.disabled},isRequired:function(){return"boolean"==typeof this.schema.required?this.schema.required:this.parent&&this.parent.schema&&Array.isArray(this.parent.schema.required)?this.parent.schema.required.indexOf(this.key)>-1:this.jsoneditor.options.required_by_default?!0:!1},getDisplayText:function(a){var b=[],c={};d(a,function(a,b){b.title&&(c[b.title]=c[b.title]||0,c[b.title]++),b.description&&(c[b.description]=c[b.description]||0,c[b.description]++),b.format&&(c[b.format]=c[b.format]||0,c[b.format]++),b.type&&(c[b.type]=c[b.type]||0,c[b.type]++)}),d(a,function(a,d){var e;e="string"==typeof d?d:d.title&&c[d.title]<=1?d.title:d.format&&c[d.format]<=1?d.format:d.type&&c[d.type]<=1?d.type:d.description&&c[d.description]<=1?d.descripton:d.title?d.title:d.format?d.format:d.type?d.type:d.description?d.description:JSON.stringify(d).length<50?JSON.stringify(d):"type",b.push(e)});var e={};return d(b,function(a,d){e[d]=e[d]||0,e[d]++,c[d]>1&&(b[a]=d+" "+e[d])}),b},getOption:function(a){try{throw"getOption is deprecated"}catch(b){window.console.error(b)}return this.options[a]},showValidationErrors:function(a){}}),f.defaults.editors["null"]=f.AbstractEditor.extend({getValue:function(){return null},setValue:function(){this.onChange()},getNumColumns:function(){return 2}}),f.defaults.editors.string=f.AbstractEditor.extend({register:function(){this._super(),this.input&&this.input.setAttribute("name",this.formname)},unregister:function(){this._super(),this.input&&this.input.removeAttribute("name")},setValue:function(a,b,c){if((!this.template||c)&&(null===a||"undefined"==typeof a?a="":"object"==typeof a?a=JSON.stringify(a):"string"!=typeof a&&(a=""+a),a!==this.serialized)){var d=this.sanitize(a);if(this.input.value!==d){this.input.value=d,this.sceditor_instance?this.sceditor_instance.val(d):this.epiceditor?this.epiceditor.importFile(null,d):this.ace_editor&&this.ace_editor.setValue(d);var e=c||this.getValue()!==a;this.refreshValue(),b?this.is_dirty=!1:"change"===this.jsoneditor.options.show_errors&&(this.is_dirty=!0),this.adjust_height&&this.adjust_height(this.input),this.onChange(e)}}},getNumColumns:function(){var a,b=Math.ceil(Math.max(this.getTitle().length,this.schema.maxLength||0,this.schema.minLength||0)/5);return a="textarea"===this.input_type?6:["text","email"].indexOf(this.input_type)>=0?4:2,Math.min(12,Math.max(b,a))},build:function(){var a=this;if(this.options.compact||(this.header=this.label=this.theme.getFormInputLabel(this.getTitle(),this.isRequired())),this.schema.description&&(this.description=this.theme.getFormInputDescription(this.schema.description)),this.format=this.schema.format,!this.format&&this.schema.media&&this.schema.media.type&&(this.format=this.schema.media.type.replace(/(^(application|text)\/(x-)?(script\.)?)|(-source$)/g,"")),!this.format&&this.options.default_format&&(this.format=this.options.default_format),this.options.format&&(this.format=this.options.format),this.format)if("textarea"===this.format)this.input_type="textarea",this.input=this.theme.getTextareaInput();else if("range"===this.format){this.input_type="range";var b=this.schema.minimum||0,c=this.schema.maximum||Math.max(100,b+1),d=1;this.schema.multipleOf&&(b%this.schema.multipleOf&&(b=Math.ceil(b/this.schema.multipleOf)*this.schema.multipleOf),c%this.schema.multipleOf&&(c=Math.floor(c/this.schema.multipleOf)*this.schema.multipleOf),d=this.schema.multipleOf),this.input=this.theme.getRangeInput(b,c,d)}else["actionscript","batchfile","bbcode","c","c++","cpp","coffee","csharp","css","dart","django","ejs","erlang","golang","handlebars","haskell","haxe","html","ini","jade","java","javascript","json","less","lisp","lua","makefile","markdown","matlab","mysql","objectivec","pascal","perl","pgsql","php","python","r","ruby","sass","scala","scss","smarty","sql","stylus","svg","twig","vbscript","xml","yaml"].indexOf(this.format)>=0?(this.input_type=this.format,this.source_code=!0,this.input=this.theme.getTextareaInput()):(this.input_type=this.format,this.input=this.theme.getFormInputField(this.input_type));else this.input_type="text",this.input=this.theme.getFormInputField(this.input_type);"undefined"!=typeof this.schema.maxLength&&this.input.setAttribute("maxlength",this.schema.maxLength),"undefined"!=typeof this.schema.pattern?this.input.setAttribute("pattern",this.schema.pattern):"undefined"!=typeof this.schema.minLength&&this.input.setAttribute("pattern",".{"+this.schema.minLength+",}"),this.options.compact?this.container.className+=" compact":this.options.input_width&&(this.input.style.width=this.options.input_width),(this.schema.readOnly||this.schema.readonly||this.schema.template)&&(this.always_disabled=!0,this.input.disabled=!0),this.input.addEventListener("change",function(b){if(b.preventDefault(),b.stopPropagation(),a.schema.template)return void(this.value=a.value);var c=this.value,d=a.sanitize(c);c!==d&&(this.value=d),a.is_dirty=!0,a.refreshValue(),a.onChange(!0)}),this.options.input_height&&(this.input.style.height=this.options.input_height),this.options.expand_height&&(this.adjust_height=function(a){if(a){var b,c=a.offsetHeight;if(a.offsetHeight<a.scrollHeight)for(b=0;a.offsetHeight<a.scrollHeight+3&&!(b>100);)b++,c++,a.style.height=c+"px";else{for(b=0;a.offsetHeight>=a.scrollHeight+3&&!(b>100);)b++,c--,a.style.height=c+"px";a.style.height=c+1+"px"}}},this.input.addEventListener("keyup",function(b){a.adjust_height(this)}),this.input.addEventListener("change",function(b){a.adjust_height(this)}),this.adjust_height()),this.format&&this.input.setAttribute("data-schemaformat",this.format),this.control=this.theme.getFormControl(this.label,this.input,this.description),this.container.appendChild(this.control),window.requestAnimationFrame(function(){a.input.parentNode&&a.afterInputReady(),a.adjust_height&&a.adjust_height(a.input)}),this.schema.template?(this.template=this.jsoneditor.compileTemplate(this.schema.template,this.template_engine),this.refreshValue()):this.refreshValue()},enable:function(){this.always_disabled||(this.input.disabled=!1),this._super()},disable:function(){this.input.disabled=!0,this._super()},afterInputReady:function(){var a,b=this;if(this.source_code)if(this.options.wysiwyg&&["html","bbcode"].indexOf(this.input_type)>=0&&window.jQuery&&window.jQuery.fn&&window.jQuery.fn.sceditor)a=c({},{plugins:"html"===b.input_type?"xhtml":"bbcode",emoticonsEnabled:!1,width:"100%",height:300},f.plugins.sceditor,b.options.sceditor_options||{}),window.jQuery(b.input).sceditor(a),b.sceditor_instance=window.jQuery(b.input).sceditor("instance"),b.sceditor_instance.blur(function(){var a=window.jQuery("<div>"+b.sceditor_instance.val()+"</div>");window.jQuery("#sceditor-start-marker,#sceditor-end-marker,.sceditor-nlf",a).remove(),b.input.value=a.html(),b.value=b.input.value,b.is_dirty=!0,b.onChange(!0)});else if("markdown"===this.input_type&&window.EpicEditor)this.epiceditor_container=document.createElement("div"),this.input.parentNode.insertBefore(this.epiceditor_container,this.input),this.input.style.display="none",a=c({},f.plugins.epiceditor,{container:this.epiceditor_container,clientSideStorage:!1}),this.epiceditor=new window.EpicEditor(a).load(),this.epiceditor.importFile(null,this.getValue()),this.epiceditor.on("update",function(){var a=b.epiceditor.exportFile();b.input.value=a,b.value=a,b.is_dirty=!0,b.onChange(!0);
8−});else if(window.ace){var d=this.input_type;("cpp"===d||"c++"===d||"c"===d)&&(d="c_cpp"),this.ace_container=document.createElement("div"),this.ace_container.style.width="100%",this.ace_container.style.position="relative",this.ace_container.style.height="400px",this.input.parentNode.insertBefore(this.ace_container,this.input),this.input.style.display="none",this.ace_editor=window.ace.edit(this.ace_container),this.ace_editor.setValue(this.getValue()),f.plugins.ace.theme&&this.ace_editor.setTheme("ace/theme/"+f.plugins.ace.theme),d=window.ace.require("ace/mode/"+d),d&&this.ace_editor.getSession().setMode(new d.Mode),this.ace_editor.on("change",function(){var a=b.ace_editor.getValue();b.input.value=a,b.refreshValue(),b.is_dirty=!0,b.onChange(!0)})}b.theme.afterInputReady(b.input)},refreshValue:function(){this.value=this.input.value,"string"!=typeof this.value&&(this.value=""),this.serialized=this.value},destroy:function(){this.sceditor_instance?this.sceditor_instance.destroy():this.epiceditor?this.epiceditor.unload():this.ace_editor&&this.ace_editor.destroy(),this.template=null,this.input&&this.input.parentNode&&this.input.parentNode.removeChild(this.input),this.label&&this.label.parentNode&&this.label.parentNode.removeChild(this.label),this.description&&this.description.parentNode&&this.description.parentNode.removeChild(this.description),this._super()},sanitize:function(a){return a},onWatchedFieldChange:function(){var a;this.template&&(a=this.getWatchedFieldValues(),this.setValue(this.template(a),!1,!0)),this._super()},showValidationErrors:function(a){var b=this;if("always"===this.jsoneditor.options.show_errors);else if(!this.is_dirty&&this.previous_error_setting===this.jsoneditor.options.show_errors)return;this.previous_error_setting=this.jsoneditor.options.show_errors;var c=[];d(a,function(a,d){d.path===b.path&&c.push(d.message)}),c.length?this.theme.addInputError(this.input,c.join(". ")+"."):this.theme.removeInputError(this.input)}}),f.defaults.editors.number=f.defaults.editors.string.extend({sanitize:function(a){return(a+"").replace(/[^0-9\.\-eE]/g,"")},getNumColumns:function(){return 2},getValue:function(){return 1*this.value}}),f.defaults.editors.integer=f.defaults.editors.number.extend({sanitize:function(a){return a+="",a.replace(/[^0-9\-]/g,"")},getNumColumns:function(){return 2}}),f.defaults.editors.object=f.AbstractEditor.extend({getDefault:function(){return c({},this.schema["default"]||{})},getChildEditors:function(){return this.editors},register:function(){if(this._super(),this.editors)for(var a in this.editors)this.editors.hasOwnProperty(a)&&this.editors[a].register()},unregister:function(){if(this._super(),this.editors)for(var a in this.editors)this.editors.hasOwnProperty(a)&&this.editors[a].unregister()},getNumColumns:function(){return Math.max(Math.min(12,this.maxwidth),3)},enable:function(){if(this.editjson_button&&(this.editjson_button.disabled=!1),this.addproperty_button&&(this.addproperty_button.disabled=!1),this._super(),this.editors)for(var a in this.editors)this.editors.hasOwnProperty(a)&&this.editors[a].enable()},disable:function(){if(this.editjson_button&&(this.editjson_button.disabled=!0),this.addproperty_button&&(this.addproperty_button.disabled=!0),this.hideEditJSON(),this._super(),this.editors)for(var a in this.editors)this.editors.hasOwnProperty(a)&&this.editors[a].disable()},layoutEditors:function(){var a,b,c=this;if(this.row_container){this.property_order=Object.keys(this.editors),this.property_order=this.property_order.sort(function(a,b){var d=c.editors[a].schema.propertyOrder,e=c.editors[b].schema.propertyOrder;return"number"!=typeof d&&(d=1e3),"number"!=typeof e&&(e=1e3),d-e});var e;if("grid"===this.format){var f=[];for(d(this.property_order,function(a,b){var d=c.editors[b];if(!d.property_removed){for(var e=!1,g=d.options.hidden?0:d.options.grid_columns||d.getNumColumns(),h=d.options.hidden?0:d.container.offsetHeight,i=0;i<f.length;i++)f[i].width+g<=12&&(!h||.5*f[i].minh<h&&2*f[i].maxh>h)&&(e=i);e===!1&&(f.push({width:0,minh:999999,maxh:0,editors:[]}),e=f.length-1),f[e].editors.push({key:b,width:g,height:h}),f[e].width+=g,f[e].minh=Math.min(f[e].minh,h),f[e].maxh=Math.max(f[e].maxh,h)}}),a=0;a<f.length;a++)if(f[a].width<12){var g=!1,h=0;for(b=0;b<f[a].editors.length;b++)g===!1?g=b:f[a].editors[b].width>f[a].editors[g].width&&(g=b),f[a].editors[b].width*=12/f[a].width,f[a].editors[b].width=Math.floor(f[a].editors[b].width),h+=f[a].editors[b].width;12>h&&(f[a].editors[g].width+=12-h),f[a].width=12}if(this.layout===JSON.stringify(f))return!1;for(this.layout=JSON.stringify(f),e=document.createElement("div"),a=0;a<f.length;a++){var i=this.theme.getGridRow();for(e.appendChild(i),b=0;b<f[a].editors.length;b++){var j=f[a].editors[b].key,k=this.editors[j];k.options.hidden?k.container.style.display="none":this.theme.setGridColumnSize(k.container,f[a].editors[b].width),i.appendChild(k.container)}}}else e=document.createElement("div"),d(this.property_order,function(a,b){var d=c.editors[b];if(!d.property_removed){var f=c.theme.getGridRow();e.appendChild(f),d.options.hidden?d.container.style.display="none":c.theme.setGridColumnSize(d.container,12),f.appendChild(d.container)}});this.row_container.innerHTML="",this.row_container.appendChild(e)}},getPropertySchema:function(a){var b=this.schema.properties[a]||{};b=c({},b);var d=this.schema.properties[a]?!0:!1;if(this.schema.patternProperties)for(var e in this.schema.patternProperties)if(this.schema.patternProperties.hasOwnProperty(e)){var f=new RegExp(e);f.test(a)&&(b.allOf=b.allOf||[],b.allOf.push(this.schema.patternProperties[e]),d=!0)}return!d&&this.schema.additionalProperties&&"object"==typeof this.schema.additionalProperties&&(b=c({},this.schema.additionalProperties)),b},preBuild:function(){this._super(),this.editors={},this.cached_editors={};var a=this;if(this.format=this.options.layout||this.options.object_layout||this.schema.format||this.jsoneditor.options.object_layout||"normal",this.schema.properties=this.schema.properties||{},this.minwidth=0,this.maxwidth=0,this.options.table_row)d(this.schema.properties,function(b,c){var d=a.jsoneditor.getEditorClass(c);a.editors[b]=a.jsoneditor.createEditor(d,{jsoneditor:a.jsoneditor,schema:c,path:a.path+"."+b,parent:a,compact:!0,required:!0}),a.editors[b].preBuild();var e=a.editors[b].options.hidden?0:a.editors[b].options.grid_columns||a.editors[b].getNumColumns();a.minwidth+=e,a.maxwidth+=e}),this.no_link_holder=!0;else{if(this.options.table)throw"Not supported yet";this.defaultProperties=this.schema.defaultProperties||Object.keys(this.schema.properties),a.maxwidth+=1,d(this.defaultProperties,function(b,c){a.addObjectProperty(c,!0),a.editors[c]&&(a.minwidth=Math.max(a.minwidth,a.editors[c].options.grid_columns||a.editors[c].getNumColumns()),a.maxwidth+=a.editors[c].options.grid_columns||a.editors[c].getNumColumns())})}this.property_order=Object.keys(this.editors),this.property_order=this.property_order.sort(function(b,c){var d=a.editors[b].schema.propertyOrder,e=a.editors[c].schema.propertyOrder;return"number"!=typeof d&&(d=1e3),"number"!=typeof e&&(e=1e3),d-e})},build:function(){var a=this;if(this.options.table_row)this.editor_holder=this.container,d(this.editors,function(b,c){var d=a.theme.getTableCell();a.editor_holder.appendChild(d),c.setContainer(d),c.build(),c.postBuild(),a.editors[b].options.hidden&&(d.style.display="none"),a.editors[b].options.input_width&&(d.style.width=a.editors[b].options.input_width)});else{if(this.options.table)throw"Not supported yet";this.header=document.createElement("span"),this.header.textContent=this.getTitle(),this.title=this.theme.getHeader(this.header),this.container.appendChild(this.title),this.container.style.position="relative",this.editjson_holder=this.theme.getModal(),this.editjson_textarea=this.theme.getTextareaInput(),this.editjson_textarea.style.height="170px",this.editjson_textarea.style.width="300px",this.editjson_textarea.style.display="block",this.editjson_save=this.getButton("Save","save","Save"),this.editjson_save.addEventListener("click",function(b){b.preventDefault(),b.stopPropagation(),a.saveJSON()}),this.editjson_cancel=this.getButton("Cancel","cancel","Cancel"),this.editjson_cancel.addEventListener("click",function(b){b.preventDefault(),b.stopPropagation(),a.hideEditJSON()}),this.editjson_holder.appendChild(this.editjson_textarea),this.editjson_holder.appendChild(this.editjson_save),this.editjson_holder.appendChild(this.editjson_cancel),this.addproperty_holder=this.theme.getModal(),this.addproperty_list=document.createElement("div"),this.addproperty_list.style.width="295px",this.addproperty_list.style.maxHeight="160px",this.addproperty_list.style.padding="5px 0",this.addproperty_list.style.overflowY="auto",this.addproperty_list.style.overflowX="hidden",this.addproperty_list.style.paddingLeft="5px",this.addproperty_list.setAttribute("class","property-selector"),this.addproperty_add=this.getButton("add","add","add"),this.addproperty_input=this.theme.getFormInputField("text"),this.addproperty_input.setAttribute("placeholder","Property name..."),this.addproperty_input.style.width="220px",this.addproperty_input.style.marginBottom="0",this.addproperty_input.style.display="inline-block",this.addproperty_add.addEventListener("click",function(b){if(b.preventDefault(),b.stopPropagation(),a.addproperty_input.value){if(a.editors[a.addproperty_input.value])return void window.alert("there is already a property with that name");a.addObjectProperty(a.addproperty_input.value),a.editors[a.addproperty_input.value]&&a.editors[a.addproperty_input.value].disable(),a.onChange(!0)}}),this.addproperty_holder.appendChild(this.addproperty_list),this.addproperty_holder.appendChild(this.addproperty_input),this.addproperty_holder.appendChild(this.addproperty_add);var b=document.createElement("div");b.style.clear="both",this.addproperty_holder.appendChild(b),this.schema.description&&(this.description=this.theme.getDescription(this.schema.description),this.container.appendChild(this.description)),this.error_holder=document.createElement("div"),this.container.appendChild(this.error_holder),this.editor_holder=this.theme.getIndentedPanel(),this.editor_holder.style.paddingBottom="0",this.container.appendChild(this.editor_holder),this.row_container=this.theme.getGridContainer(),this.editor_holder.appendChild(this.row_container),d(this.editors,function(b,c){var d=a.theme.getGridColumn();a.row_container.appendChild(d),c.setContainer(d),c.build(),c.postBuild()}),this.title_controls=this.theme.getHeaderButtonHolder(),this.editjson_controls=this.theme.getHeaderButtonHolder(),this.addproperty_controls=this.theme.getHeaderButtonHolder(),this.title.appendChild(this.title_controls),this.title.appendChild(this.editjson_controls),this.title.appendChild(this.addproperty_controls),this.collapsed=!1,this.toggle_button=this.getButton("","collapse","Collapse"),this.title_controls.appendChild(this.toggle_button),this.toggle_button.addEventListener("click",function(b){b.preventDefault(),b.stopPropagation(),a.collapsed?(a.editor_holder.style.display="",a.collapsed=!1,a.setButtonText(a.toggle_button,"","collapse","Collapse")):(a.editor_holder.style.display="none",a.collapsed=!0,a.setButtonText(a.toggle_button,"","expand","Expand"))}),this.options.collapsed&&e(this.toggle_button,"click"),this.schema.options&&"undefined"!=typeof this.schema.options.disable_collapse?this.schema.options.disable_collapse&&(this.toggle_button.style.display="none"):this.jsoneditor.options.disable_collapse&&(this.toggle_button.style.display="none"),this.editjson_button=this.getButton("JSON","edit","Edit JSON"),this.editjson_button.addEventListener("click",function(b){b.preventDefault(),b.stopPropagation(),a.toggleEditJSON()}),this.editjson_controls.appendChild(this.editjson_button),this.editjson_controls.appendChild(this.editjson_holder),this.schema.options&&"undefined"!=typeof this.schema.options.disable_edit_json?this.schema.options.disable_edit_json&&(this.editjson_button.style.display="none"):this.jsoneditor.options.disable_edit_json&&(this.editjson_button.style.display="none"),this.addproperty_button=this.getButton("Properties","edit","Object Properties"),this.addproperty_button.addEventListener("click",function(b){b.preventDefault(),b.stopPropagation(),a.toggleAddProperty()}),this.addproperty_controls.appendChild(this.addproperty_button),this.addproperty_controls.appendChild(this.addproperty_holder),this.refreshAddProperties()}this.options.table_row?(this.editor_holder=this.container,d(this.property_order,function(b,c){a.editor_holder.appendChild(a.editors[c].container)})):(this.layoutEditors(),this.layoutEditors())},showEditJSON:function(){this.editjson_holder&&(this.hideAddProperty(),this.editjson_holder.style.left=this.editjson_button.offsetLeft+"px",this.editjson_holder.style.top=this.editjson_button.offsetTop+this.editjson_button.offsetHeight+"px",this.editjson_textarea.value=JSON.stringify(this.getValue(),null,2),this.disable(),this.editjson_holder.style.display="",this.editjson_button.disabled=!1,this.editing_json=!0)},hideEditJSON:function(){this.editjson_holder&&this.editing_json&&(this.editjson_holder.style.display="none",this.enable(),this.editing_json=!1)},saveJSON:function(){if(this.editjson_holder)try{var a=JSON.parse(this.editjson_textarea.value);this.setValue(a),this.hideEditJSON()}catch(b){throw window.alert("invalid JSON"),b}},toggleEditJSON:function(){this.editing_json?this.hideEditJSON():this.showEditJSON()},insertPropertyControlUsingPropertyOrder:function(a,b,c){var d;this.schema.properties[a]&&(d=this.schema.properties[a].propertyOrder),"number"!=typeof d&&(d=1e3),b.propertyOrder=d;for(var e=0;e<c.childNodes.length;e++){var f=c.childNodes[e];if(b.propertyOrder<f.propertyOrder){this.addproperty_list.insertBefore(b,f),b=null;break}}b&&this.addproperty_list.appendChild(b)},addPropertyCheckbox:function(a){var b,c,d,e,f=this;return b=f.theme.getCheckbox(),b.style.width="auto",d=this.schema.properties[a]&&this.schema.properties[a].title?this.schema.properties[a].title:a,c=f.theme.getCheckboxLabel(d),e=f.theme.getFormControl(c,b),e.style.paddingBottom=e.style.marginBottom=e.style.paddingTop=e.style.marginTop=0,e.style.height="auto",this.insertPropertyControlUsingPropertyOrder(a,e,this.addproperty_list),b.checked=a in this.editors,b.addEventListener("change",function(){b.checked?f.addObjectProperty(a):f.removeObjectProperty(a),f.onChange(!0)}),f.addproperty_checkboxes[a]=b,b},showAddProperty:function(){this.addproperty_holder&&(this.hideEditJSON(),this.addproperty_holder.style.left=this.addproperty_button.offsetLeft+"px",this.addproperty_holder.style.top=this.addproperty_button.offsetTop+this.addproperty_button.offsetHeight+"px",this.disable(),this.adding_property=!0,this.addproperty_button.disabled=!1,this.addproperty_holder.style.display="",this.refreshAddProperties())},hideAddProperty:function(){this.addproperty_holder&&this.adding_property&&(this.addproperty_holder.style.display="none",this.enable(),this.adding_property=!1)},toggleAddProperty:function(){this.adding_property?this.hideAddProperty():this.showAddProperty()},removeObjectProperty:function(a){this.editors[a]&&(this.editors[a].unregister(),delete this.editors[a],this.refreshValue(),this.layoutEditors())},addObjectProperty:function(a,b){var c=this;if(!this.editors[a]){if(this.cached_editors[a]){if(this.editors[a]=this.cached_editors[a],b)return;this.editors[a].register()}else{if(!(this.canHaveAdditionalProperties()||this.schema.properties&&this.schema.properties[a]))return;var d=c.getPropertySchema(a),e=c.jsoneditor.getEditorClass(d);if(c.editors[a]=c.jsoneditor.createEditor(e,{jsoneditor:c.jsoneditor,schema:d,path:c.path+"."+a,parent:c}),c.editors[a].preBuild(),!b){var f=c.theme.getChildEditorHolder();c.editor_holder.appendChild(f),c.editors[a].setContainer(f),c.editors[a].build(),c.editors[a].postBuild()}c.cached_editors[a]=c.editors[a]}b||(c.refreshValue(),c.layoutEditors())}},onChildEditorChange:function(a){this.refreshValue(),this._super(a)},canHaveAdditionalProperties:function(){return"boolean"==typeof this.schema.additionalProperties?this.schema.additionalProperties:!this.jsoneditor.options.no_additional_properties},destroy:function(){d(this.cached_editors,function(a,b){b.destroy()}),this.editor_holder&&(this.editor_holder.innerHTML=""),this.title&&this.title.parentNode&&this.title.parentNode.removeChild(this.title),this.error_holder&&this.error_holder.parentNode&&this.error_holder.parentNode.removeChild(this.error_holder),this.editors=null,this.cached_editors=null,this.editor_holder&&this.editor_holder.parentNode&&this.editor_holder.parentNode.removeChild(this.editor_holder),this.editor_holder=null,this._super()},getValue:function(){var a=this._super();if(this.jsoneditor.options.remove_empty_properties||this.options.remove_empty_properties)for(var b in a)a.hasOwnProperty(b)&&(a[b]||delete a[b]);return a},refreshValue:function(){this.value={};for(var a in this.editors)this.editors.hasOwnProperty(a)&&(this.value[a]=this.editors[a].getValue());this.adding_property&&this.refreshAddProperties()},refreshAddProperties:function(){if(this.options.disable_properties||this.options.disable_properties!==!1&&this.jsoneditor.options.disable_properties)return void(this.addproperty_controls.style.display="none");var a,b=!1,c=!1,d=0,e=!1;for(a in this.editors)this.editors.hasOwnProperty(a)&&d++;b=this.canHaveAdditionalProperties()&&!("undefined"!=typeof this.schema.maxProperties&&d>=this.schema.maxProperties),this.addproperty_checkboxes&&(this.addproperty_list.innerHTML=""),this.addproperty_checkboxes={};for(a in this.cached_editors)this.cached_editors.hasOwnProperty(a)&&(this.addPropertyCheckbox(a),this.isRequired(this.cached_editors[a])&&a in this.editors&&(this.addproperty_checkboxes[a].disabled=!0),"undefined"!=typeof this.schema.minProperties&&d<=this.schema.minProperties?(this.addproperty_checkboxes[a].disabled=this.addproperty_checkboxes[a].checked,this.addproperty_checkboxes[a].checked||(e=!0)):a in this.editors?(e=!0,c=!0):b||this.schema.properties.hasOwnProperty(a)?(this.addproperty_checkboxes[a].disabled=!1,e=!0):this.addproperty_checkboxes[a].disabled=!0);this.canHaveAdditionalProperties()&&(e=!0);for(a in this.schema.properties)this.schema.properties.hasOwnProperty(a)&&(this.cached_editors[a]||(e=!0,this.addPropertyCheckbox(a)));e?this.canHaveAdditionalProperties()?b?this.addproperty_add.disabled=!1:this.addproperty_add.disabled=!0:(this.addproperty_add.style.display="none",this.addproperty_input.style.display="none"):(this.hideAddProperty(),this.addproperty_controls.style.display="none")},isRequired:function(a){return"boolean"==typeof a.schema.required?a.schema.required:Array.isArray(this.schema.required)?this.schema.required.indexOf(a.key)>-1:this.jsoneditor.options.required_by_default?!0:!1},setValue:function(a,b){var c=this;a=a||{},("object"!=typeof a||Array.isArray(a))&&(a={}),d(this.cached_editors,function(d,e){"undefined"!=typeof a[d]?(c.addObjectProperty(d),e.setValue(a[d],b)):b||c.isRequired(e)?e.setValue(e.getDefault(),b):c.removeObjectProperty(d)}),d(a,function(a,d){c.cached_editors[a]||(c.addObjectProperty(a),c.editors[a]&&c.editors[a].setValue(d,b))}),this.refreshValue(),this.layoutEditors(),this.onChange()},showValidationErrors:function(a){var b=this,c=[],e=[];if(d(a,function(a,d){d.path===b.path?c.push(d):e.push(d)}),this.error_holder)if(c.length){this.error_holder.innerHTML="",this.error_holder.style.display="",d(c,function(a,c){b.error_holder.appendChild(b.theme.getErrorMessage(c.message))})}else this.error_holder.style.display="none";this.options.table_row&&(c.length?this.theme.addTableRowError(this.container):this.theme.removeTableRowError(this.container)),d(this.editors,function(a,b){b.showValidationErrors(e)})}}),f.defaults.editors.array=f.AbstractEditor.extend({getDefault:function(){return this.schema["default"]||[]},register:function(){if(this._super(),this.rows)for(var a=0;a<this.rows.length;a++)this.rows[a].register()},unregister:function(){if(this._super(),this.rows)for(var a=0;a<this.rows.length;a++)this.rows[a].unregister()},getNumColumns:function(){var a=this.getItemInfo(0);return this.tabs_holder?Math.max(Math.min(12,a.width+2),4):a.width},enable:function(){if(this.add_row_button&&(this.add_row_button.disabled=!1),this.remove_all_rows_button&&(this.remove_all_rows_button.disabled=!1),this.delete_last_row_button&&(this.delete_last_row_button.disabled=!1),this.rows)for(var a=0;a<this.rows.length;a++)this.rows[a].enable(),this.rows[a].moveup_button&&(this.rows[a].moveup_button.disabled=!1),this.rows[a].movedown_button&&(this.rows[a].movedown_button.disabled=!1),this.rows[a].delete_button&&(this.rows[a].delete_button.disabled=!1);this._super()},disable:function(){if(this.add_row_button&&(this.add_row_button.disabled=!0),this.remove_all_rows_button&&(this.remove_all_rows_button.disabled=!0),this.delete_last_row_button&&(this.delete_last_row_button.disabled=!0),this.rows)for(var a=0;a<this.rows.length;a++)this.rows[a].disable(),this.rows[a].moveup_button&&(this.rows[a].moveup_button.disabled=!0),this.rows[a].movedown_button&&(this.rows[a].movedown_button.disabled=!0),this.rows[a].delete_button&&(this.rows[a].delete_button.disabled=!0);this._super()},preBuild:function(){this._super(),this.rows=[],this.row_cache=[],this.hide_delete_buttons=this.options.disable_array_delete||this.jsoneditor.options.disable_array_delete,this.hide_move_buttons=this.options.disable_array_reorder||this.jsoneditor.options.disable_array_reorder,this.hide_add_button=this.options.disable_array_add||this.jsoneditor.options.disable_array_add},build:function(){this.options.compact?(this.panel=this.theme.getIndentedPanel(),this.container.appendChild(this.panel),this.controls=this.theme.getButtonHolder(),this.panel.appendChild(this.controls),this.row_holder=document.createElement("div"),this.panel.appendChild(this.row_holder)):(this.header=document.createElement("span"),this.header.textContent=this.getTitle(),this.title=this.theme.getHeader(this.header,this.isRequired()),this.container.appendChild(this.title),this.title_controls=this.theme.getHeaderButtonHolder(),this.title.appendChild(this.title_controls),this.schema.description&&(this.description=this.theme.getDescription(this.schema.description),this.container.appendChild(this.description)),this.error_holder=document.createElement("div"),this.container.appendChild(this.error_holder),"tabs"===this.schema.format?(this.controls=this.theme.getHeaderButtonHolder(),this.title.appendChild(this.controls),this.tabs_holder=this.theme.getTabHolder(),this.container.appendChild(this.tabs_holder),this.row_holder=this.theme.getTabContentHolder(this.tabs_holder),this.active_tab=null):(this.panel=this.theme.getIndentedPanel(),this.container.appendChild(this.panel),this.row_holder=document.createElement("div"),this.panel.appendChild(this.row_holder),this.controls=this.theme.getButtonHolder(),this.panel.appendChild(this.controls))),this.addControls()},onChildEditorChange:function(a){this.refreshValue(),this.refreshTabs(!0),this._super(a)},getItemTitle:function(){if(!this.item_title)if(this.schema.items&&!Array.isArray(this.schema.items)){var a=this.jsoneditor.expandRefs(this.schema.items);this.item_title=a.title||"item"}else this.item_title="item";return this.item_title},getItemSchema:function(a){return Array.isArray(this.schema.items)?a>=this.schema.items.length?this.schema.additionalItems===!0?{}:this.schema.additionalItems?c({},this.schema.additionalItems):void 0:c({},this.schema.items[a]):this.schema.items?c({},this.schema.items):{}},getItemInfo:function(a){var b=this.getItemSchema(a);this.item_info=this.item_info||{};var c=JSON.stringify(b);return"undefined"!=typeof this.item_info[c]?this.item_info[c]:(b=this.jsoneditor.expandRefs(b),this.item_info[c]={title:b.title||"item","default":b["default"],width:12,child_editors:b.properties||b.items},this.item_info[c])},getElementEditor:function(a){var b=this.getItemInfo(a),c=this.getItemSchema(a);c=this.jsoneditor.expandRefs(c),c.title=b.title+" "+(a+1);var d,e=this.jsoneditor.getEditorClass(c);d=this.tabs_holder?this.theme.getTabContent():b.child_editors?this.theme.getChildEditorHolder():this.theme.getIndentedPanel(),this.row_holder.appendChild(d);var f=this.jsoneditor.createEditor(e,{jsoneditor:this.jsoneditor,schema:c,container:d,path:this.path+"."+a,parent:this,required:!0});return f.preBuild(),f.build(),f.postBuild(),f.title_controls||(f.array_controls=this.theme.getButtonHolder(),d.appendChild(f.array_controls)),f},destroy:function(){this.empty(!0),this.title&&this.title.parentNode&&this.title.parentNode.removeChild(this.title),this.description&&this.description.parentNode&&this.description.parentNode.removeChild(this.description),this.row_holder&&this.row_holder.parentNode&&this.row_holder.parentNode.removeChild(this.row_holder),this.controls&&this.controls.parentNode&&this.controls.parentNode.removeChild(this.controls),this.panel&&this.panel.parentNode&&this.panel.parentNode.removeChild(this.panel),this.rows=this.row_cache=this.title=this.description=this.row_holder=this.panel=this.controls=null,this._super()},empty:function(a){if(this.rows){var b=this;d(this.rows,function(c,d){a&&(d.tab&&d.tab.parentNode&&d.tab.parentNode.removeChild(d.tab),b.destroyRow(d,!0),b.row_cache[c]=null),b.rows[c]=null}),b.rows=[],a&&(b.row_cache=[])}},destroyRow:function(a,b){var c=a.container;b?(a.destroy(),c.parentNode&&c.parentNode.removeChild(c),a.tab&&a.tab.parentNode&&a.tab.parentNode.removeChild(a.tab)):(a.tab&&(a.tab.style.display="none"),c.style.display="none",a.unregister())},getMax:function(){return Array.isArray(this.schema.items)&&this.schema.additionalItems===!1?Math.min(this.schema.items.length,this.schema.maxItems||1/0):this.schema.maxItems||1/0},refreshTabs:function(a){var b=this;d(this.rows,function(c,d){d.tab&&(a?d.tab_text.textContent=d.getHeaderText():d.tab===b.active_tab?(b.theme.markTabActive(d.tab),d.container.style.display=""):(b.theme.markTabInactive(d.tab),d.container.style.display="none"))})},setValue:function(a,b){a=a||[],Array.isArray(a)||(a=[a]);var c=JSON.stringify(a);if(c!==this.serialized){if(this.schema.minItems)for(;a.length<this.schema.minItems;)a.push(this.getItemInfo(a.length)["default"]);this.getMax()&&a.length>this.getMax()&&(a=a.slice(0,this.getMax()));var e=this;d(a,function(a,c){e.rows[a]?e.rows[a].setValue(c,b):e.row_cache[a]?(e.rows[a]=e.row_cache[a],e.rows[a].setValue(c,b),e.rows[a].container.style.display="",e.rows[a].tab&&(e.rows[a].tab.style.display=""),e.rows[a].register()):e.addRow(c,b)});for(var f=a.length;f<e.rows.length;f++)e.destroyRow(e.rows[f]),e.rows[f]=null;e.rows=e.rows.slice(0,a.length);var g=null;d(e.rows,function(a,b){return b.tab===e.active_tab?(g=b.tab,!1):void 0}),!g&&e.rows.length&&(g=e.rows[0].tab),e.active_tab=g,e.refreshValue(b),e.refreshTabs(!0),e.refreshTabs(),e.onChange()}},refreshValue:function(a){var b=this,c=this.value?this.value.length:0;if(this.value=[],d(this.rows,function(a,c){b.value[a]=c.getValue()}),c!==this.value.length||a){var e=this.schema.minItems&&this.schema.minItems>=this.rows.length;d(this.rows,function(a,c){c.movedown_button&&(a===b.rows.length-1?c.movedown_button.style.display="none":c.movedown_button.style.display=""),c.delete_button&&(e?c.delete_button.style.display="none":c.delete_button.style.display=""),b.value[a]=c.getValue()});var f=!1;this.value.length?1===this.value.length?(this.remove_all_rows_button.style.display="none",e||this.hide_delete_buttons?this.delete_last_row_button.style.display="none":(this.delete_last_row_button.style.display="",f=!0)):e||this.hide_delete_buttons?(this.delete_last_row_button.style.display="none",this.remove_all_rows_button.style.display="none"):(this.delete_last_row_button.style.display="",this.remove_all_rows_button.style.display="",f=!0):(this.delete_last_row_button.style.display="none",this.remove_all_rows_button.style.display="none"),this.getMax()&&this.getMax()<=this.rows.length||this.hide_add_button?this.add_row_button.style.display="none":(this.add_row_button.style.display="",f=!0),!this.collapsed&&f?this.controls.style.display="inline-block":this.controls.style.display="none"}},addRow:function(a,b){var c=this,e=this.rows.length;c.rows[e]=this.getElementEditor(e),c.row_cache[e]=c.rows[e],c.tabs_holder&&(c.rows[e].tab_text=document.createElement("span"),c.rows[e].tab_text.textContent=c.rows[e].getHeaderText(),c.rows[e].tab=c.theme.getTab(c.rows[e].tab_text),c.rows[e].tab.addEventListener("click",function(a){c.active_tab=c.rows[e].tab,c.refreshTabs(),a.preventDefault(),a.stopPropagation()}),c.theme.addTab(c.tabs_holder,c.rows[e].tab));var f=c.rows[e].title_controls||c.rows[e].array_controls;c.hide_delete_buttons||(c.rows[e].delete_button=this.getButton(c.getItemTitle(),"delete","Delete "+c.getItemTitle()),c.rows[e].delete_button.className+=" delete",c.rows[e].delete_button.setAttribute("data-i",e),c.rows[e].delete_button.addEventListener("click",function(a){a.preventDefault(),a.stopPropagation();var b=1*this.getAttribute("data-i"),e=c.getValue(),f=[],g=null;d(e,function(a,d){return a===b?void(c.rows[a].tab===c.active_tab&&(c.rows[a+1]?g=c.rows[a].tab:a&&(g=c.rows[a-1].tab))):void f.push(d)}),c.setValue(f),g&&(c.active_tab=g,c.refreshTabs()),c.onChange(!0)}),f&&f.appendChild(c.rows[e].delete_button)),e&&!c.hide_move_buttons&&(c.rows[e].moveup_button=this.getButton("","moveup","Move up"),c.rows[e].moveup_button.className+=" moveup",c.rows[e].moveup_button.setAttribute("data-i",e),c.rows[e].moveup_button.addEventListener("click",function(a){a.preventDefault(),a.stopPropagation();var b=1*this.getAttribute("data-i");if(!(0>=b)){var d=c.getValue(),e=d[b-1];d[b-1]=d[b],d[b]=e,c.setValue(d),c.active_tab=c.rows[b-1].tab,c.refreshTabs(),c.onChange(!0)}}),f&&f.appendChild(c.rows[e].moveup_button)),c.hide_move_buttons||(c.rows[e].movedown_button=this.getButton("","movedown","Move down"),c.rows[e].movedown_button.className+=" movedown",c.rows[e].movedown_button.setAttribute("data-i",e),c.rows[e].movedown_button.addEventListener("click",function(a){a.preventDefault(),a.stopPropagation();var b=1*this.getAttribute("data-i"),d=c.getValue();if(!(b>=d.length-1)){var e=d[b+1];d[b+1]=d[b],d[b]=e,c.setValue(d),c.active_tab=c.rows[b+1].tab,c.refreshTabs(),c.onChange(!0)}}),f&&f.appendChild(c.rows[e].movedown_button)),a&&c.rows[e].setValue(a,b),c.refreshTabs()},addControls:function(){var a=this;this.collapsed=!1,this.toggle_button=this.getButton("","collapse","Collapse"),this.title_controls.appendChild(this.toggle_button);var b=a.row_holder.style.display,c=a.controls.style.display;this.toggle_button.addEventListener("click",function(d){d.preventDefault(),d.stopPropagation(),a.collapsed?(a.collapsed=!1,a.panel&&(a.panel.style.display=""),a.row_holder.style.display=b,a.tabs_holder&&(a.tabs_holder.style.display=""),a.controls.style.display=c,a.setButtonText(this,"","collapse","Collapse")):(a.collapsed=!0,a.row_holder.style.display="none",a.tabs_holder&&(a.tabs_holder.style.display="none"),a.controls.style.display="none",a.panel&&(a.panel.style.display="none"),a.setButtonText(this,"","expand","Expand"))}),this.options.collapsed&&e(this.toggle_button,"click"),this.schema.options&&"undefined"!=typeof this.schema.options.disable_collapse?this.schema.options.disable_collapse&&(this.toggle_button.style.display="none"):this.jsoneditor.options.disable_collapse&&(this.toggle_button.style.display="none"),this.add_row_button=this.getButton(this.getItemTitle(),"add","Add "+this.getItemTitle()),this.add_row_button.addEventListener("click",function(b){b.preventDefault(),b.stopPropagation();var c=a.rows.length;a.row_cache[c]?(a.rows[c]=a.row_cache[c],a.rows[c].setValue(a.rows[c].getDefault()),a.rows[c].container.style.display="",a.rows[c].tab&&(a.rows[c].tab.style.display=""),a.rows[c].register()):a.addRow(),a.active_tab=a.rows[c].tab,a.refreshTabs(),a.refreshValue(),a.onChange(!0)}),a.controls.appendChild(this.add_row_button),this.delete_last_row_button=this.getButton("Last "+this.getItemTitle(),"delete","Delete Last "+this.getItemTitle()),
9−this.delete_last_row_button.addEventListener("click",function(b){b.preventDefault(),b.stopPropagation();var c=a.getValue(),d=null;a.rows.length>1&&a.rows[a.rows.length-1].tab===a.active_tab&&(d=a.rows[a.rows.length-2].tab),c.pop(),a.setValue(c),d&&(a.active_tab=d,a.refreshTabs()),a.onChange(!0)}),a.controls.appendChild(this.delete_last_row_button),this.remove_all_rows_button=this.getButton("All","delete","Delete All"),this.remove_all_rows_button.addEventListener("click",function(b){b.preventDefault(),b.stopPropagation(),a.setValue([]),a.onChange(!0)}),a.controls.appendChild(this.remove_all_rows_button),a.tabs&&(this.add_row_button.style.width="100%",this.add_row_button.style.textAlign="left",this.add_row_button.style.marginBottom="3px",this.delete_last_row_button.style.width="100%",this.delete_last_row_button.style.textAlign="left",this.delete_last_row_button.style.marginBottom="3px",this.remove_all_rows_button.style.width="100%",this.remove_all_rows_button.style.textAlign="left",this.remove_all_rows_button.style.marginBottom="3px")},showValidationErrors:function(a){var b=this,c=[],e=[];if(d(a,function(a,d){d.path===b.path?c.push(d):e.push(d)}),this.error_holder)if(c.length){this.error_holder.innerHTML="",this.error_holder.style.display="",d(c,function(a,c){b.error_holder.appendChild(b.theme.getErrorMessage(c.message))})}else this.error_holder.style.display="none";d(this.rows,function(a,b){b.showValidationErrors(e)})}}),f.defaults.editors.table=f.defaults.editors.array.extend({register:function(){if(this._super(),this.rows)for(var a=0;a<this.rows.length;a++)this.rows[a].register()},unregister:function(){if(this._super(),this.rows)for(var a=0;a<this.rows.length;a++)this.rows[a].unregister()},getNumColumns:function(){return Math.max(Math.min(12,this.width),3)},preBuild:function(){var a=this.jsoneditor.expandRefs(this.schema.items||{});this.item_title=a.title||"row",this.item_default=a["default"]||null,this.item_has_child_editors=a.properties||a.items,this.width=12,this._super()},build:function(){var a=this;this.table=this.theme.getTable(),this.container.appendChild(this.table),this.thead=this.theme.getTableHead(),this.table.appendChild(this.thead),this.header_row=this.theme.getTableRow(),this.thead.appendChild(this.header_row),this.row_holder=this.theme.getTableBody(),this.table.appendChild(this.row_holder);var b=this.getElementEditor(0,!0);if(this.item_default=b.getDefault(),this.width=b.getNumColumns()+2,this.options.compact?(this.panel=document.createElement("div"),this.container.appendChild(this.panel)):(this.title=this.theme.getHeader(this.getTitle(),this.isRequired()),this.container.appendChild(this.title),this.title_controls=this.theme.getHeaderButtonHolder(),this.title.appendChild(this.title_controls),this.schema.description&&(this.description=this.theme.getDescription(this.schema.description),this.container.appendChild(this.description)),this.panel=this.theme.getIndentedPanel(),this.container.appendChild(this.panel),this.error_holder=document.createElement("div"),this.panel.appendChild(this.error_holder)),this.panel.appendChild(this.table),this.controls=this.theme.getButtonHolder(),this.panel.appendChild(this.controls),this.item_has_child_editors)for(var c=b.getChildEditors(),d=b.property_order||Object.keys(c),e=0;e<d.length;e++){var f=a.theme.getTableHeaderCell(c[d[e]].getTitle());c[d[e]].options.hidden&&(f.style.display="none"),a.header_row.appendChild(f)}else a.header_row.appendChild(a.theme.getTableHeaderCell(this.item_title));b.destroy(),this.row_holder.innerHTML="",this.controls_header_cell=a.theme.getTableHeaderCell(" "),a.header_row.appendChild(this.controls_header_cell),this.addControls()},onChildEditorChange:function(a){this.refreshValue(),this._super()},getItemDefault:function(){return c({},{"default":this.item_default})["default"]},getItemTitle:function(){return this.item_title},getElementEditor:function(a,b){var d=c({},this.schema.items),e=this.jsoneditor.getEditorClass(d,this.jsoneditor),f=this.row_holder.appendChild(this.theme.getTableRow()),g=f;this.item_has_child_editors||(g=this.theme.getTableCell(),f.appendChild(g));var h=this.jsoneditor.createEditor(e,{jsoneditor:this.jsoneditor,schema:d,container:g,path:this.path+"."+a,parent:this,compact:!0,table_row:!0});return h.preBuild(),b||(h.build(),h.postBuild(),h.controls_cell=f.appendChild(this.theme.getTableCell()),h.row=f,h.table_controls=this.theme.getButtonHolder(),h.controls_cell.appendChild(h.table_controls),h.table_controls.style.margin=0,h.table_controls.style.padding=0),h},destroy:function(){this.innerHTML="",this.title&&this.title.parentNode&&this.title.parentNode.removeChild(this.title),this.description&&this.description.parentNode&&this.description.parentNode.removeChild(this.description),this.row_holder&&this.row_holder.parentNode&&this.row_holder.parentNode.removeChild(this.row_holder),this.table&&this.table.parentNode&&this.table.parentNode.removeChild(this.table),this.panel&&this.panel.parentNode&&this.panel.parentNode.removeChild(this.panel),this.rows=this.title=this.description=this.row_holder=this.table=this.panel=null,this._super()},setValue:function(a,b){if(a=a||[],this.schema.minItems)for(;a.length<this.schema.minItems;)a.push(this.getItemDefault());this.schema.maxItems&&a.length>this.schema.maxItems&&(a=a.slice(0,this.schema.maxItems));var c=JSON.stringify(a);if(c!==this.serialized){var e=!1,f=this;d(a,function(a,b){f.rows[a]?f.rows[a].setValue(b):(f.addRow(b),e=!0)});for(var g=a.length;g<f.rows.length;g++){var h=f.rows[g].container;f.item_has_child_editors||f.rows[g].row.parentNode.removeChild(f.rows[g].row),f.rows[g].destroy(),h.parentNode&&h.parentNode.removeChild(h),f.rows[g]=null,e=!0}f.rows=f.rows.slice(0,a.length),f.refreshValue(),(e||b)&&f.refreshRowButtons(),f.onChange()}},refreshRowButtons:function(){var a=this,b=this.schema.minItems&&this.schema.minItems>=this.rows.length,c=!1;d(this.rows,function(d,e){e.movedown_button&&(d===a.rows.length-1?e.movedown_button.style.display="none":(c=!0,e.movedown_button.style.display="")),e.delete_button&&(b?e.delete_button.style.display="none":(c=!0,e.delete_button.style.display="")),e.moveup_button&&(c=!0)}),d(this.rows,function(a,b){c?b.controls_cell.style.display="":b.controls_cell.style.display="none"}),c?this.controls_header_cell.style.display="":this.controls_header_cell.style.display="none";var e=!1;this.value.length?1===this.value.length||this.hide_delete_buttons?(this.table.style.display="",this.remove_all_rows_button.style.display="none",b||this.hide_delete_buttons?this.delete_last_row_button.style.display="none":(this.delete_last_row_button.style.display="",e=!0)):(this.table.style.display="",b||this.hide_delete_buttons?(this.delete_last_row_button.style.display="none",this.remove_all_rows_button.style.display="none"):(this.delete_last_row_button.style.display="",this.remove_all_rows_button.style.display="",e=!0)):(this.delete_last_row_button.style.display="none",this.remove_all_rows_button.style.display="none",this.table.style.display="none"),this.schema.maxItems&&this.schema.maxItems<=this.rows.length||this.hide_add_button?this.add_row_button.style.display="none":(this.add_row_button.style.display="",e=!0),e?this.controls.style.display="":this.controls.style.display="none"},refreshValue:function(){var a=this;this.value=[],d(this.rows,function(b,c){a.value[b]=c.getValue()}),this.serialized=JSON.stringify(this.value)},addRow:function(a){var b=this,c=this.rows.length;b.rows[c]=this.getElementEditor(c);var e=b.rows[c].table_controls;this.hide_delete_buttons||(b.rows[c].delete_button=this.getButton("","delete","Delete"),b.rows[c].delete_button.className+=" delete",b.rows[c].delete_button.setAttribute("data-i",c),b.rows[c].delete_button.addEventListener("click",function(a){a.preventDefault(),a.stopPropagation();var c=1*this.getAttribute("data-i"),e=b.getValue(),f=[];d(e,function(a,b){a!==c&&f.push(b)}),b.setValue(f),b.onChange(!0)}),e.appendChild(b.rows[c].delete_button)),c&&!this.hide_move_buttons&&(b.rows[c].moveup_button=this.getButton("","moveup","Move up"),b.rows[c].moveup_button.className+=" moveup",b.rows[c].moveup_button.setAttribute("data-i",c),b.rows[c].moveup_button.addEventListener("click",function(a){a.preventDefault(),a.stopPropagation();var c=1*this.getAttribute("data-i");if(!(0>=c)){var d=b.getValue(),e=d[c-1];d[c-1]=d[c],d[c]=e,b.setValue(d),b.onChange(!0)}}),e.appendChild(b.rows[c].moveup_button)),this.hide_move_buttons||(b.rows[c].movedown_button=this.getButton("","movedown","Move down"),b.rows[c].movedown_button.className+=" movedown",b.rows[c].movedown_button.setAttribute("data-i",c),b.rows[c].movedown_button.addEventListener("click",function(a){a.preventDefault(),a.stopPropagation();var c=1*this.getAttribute("data-i"),d=b.getValue();if(!(c>=d.length-1)){var e=d[c+1];d[c+1]=d[c],d[c]=e,b.setValue(d),b.onChange(!0)}}),e.appendChild(b.rows[c].movedown_button)),a&&b.rows[c].setValue(a)},addControls:function(){var a=this;this.collapsed=!1,this.toggle_button=this.getButton("","collapse","Collapse"),this.title_controls&&(this.title_controls.appendChild(this.toggle_button),this.toggle_button.addEventListener("click",function(b){b.preventDefault(),b.stopPropagation(),a.collapsed?(a.collapsed=!1,a.panel.style.display="",a.setButtonText(this,"","collapse","Collapse")):(a.collapsed=!0,a.panel.style.display="none",a.setButtonText(this,"","expand","Expand"))}),this.options.collapsed&&e(this.toggle_button,"click"),this.schema.options&&"undefined"!=typeof this.schema.options.disable_collapse?this.schema.options.disable_collapse&&(this.toggle_button.style.display="none"):this.jsoneditor.options.disable_collapse&&(this.toggle_button.style.display="none")),this.add_row_button=this.getButton(this.getItemTitle(),"add","Add "+this.getItemTitle()),this.add_row_button.addEventListener("click",function(b){b.preventDefault(),b.stopPropagation(),a.addRow(),a.refreshValue(),a.refreshRowButtons(),a.onChange(!0)}),a.controls.appendChild(this.add_row_button),this.delete_last_row_button=this.getButton("Last "+this.getItemTitle(),"delete","Delete Last "+this.getItemTitle()),this.delete_last_row_button.addEventListener("click",function(b){b.preventDefault(),b.stopPropagation();var c=a.getValue();c.pop(),a.setValue(c),a.onChange(!0)}),a.controls.appendChild(this.delete_last_row_button),this.remove_all_rows_button=this.getButton("All","delete","Delete All"),this.remove_all_rows_button.addEventListener("click",function(b){b.preventDefault(),b.stopPropagation(),a.setValue([]),a.onChange(!0)}),a.controls.appendChild(this.remove_all_rows_button)}}),f.defaults.editors.multiple=f.AbstractEditor.extend({register:function(){if(this.editors){for(var a=0;a<this.editors.length;a++)this.editors[a]&&this.editors[a].unregister();this.editors[this.type]&&this.editors[this.type].register()}this._super()},unregister:function(){if(this._super(),this.editors)for(var a=0;a<this.editors.length;a++)this.editors[a]&&this.editors[a].unregister()},getNumColumns:function(){return this.editors[this.type]?Math.max(this.editors[this.type].getNumColumns(),4):4},enable:function(){if(this.editors)for(var a=0;a<this.editors.length;a++)this.editors[a]&&this.editors[a].enable();this.switcher.disabled=!1,this._super()},disable:function(){if(this.editors)for(var a=0;a<this.editors.length;a++)this.editors[a]&&this.editors[a].disable();this.switcher.disabled=!0,this._super()},switchEditor:function(a){var b=this;this.editors[a]||this.buildChildEditor(a),b.type=a,b.register();var c=b.getValue();d(b.editors,function(a,d){d&&(b.type===a?(b.keep_values&&d.setValue(c,!0),d.container.style.display=""):d.container.style.display="none")}),b.refreshValue(),b.refreshHeaderText()},buildChildEditor:function(a){var b=this,d=this.types[a],e=b.theme.getChildEditorHolder();b.editor_holder.appendChild(e);var f;"string"==typeof d?(f=c({},b.schema),f.type=d):(f=c({},b.schema,d),f=b.jsoneditor.expandRefs(f),d.required&&Array.isArray(d.required)&&b.schema.required&&Array.isArray(b.schema.required)&&(f.required=b.schema.required.concat(d.required)));var g=b.jsoneditor.getEditorClass(f);b.editors[a]=b.jsoneditor.createEditor(g,{jsoneditor:b.jsoneditor,schema:f,container:e,path:b.path,parent:b,required:!0}),b.editors[a].preBuild(),b.editors[a].build(),b.editors[a].postBuild(),b.editors[a].header&&(b.editors[a].header.style.display="none"),b.editors[a].option=b.switcher_options[a],e.addEventListener("change_header_text",function(){b.refreshHeaderText()}),a!==b.type&&(e.style.display="none")},preBuild:function(){if(this.types=[],this.type=0,this.editors=[],this.validators=[],this.keep_values=!0,"undefined"!=typeof this.jsoneditor.options.keep_oneof_values&&(this.keep_values=this.jsoneditor.options.keep_oneof_values),"undefined"!=typeof this.options.keep_oneof_values&&(this.keep_values=this.options.keep_oneof_values),this.schema.oneOf)this.oneOf=!0,this.types=this.schema.oneOf,d(this.types,function(a,b){}),delete this.schema.oneOf;else{if(this.schema.type&&"any"!==this.schema.type)Array.isArray(this.schema.type)?this.types=this.schema.type:this.types=[this.schema.type];else if(this.types=["string","number","integer","boolean","object","array","null"],this.schema.disallow){var a=this.schema.disallow;"object"==typeof a&&Array.isArray(a)||(a=[a]);var b=[];d(this.types,function(c,d){-1===a.indexOf(d)&&b.push(d)}),this.types=b}delete this.schema.type}this.display_text=this.getDisplayText(this.types)},build:function(){var a=this,b=this.container;this.header=this.label=this.theme.getFormInputLabel(this.getTitle(),this.isRequired()),this.container.appendChild(this.header),this.switcher=this.theme.getSwitcher(this.display_text),b.appendChild(this.switcher),this.switcher.addEventListener("change",function(b){b.preventDefault(),b.stopPropagation(),a.switchEditor(a.display_text.indexOf(this.value)),a.onChange(!0)}),this.editor_holder=document.createElement("div"),b.appendChild(this.editor_holder),this.switcher_options=this.theme.getSwitcherOptions(this.switcher),d(this.types,function(b,d){a.editors[b]=!1;var e;"string"==typeof d?(e=c({},a.schema),e.type=d):(e=c({},a.schema,d),d.required&&Array.isArray(d.required)&&a.schema.required&&Array.isArray(a.schema.required)&&(e.required=a.schema.required.concat(d.required))),a.validators[b]=new f.Validator(a.jsoneditor,e)}),this.switchEditor(0)},onChildEditorChange:function(a){this.editors[this.type]&&(this.refreshValue(),this.refreshHeaderText()),this._super()},refreshHeaderText:function(){var a=this.getDisplayText(this.types);d(this.switcher_options,function(b,c){c.textContent=a[b]})},refreshValue:function(){this.value=this.editors[this.type].getValue()},setValue:function(a,b){var c=this;d(this.validators,function(b,d){return d.validate(a).length?void 0:(c.type=b,c.switcher.value=c.display_text[b],!1)}),this.switchEditor(this.type),this.editors[this.type].setValue(a,b),this.refreshValue(),c.onChange()},destroy:function(){d(this.editors,function(a,b){b&&b.destroy()}),this.editor_holder&&this.editor_holder.parentNode&&this.editor_holder.parentNode.removeChild(this.editor_holder),this.switcher&&this.switcher.parentNode&&this.switcher.parentNode.removeChild(this.switcher),this._super()},showValidationErrors:function(a){var b=this;this.oneOf?d(this.editors,function(e,f){if(f){var g=b.path+".oneOf["+e+"]",h=[];d(a,function(a,d){if(d.path.substr(0,g.length)===g){var e=c({},d);e.path=b.path+e.path.substr(g.length),h.push(e)}}),f.showValidationErrors(h)}}):d(this.editors,function(b,c){c&&c.showValidationErrors(a)})}}),f.defaults.editors["enum"]=f.AbstractEditor.extend({getNumColumns:function(){return 4},build:function(){this.container;this.title=this.header=this.label=this.theme.getFormInputLabel(this.getTitle(),this.isRequired()),this.container.appendChild(this.title),this.options.enum_titles=this.options.enum_titles||[],this["enum"]=this.schema["enum"],this.selected=0,this.select_options=[],this.html_values=[];for(var a=this,b=0;b<this["enum"].length;b++)this.select_options[b]=this.options.enum_titles[b]||"Value "+(b+1),this.html_values[b]=this.getHTML(this["enum"][b]);this.switcher=this.theme.getSwitcher(this.select_options),this.container.appendChild(this.switcher),this.display_area=this.theme.getIndentedPanel(),this.container.appendChild(this.display_area),this.options.hide_display&&(this.display_area.style.display="none"),this.switcher.addEventListener("change",function(){a.selected=a.select_options.indexOf(this.value),a.value=a["enum"][a.selected],a.refreshValue(),a.onChange(!0)}),this.value=this["enum"][0],this.refreshValue(),1===this["enum"].length&&(this.switcher.style.display="none")},refreshValue:function(){var a=this;a.selected=-1;var b=JSON.stringify(this.value);return d(this["enum"],function(c,d){return b===JSON.stringify(d)?(a.selected=c,!1):void 0}),a.selected<0?void a.setValue(a["enum"][0]):(this.switcher.value=this.select_options[this.selected],void(this.display_area.innerHTML=this.html_values[this.selected]))},enable:function(){this.always_disabled||(this.switcher.disabled=!1),this._super()},disable:function(){this.switcher.disabled=!0,this._super()},getHTML:function(a){var b=this;if(null===a)return"<em>null</em>";if("object"==typeof a){var c="";return d(a,function(d,e){var f=b.getHTML(e);Array.isArray(a)||(f="<div><em>"+d+"</em>: "+f+"</div>"),c+="<li>"+f+"</li>"}),c=Array.isArray(a)?"<ol>"+c+"</ol>":"<ul style='margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;'>"+c+"</ul>"}return"boolean"==typeof a?a?"true":"false":"string"==typeof a?a.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"):a},setValue:function(a){this.value!==a&&(this.value=a,this.refreshValue(),this.onChange())},destroy:function(){this.display_area&&this.display_area.parentNode&&this.display_area.parentNode.removeChild(this.display_area),this.title&&this.title.parentNode&&this.title.parentNode.removeChild(this.title),this.switcher&&this.switcher.parentNode&&this.switcher.parentNode.removeChild(this.switcher),this._super()}}),f.defaults.editors.select=f.AbstractEditor.extend({setValue:function(a,b){a=this.typecast(a||"");var c=a;this.enum_values.indexOf(c)<0&&(c=this.enum_values[0]),this.value!==c&&(this.input.value=this.enum_options[this.enum_values.indexOf(c)],this.select2&&this.select2.select2("val",this.input.value),this.value=c,this.onChange())},register:function(){this._super(),this.input&&this.input.setAttribute("name",this.formname)},unregister:function(){this._super(),this.input&&this.input.removeAttribute("name")},getNumColumns:function(){if(!this.enum_options)return 3;for(var a=this.getTitle().length,b=0;b<this.enum_options.length;b++)a=Math.max(a,this.enum_options[b].length+4);return Math.min(12,Math.max(a/7,2))},typecast:function(a){return"boolean"===this.schema.type?!!a:"number"===this.schema.type?1*a:"integer"===this.schema.type?Math.floor(1*a):""+a},getValue:function(){return this.value},preBuild:function(){var a=this;if(this.input_type="select",this.enum_options=[],this.enum_values=[],this.enum_display=[],this.schema["enum"]){var b=this.schema.options&&this.schema.options.enum_titles||[];d(this.schema["enum"],function(c,d){a.enum_options[c]=""+d,a.enum_display[c]=""+(b[c]||d),a.enum_values[c]=a.typecast(d)}),this.isRequired()||(a.enum_display.unshift(" "),a.enum_options.unshift("undefined"),a.enum_values.unshift(void 0))}else if("boolean"===this.schema.type)a.enum_display=this.schema.options&&this.schema.options.enum_titles||["true","false"],a.enum_options=["1",""],a.enum_values=[!0,!1],this.isRequired()||(a.enum_display.unshift(" "),a.enum_options.unshift("undefined"),a.enum_values.unshift(void 0));else{if(!this.schema.enumSource)throw"'select' editor requires the enum property to be set.";if(this.enumSource=[],this.enum_display=[],this.enum_options=[],this.enum_values=[],Array.isArray(this.schema.enumSource))for(h=0;h<this.schema.enumSource.length;h++)"string"==typeof this.schema.enumSource[h]?this.enumSource[h]={source:this.schema.enumSource[h]}:Array.isArray(this.schema.enumSource[h])?this.enumSource[h]=this.schema.enumSource[h]:this.enumSource[h]=c({},this.schema.enumSource[h]);else this.schema.enumValue?this.enumSource=[{source:this.schema.enumSource,value:this.schema.enumValue}]:this.enumSource=[{source:this.schema.enumSource}];for(h=0;h<this.enumSource.length;h++)this.enumSource[h].value&&(this.enumSource[h].value=this.jsoneditor.compileTemplate(this.enumSource[h].value,this.template_engine)),this.enumSource[h].title&&(this.enumSource[h].title=this.jsoneditor.compileTemplate(this.enumSource[h].title,this.template_engine)),this.enumSource[h].filter&&(this.enumSource[h].filter=this.jsoneditor.compileTemplate(this.enumSource[h].filter,this.template_engine))}},build:function(){var a=this;this.options.compact||(this.header=this.label=this.theme.getFormInputLabel(this.getTitle(),this.isRequired())),this.schema.description&&(this.description=this.theme.getFormInputDescription(this.schema.description)),this.options.compact&&(this.container.className+=" compact"),this.input=this.theme.getSelectInput(this.enum_options),this.theme.setSelectOptions(this.input,this.enum_options,this.enum_display),(this.schema.readOnly||this.schema.readonly)&&(this.always_disabled=!0,this.input.disabled=!0),this.input.addEventListener("change",function(b){b.preventDefault(),b.stopPropagation(),a.onInputChange()}),this.control=this.theme.getFormControl(this.label,this.input,this.description),this.container.appendChild(this.control),this.value=this.enum_values[0]},onInputChange:function(){var a=this.input.value,b=a;-1===this.enum_options.indexOf(a)&&(b=this.enum_options[0]),this.value=this.enum_values[this.enum_options.indexOf(a)],this.onChange(!0)},setupSelect2:function(){if(window.jQuery&&window.jQuery.fn&&window.jQuery.fn.select2&&(this.enum_options.length>2||this.enum_options.length&&this.enumSource)){var a=c({},f.plugins.select2);this.schema.options&&this.schema.options.select2_options&&(a=c(a,this.schema.options.select2_options)),this.select2=window.jQuery(this.input).select2(a);var b=this;this.select2.on("select2-blur",function(){b.input.value=b.select2.select2("val"),b.onInputChange()})}else this.select2=null},postBuild:function(){this._super(),this.theme.afterInputReady(this.input),this.setupSelect2()},onWatchedFieldChange:function(){var a,b;if(this.enumSource){a=this.getWatchedFieldValues();for(var c=[],d=[],e=0;e<this.enumSource.length;e++)if(Array.isArray(this.enumSource[e]))c=c.concat(this.enumSource[e]),d=d.concat(this.enumSource[e]);else{var f=[];if(f=Array.isArray(this.enumSource[e].source)?this.enumSource[e].source:a[this.enumSource[e].source]){if(this.enumSource[e].slice&&(f=Array.prototype.slice.apply(f,this.enumSource[e].slice)),this.enumSource[e].filter){var g=[];for(b=0;b<f.length;b++)this.enumSource[e].filter({i:b,item:f[b],watched:a})&&g.push(f[b]);f=g}var h=[],i=[];for(b=0;b<f.length;b++){var j=f[b];this.enumSource[e].value?i[b]=this.enumSource[e].value({i:b,item:j}):i[b]=f[b],this.enumSource[e].title?h[b]=this.enumSource[e].title({i:b,item:j}):h[b]=i[b]}c=c.concat(i),d=d.concat(h)}}var k=this.value;this.theme.setSelectOptions(this.input,c,d),this.enum_options=c,this.enum_display=d,this.enum_values=c,this.select2&&this.select2.select2("destroy"),-1!==c.indexOf(k)?(this.input.value=k,this.value=k):(this.input.value=c[0],this.value=c[0]||"",this.parent?this.parent.onChildEditorChange(this):this.jsoneditor.onChange(),this.jsoneditor.notifyWatchers(this.path)),this.setupSelect2()}this._super()},enable:function(){this.always_disabled||(this.input.disabled=!1,this.select2&&this.select2.select2("enable",!0)),this._super()},disable:function(){this.input.disabled=!0,this.select2&&this.select2.select2("enable",!1),this._super()},destroy:function(){this.label&&this.label.parentNode&&this.label.parentNode.removeChild(this.label),this.description&&this.description.parentNode&&this.description.parentNode.removeChild(this.description),this.input&&this.input.parentNode&&this.input.parentNode.removeChild(this.input),this.select2&&(this.select2.select2("destroy"),this.select2=null),this._super()}}),f.defaults.editors.multiselect=f.AbstractEditor.extend({preBuild:function(){this._super(),this.select_options={},this.select_values={};var a=this.jsoneditor.expandRefs(this.schema.items||{}),b=a["enum"]||[];for(this.option_keys=[],h=0;h<b.length;h++)this.sanitize(b[h])===b[h]&&(this.option_keys.push(b[h]+""),this.select_values[b[h]+""]=b[h])},build:function(){var a,b=this;if(this.options.compact||(this.header=this.label=this.theme.getFormInputLabel(this.getTitle(),this.isRequired())),this.schema.description&&(this.description=this.theme.getFormInputDescription(this.schema.description)),!this.schema.format&&this.option_keys.length<8||"checkbox"===this.schema.format){for(this.input_type="checkboxes",this.inputs={},this.controls={},a=0;a<this.option_keys.length;a++){this.inputs[this.option_keys[a]]=this.theme.getCheckbox(),this.select_options[this.option_keys[a]]=this.inputs[this.option_keys[a]];var c=this.theme.getCheckboxLabel(this.option_keys[a]);this.controls[this.option_keys[a]]=this.theme.getFormControl(c,this.inputs[this.option_keys[a]])}this.control=this.theme.getMultiCheckboxHolder(this.controls,this.label,this.description)}else{for(this.input_type="select",this.input=this.theme.getSelectInput(this.option_keys),this.input.multiple=!0,this.input.size=Math.min(10,this.option_keys.length),a=0;a<this.option_keys.length;a++)this.select_options[this.option_keys[a]]=this.input.children[a];(this.schema.readOnly||this.schema.readonly)&&(this.always_disabled=!0,this.input.disabled=!0),this.control=this.theme.getFormControl(this.label,this.input,this.description)}this.container.appendChild(this.control),this.control.addEventListener("change",function(c){c.preventDefault(),c.stopPropagation();var d=[];for(a=0;a<b.option_keys.length;a++)(b.select_options[b.option_keys[a]].selected||b.select_options[b.option_keys[a]].checked)&&d.push(b.select_values[b.option_keys[a]]);b.updateValue(d),b.onChange(!0)})},setValue:function(a,b){var c;for(a=a||[],"object"!=typeof a?a=[a]:Array.isArray(a)||(a=[]),c=0;c<a.length;c++)"string"!=typeof a[c]&&(a[c]+="");for(c in this.select_options)this.select_options.hasOwnProperty(c)&&(this.select_options[c]["select"===this.input_type?"selected":"checked"]=-1!==a.indexOf(c));this.updateValue(a),this.onChange()},setupSelect2:function(){if(window.jQuery&&window.jQuery.fn&&window.jQuery.fn.select2){var a=window.jQuery.extend({},f.plugins.select2);this.schema.options&&this.schema.options.select2_options&&(a=c(a,this.schema.options.select2_options)),this.select2=window.jQuery(this.input).select2(a);var b=this;this.select2.on("select2-blur",function(){var a=b.select2.select2("val");b.value=a,b.onChange(!0)})}else this.select2=null},onInputChange:function(){this.value=this.input.value,this.onChange(!0)},postBuild:function(){this._super(),this.setupSelect2()},register:function(){this._super(),this.input&&this.input.setAttribute("name",this.formname)},unregister:function(){this._super(),this.input&&this.input.removeAttribute("name")},getNumColumns:function(){var a=this.getTitle().length;for(var b in this.select_values)this.select_values.hasOwnProperty(b)&&(a=Math.max(a,(this.select_values[b]+"").length+4));return Math.min(12,Math.max(a/7,2))},updateValue:function(a){for(var b=!1,c=[],d=0;d<a.length;d++)if(this.select_options[a[d]+""]){var e=this.sanitize(this.select_values[a[d]]);c.push(e),e!==a[d]&&(b=!0)}else b=!0;return this.value=c,this.select2&&this.select2.select2("val",this.value),b},sanitize:function(a){return"number"===this.schema.items.type?1*a:"integer"===this.schema.items.type?Math.floor(1*a):""+a},enable:function(){if(!this.always_disabled){if(this.input)this.input.disabled=!1;else if(this.inputs)for(var a in this.inputs)this.inputs.hasOwnProperty(a)&&(this.inputs[a].disabled=!1);this.select2&&this.select2.select2("enable",!0)}this._super()},disable:function(){if(this.input)this.input.disabled=!0;else if(this.inputs)for(var a in this.inputs)this.inputs.hasOwnProperty(a)&&(this.inputs[a].disabled=!0);this.select2&&this.select2.select2("enable",!1),this._super()},destroy:function(){this.select2&&(this.select2.select2("destroy"),this.select2=null),this._super()}}),f.defaults.editors.base64=f.AbstractEditor.extend({getNumColumns:function(){return 4},build:function(){var a=this;if(this.title=this.header=this.label=this.theme.getFormInputLabel(this.getTitle(),this.isRequired()),this.input=this.theme.getFormInputField("hidden"),this.container.appendChild(this.input),!this.schema.readOnly&&!this.schema.readonly){if(!window.FileReader)throw"FileReader required for base64 editor";this.uploader=this.theme.getFormInputField("file"),this.uploader.addEventListener("change",function(b){if(b.preventDefault(),b.stopPropagation(),this.files&&this.files.length){var c=new FileReader;c.onload=function(b){a.value=b.target.result,a.refreshPreview(),a.onChange(!0),c=null},c.readAsDataURL(this.files[0])}})}this.preview=this.theme.getFormInputDescription(this.schema.description),this.container.appendChild(this.preview),this.control=this.theme.getFormControl(this.label,this.uploader||this.input,this.preview),this.container.appendChild(this.control)},refreshPreview:function(){if(this.last_preview!==this.value&&(this.last_preview=this.value,this.preview.innerHTML="",this.value)){var a=this.value.match(/^data:([^;,]+)[;,]/);if(a&&(a=a[1]),a){if(this.preview.innerHTML="<strong>Type:</strong> "+a+", <strong>Size:</strong> "+Math.floor((this.value.length-this.value.split(",")[0].length-1)/1.33333)+" bytes","image"===a.substr(0,5)){this.preview.innerHTML+="<br>";var b=document.createElement("img");b.style.maxWidth="100%",b.style.maxHeight="100px",b.src=this.value,this.preview.appendChild(b)}}else this.preview.innerHTML="<em>Invalid data URI</em>"}},enable:function(){this.uploader&&(this.uploader.disabled=!1),this._super()},disable:function(){this.uploader&&(this.uploader.disabled=!0),this._super()},setValue:function(a){this.value!==a&&(this.value=a,this.input.value=this.value,this.refreshPreview(),this.onChange())},destroy:function(){this.preview&&this.preview.parentNode&&this.preview.parentNode.removeChild(this.preview),this.title&&this.title.parentNode&&this.title.parentNode.removeChild(this.title),this.input&&this.input.parentNode&&this.input.parentNode.removeChild(this.input),this.uploader&&this.uploader.parentNode&&this.uploader.parentNode.removeChild(this.uploader),this._super()}}),f.defaults.editors.upload=f.AbstractEditor.extend({getNumColumns:function(){return 4},build:function(){var a=this;if(this.title=this.header=this.label=this.theme.getFormInputLabel(this.getTitle(),this.isRequired()),this.input=this.theme.getFormInputField("hidden"),this.container.appendChild(this.input),!this.schema.readOnly&&!this.schema.readonly){if(!this.jsoneditor.options.upload)throw"Upload handler required for upload editor";this.uploader=this.theme.getFormInputField("file"),this.uploader.addEventListener("change",function(b){if(b.preventDefault(),b.stopPropagation(),this.files&&this.files.length){var c=new FileReader;c.onload=function(b){a.preview_value=b.target.result,a.refreshPreview(),a.onChange(!0),c=null},c.readAsDataURL(this.files[0])}})}var b=this.schema.description;b||(b=""),this.preview=this.theme.getFormInputDescription(b),this.container.appendChild(this.preview),this.control=this.theme.getFormControl(this.label,this.uploader||this.input,this.preview),this.container.appendChild(this.control)},refreshPreview:function(){if(this.last_preview!==this.preview_value&&(this.last_preview=this.preview_value,this.preview.innerHTML="",this.preview_value)){var a=this,b=this.preview_value.match(/^data:([^;,]+)[;,]/);b&&(b=b[1]),b||(b="unknown");var c=this.uploader.files[0];if(this.preview.innerHTML="<strong>Type:</strong> "+b+", <strong>Size:</strong> "+c.size+" bytes","image"===b.substr(0,5)){this.preview.innerHTML+="<br>";var d=document.createElement("img");d.style.maxWidth="100%",d.style.maxHeight="100px",d.src=this.preview_value,
10−this.preview.appendChild(d)}this.preview.innerHTML+="<br>";var e=this.getButton("Upload","upload","Upload");this.preview.appendChild(e),e.addEventListener("click",function(b){b.preventDefault(),e.setAttribute("disabled","disabled"),a.theme.removeInputError(a.uploader),a.theme.getProgressBar&&(a.progressBar=a.theme.getProgressBar(),a.preview.appendChild(a.progressBar)),a.jsoneditor.options.upload(a.path,c,{success:function(b){a.setValue(b),a.parent?a.parent.onChildEditorChange(a):a.jsoneditor.onChange(),a.progressBar&&a.preview.removeChild(a.progressBar),e.removeAttribute("disabled")},failure:function(b){a.theme.addInputError(a.uploader,b),a.progressBar&&a.preview.removeChild(a.progressBar),e.removeAttribute("disabled")},updateProgress:function(b){a.progressBar&&(b?a.theme.updateProgressBar(a.progressBar,b):a.theme.updateProgressBarUnknown(a.progressBar))}})})}},enable:function(){this.uploader&&(this.uploader.disabled=!1),this._super()},disable:function(){this.uploader&&(this.uploader.disabled=!0),this._super()},setValue:function(a){this.value!==a&&(this.value=a,this.input.value=this.value,this.onChange())},destroy:function(){this.preview&&this.preview.parentNode&&this.preview.parentNode.removeChild(this.preview),this.title&&this.title.parentNode&&this.title.parentNode.removeChild(this.title),this.input&&this.input.parentNode&&this.input.parentNode.removeChild(this.input),this.uploader&&this.uploader.parentNode&&this.uploader.parentNode.removeChild(this.uploader),this._super()}}),f.defaults.editors.checkbox=f.AbstractEditor.extend({setValue:function(a,b){this.value=!!a,this.input.checked=this.value,this.onChange()},register:function(){this._super(),this.input&&this.input.setAttribute("name",this.formname)},unregister:function(){this._super(),this.input&&this.input.removeAttribute("name")},getNumColumns:function(){return Math.min(12,Math.max(this.getTitle().length/7,2))},build:function(){var a=this;this.options.compact||(this.label=this.header=this.theme.getCheckboxLabel(this.getTitle())),this.schema.description&&(this.description=this.theme.getFormInputDescription(this.schema.description)),this.options.compact&&(this.container.className+=" compact"),this.input=this.theme.getCheckbox(),this.control=this.theme.getFormControl(this.label,this.input,this.description),(this.schema.readOnly||this.schema.readonly)&&(this.always_disabled=!0,this.input.disabled=!0),this.input.addEventListener("change",function(b){b.preventDefault(),b.stopPropagation(),a.value=this.checked,a.onChange(!0)}),this.container.appendChild(this.control)},enable:function(){this.always_disabled||(this.input.disabled=!1),this._super()},disable:function(){this.input.disabled=!0,this._super()},destroy:function(){this.label&&this.label.parentNode&&this.label.parentNode.removeChild(this.label),this.description&&this.description.parentNode&&this.description.parentNode.removeChild(this.description),this.input&&this.input.parentNode&&this.input.parentNode.removeChild(this.input),this._super()}});var g=function(){var a=document.documentElement;return a.matches?"matches":a.webkitMatchesSelector?"webkitMatchesSelector":a.mozMatchesSelector?"mozMatchesSelector":a.msMatchesSelector?"msMatchesSelector":a.oMatchesSelector?"oMatchesSelector":void 0}();f.AbstractTheme=a.extend({getContainer:function(){return document.createElement("div")},getFloatRightLinkHolder:function(){var a=document.createElement("div");return a.style=a.style||{},a.style.cssFloat="right",a.style.marginLeft="10px",a},getModal:function(){var a=document.createElement("div");return a.style.backgroundColor="white",a.style.border="1px solid black",a.style.boxShadow="3px 3px black",a.style.position="absolute",a.style.zIndex="10",a.style.display="none",a},getGridContainer:function(){var a=document.createElement("div");return a},getGridRow:function(){var a=document.createElement("div");return a.className="row",a},getGridColumn:function(){var a=document.createElement("div");return a},setGridColumnSize:function(a,b){},getLink:function(a){var b=document.createElement("a");return b.setAttribute("href","#"),b.appendChild(document.createTextNode(a)),b},disableHeader:function(a){a.style.color="#ccc"},disableLabel:function(a){a.style.color="#ccc"},enableHeader:function(a){a.style.color=""},enableLabel:function(a){a.style.color=""},getFormInputLabel:function(a){var b=document.createElement("label");return b.appendChild(document.createTextNode(a)),b},getCheckboxLabel:function(a){var b=this.getFormInputLabel(a);return b.style.fontWeight="normal",b},getHeader:function(a,b){var c=document.createElement("h3");return"string"==typeof a?c.textContent=a:c.appendChild(a),b&&(c.className+=" required"),c},getCheckbox:function(){var a=this.getFormInputField("checkbox");return a.style.display="inline-block",a.style.width="auto",a},getMultiCheckboxHolder:function(a,b,c){var d=document.createElement("div");b&&(b.style.display="block",d.appendChild(b));for(var e in a)a.hasOwnProperty(e)&&(a[e].style.display="inline-block",a[e].style.marginRight="20px",d.appendChild(a[e]));return c&&d.appendChild(c),d},getSelectInput:function(a){var b=document.createElement("select");return a&&this.setSelectOptions(b,a),b},getSwitcher:function(a){var b=this.getSelectInput(a);return b.style.backgroundColor="transparent",b.style.display="inline-block",b.style.fontStyle="italic",b.style.fontWeight="normal",b.style.height="auto",b.style.marginBottom=0,b.style.marginLeft="5px",b.style.padding="0 0 0 3px",b.style.width="auto",b},getSwitcherOptions:function(a){return a.getElementsByTagName("option")},setSwitcherOptions:function(a,b,c){this.setSelectOptions(a,b,c)},setSelectOptions:function(a,b,c){c=c||[],a.innerHTML="";for(var d=0;d<b.length;d++){var e=document.createElement("option");e.setAttribute("value",b[d]),e.textContent=c[d]||b[d],a.appendChild(e)}},getTextareaInput:function(){var a=document.createElement("textarea");return a.style=a.style||{},a.style.width="100%",a.style.height="300px",a.style.boxSizing="border-box",a},getRangeInput:function(a,b,c){var d=this.getFormInputField("range");return d.setAttribute("min",a),d.setAttribute("max",b),d.setAttribute("step",c),d},getFormInputField:function(a){var b=document.createElement("input");return b.setAttribute("type",a),b},afterInputReady:function(a){},getFormControl:function(a,b,c){var d=document.createElement("div");return d.className="form-control",a&&d.appendChild(a),"checkbox"===b.type?a.insertBefore(b,a.firstChild):d.appendChild(b),c&&d.appendChild(c),d},getIndentedPanel:function(){var a=document.createElement("div");return a.style=a.style||{},a.style.paddingLeft="10px",a.style.marginLeft="10px",a.style.borderLeft="1px solid #ccc",a},getChildEditorHolder:function(){return document.createElement("div")},getDescription:function(a){var b=document.createElement("p");return b.innerHTML=a,b},getCheckboxDescription:function(a){return this.getDescription(a)},getFormInputDescription:function(a){return this.getDescription(a)},getHeaderButtonHolder:function(){return this.getButtonHolder()},getButtonHolder:function(){return document.createElement("div")},getButton:function(a,b,c){var d=document.createElement("button");return d.type="button",this.setButtonText(d,a,b,c),d},setButtonText:function(a,b,c,d){a.innerHTML="",c&&(a.appendChild(c),a.innerHTML+=" "),a.appendChild(document.createTextNode(b)),d&&a.setAttribute("title",d)},getTable:function(){return document.createElement("table")},getTableRow:function(){return document.createElement("tr")},getTableHead:function(){return document.createElement("thead")},getTableBody:function(){return document.createElement("tbody")},getTableHeaderCell:function(a){var b=document.createElement("th");return b.textContent=a,b},getTableCell:function(){var a=document.createElement("td");return a},getErrorMessage:function(a){var b=document.createElement("p");return b.style=b.style||{},b.style.color="red",b.appendChild(document.createTextNode(a)),b},addInputError:function(a,b){},removeInputError:function(a){},addTableRowError:function(a){},removeTableRowError:function(a){},getTabHolder:function(){var a=document.createElement("div");return a.innerHTML="<div style='float: left; width: 130px;' class='tabs'></div><div class='content' style='margin-left: 130px;'></div><div style='clear:both;'></div>",a},applyStyles:function(a,b){a.style=a.style||{};for(var c in b)b.hasOwnProperty(c)&&(a.style[c]=b[c])},closest:function(a,b){for(;a&&a!==document;){if(!g)return!1;if(a[g](b))return a;a=a.parentNode}return!1},getTab:function(a){var b=document.createElement("div");return b.appendChild(a),b.style=b.style||{},this.applyStyles(b,{border:"1px solid #ccc",borderWidth:"1px 0 1px 1px",textAlign:"center",lineHeight:"30px",borderRadius:"5px",borderBottomRightRadius:0,borderTopRightRadius:0,fontWeight:"bold",cursor:"pointer"}),b},getTabContentHolder:function(a){return a.children[1]},getTabContent:function(){return this.getIndentedPanel()},markTabActive:function(a){this.applyStyles(a,{opacity:1,background:"white"})},markTabInactive:function(a){this.applyStyles(a,{opacity:.5,background:""})},addTab:function(a,b){a.children[0].appendChild(b)},getBlockLink:function(){var a=document.createElement("a");return a.style.display="block",a},getBlockLinkHolder:function(){var a=document.createElement("div");return a},getLinksHolder:function(){var a=document.createElement("div");return a},createMediaLink:function(a,b,c){a.appendChild(b),c.style.width="100%",a.appendChild(c)},createImageLink:function(a,b,c){a.appendChild(b),b.appendChild(c)}}),f.defaults.themes.bootstrap2=f.AbstractTheme.extend({getRangeInput:function(a,b,c){return this._super(a,b,c)},getGridContainer:function(){var a=document.createElement("div");return a.className="container-fluid",a},getGridRow:function(){var a=document.createElement("div");return a.className="row-fluid",a},getFormInputLabel:function(a,b){var c=this._super(a);return c.style.display="inline-block",c.style.fontWeight="bold",b&&(c.className+=" required"),c},setGridColumnSize:function(a,b){a.className="span"+b},getSelectInput:function(a){var b=this._super(a);return b.style.width="auto",b.style.maxWidth="98%",b},getFormInputField:function(a){var b=this._super(a);return b.style.width="98%",b},afterInputReady:function(a){a.controlgroup||(a.controlgroup=this.closest(a,".control-group"),a.controls=this.closest(a,".controls"),this.closest(a,".compact")&&(a.controlgroup.className=a.controlgroup.className.replace(/control-group/g,"").replace(/[ ]{2,}/g," "),a.controls.className=a.controlgroup.className.replace(/controls/g,"").replace(/[ ]{2,}/g," "),a.style.marginBottom=0))},getIndentedPanel:function(){var a=document.createElement("div");return a.className="well well-small",a},getFormInputDescription:function(a){var b=document.createElement("p");return b.className="help-inline",b.textContent=a,b},getFormControl:function(a,b,c){var d=document.createElement("div");d.className="control-group";var e=document.createElement("div");return e.className="controls",a&&"checkbox"===b.getAttribute("type")?(d.appendChild(e),a.className+=" checkbox",a.appendChild(b),e.appendChild(a),e.style.height="30px"):(a&&(a.className+=" control-label",d.appendChild(a)),e.appendChild(b),d.appendChild(e)),c&&e.appendChild(c),d},getHeaderButtonHolder:function(){var a=this.getButtonHolder();return a.style.marginLeft="10px",a},getButtonHolder:function(){var a=document.createElement("div");return a.className="btn-group",a},getButton:function(a,b,c){var d=this._super(a,b,c);return d.className+=" btn btn-default",d},getTable:function(){var a=document.createElement("table");return a.className="table table-bordered",a.style.width="auto",a.style.maxWidth="none",a},addInputError:function(a,b){a.controlgroup&&a.controls&&(a.controlgroup.className+=" error",a.errmsg?a.errmsg.style.display="":(a.errmsg=document.createElement("p"),a.errmsg.className="help-block errormsg",a.controls.appendChild(a.errmsg)),a.errmsg.textContent=b)},removeInputError:function(a){a.errmsg&&(a.errmsg.style.display="none",a.controlgroup.className=a.controlgroup.className.replace(/\s?error/g,""))},getTabHolder:function(){var a=document.createElement("div");return a.className="tabbable tabs-left",a.innerHTML="<ul class='nav nav-tabs span2' style='margin-right: 0;'></ul><div class='tab-content span10' style='overflow:visible;'></div>",a},getTab:function(a){var b=document.createElement("li"),c=document.createElement("a");return c.setAttribute("href","#"),c.appendChild(a),b.appendChild(c),b},getTabContentHolder:function(a){return a.children[1]},getTabContent:function(){var a=document.createElement("div");return a.className="tab-pane active",a},markTabActive:function(a){a.className+=" active"},markTabInactive:function(a){a.className=a.className.replace(/\s?active/g,"")},addTab:function(a,b){a.children[0].appendChild(b)},getProgressBar:function(){var a=document.createElement("div");a.className="progress";var b=document.createElement("div");return b.className="bar",b.style.width="0%",a.appendChild(b),a},updateProgressBar:function(a,b){a&&(a.firstChild.style.width=b+"%")},updateProgressBarUnknown:function(a){a&&(a.className="progress progress-striped active",a.firstChild.style.width="100%")}}),f.defaults.themes.bootstrap3=f.AbstractTheme.extend({getSelectInput:function(a){var b=this._super(a);return b.className+="form-control",b},setGridColumnSize:function(a,b){a.className="col-md-"+b},afterInputReady:function(a){a.controlgroup||(a.controlgroup=this.closest(a,".form-group"),this.closest(a,".compact")&&(a.controlgroup.style.marginBottom=0))},getTextareaInput:function(){var a=document.createElement("textarea");return a.className="form-control",a},getRangeInput:function(a,b,c){return this._super(a,b,c)},getFormInputField:function(a){var b=this._super(a);return"checkbox"!==a&&(b.className+="form-control"),b},getFormControl:function(a,b,c){var d=document.createElement("div");return a&&"checkbox"===b.type?(d.className+=" checkbox",a.appendChild(b),a.style.fontSize="14px",d.style.marginTop="0",d.appendChild(a),b.style.position="relative",b.style.cssFloat="left"):(d.className+=" form-group",a&&(a.className+=" control-label",d.appendChild(a)),d.appendChild(b)),c&&d.appendChild(c),d},getIndentedPanel:function(){var a=document.createElement("div");return a.className="well well-sm",a},getFormInputDescription:function(a){var b=document.createElement("p");return b.className="help-block",b.innerHTML=a,b},getHeaderButtonHolder:function(){var a=this.getButtonHolder();return a.style.marginLeft="10px",a},getButtonHolder:function(){var a=document.createElement("div");return a.className="btn-group",a},getButton:function(a,b,c){var d=this._super(a,b,c);return d.className+="btn btn-default",d},getTable:function(){var a=document.createElement("table");return a.className="table table-bordered",a.style.width="auto",a.style.maxWidth="none",a},addInputError:function(a,b){a.controlgroup&&(a.controlgroup.className+=" has-error",a.errmsg?a.errmsg.style.display="":(a.errmsg=document.createElement("p"),a.errmsg.className="help-block errormsg",a.controlgroup.appendChild(a.errmsg)),a.errmsg.textContent=b)},removeInputError:function(a){a.errmsg&&(a.errmsg.style.display="none",a.controlgroup.className=a.controlgroup.className.replace(/\s?has-error/g,""))},getTabHolder:function(){var a=document.createElement("div");return a.innerHTML="<div class='tabs list-group col-md-2'></div><div class='col-md-10'></div>",a.className="rows",a},getTab:function(a){var b=document.createElement("a");return b.className="list-group-item",b.setAttribute("href","#"),b.appendChild(a),b},markTabActive:function(a){a.className+=" active"},markTabInactive:function(a){a.className=a.className.replace(/\s?active/g,"")},getProgressBar:function(){var a=0,b=100,c=0,d=document.createElement("div");d.className="progress";var e=document.createElement("div");return e.className="progress-bar",e.setAttribute("role","progressbar"),e.setAttribute("aria-valuenow",c),e.setAttribute("aria-valuemin",a),e.setAttribute("aria-valuenax",b),e.innerHTML=c+"%",d.appendChild(e),d},updateProgressBar:function(a,b){if(a){var c=a.firstChild,d=b+"%";c.setAttribute("aria-valuenow",b),c.style.width=d,c.innerHTML=d}},updateProgressBarUnknown:function(a){if(a){var b=a.firstChild;a.className="progress progress-striped active",b.removeAttribute("aria-valuenow"),b.style.width="100%",b.innerHTML=""}}}),f.defaults.themes.foundation=f.AbstractTheme.extend({getChildEditorHolder:function(){var a=document.createElement("div");return a.style.marginBottom="15px",a},getSelectInput:function(a){var b=this._super(a);return b.style.minWidth="none",b.style.padding="5px",b.style.marginTop="3px",b},getSwitcher:function(a){var b=this._super(a);return b.style.paddingRight="8px",b},afterInputReady:function(a){this.closest(a,".compact")&&(a.style.marginBottom=0),a.group=this.closest(a,".form-control")},getFormInputLabel:function(a,b){var c=this._super(a);return c.style.display="inline-block",b&&(c.className+=" required"),c},getFormInputField:function(a){var b=this._super(a);return b.style.width="100%",b.style.marginBottom="checkbox"===a?"0":"12px",b},getFormInputDescription:function(a){var b=document.createElement("p");return b.textContent=a,b.style.marginTop="-10px",b.style.fontStyle="italic",b},getIndentedPanel:function(){var a=document.createElement("div");return a.className="panel",a},getHeaderButtonHolder:function(){var a=this.getButtonHolder();return a.style.display="inline-block",a.style.marginLeft="10px",a.style.verticalAlign="middle",a},getButtonHolder:function(){var a=document.createElement("div");return a.className="button-group",a},getButton:function(a,b,c){var d=this._super(a,b,c);return d.className+=" small button",d},addInputError:function(a,b){a.group&&(a.group.className+=" error",a.errmsg?a.errmsg.style.display="":(a.insertAdjacentHTML("afterend",'<small class="error"></small>'),a.errmsg=a.parentNode.getElementsByClassName("error")[0]),a.errmsg.textContent=b)},removeInputError:function(a){a.errmsg&&(a.group.className=a.group.className.replace(/ error/g,""),a.errmsg.style.display="none")},getProgressBar:function(){var a=document.createElement("div");a.className="progress";var b=document.createElement("span");return b.className="meter",b.style.width="0%",a.appendChild(b),a},updateProgressBar:function(a,b){a&&(a.firstChild.style.width=b+"%")},updateProgressBarUnknown:function(a){a&&(a.firstChild.style.width="100%")}}),f.defaults.themes.foundation3=f.defaults.themes.foundation.extend({getHeaderButtonHolder:function(){var a=this._super();return a.style.fontSize=".6em",a},getFormInputLabel:function(a,b){var c=this._super(a);return c.style.fontWeight="bold",b&&(c.className+=" required"),c},getTabHolder:function(){var a=document.createElement("div");return a.className="row",a.innerHTML="<dl class='tabs vertical two columns'></dl><div class='tabs-content ten columns'></div>",a},setGridColumnSize:function(a,b){var c=["zero","one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve"];a.className="columns "+c[b]},getTab:function(a){var b=document.createElement("dd"),c=document.createElement("a");return c.setAttribute("href","#"),c.appendChild(a),b.appendChild(c),b},getTabContentHolder:function(a){return a.children[1]},getTabContent:function(){var a=document.createElement("div");return a.className="content active",a.style.paddingLeft="5px",a},markTabActive:function(a){a.className+=" active"},markTabInactive:function(a){a.className=a.className.replace(/\s*active/g,"")},addTab:function(a,b){a.children[0].appendChild(b)}}),f.defaults.themes.foundation4=f.defaults.themes.foundation.extend({getHeaderButtonHolder:function(){var a=this._super();return a.style.fontSize=".6em",a},setGridColumnSize:function(a,b){a.className="columns large-"+b},getFormInputDescription:function(a){var b=this._super(a);return b.style.fontSize=".8rem",b},getFormInputLabel:function(a,b){var c=this._super(a);return c.style.fontWeight="bold",b&&(c.className+=" required"),c}}),f.defaults.themes.foundation5=f.defaults.themes.foundation.extend({getFormInputDescription:function(a){var b=this._super(a);return b.style.fontSize=".8rem",b},setGridColumnSize:function(a,b){a.className="columns medium-"+b},getButton:function(a,b,c){var d=this._super(a,b,c);return d.className=d.className.replace(/\s*small/g,"")+" tiny",d},getTabHolder:function(){var a=document.createElement("div");return a.innerHTML="<dl class='tabs vertical'></dl><div class='tabs-content vertical'></div>",a},getTab:function(a){var b=document.createElement("dd"),c=document.createElement("a");return c.setAttribute("href","#"),c.appendChild(a),b.appendChild(c),b},getTabContentHolder:function(a){return a.children[1]},getTabContent:function(){var a=document.createElement("div");return a.className="content active",a.style.paddingLeft="5px",a},markTabActive:function(a){a.className+=" active"},markTabInactive:function(a){a.className=a.className.replace(/\s*active/g,"")},addTab:function(a,b){a.children[0].appendChild(b)}}),f.defaults.themes.html=f.AbstractTheme.extend({getFormInputLabel:function(a,b){var c=this._super(a);return c.style.display="block",c.style.marginBottom="3px",c.style.fontWeight="bold",b&&(c.className+=" required"),c},getFormInputDescription:function(a){var b=this._super(a);return b.style.fontSize=".8em",b.style.margin=0,b.style.display="inline-block",b.style.fontStyle="italic",b},getIndentedPanel:function(){var a=this._super();return a.style.border="1px solid #ddd",a.style.padding="5px",a.style.margin="5px",a.style.borderRadius="3px",a},getChildEditorHolder:function(){var a=this._super();return a.style.marginBottom="8px",a},getHeaderButtonHolder:function(){var a=this.getButtonHolder();return a.style.display="inline-block",a.style.marginLeft="10px",a.style.fontSize=".8em",a.style.verticalAlign="middle",a},getTable:function(){var a=this._super();return a.style.borderBottom="1px solid #ccc",a.style.marginBottom="5px",a},addInputError:function(a,b){if(a.style.borderColor="red",a.errmsg)a.errmsg.style.display="block";else{var c=this.closest(a,".form-control");a.errmsg=document.createElement("div"),a.errmsg.setAttribute("class","errmsg"),a.errmsg.style=a.errmsg.style||{},a.errmsg.style.color="red",c.appendChild(a.errmsg)}a.errmsg.innerHTML="",a.errmsg.appendChild(document.createTextNode(b))},removeInputError:function(a){a.style.borderColor="",a.errmsg&&(a.errmsg.style.display="none")},getProgressBar:function(){var a=100,b=0,c=document.createElement("progress");return c.setAttribute("max",a),c.setAttribute("value",b),c},updateProgressBar:function(a,b){a&&a.setAttribute("value",b)},updateProgressBarUnknown:function(a){a&&a.removeAttribute("value")}}),f.defaults.themes.jqueryui=f.AbstractTheme.extend({getTable:function(){var a=this._super();return a.setAttribute("cellpadding",5),a.setAttribute("cellspacing",0),a},getTableHeaderCell:function(a){var b=this._super(a);return b.className="ui-state-active",b.style.fontWeight="bold",b},getTableCell:function(){var a=this._super();return a.className="ui-widget-content",a},getHeaderButtonHolder:function(){var a=this.getButtonHolder();return a.style.marginLeft="10px",a.style.fontSize=".6em",a.style.display="inline-block",a},getFormInputDescription:function(a){var b=this.getDescription(a);return b.style.marginLeft="10px",b.style.display="inline-block",b},getFormControl:function(a,b,c){var d=this._super(a,b,c);return"checkbox"===b.type?(d.style.lineHeight="25px",d.style.padding="3px 0"):d.style.padding="4px 0 8px 0",d},getDescription:function(a){var b=document.createElement("span");return b.style.fontSize=".8em",b.style.fontStyle="italic",b.textContent=a,b},getButtonHolder:function(){var a=document.createElement("div");return a.className="ui-buttonset",a.style.fontSize=".7em",a},getFormInputLabel:function(a,b){var c=document.createElement("label");return c.style.fontWeight="bold",c.style.display="block",b&&(c.className+=" required"),c.textContent=a,c},getButton:function(a,b,c){var d=document.createElement("button");d.className="ui-button ui-widget ui-state-default ui-corner-all",b&&!a?(d.className+=" ui-button-icon-only",b.className+=" ui-button-icon-primary ui-icon-primary",d.appendChild(b)):b?(d.className+=" ui-button-text-icon-primary",b.className+=" ui-button-icon-primary ui-icon-primary",d.appendChild(b)):d.className+=" ui-button-text-only";var e=document.createElement("span");return e.className="ui-button-text",e.textContent=a||c||".",d.appendChild(e),d.setAttribute("title",c),d},setButtonText:function(a,b,c,d){a.innerHTML="",a.className="ui-button ui-widget ui-state-default ui-corner-all",c&&!b?(a.className+=" ui-button-icon-only",c.className+=" ui-button-icon-primary ui-icon-primary",a.appendChild(c)):c?(a.className+=" ui-button-text-icon-primary",c.className+=" ui-button-icon-primary ui-icon-primary",a.appendChild(c)):a.className+=" ui-button-text-only";var e=document.createElement("span");e.className="ui-button-text",e.textContent=b||d||".",a.appendChild(e),a.setAttribute("title",d)},getIndentedPanel:function(){var a=document.createElement("div");return a.className="ui-widget-content ui-corner-all",a.style.padding="1em 1.4em",a.style.marginBottom="20px",a},afterInputReady:function(a){a.controls||(a.controls=this.closest(a,".form-control"))},addInputError:function(a,b){a.controls&&(a.errmsg?a.errmsg.style.display="":(a.errmsg=document.createElement("div"),a.errmsg.className="ui-state-error",a.controls.appendChild(a.errmsg)),a.errmsg.textContent=b)},removeInputError:function(a){a.errmsg&&(a.errmsg.style.display="none")},markTabActive:function(a){a.className=a.className.replace(/\s*ui-widget-header/g,"")+" ui-state-active"},markTabInactive:function(a){a.className=a.className.replace(/\s*ui-state-active/g,"")+" ui-widget-header"}}),f.AbstractIconLib=a.extend({mapping:{collapse:"",expand:"","delete":"",edit:"",add:"",cancel:"",save:"",moveup:"",movedown:""},icon_prefix:"",getIconClass:function(a){return this.mapping[a]?this.icon_prefix+this.mapping[a]:null},getIcon:function(a){var b=this.getIconClass(a);if(!b)return null;var c=document.createElement("i");return c.className=b,c}}),f.defaults.iconlibs.bootstrap2=f.AbstractIconLib.extend({mapping:{collapse:"chevron-down",expand:"chevron-up","delete":"trash",edit:"pencil",add:"plus",cancel:"ban-circle",save:"ok",moveup:"arrow-up",movedown:"arrow-down"},icon_prefix:"icon-"}),f.defaults.iconlibs.bootstrap3=f.AbstractIconLib.extend({mapping:{collapse:"chevron-down",expand:"chevron-right","delete":"remove",edit:"pencil",add:"plus",cancel:"floppy-remove",save:"floppy-saved",moveup:"arrow-up",movedown:"arrow-down"},icon_prefix:"glyphicon glyphicon-"}),f.defaults.iconlibs.fontawesome3=f.AbstractIconLib.extend({mapping:{collapse:"chevron-down",expand:"chevron-right","delete":"remove",edit:"pencil",add:"plus",cancel:"ban-circle",save:"save",moveup:"arrow-up",movedown:"arrow-down"},icon_prefix:"icon-"}),f.defaults.iconlibs.fontawesome4=f.AbstractIconLib.extend({mapping:{collapse:"caret-square-o-down",expand:"caret-square-o-right","delete":"times",edit:"pencil",add:"plus",cancel:"ban",save:"save",moveup:"arrow-up",movedown:"arrow-down"},icon_prefix:"fa fa-"}),f.defaults.iconlibs.foundation2=f.AbstractIconLib.extend({mapping:{collapse:"minus",expand:"plus","delete":"remove",edit:"edit",add:"add-doc",cancel:"error",save:"checkmark",moveup:"up-arrow",movedown:"down-arrow"},icon_prefix:"foundicon-"}),f.defaults.iconlibs.foundation3=f.AbstractIconLib.extend({mapping:{collapse:"minus",expand:"plus","delete":"x",edit:"pencil",add:"page-add",cancel:"x-circle",save:"save",moveup:"arrow-up",movedown:"arrow-down"},icon_prefix:"fi-"}),f.defaults.iconlibs.jqueryui=f.AbstractIconLib.extend({mapping:{collapse:"triangle-1-s",expand:"triangle-1-e","delete":"trash",edit:"pencil",add:"plusthick",cancel:"closethick",save:"disk",moveup:"arrowthick-1-n",movedown:"arrowthick-1-s"},icon_prefix:"ui-icon ui-icon-"}),f.defaults.templates["default"]=function(){return{compile:function(a){var b=a.match(/{{\s*([a-zA-Z0-9\-_ \.]+)\s*}}/g),c=b&&b.length;if(!c)return function(){return a};for(var d=[],e=function(a){var c,e=b[a].replace(/[{}]+/g,"").trim().split("."),f=e.length;if(f>1){var g;c=function(b){for(g=b,a=0;f>a&&(g=g[e[a]],g);a++);return g}}else e=e[0],c=function(a){return a[e]};d.push({s:b[a],r:c})},f=0;c>f;f++)e(f);return function(b){var e,g=a+"";for(f=0;c>f;f++)e=d[f],g=g.replace(e.s,e.r(b));return g}}}},f.defaults.templates.ejs=function(){return window.EJS?{compile:function(a){var b=new window.EJS({text:a});return function(a){return b.render(a)}}}:!1},f.defaults.templates.handlebars=function(){return window.Handlebars},f.defaults.templates.hogan=function(){return window.Hogan?{compile:function(a){var b=window.Hogan.compile(a);return function(a){return b.render(a)}}}:!1},f.defaults.templates.markup=function(){return window.Mark&&window.Mark.up?{compile:function(a){return function(b){return window.Mark.up(a,b)}}}:!1},f.defaults.templates.mustache=function(){return window.Mustache?{compile:function(a){return function(b){return window.Mustache.render(a,b)}}}:!1},f.defaults.templates.swig=function(){return window.swig},f.defaults.templates.underscore=function(){return window._?{compile:function(a){return function(b){return window._.template(a,b)}}}:!1},f.defaults.theme="html",f.defaults.template="default",f.defaults.options={},f.defaults.translate=function(a,b){var c=f.defaults.languages[f.defaults.language];if(!c)throw"Unknown language "+f.defaults.language;var d=c[a]||f.defaults.languages[f.defaults.default_language][a];if("undefined"==typeof d)throw"Unknown translate string "+a;if(b)for(var e=0;e<b.length;e++)d=d.replace(new RegExp("\\{\\{"+e+"}}","g"),b[e]);return d},f.defaults.default_language="en",f.defaults.language=f.defaults.default_language,f.defaults.languages.en={error_notset:"Property must be set",error_notempty:"Value required",error_enum:"Value must be one of the enumerated values",error_anyOf:"Value must validate against at least one of the provided schemas",error_oneOf:"Value must validate against exactly one of the provided schemas. It currently validates against {{0}} of the schemas.",error_not:"Value must not validate against the provided schema",error_type_union:"Value must be one of the provided types",error_type:"Value must be of type {{0}}",error_disallow_union:"Value must not be one of the provided disallowed types",error_disallow:"Value must not be of type {{0}}",error_multipleOf:"Value must be a multiple of {{0}}",error_maximum_excl:"Value must be less than {{0}}",error_maximum_incl:"Value must at most {{0}}",error_minimum_excl:"Value must be greater than {{0}}",error_minimum_incl:"Value must be at least {{0}}",error_maxLength:"Value must be at most {{0}} characters long",error_minLength:"Value must be at least {{0}} characters long",error_pattern:"Value must match the provided pattern",error_additionalItems:"No additional items allowed in this array",error_maxItems:"Value must have at most {{0}} items",error_minItems:"Value must have at least {{0}} items",error_uniqueItems:"Array must have unique items",error_maxProperties:"Object must have at most {{0}} properties",error_minProperties:"Object must have at least {{0}} properties",error_required:"Object is missing the required property '{{0}}'",error_additional_properties:"No additional properties allowed, but property {{0}} is set",error_dependency:"Must have property {{0}}"},f.plugins={ace:{theme:""},epiceditor:{},sceditor:{},select2:{}};for(var h in f.defaults.editors)f.defaults.editors.hasOwnProperty(h)&&(f.defaults.editors[h].options=f.defaults.editors.options||{});f.defaults.resolvers.unshift(function(a){return"string"!=typeof a.type?"multiple":void 0}),f.defaults.resolvers.unshift(function(a){return!a.type&&a.properties?"object":void 0}),f.defaults.resolvers.unshift(function(a){return"string"==typeof a.type?a.type:void 0}),f.defaults.resolvers.unshift(function(a){return"boolean"===a.type?"checkbox"===a.format||a.options&&a.options.checkbox?"checkbox":"select":void 0;
11−}),f.defaults.resolvers.unshift(function(a){return"any"===a.type?"multiple":void 0}),f.defaults.resolvers.unshift(function(a){return"string"===a.type&&a.media&&"base64"===a.media.binaryEncoding?"base64":void 0}),f.defaults.resolvers.unshift(function(a){return"string"===a.type&&"url"===a.format&&a.options&&a.options.upload===!0&&window.FileReader?"upload":void 0}),f.defaults.resolvers.unshift(function(a){return"array"==a.type&&"table"==a.format?"table":void 0}),f.defaults.resolvers.unshift(function(a){return a.enumSource?"select":void 0}),f.defaults.resolvers.unshift(function(a){if(a["enum"]){if("array"===a.type||"object"===a.type)return"enum";if("number"===a.type||"integer"===a.type||"string"===a.type)return"select"}}),f.defaults.resolvers.unshift(function(a){return"array"===a.type&&a.items&&!Array.isArray(a.items)&&a.uniqueItems&&a.items["enum"]&&["string","number","integer"].indexOf(a.items.type)>=0?"multiselect":void 0}),f.defaults.resolvers.unshift(function(a){return a.oneOf?"multiple":void 0}),function(){if(window.jQuery||window.Zepto){var a=window.jQuery||window.Zepto;a.jsoneditor=f.defaults,a.fn.jsoneditor=function(a){var b=this,c=this.data("jsoneditor");if("value"===a){if(!c)throw"Must initialize jsoneditor before getting/setting the value";if(!(arguments.length>1))return c.getValue();c.setValue(arguments[1])}else{if("validate"===a){if(!c)throw"Must initialize jsoneditor before validating";return arguments.length>1?c.validate(arguments[1]):c.validate()}"destroy"===a?c&&(c.destroy(),this.data("jsoneditor",null)):(c&&c.destroy(),c=new f(this.get(0),a),this.data("jsoneditor",c),c.on("change",function(){b.trigger("change")}),c.on("ready",function(){b.trigger("ready")}))}return this}}}(),window.JSONEditor=f}();
swagger-dist-2.1.5/lib/lodash.min.jsdeleted−102
@@ -1,102 +0,0 @@
1−/**
2− * @license
3− * lodash 3.10.1 (Custom Build) lodash.com/license | Underscore.js 1.8.3 underscorejs.org/LICENSE
4− * Build: `lodash compat -o ./lodash.js`
5− */
6−;(function(){function n(n,t){if(n!==t){var r=null===n,e=n===w,u=n===n,o=null===t,i=t===w,f=t===t;if(n>t&&!o||!u||r&&!i&&f||e&&f)return 1;if(n<t&&!r||!f||o&&!e&&u||i&&u)return-1}return 0}function t(n,t,r){for(var e=n.length,u=r?e:-1;r?u--:++u<e;)if(t(n[u],u,n))return u;return-1}function r(n,t,r){if(t!==t)return p(n,r);r-=1;for(var e=n.length;++r<e;)if(n[r]===t)return r;return-1}function e(n){return typeof n=="function"||false}function u(n){return null==n?"":n+""}function o(n,t){for(var r=-1,e=n.length;++r<e&&-1<t.indexOf(n.charAt(r)););
7−return r}function i(n,t){for(var r=n.length;r--&&-1<t.indexOf(n.charAt(r)););return r}function f(t,r){return n(t.a,r.a)||t.b-r.b}function a(n){return Nn[n]}function c(n){return Tn[n]}function l(n,t,r){return t?n=Bn[n]:r&&(n=Dn[n]),"\\"+n}function s(n){return"\\"+Dn[n]}function p(n,t,r){var e=n.length;for(t+=r?0:-1;r?t--:++t<e;){var u=n[t];if(u!==u)return t}return-1}function h(n){return!!n&&typeof n=="object"}function _(n){return 160>=n&&9<=n&&13>=n||32==n||160==n||5760==n||6158==n||8192<=n&&(8202>=n||8232==n||8233==n||8239==n||8287==n||12288==n||65279==n);
8−}function v(n,t){for(var r=-1,e=n.length,u=-1,o=[];++r<e;)n[r]===t&&(n[r]=P,o[++u]=r);return o}function g(n){for(var t=-1,r=n.length;++t<r&&_(n.charCodeAt(t)););return t}function y(n){for(var t=n.length;t--&&_(n.charCodeAt(t)););return t}function d(n){return Pn[n]}function m(_){function Nn(n){if(h(n)&&!(Wo(n)||n instanceof zn)){if(n instanceof Pn)return n;if(eu.call(n,"__chain__")&&eu.call(n,"__wrapped__"))return qr(n)}return new Pn(n)}function Tn(){}function Pn(n,t,r){this.__wrapped__=n,this.__actions__=r||[],
9−this.__chain__=!!t}function zn(n){this.__wrapped__=n,this.__actions__=[],this.__dir__=1,this.__filtered__=false,this.__iteratees__=[],this.__takeCount__=Cu,this.__views__=[]}function Bn(){this.__data__={}}function Dn(n){var t=n?n.length:0;for(this.data={hash:mu(null),set:new hu};t--;)this.push(n[t])}function Mn(n,t){var r=n.data;return(typeof t=="string"||de(t)?r.set.has(t):r.hash[t])?0:-1}function qn(n,t){var r=-1,e=n.length;for(t||(t=De(e));++r<e;)t[r]=n[r];return t}function Kn(n,t){for(var r=-1,e=n.length;++r<e&&false!==t(n[r],r,n););
10−return n}function Vn(n,t){for(var r=-1,e=n.length;++r<e;)if(!t(n[r],r,n))return false;return true}function Zn(n,t){for(var r=-1,e=n.length,u=-1,o=[];++r<e;){var i=n[r];t(i,r,n)&&(o[++u]=i)}return o}function Xn(n,t){for(var r=-1,e=n.length,u=De(e);++r<e;)u[r]=t(n[r],r,n);return u}function Hn(n,t){for(var r=-1,e=t.length,u=n.length;++r<e;)n[u+r]=t[r];return n}function Qn(n,t,r,e){var u=-1,o=n.length;for(e&&o&&(r=n[++u]);++u<o;)r=t(r,n[u],u,n);return r}function nt(n,t){for(var r=-1,e=n.length;++r<e;)if(t(n[r],r,n))return true;
11−return false}function tt(n,t,r,e){return n!==w&&eu.call(e,r)?n:t}function rt(n,t,r){for(var e=-1,u=Ko(t),o=u.length;++e<o;){var i=u[e],f=n[i],a=r(f,t[i],i,n,t);(a===a?a===f:f!==f)&&(f!==w||i in n)||(n[i]=a)}return n}function et(n,t){return null==t?n:ot(t,Ko(t),n)}function ut(n,t){for(var r=-1,e=null==n,u=!e&&Sr(n),o=u?n.length:0,i=t.length,f=De(i);++r<i;){var a=t[r];f[r]=u?Ur(a,o)?n[a]:w:e?w:n[a]}return f}function ot(n,t,r){r||(r={});for(var e=-1,u=t.length;++e<u;){var o=t[e];r[o]=n[o]}return r}function it(n,t,r){
12−var e=typeof n;return"function"==e?t===w?n:Dt(n,t,r):null==n?Ne:"object"==e?At(n):t===w?Be(n):jt(n,t)}function ft(n,t,r,e,u,o,i){var f;if(r&&(f=u?r(n,e,u):r(n)),f!==w)return f;if(!de(n))return n;if(e=Wo(n)){if(f=Ir(n),!t)return qn(n,f)}else{var a=ou.call(n),c=a==K;if(a!=Z&&a!=z&&(!c||u))return Ln[a]?Er(n,a,t):u?n:{};if(Gn(n))return u?n:{};if(f=Rr(c?{}:n),!t)return et(f,n)}for(o||(o=[]),i||(i=[]),u=o.length;u--;)if(o[u]==n)return i[u];return o.push(n),i.push(f),(e?Kn:gt)(n,function(e,u){f[u]=ft(e,t,r,u,n,o,i);
13−}),f}function at(n,t,r){if(typeof n!="function")throw new Xe(T);return _u(function(){n.apply(w,r)},t)}function ct(n,t){var e=n?n.length:0,u=[];if(!e)return u;var o=-1,i=jr(),f=i===r,a=f&&t.length>=F&&mu&&hu?new Dn(t):null,c=t.length;a&&(i=Mn,f=false,t=a);n:for(;++o<e;)if(a=n[o],f&&a===a){for(var l=c;l--;)if(t[l]===a)continue n;u.push(a)}else 0>i(t,a,0)&&u.push(a);return u}function lt(n,t){var r=true;return zu(n,function(n,e,u){return r=!!t(n,e,u)}),r}function st(n,t,r,e){var u=e,o=u;return zu(n,function(n,i,f){
14−i=+t(n,i,f),(r(i,u)||i===e&&i===o)&&(u=i,o=n)}),o}function pt(n,t){var r=[];return zu(n,function(n,e,u){t(n,e,u)&&r.push(n)}),r}function ht(n,t,r,e){var u;return r(n,function(n,r,o){return t(n,r,o)?(u=e?r:n,false):void 0}),u}function _t(n,t,r,e){e||(e=[]);for(var u=-1,o=n.length;++u<o;){var i=n[u];h(i)&&Sr(i)&&(r||Wo(i)||_e(i))?t?_t(i,t,r,e):Hn(e,i):r||(e[e.length]=i)}return e}function vt(n,t){return Du(n,t,Ee)}function gt(n,t){return Du(n,t,Ko)}function yt(n,t){return Mu(n,t,Ko)}function dt(n,t){for(var r=-1,e=t.length,u=-1,o=[];++r<e;){
15−var i=t[r];ye(n[i])&&(o[++u]=i)}return o}function mt(n,t,r){if(null!=n){n=Dr(n),r!==w&&r in n&&(t=[r]),r=0;for(var e=t.length;null!=n&&r<e;)n=Dr(n)[t[r++]];return r&&r==e?n:w}}function wt(n,t,r,e,u,o){if(n===t)return true;if(null==n||null==t||!de(n)&&!h(t))return n!==n&&t!==t;n:{var i=wt,f=Wo(n),a=Wo(t),c=B,l=B;f||(c=ou.call(n),c==z?c=Z:c!=Z&&(f=je(n))),a||(l=ou.call(t),l==z?l=Z:l!=Z&&je(t));var s=c==Z&&!Gn(n),a=l==Z&&!Gn(t),l=c==l;if(!l||f||s){if(!e&&(c=s&&eu.call(n,"__wrapped__"),a=a&&eu.call(t,"__wrapped__"),
16−c||a)){n=i(c?n.value():n,a?t.value():t,r,e,u,o);break n}if(l){for(u||(u=[]),o||(o=[]),c=u.length;c--;)if(u[c]==n){n=o[c]==t;break n}u.push(n),o.push(t),n=(f?mr:xr)(n,t,i,r,e,u,o),u.pop(),o.pop()}else n=false}else n=wr(n,t,c)}return n}function xt(n,t,r){var e=t.length,u=e,o=!r;if(null==n)return!u;for(n=Dr(n);e--;){var i=t[e];if(o&&i[2]?i[1]!==n[i[0]]:!(i[0]in n))return false}for(;++e<u;){var i=t[e],f=i[0],a=n[f],c=i[1];if(o&&i[2]){if(a===w&&!(f in n))return false}else if(i=r?r(a,c,f):w,i===w?!wt(c,a,r,true):!i)return false;
17−}return true}function bt(n,t){var r=-1,e=Sr(n)?De(n.length):[];return zu(n,function(n,u,o){e[++r]=t(n,u,o)}),e}function At(n){var t=kr(n);if(1==t.length&&t[0][2]){var r=t[0][0],e=t[0][1];return function(n){return null==n?false:(n=Dr(n),n[r]===e&&(e!==w||r in n))}}return function(n){return xt(n,t)}}function jt(n,t){var r=Wo(n),e=Wr(n)&&t===t&&!de(t),u=n+"";return n=Mr(n),function(o){if(null==o)return false;var i=u;if(o=Dr(o),!(!r&&e||i in o)){if(o=1==n.length?o:mt(o,St(n,0,-1)),null==o)return false;i=Gr(n),o=Dr(o);
18−}return o[i]===t?t!==w||i in o:wt(t,o[i],w,true)}}function kt(n,t,r,e,u){if(!de(n))return n;var o=Sr(t)&&(Wo(t)||je(t)),i=o?w:Ko(t);return Kn(i||t,function(f,a){if(i&&(a=f,f=t[a]),h(f)){e||(e=[]),u||(u=[]);n:{for(var c=a,l=e,s=u,p=l.length,_=t[c];p--;)if(l[p]==_){n[c]=s[p];break n}var p=n[c],v=r?r(p,_,c,n,t):w,g=v===w;g&&(v=_,Sr(_)&&(Wo(_)||je(_))?v=Wo(p)?p:Sr(p)?qn(p):[]:xe(_)||_e(_)?v=_e(p)?Ie(p):xe(p)?p:{}:g=false),l.push(_),s.push(v),g?n[c]=kt(v,_,r,l,s):(v===v?v!==p:p===p)&&(n[c]=v)}}else c=n[a],
19−l=r?r(c,f,a,n,t):w,(s=l===w)&&(l=f),l===w&&(!o||a in n)||!s&&(l===l?l===c:c!==c)||(n[a]=l)}),n}function Ot(n){return function(t){return null==t?w:Dr(t)[n]}}function It(n){var t=n+"";return n=Mr(n),function(r){return mt(r,n,t)}}function Rt(n,t){for(var r=n?t.length:0;r--;){var e=t[r];if(e!=u&&Ur(e)){var u=e;vu.call(n,e,1)}}return n}function Et(n,t){return n+wu(Ru()*(t-n+1))}function Ct(n,t,r,e,u){return u(n,function(n,u,o){r=e?(e=false,n):t(r,n,u,o)}),r}function St(n,t,r){var e=-1,u=n.length;for(t=null==t?0:+t||0,
20−0>t&&(t=-t>u?0:u+t),r=r===w||r>u?u:+r||0,0>r&&(r+=u),u=t>r?0:r-t>>>0,t>>>=0,r=De(u);++e<u;)r[e]=n[e+t];return r}function Ut(n,t){var r;return zu(n,function(n,e,u){return r=t(n,e,u),!r}),!!r}function $t(n,t){var r=n.length;for(n.sort(t);r--;)n[r]=n[r].c;return n}function Wt(t,r,e){var u=br(),o=-1;return r=Xn(r,function(n){return u(n)}),t=bt(t,function(n){return{a:Xn(r,function(t){return t(n)}),b:++o,c:n}}),$t(t,function(t,r){var u;n:{for(var o=-1,i=t.a,f=r.a,a=i.length,c=e.length;++o<a;)if(u=n(i[o],f[o])){
21−if(o>=c)break n;o=e[o],u*="asc"===o||true===o?1:-1;break n}u=t.b-r.b}return u})}function Ft(n,t){var r=0;return zu(n,function(n,e,u){r+=+t(n,e,u)||0}),r}function Lt(n,t){var e=-1,u=jr(),o=n.length,i=u===r,f=i&&o>=F,a=f&&mu&&hu?new Dn(void 0):null,c=[];a?(u=Mn,i=false):(f=false,a=t?[]:c);n:for(;++e<o;){var l=n[e],s=t?t(l,e,n):l;if(i&&l===l){for(var p=a.length;p--;)if(a[p]===s)continue n;t&&a.push(s),c.push(l)}else 0>u(a,s,0)&&((t||f)&&a.push(s),c.push(l))}return c}function Nt(n,t){for(var r=-1,e=t.length,u=De(e);++r<e;)u[r]=n[t[r]];
22−return u}function Tt(n,t,r,e){for(var u=n.length,o=e?u:-1;(e?o--:++o<u)&&t(n[o],o,n););return r?St(n,e?0:o,e?o+1:u):St(n,e?o+1:0,e?u:o)}function Pt(n,t){var r=n;r instanceof zn&&(r=r.value());for(var e=-1,u=t.length;++e<u;)var o=t[e],r=o.func.apply(o.thisArg,Hn([r],o.args));return r}function zt(n,t,r){var e=0,u=n?n.length:e;if(typeof t=="number"&&t===t&&u<=Uu){for(;e<u;){var o=e+u>>>1,i=n[o];(r?i<=t:i<t)&&null!==i?e=o+1:u=o}return u}return Bt(n,t,Ne,r)}function Bt(n,t,r,e){t=r(t);for(var u=0,o=n?n.length:0,i=t!==t,f=null===t,a=t===w;u<o;){
23−var c=wu((u+o)/2),l=r(n[c]),s=l!==w,p=l===l;(i?p||e:f?p&&s&&(e||null!=l):a?p&&(e||s):null==l?0:e?l<=t:l<t)?u=c+1:o=c}return ku(o,Su)}function Dt(n,t,r){if(typeof n!="function")return Ne;if(t===w)return n;switch(r){case 1:return function(r){return n.call(t,r)};case 3:return function(r,e,u){return n.call(t,r,e,u)};case 4:return function(r,e,u,o){return n.call(t,r,e,u,o)};case 5:return function(r,e,u,o,i){return n.call(t,r,e,u,o,i)}}return function(){return n.apply(t,arguments)}}function Mt(n){var t=new au(n.byteLength);
24−return new gu(t).set(new gu(n)),t}function qt(n,t,r){for(var e=r.length,u=-1,o=ju(n.length-e,0),i=-1,f=t.length,a=De(f+o);++i<f;)a[i]=t[i];for(;++u<e;)a[r[u]]=n[u];for(;o--;)a[i++]=n[u++];return a}function Kt(n,t,r){for(var e=-1,u=r.length,o=-1,i=ju(n.length-u,0),f=-1,a=t.length,c=De(i+a);++o<i;)c[o]=n[o];for(i=o;++f<a;)c[i+f]=t[f];for(;++e<u;)c[i+r[e]]=n[o++];return c}function Vt(n,t){return function(r,e,u){var o=t?t():{};if(e=br(e,u,3),Wo(r)){u=-1;for(var i=r.length;++u<i;){var f=r[u];n(o,f,e(f,u,r),r);
25−}}else zu(r,function(t,r,u){n(o,t,e(t,r,u),u)});return o}}function Zt(n){return pe(function(t,r){var e=-1,u=null==t?0:r.length,o=2<u?r[u-2]:w,i=2<u?r[2]:w,f=1<u?r[u-1]:w;for(typeof o=="function"?(o=Dt(o,f,5),u-=2):(o=typeof f=="function"?f:w,u-=o?1:0),i&&$r(r[0],r[1],i)&&(o=3>u?w:o,u=1);++e<u;)(i=r[e])&&n(t,i,o);return t})}function Yt(n,t){return function(r,e){var u=r?Vu(r):0;if(!Lr(u))return n(r,e);for(var o=t?u:-1,i=Dr(r);(t?o--:++o<u)&&false!==e(i[o],o,i););return r}}function Gt(n){return function(t,r,e){
26−var u=Dr(t);e=e(t);for(var o=e.length,i=n?o:-1;n?i--:++i<o;){var f=e[i];if(false===r(u[f],f,u))break}return t}}function Jt(n,t){function r(){return(this&&this!==Yn&&this instanceof r?e:n).apply(t,arguments)}var e=Ht(n);return r}function Xt(n){return function(t){var r=-1;t=Fe(Ue(t));for(var e=t.length,u="";++r<e;)u=n(u,t[r],r);return u}}function Ht(n){return function(){var t=arguments;switch(t.length){case 0:return new n;case 1:return new n(t[0]);case 2:return new n(t[0],t[1]);case 3:return new n(t[0],t[1],t[2]);
27−case 4:return new n(t[0],t[1],t[2],t[3]);case 5:return new n(t[0],t[1],t[2],t[3],t[4]);case 6:return new n(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new n(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var r=Pu(n.prototype),t=n.apply(r,t);return de(t)?t:r}}function Qt(n){function t(r,e,u){return u&&$r(r,e,u)&&(e=w),r=dr(r,n,w,w,w,w,w,e),r.placeholder=t.placeholder,r}return t}function nr(n,t){return pe(function(r){var e=r[0];return null==e?e:(r.push(t),n.apply(w,r))})}function tr(n,t){return function(r,e,u){
28−if(u&&$r(r,e,u)&&(e=w),e=br(e,u,3),1==e.length){u=r=Wo(r)?r:Br(r);for(var o=e,i=-1,f=u.length,a=t,c=a;++i<f;){var l=u[i],s=+o(l);n(s,a)&&(a=s,c=l)}if(u=c,!r.length||u!==t)return u}return st(r,e,n,t)}}function rr(n,r){return function(e,u,o){return u=br(u,o,3),Wo(e)?(u=t(e,u,r),-1<u?e[u]:w):ht(e,u,n)}}function er(n){return function(r,e,u){return r&&r.length?(e=br(e,u,3),t(r,e,n)):-1}}function ur(n){return function(t,r,e){return r=br(r,e,3),ht(t,r,n,true)}}function or(n){return function(){for(var t,r=arguments.length,e=n?r:-1,u=0,o=De(r);n?e--:++e<r;){
29−var i=o[u++]=arguments[e];if(typeof i!="function")throw new Xe(T);!t&&Pn.prototype.thru&&"wrapper"==Ar(i)&&(t=new Pn([],true))}for(e=t?-1:r;++e<r;){var i=o[e],u=Ar(i),f="wrapper"==u?Ku(i):w;t=f&&Fr(f[0])&&f[1]==(E|k|I|C)&&!f[4].length&&1==f[9]?t[Ar(f[0])].apply(t,f[3]):1==i.length&&Fr(i)?t[u]():t.thru(i)}return function(){var n=arguments,e=n[0];if(t&&1==n.length&&Wo(e)&&e.length>=F)return t.plant(e).value();for(var u=0,n=r?o[u].apply(this,n):e;++u<r;)n=o[u].call(this,n);return n}}}function ir(n,t){
30−return function(r,e,u){return typeof e=="function"&&u===w&&Wo(r)?n(r,e):t(r,Dt(e,u,3))}}function fr(n){return function(t,r,e){return(typeof r!="function"||e!==w)&&(r=Dt(r,e,3)),n(t,r,Ee)}}function ar(n){return function(t,r,e){return(typeof r!="function"||e!==w)&&(r=Dt(r,e,3)),n(t,r)}}function cr(n){return function(t,r,e){var u={};return r=br(r,e,3),gt(t,function(t,e,o){o=r(t,e,o),e=n?o:e,t=n?t:o,u[e]=t}),u}}function lr(n){return function(t,r,e){return t=u(t),(n?t:"")+_r(t,r,e)+(n?"":t)}}function sr(n){
31−var t=pe(function(r,e){var u=v(e,t.placeholder);return dr(r,n,w,e,u)});return t}function pr(n,t){return function(r,e,u,o){var i=3>arguments.length;return typeof e=="function"&&o===w&&Wo(r)?n(r,e,u,i):Ct(r,br(e,o,4),u,i,t)}}function hr(n,t,r,e,u,o,i,f,a,c){function l(){for(var m=arguments.length,x=m,j=De(m);x--;)j[x]=arguments[x];if(e&&(j=qt(j,e,u)),o&&(j=Kt(j,o,i)),_||y){var x=l.placeholder,k=v(j,x),m=m-k.length;if(m<c){var O=f?qn(f):w,m=ju(c-m,0),E=_?k:w,k=_?w:k,C=_?j:w,j=_?w:j;return t|=_?I:R,t&=~(_?R:I),
32−g||(t&=~(b|A)),j=[n,t,r,C,E,j,k,O,a,m],O=hr.apply(w,j),Fr(n)&&Zu(O,j),O.placeholder=x,O}}if(x=p?r:this,O=h?x[n]:n,f)for(m=j.length,E=ku(f.length,m),k=qn(j);E--;)C=f[E],j[E]=Ur(C,m)?k[C]:w;return s&&a<j.length&&(j.length=a),this&&this!==Yn&&this instanceof l&&(O=d||Ht(n)),O.apply(x,j)}var s=t&E,p=t&b,h=t&A,_=t&k,g=t&j,y=t&O,d=h?w:Ht(n);return l}function _r(n,t,r){return n=n.length,t=+t,n<t&&bu(t)?(t-=n,r=null==r?" ":r+"",$e(r,du(t/r.length)).slice(0,t)):""}function vr(n,t,r,e){function u(){for(var t=-1,f=arguments.length,a=-1,c=e.length,l=De(c+f);++a<c;)l[a]=e[a];
33−for(;f--;)l[a++]=arguments[++t];return(this&&this!==Yn&&this instanceof u?i:n).apply(o?r:this,l)}var o=t&b,i=Ht(n);return u}function gr(n){var t=Ve[n];return function(n,r){return(r=r===w?0:+r||0)?(r=su(10,r),t(n*r)/r):t(n)}}function yr(n){return function(t,r,e,u){var o=br(e);return null==e&&o===it?zt(t,r,n):Bt(t,r,o(e,u,1),n)}}function dr(n,t,r,e,u,o,i,f){var a=t&A;if(!a&&typeof n!="function")throw new Xe(T);var c=e?e.length:0;if(c||(t&=~(I|R),e=u=w),c-=u?u.length:0,t&R){var l=e,s=u;e=u=w}var p=a?w:Ku(n);
34−return r=[n,t,r,e,u,l,s,o,i,f],p&&(e=r[1],t=p[1],f=e|t,u=t==E&&e==k||t==E&&e==C&&r[7].length<=p[8]||t==(E|C)&&e==k,(f<E||u)&&(t&b&&(r[2]=p[2],f|=e&b?0:j),(e=p[3])&&(u=r[3],r[3]=u?qt(u,e,p[4]):qn(e),r[4]=u?v(r[3],P):qn(p[4])),(e=p[5])&&(u=r[5],r[5]=u?Kt(u,e,p[6]):qn(e),r[6]=u?v(r[5],P):qn(p[6])),(e=p[7])&&(r[7]=qn(e)),t&E&&(r[8]=null==r[8]?p[8]:ku(r[8],p[8])),null==r[9]&&(r[9]=p[9]),r[0]=p[0],r[1]=f),t=r[1],f=r[9]),r[9]=null==f?a?0:n.length:ju(f-c,0)||0,n=t==b?Jt(r[0],r[2]):t!=I&&t!=(b|I)||r[4].length?hr.apply(w,r):vr.apply(w,r),
35−(p?qu:Zu)(n,r)}function mr(n,t,r,e,u,o,i){var f=-1,a=n.length,c=t.length;if(a!=c&&(!u||c<=a))return false;for(;++f<a;){var l=n[f],c=t[f],s=e?e(u?c:l,u?l:c,f):w;if(s!==w){if(s)continue;return false}if(u){if(!nt(t,function(n){return l===n||r(l,n,e,u,o,i)}))return false}else if(l!==c&&!r(l,c,e,u,o,i))return false}return true}function wr(n,t,r){switch(r){case D:case M:return+n==+t;case q:return n.name==t.name&&n.message==t.message;case V:return n!=+n?t!=+t:n==+t;case Y:case G:return n==t+""}return false}function xr(n,t,r,e,u,o,i){
36−var f=Ko(n),a=f.length,c=Ko(t).length;if(a!=c&&!u)return false;for(c=a;c--;){var l=f[c];if(!(u?l in t:eu.call(t,l)))return false}for(var s=u;++c<a;){var l=f[c],p=n[l],h=t[l],_=e?e(u?h:p,u?p:h,l):w;if(_===w?!r(p,h,e,u,o,i):!_)return false;s||(s="constructor"==l)}return s||(r=n.constructor,e=t.constructor,!(r!=e&&"constructor"in n&&"constructor"in t)||typeof r=="function"&&r instanceof r&&typeof e=="function"&&e instanceof e)?true:false}function br(n,t,r){var e=Nn.callback||Le,e=e===Le?it:e;return r?e(n,t,r):e}function Ar(n){
37−for(var t=n.name+"",r=Fu[t],e=r?r.length:0;e--;){var u=r[e],o=u.func;if(null==o||o==n)return u.name}return t}function jr(n,t,e){var u=Nn.indexOf||Yr,u=u===Yr?r:u;return n?u(n,t,e):u}function kr(n){n=Ce(n);for(var t=n.length;t--;){var r,e=n[t];r=n[t][1],r=r===r&&!de(r),e[2]=r}return n}function Or(n,t){var r=null==n?w:n[t];return me(r)?r:w}function Ir(n){var t=n.length,r=new n.constructor(t);return t&&"string"==typeof n[0]&&eu.call(n,"index")&&(r.index=n.index,r.input=n.input),r}function Rr(n){return n=n.constructor,
38−typeof n=="function"&&n instanceof n||(n=Ye),new n}function Er(n,t,r){var e=n.constructor;switch(t){case J:return Mt(n);case D:case M:return new e(+n);case X:case H:case Q:case nn:case tn:case rn:case en:case un:case on:return e instanceof e&&(e=Lu[t]),t=n.buffer,new e(r?Mt(t):t,n.byteOffset,n.length);case V:case G:return new e(n);case Y:var u=new e(n.source,kn.exec(n));u.lastIndex=n.lastIndex}return u}function Cr(n,t,r){return null==n||Wr(t,n)||(t=Mr(t),n=1==t.length?n:mt(n,St(t,0,-1)),t=Gr(t)),
39−t=null==n?n:n[t],null==t?w:t.apply(n,r)}function Sr(n){return null!=n&&Lr(Vu(n))}function Ur(n,t){return n=typeof n=="number"||Rn.test(n)?+n:-1,t=null==t?$u:t,-1<n&&0==n%1&&n<t}function $r(n,t,r){if(!de(r))return false;var e=typeof t;return("number"==e?Sr(r)&&Ur(t,r.length):"string"==e&&t in r)?(t=r[t],n===n?n===t:t!==t):false}function Wr(n,t){var r=typeof n;return"string"==r&&dn.test(n)||"number"==r?true:Wo(n)?false:!yn.test(n)||null!=t&&n in Dr(t)}function Fr(n){var t=Ar(n),r=Nn[t];return typeof r=="function"&&t in zn.prototype?n===r?true:(t=Ku(r),
40−!!t&&n===t[0]):false}function Lr(n){return typeof n=="number"&&-1<n&&0==n%1&&n<=$u}function Nr(n,t){return n===w?t:Fo(n,t,Nr)}function Tr(n,t){n=Dr(n);for(var r=-1,e=t.length,u={};++r<e;){var o=t[r];o in n&&(u[o]=n[o])}return u}function Pr(n,t){var r={};return vt(n,function(n,e,u){t(n,e,u)&&(r[e]=n)}),r}function zr(n){for(var t=Ee(n),r=t.length,e=r&&n.length,u=!!e&&Lr(e)&&(Wo(n)||_e(n)||Ae(n)),o=-1,i=[];++o<r;){var f=t[o];(u&&Ur(f,e)||eu.call(n,f))&&i.push(f)}return i}function Br(n){return null==n?[]:Sr(n)?Nn.support.unindexedChars&&Ae(n)?n.split(""):de(n)?n:Ye(n):Se(n);
41−}function Dr(n){if(Nn.support.unindexedChars&&Ae(n)){for(var t=-1,r=n.length,e=Ye(n);++t<r;)e[t]=n.charAt(t);return e}return de(n)?n:Ye(n)}function Mr(n){if(Wo(n))return n;var t=[];return u(n).replace(mn,function(n,r,e,u){t.push(e?u.replace(An,"$1"):r||n)}),t}function qr(n){return n instanceof zn?n.clone():new Pn(n.__wrapped__,n.__chain__,qn(n.__actions__))}function Kr(n,t,r){return n&&n.length?((r?$r(n,t,r):null==t)&&(t=1),St(n,0>t?0:t)):[]}function Vr(n,t,r){var e=n?n.length:0;return e?((r?$r(n,t,r):null==t)&&(t=1),
42−t=e-(+t||0),St(n,0,0>t?0:t)):[]}function Zr(n){return n?n[0]:w}function Yr(n,t,e){var u=n?n.length:0;if(!u)return-1;if(typeof e=="number")e=0>e?ju(u+e,0):e;else if(e)return e=zt(n,t),e<u&&(t===t?t===n[e]:n[e]!==n[e])?e:-1;return r(n,t,e||0)}function Gr(n){var t=n?n.length:0;return t?n[t-1]:w}function Jr(n){return Kr(n,1)}function Xr(n,t,e,u){if(!n||!n.length)return[];null!=t&&typeof t!="boolean"&&(u=e,e=$r(n,t,u)?w:t,t=false);var o=br();if((null!=e||o!==it)&&(e=o(e,u,3)),t&&jr()===r){t=e;var i;e=-1,
43−u=n.length;for(var o=-1,f=[];++e<u;){var a=n[e],c=t?t(a,e,n):a;e&&i===c||(i=c,f[++o]=a)}n=f}else n=Lt(n,e);return n}function Hr(n){if(!n||!n.length)return[];var t=-1,r=0;n=Zn(n,function(n){return Sr(n)?(r=ju(n.length,r),true):void 0});for(var e=De(r);++t<r;)e[t]=Xn(n,Ot(t));return e}function Qr(n,t,r){return n&&n.length?(n=Hr(n),null==t?n:(t=Dt(t,r,4),Xn(n,function(n){return Qn(n,t,w,true)}))):[]}function ne(n,t){var r=-1,e=n?n.length:0,u={};for(!e||t||Wo(n[0])||(t=[]);++r<e;){var o=n[r];t?u[o]=t[r]:o&&(u[o[0]]=o[1]);
44−}return u}function te(n){return n=Nn(n),n.__chain__=true,n}function re(n,t,r){return t.call(r,n)}function ee(n,t,r){var e=Wo(n)?Vn:lt;return r&&$r(n,t,r)&&(t=w),(typeof t!="function"||r!==w)&&(t=br(t,r,3)),e(n,t)}function ue(n,t,r){var e=Wo(n)?Zn:pt;return t=br(t,r,3),e(n,t)}function oe(n,t,r,e){var u=n?Vu(n):0;return Lr(u)||(n=Se(n),u=n.length),r=typeof r!="number"||e&&$r(t,r,e)?0:0>r?ju(u+r,0):r||0,typeof n=="string"||!Wo(n)&&Ae(n)?r<=u&&-1<n.indexOf(t,r):!!u&&-1<jr(n,t,r)}function ie(n,t,r){var e=Wo(n)?Xn:bt;
45−return t=br(t,r,3),e(n,t)}function fe(n,t,r){if(r?$r(n,t,r):null==t){n=Br(n);var e=n.length;return 0<e?n[Et(0,e-1)]:w}r=-1,n=Oe(n);var e=n.length,u=e-1;for(t=ku(0>t?0:+t||0,e);++r<t;){var e=Et(r,u),o=n[e];n[e]=n[r],n[r]=o}return n.length=t,n}function ae(n,t,r){var e=Wo(n)?nt:Ut;return r&&$r(n,t,r)&&(t=w),(typeof t!="function"||r!==w)&&(t=br(t,r,3)),e(n,t)}function ce(n,t){var r;if(typeof t!="function"){if(typeof n!="function")throw new Xe(T);var e=n;n=t,t=e}return function(){return 0<--n&&(r=t.apply(this,arguments)),
46−1>=n&&(t=w),r}}function le(n,t,r){function e(t,r){r&&cu(r),a=p=h=w,t&&(_=wo(),c=n.apply(s,f),p||a||(f=s=w))}function u(){var n=t-(wo()-l);0>=n||n>t?e(h,a):p=_u(u,n)}function o(){e(g,p)}function i(){if(f=arguments,l=wo(),s=this,h=g&&(p||!y),false===v)var r=y&&!p;else{a||y||(_=l);var e=v-(l-_),i=0>=e||e>v;i?(a&&(a=cu(a)),_=l,c=n.apply(s,f)):a||(a=_u(o,e))}return i&&p?p=cu(p):p||t===v||(p=_u(u,t)),r&&(i=true,c=n.apply(s,f)),!i||p||a||(f=s=w),c}var f,a,c,l,s,p,h,_=0,v=false,g=true;if(typeof n!="function")throw new Xe(T);
47−if(t=0>t?0:+t||0,true===r)var y=true,g=false;else de(r)&&(y=!!r.leading,v="maxWait"in r&&ju(+r.maxWait||0,t),g="trailing"in r?!!r.trailing:g);return i.cancel=function(){p&&cu(p),a&&cu(a),_=0,a=p=h=w},i}function se(n,t){if(typeof n!="function"||t&&typeof t!="function")throw new Xe(T);var r=function(){var e=arguments,u=t?t.apply(this,e):e[0],o=r.cache;return o.has(u)?o.get(u):(e=n.apply(this,e),r.cache=o.set(u,e),e)};return r.cache=new se.Cache,r}function pe(n,t){if(typeof n!="function")throw new Xe(T);return t=ju(t===w?n.length-1:+t||0,0),
48−function(){for(var r=arguments,e=-1,u=ju(r.length-t,0),o=De(u);++e<u;)o[e]=r[t+e];switch(t){case 0:return n.call(this,o);case 1:return n.call(this,r[0],o);case 2:return n.call(this,r[0],r[1],o)}for(u=De(t+1),e=-1;++e<t;)u[e]=r[e];return u[t]=o,n.apply(this,u)}}function he(n,t){return n>t}function _e(n){return h(n)&&Sr(n)&&eu.call(n,"callee")&&!pu.call(n,"callee")}function ve(n,t,r,e){return e=(r=typeof r=="function"?Dt(r,e,3):w)?r(n,t):w,e===w?wt(n,t,r):!!e}function ge(n){return h(n)&&typeof n.message=="string"&&ou.call(n)==q;
49−}function ye(n){return de(n)&&ou.call(n)==K}function de(n){var t=typeof n;return!!n&&("object"==t||"function"==t)}function me(n){return null==n?false:ye(n)?fu.test(ru.call(n)):h(n)&&(Gn(n)?fu:In).test(n)}function we(n){return typeof n=="number"||h(n)&&ou.call(n)==V}function xe(n){var t;if(!h(n)||ou.call(n)!=Z||Gn(n)||_e(n)||!(eu.call(n,"constructor")||(t=n.constructor,typeof t!="function"||t instanceof t)))return false;var r;return Nn.support.ownLast?(vt(n,function(n,t,e){return r=eu.call(e,t),false}),false!==r):(vt(n,function(n,t){
50−r=t}),r===w||eu.call(n,r))}function be(n){return de(n)&&ou.call(n)==Y}function Ae(n){return typeof n=="string"||h(n)&&ou.call(n)==G}function je(n){return h(n)&&Lr(n.length)&&!!Fn[ou.call(n)]}function ke(n,t){return n<t}function Oe(n){var t=n?Vu(n):0;return Lr(t)?t?Nn.support.unindexedChars&&Ae(n)?n.split(""):qn(n):[]:Se(n)}function Ie(n){return ot(n,Ee(n))}function Re(n){return dt(n,Ee(n))}function Ee(n){if(null==n)return[];de(n)||(n=Ye(n));for(var t=n.length,r=Nn.support,t=t&&Lr(t)&&(Wo(n)||_e(n)||Ae(n))&&t||0,e=n.constructor,u=-1,e=ye(e)&&e.prototype||nu,o=e===n,i=De(t),f=0<t,a=r.enumErrorProps&&(n===Qe||n instanceof qe),c=r.enumPrototypes&&ye(n);++u<t;)i[u]=u+"";
51−for(var l in n)c&&"prototype"==l||a&&("message"==l||"name"==l)||f&&Ur(l,t)||"constructor"==l&&(o||!eu.call(n,l))||i.push(l);if(r.nonEnumShadows&&n!==nu)for(t=n===tu?G:n===Qe?q:ou.call(n),r=Nu[t]||Nu[Z],t==Z&&(e=nu),t=Wn.length;t--;)l=Wn[t],u=r[l],o&&u||(u?!eu.call(n,l):n[l]===e[l])||i.push(l);return i}function Ce(n){n=Dr(n);for(var t=-1,r=Ko(n),e=r.length,u=De(e);++t<e;){var o=r[t];u[t]=[o,n[o]]}return u}function Se(n){return Nt(n,Ko(n))}function Ue(n){return(n=u(n))&&n.replace(En,a).replace(bn,"");
52−}function $e(n,t){var r="";if(n=u(n),t=+t,1>t||!n||!bu(t))return r;do t%2&&(r+=n),t=wu(t/2),n+=n;while(t);return r}function We(n,t,r){var e=n;return(n=u(n))?(r?$r(e,t,r):null==t)?n.slice(g(n),y(n)+1):(t+="",n.slice(o(n,t),i(n,t)+1)):n}function Fe(n,t,r){return r&&$r(n,t,r)&&(t=w),n=u(n),n.match(t||Un)||[]}function Le(n,t,r){return r&&$r(n,t,r)&&(t=w),h(n)?Te(n):it(n,t)}function Ne(n){return n}function Te(n){return At(ft(n,true))}function Pe(n,t,r){if(null==r){var e=de(t),u=e?Ko(t):w;((u=u&&u.length?dt(t,u):w)?u.length:e)||(u=false,
53−r=t,t=n,n=this)}u||(u=dt(t,Ko(t)));var o=true,e=-1,i=ye(n),f=u.length;false===r?o=false:de(r)&&"chain"in r&&(o=r.chain);for(;++e<f;){r=u[e];var a=t[r];n[r]=a,i&&(n.prototype[r]=function(t){return function(){var r=this.__chain__;if(o||r){var e=n(this.__wrapped__);return(e.__actions__=qn(this.__actions__)).push({func:t,args:arguments,thisArg:n}),e.__chain__=r,e}return t.apply(n,Hn([this.value()],arguments))}}(a))}return n}function ze(){}function Be(n){return Wr(n)?Ot(n):It(n)}_=_?Jn.defaults(Yn.Object(),_,Jn.pick(Yn,$n)):Yn;
54−var De=_.Array,Me=_.Date,qe=_.Error,Ke=_.Function,Ve=_.Math,Ze=_.Number,Ye=_.Object,Ge=_.RegExp,Je=_.String,Xe=_.TypeError,He=De.prototype,Qe=qe.prototype,nu=Ye.prototype,tu=Je.prototype,ru=Ke.prototype.toString,eu=nu.hasOwnProperty,uu=0,ou=nu.toString,iu=Yn._,fu=Ge("^"+ru.call(eu).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),au=_.ArrayBuffer,cu=_.clearTimeout,lu=_.parseFloat,su=Ve.pow,pu=nu.propertyIsEnumerable,hu=Or(_,"Set"),_u=_.setTimeout,vu=He.splice,gu=_.Uint8Array,yu=Or(_,"WeakMap"),du=Ve.ceil,mu=Or(Ye,"create"),wu=Ve.floor,xu=Or(De,"isArray"),bu=_.isFinite,Au=Or(Ye,"keys"),ju=Ve.max,ku=Ve.min,Ou=Or(Me,"now"),Iu=_.parseInt,Ru=Ve.random,Eu=Ze.NEGATIVE_INFINITY,Cu=Ze.POSITIVE_INFINITY,Su=4294967294,Uu=2147483647,$u=9007199254740991,Wu=yu&&new yu,Fu={},Lu={};
55−Lu[X]=_.Float32Array,Lu[H]=_.Float64Array,Lu[Q]=_.Int8Array,Lu[nn]=_.Int16Array,Lu[tn]=_.Int32Array,Lu[rn]=gu,Lu[en]=_.Uint8ClampedArray,Lu[un]=_.Uint16Array,Lu[on]=_.Uint32Array;var Nu={};Nu[B]=Nu[M]=Nu[V]={constructor:true,toLocaleString:true,toString:true,valueOf:true},Nu[D]=Nu[G]={constructor:true,toString:true,valueOf:true},Nu[q]=Nu[K]=Nu[Y]={constructor:true,toString:true},Nu[Z]={constructor:true},Kn(Wn,function(n){for(var t in Nu)if(eu.call(Nu,t)){var r=Nu[t];r[n]=eu.call(r,n)}});var Tu=Nn.support={};!function(n){
56−var t=function(){this.x=n},r={0:n,length:n},e=[];t.prototype={valueOf:n,y:n};for(var u in new t)e.push(u);Tu.enumErrorProps=pu.call(Qe,"message")||pu.call(Qe,"name"),Tu.enumPrototypes=pu.call(t,"prototype"),Tu.nonEnumShadows=!/valueOf/.test(e),Tu.ownLast="x"!=e[0],Tu.spliceObjects=(vu.call(r,0,1),!r[0]),Tu.unindexedChars="xx"!="x"[0]+Ye("x")[0]}(1,0),Nn.templateSettings={escape:_n,evaluate:vn,interpolate:gn,variable:"",imports:{_:Nn}};var Pu=function(){function n(){}return function(t){if(de(t)){n.prototype=t;
57−var r=new n;n.prototype=w}return r||{}}}(),zu=Yt(gt),Bu=Yt(yt,true),Du=Gt(),Mu=Gt(true),qu=Wu?function(n,t){return Wu.set(n,t),n}:Ne,Ku=Wu?function(n){return Wu.get(n)}:ze,Vu=Ot("length"),Zu=function(){var n=0,t=0;return function(r,e){var u=wo(),o=W-(u-t);if(t=u,0<o){if(++n>=$)return r}else n=0;return qu(r,e)}}(),Yu=pe(function(n,t){return h(n)&&Sr(n)?ct(n,_t(t,false,true)):[]}),Gu=er(),Ju=er(true),Xu=pe(function(n){for(var t=n.length,e=t,u=De(l),o=jr(),i=o===r,f=[];e--;){var a=n[e]=Sr(a=n[e])?a:[];u[e]=i&&120<=a.length&&mu&&hu?new Dn(e&&a):null;
58−}var i=n[0],c=-1,l=i?i.length:0,s=u[0];n:for(;++c<l;)if(a=i[c],0>(s?Mn(s,a):o(f,a,0))){for(e=t;--e;){var p=u[e];if(0>(p?Mn(p,a):o(n[e],a,0)))continue n}s&&s.push(a),f.push(a)}return f}),Hu=pe(function(t,r){r=_t(r);var e=ut(t,r);return Rt(t,r.sort(n)),e}),Qu=yr(),no=yr(true),to=pe(function(n){return Lt(_t(n,false,true))}),ro=pe(function(n,t){return Sr(n)?ct(n,t):[]}),eo=pe(Hr),uo=pe(function(n){var t=n.length,r=2<t?n[t-2]:w,e=1<t?n[t-1]:w;return 2<t&&typeof r=="function"?t-=2:(r=1<t&&typeof e=="function"?(--t,
59−e):w,e=w),n.length=t,Qr(n,r,e)}),oo=pe(function(n){return n=_t(n),this.thru(function(t){t=Wo(t)?t:[Dr(t)];for(var r=n,e=-1,u=t.length,o=-1,i=r.length,f=De(u+i);++e<u;)f[e]=t[e];for(;++o<i;)f[e++]=r[o];return f})}),io=pe(function(n,t){return Sr(n)&&(n=Br(n)),ut(n,_t(t))}),fo=Vt(function(n,t,r){eu.call(n,r)?++n[r]:n[r]=1}),ao=rr(zu),co=rr(Bu,true),lo=ir(Kn,zu),so=ir(function(n,t){for(var r=n.length;r--&&false!==t(n[r],r,n););return n},Bu),po=Vt(function(n,t,r){eu.call(n,r)?n[r].push(t):n[r]=[t]}),ho=Vt(function(n,t,r){
60−n[r]=t}),_o=pe(function(n,t,r){var e=-1,u=typeof t=="function",o=Wr(t),i=Sr(n)?De(n.length):[];return zu(n,function(n){var f=u?t:o&&null!=n?n[t]:w;i[++e]=f?f.apply(n,r):Cr(n,t,r)}),i}),vo=Vt(function(n,t,r){n[r?0:1].push(t)},function(){return[[],[]]}),go=pr(Qn,zu),yo=pr(function(n,t,r,e){var u=n.length;for(e&&u&&(r=n[--u]);u--;)r=t(r,n[u],u,n);return r},Bu),mo=pe(function(n,t){if(null==n)return[];var r=t[2];return r&&$r(t[0],t[1],r)&&(t.length=1),Wt(n,_t(t),[])}),wo=Ou||function(){return(new Me).getTime();
61−},xo=pe(function(n,t,r){var e=b;if(r.length)var u=v(r,xo.placeholder),e=e|I;return dr(n,e,t,r,u)}),bo=pe(function(n,t){t=t.length?_t(t):Re(n);for(var r=-1,e=t.length;++r<e;){var u=t[r];n[u]=dr(n[u],b,n)}return n}),Ao=pe(function(n,t,r){var e=b|A;if(r.length)var u=v(r,Ao.placeholder),e=e|I;return dr(t,e,n,r,u)}),jo=Qt(k),ko=Qt(O),Oo=pe(function(n,t){return at(n,1,t)}),Io=pe(function(n,t,r){return at(n,t,r)}),Ro=or(),Eo=or(true),Co=pe(function(n,t){if(t=_t(t),typeof n!="function"||!Vn(t,e))throw new Xe(T);
62−var r=t.length;return pe(function(e){for(var u=ku(e.length,r);u--;)e[u]=t[u](e[u]);return n.apply(this,e)})}),So=sr(I),Uo=sr(R),$o=pe(function(n,t){return dr(n,C,w,w,w,_t(t))}),Wo=xu||function(n){return h(n)&&Lr(n.length)&&ou.call(n)==B},Fo=Zt(kt),Lo=Zt(function(n,t,r){return r?rt(n,t,r):et(n,t)}),No=nr(Lo,function(n,t){return n===w?t:n}),To=nr(Fo,Nr),Po=ur(gt),zo=ur(yt),Bo=fr(Du),Do=fr(Mu),Mo=ar(gt),qo=ar(yt),Ko=Au?function(n){var t=null==n?w:n.constructor;return typeof t=="function"&&t.prototype===n||(typeof n=="function"?Nn.support.enumPrototypes:Sr(n))?zr(n):de(n)?Au(n):[];
63−}:zr,Vo=cr(true),Zo=cr(),Yo=pe(function(n,t){if(null==n)return{};if("function"!=typeof t[0])return t=Xn(_t(t),Je),Tr(n,ct(Ee(n),t));var r=Dt(t[0],t[1],3);return Pr(n,function(n,t,e){return!r(n,t,e)})}),Go=pe(function(n,t){return null==n?{}:"function"==typeof t[0]?Pr(n,Dt(t[0],t[1],3)):Tr(n,_t(t))}),Jo=Xt(function(n,t,r){return t=t.toLowerCase(),n+(r?t.charAt(0).toUpperCase()+t.slice(1):t)}),Xo=Xt(function(n,t,r){return n+(r?"-":"")+t.toLowerCase()}),Ho=lr(),Qo=lr(true),ni=Xt(function(n,t,r){return n+(r?"_":"")+t.toLowerCase();
64−}),ti=Xt(function(n,t,r){return n+(r?" ":"")+(t.charAt(0).toUpperCase()+t.slice(1))}),ri=pe(function(n,t){try{return n.apply(w,t)}catch(r){return ge(r)?r:new qe(r)}}),ei=pe(function(n,t){return function(r){return Cr(r,n,t)}}),ui=pe(function(n,t){return function(r){return Cr(n,r,t)}}),oi=gr("ceil"),ii=gr("floor"),fi=tr(he,Eu),ai=tr(ke,Cu),ci=gr("round");return Nn.prototype=Tn.prototype,Pn.prototype=Pu(Tn.prototype),Pn.prototype.constructor=Pn,zn.prototype=Pu(Tn.prototype),zn.prototype.constructor=zn,
65−Bn.prototype["delete"]=function(n){return this.has(n)&&delete this.__data__[n]},Bn.prototype.get=function(n){return"__proto__"==n?w:this.__data__[n]},Bn.prototype.has=function(n){return"__proto__"!=n&&eu.call(this.__data__,n)},Bn.prototype.set=function(n,t){return"__proto__"!=n&&(this.__data__[n]=t),this},Dn.prototype.push=function(n){var t=this.data;typeof n=="string"||de(n)?t.set.add(n):t.hash[n]=true},se.Cache=Bn,Nn.after=function(n,t){if(typeof t!="function"){if(typeof n!="function")throw new Xe(T);
66−var r=n;n=t,t=r}return n=bu(n=+n)?n:0,function(){return 1>--n?t.apply(this,arguments):void 0}},Nn.ary=function(n,t,r){return r&&$r(n,t,r)&&(t=w),t=n&&null==t?n.length:ju(+t||0,0),dr(n,E,w,w,w,w,t)},Nn.assign=Lo,Nn.at=io,Nn.before=ce,Nn.bind=xo,Nn.bindAll=bo,Nn.bindKey=Ao,Nn.callback=Le,Nn.chain=te,Nn.chunk=function(n,t,r){t=(r?$r(n,t,r):null==t)?1:ju(wu(t)||1,1),r=0;for(var e=n?n.length:0,u=-1,o=De(du(e/t));r<e;)o[++u]=St(n,r,r+=t);return o},Nn.compact=function(n){for(var t=-1,r=n?n.length:0,e=-1,u=[];++t<r;){
67−var o=n[t];o&&(u[++e]=o)}return u},Nn.constant=function(n){return function(){return n}},Nn.countBy=fo,Nn.create=function(n,t,r){var e=Pu(n);return r&&$r(n,t,r)&&(t=w),t?et(e,t):e},Nn.curry=jo,Nn.curryRight=ko,Nn.debounce=le,Nn.defaults=No,Nn.defaultsDeep=To,Nn.defer=Oo,Nn.delay=Io,Nn.difference=Yu,Nn.drop=Kr,Nn.dropRight=Vr,Nn.dropRightWhile=function(n,t,r){return n&&n.length?Tt(n,br(t,r,3),true,true):[]},Nn.dropWhile=function(n,t,r){return n&&n.length?Tt(n,br(t,r,3),true):[]},Nn.fill=function(n,t,r,e){
68−var u=n?n.length:0;if(!u)return[];for(r&&typeof r!="number"&&$r(n,t,r)&&(r=0,e=u),u=n.length,r=null==r?0:+r||0,0>r&&(r=-r>u?0:u+r),e=e===w||e>u?u:+e||0,0>e&&(e+=u),u=r>e?0:e>>>0,r>>>=0;r<u;)n[r++]=t;return n},Nn.filter=ue,Nn.flatten=function(n,t,r){var e=n?n.length:0;return r&&$r(n,t,r)&&(t=false),e?_t(n,t):[]},Nn.flattenDeep=function(n){return n&&n.length?_t(n,true):[]},Nn.flow=Ro,Nn.flowRight=Eo,Nn.forEach=lo,Nn.forEachRight=so,Nn.forIn=Bo,Nn.forInRight=Do,Nn.forOwn=Mo,Nn.forOwnRight=qo,Nn.functions=Re,
69−Nn.groupBy=po,Nn.indexBy=ho,Nn.initial=function(n){return Vr(n,1)},Nn.intersection=Xu,Nn.invert=function(n,t,r){r&&$r(n,t,r)&&(t=w),r=-1;for(var e=Ko(n),u=e.length,o={};++r<u;){var i=e[r],f=n[i];t?eu.call(o,f)?o[f].push(i):o[f]=[i]:o[f]=i}return o},Nn.invoke=_o,Nn.keys=Ko,Nn.keysIn=Ee,Nn.map=ie,Nn.mapKeys=Vo,Nn.mapValues=Zo,Nn.matches=Te,Nn.matchesProperty=function(n,t){return jt(n,ft(t,true))},Nn.memoize=se,Nn.merge=Fo,Nn.method=ei,Nn.methodOf=ui,Nn.mixin=Pe,Nn.modArgs=Co,Nn.negate=function(n){if(typeof n!="function")throw new Xe(T);
70−return function(){return!n.apply(this,arguments)}},Nn.omit=Yo,Nn.once=function(n){return ce(2,n)},Nn.pairs=Ce,Nn.partial=So,Nn.partialRight=Uo,Nn.partition=vo,Nn.pick=Go,Nn.pluck=function(n,t){return ie(n,Be(t))},Nn.property=Be,Nn.propertyOf=function(n){return function(t){return mt(n,Mr(t),t+"")}},Nn.pull=function(){var n=arguments,t=n[0];if(!t||!t.length)return t;for(var r=0,e=jr(),u=n.length;++r<u;)for(var o=0,i=n[r];-1<(o=e(t,i,o));)vu.call(t,o,1);return t},Nn.pullAt=Hu,Nn.range=function(n,t,r){
71−r&&$r(n,t,r)&&(t=r=w),n=+n||0,r=null==r?1:+r||0,null==t?(t=n,n=0):t=+t||0;var e=-1;t=ju(du((t-n)/(r||1)),0);for(var u=De(t);++e<t;)u[e]=n,n+=r;return u},Nn.rearg=$o,Nn.reject=function(n,t,r){var e=Wo(n)?Zn:pt;return t=br(t,r,3),e(n,function(n,r,e){return!t(n,r,e)})},Nn.remove=function(n,t,r){var e=[];if(!n||!n.length)return e;var u=-1,o=[],i=n.length;for(t=br(t,r,3);++u<i;)r=n[u],t(r,u,n)&&(e.push(r),o.push(u));return Rt(n,o),e},Nn.rest=Jr,Nn.restParam=pe,Nn.set=function(n,t,r){if(null==n)return n;
72−var e=t+"";t=null!=n[e]||Wr(t,n)?[e]:Mr(t);for(var e=-1,u=t.length,o=u-1,i=n;null!=i&&++e<u;){var f=t[e];de(i)&&(e==o?i[f]=r:null==i[f]&&(i[f]=Ur(t[e+1])?[]:{})),i=i[f]}return n},Nn.shuffle=function(n){return fe(n,Cu)},Nn.slice=function(n,t,r){var e=n?n.length:0;return e?(r&&typeof r!="number"&&$r(n,t,r)&&(t=0,r=e),St(n,t,r)):[]},Nn.sortBy=function(n,t,r){if(null==n)return[];r&&$r(n,t,r)&&(t=w);var e=-1;return t=br(t,r,3),n=bt(n,function(n,r,u){return{a:t(n,r,u),b:++e,c:n}}),$t(n,f)},Nn.sortByAll=mo,
73−Nn.sortByOrder=function(n,t,r,e){return null==n?[]:(e&&$r(t,r,e)&&(r=w),Wo(t)||(t=null==t?[]:[t]),Wo(r)||(r=null==r?[]:[r]),Wt(n,t,r))},Nn.spread=function(n){if(typeof n!="function")throw new Xe(T);return function(t){return n.apply(this,t)}},Nn.take=function(n,t,r){return n&&n.length?((r?$r(n,t,r):null==t)&&(t=1),St(n,0,0>t?0:t)):[]},Nn.takeRight=function(n,t,r){var e=n?n.length:0;return e?((r?$r(n,t,r):null==t)&&(t=1),t=e-(+t||0),St(n,0>t?0:t)):[]},Nn.takeRightWhile=function(n,t,r){return n&&n.length?Tt(n,br(t,r,3),false,true):[];
74−},Nn.takeWhile=function(n,t,r){return n&&n.length?Tt(n,br(t,r,3)):[]},Nn.tap=function(n,t,r){return t.call(r,n),n},Nn.throttle=function(n,t,r){var e=true,u=true;if(typeof n!="function")throw new Xe(T);return false===r?e=false:de(r)&&(e="leading"in r?!!r.leading:e,u="trailing"in r?!!r.trailing:u),le(n,t,{leading:e,maxWait:+t,trailing:u})},Nn.thru=re,Nn.times=function(n,t,r){if(n=wu(n),1>n||!bu(n))return[];var e=-1,u=De(ku(n,4294967295));for(t=Dt(t,r,1);++e<n;)4294967295>e?u[e]=t(e):t(e);return u},Nn.toArray=Oe,
75−Nn.toPlainObject=Ie,Nn.transform=function(n,t,r,e){var u=Wo(n)||je(n);return t=br(t,e,4),null==r&&(u||de(n)?(e=n.constructor,r=u?Wo(n)?new e:[]:Pu(ye(e)?e.prototype:w)):r={}),(u?Kn:gt)(n,function(n,e,u){return t(r,n,e,u)}),r},Nn.union=to,Nn.uniq=Xr,Nn.unzip=Hr,Nn.unzipWith=Qr,Nn.values=Se,Nn.valuesIn=function(n){return Nt(n,Ee(n))},Nn.where=function(n,t){return ue(n,At(t))},Nn.without=ro,Nn.wrap=function(n,t){return t=null==t?Ne:t,dr(t,I,w,[n],[])},Nn.xor=function(){for(var n=-1,t=arguments.length;++n<t;){
76−var r=arguments[n];if(Sr(r))var e=e?Hn(ct(e,r),ct(r,e)):r}return e?Lt(e):[]},Nn.zip=eo,Nn.zipObject=ne,Nn.zipWith=uo,Nn.backflow=Eo,Nn.collect=ie,Nn.compose=Eo,Nn.each=lo,Nn.eachRight=so,Nn.extend=Lo,Nn.iteratee=Le,Nn.methods=Re,Nn.object=ne,Nn.select=ue,Nn.tail=Jr,Nn.unique=Xr,Pe(Nn,Nn),Nn.add=function(n,t){return(+n||0)+(+t||0)},Nn.attempt=ri,Nn.camelCase=Jo,Nn.capitalize=function(n){return(n=u(n))&&n.charAt(0).toUpperCase()+n.slice(1)},Nn.ceil=oi,Nn.clone=function(n,t,r,e){return t&&typeof t!="boolean"&&$r(n,t,r)?t=false:typeof t=="function"&&(e=r,
77−r=t,t=false),typeof r=="function"?ft(n,t,Dt(r,e,3)):ft(n,t)},Nn.cloneDeep=function(n,t,r){return typeof t=="function"?ft(n,true,Dt(t,r,3)):ft(n,true)},Nn.deburr=Ue,Nn.endsWith=function(n,t,r){n=u(n),t+="";var e=n.length;return r=r===w?e:ku(0>r?0:+r||0,e),r-=t.length,0<=r&&n.indexOf(t,r)==r},Nn.escape=function(n){return(n=u(n))&&hn.test(n)?n.replace(sn,c):n},Nn.escapeRegExp=function(n){return(n=u(n))&&xn.test(n)?n.replace(wn,l):n||"(?:)"},Nn.every=ee,Nn.find=ao,Nn.findIndex=Gu,Nn.findKey=Po,Nn.findLast=co,
78−Nn.findLastIndex=Ju,Nn.findLastKey=zo,Nn.findWhere=function(n,t){return ao(n,At(t))},Nn.first=Zr,Nn.floor=ii,Nn.get=function(n,t,r){return n=null==n?w:mt(n,Mr(t),t+""),n===w?r:n},Nn.gt=he,Nn.gte=function(n,t){return n>=t},Nn.has=function(n,t){if(null==n)return false;var r=eu.call(n,t);if(!r&&!Wr(t)){if(t=Mr(t),n=1==t.length?n:mt(n,St(t,0,-1)),null==n)return false;t=Gr(t),r=eu.call(n,t)}return r||Lr(n.length)&&Ur(t,n.length)&&(Wo(n)||_e(n)||Ae(n))},Nn.identity=Ne,Nn.includes=oe,Nn.indexOf=Yr,Nn.inRange=function(n,t,r){
79−return t=+t||0,r===w?(r=t,t=0):r=+r||0,n>=ku(t,r)&&n<ju(t,r)},Nn.isArguments=_e,Nn.isArray=Wo,Nn.isBoolean=function(n){return true===n||false===n||h(n)&&ou.call(n)==D},Nn.isDate=function(n){return h(n)&&ou.call(n)==M},Nn.isElement=function(n){return!!n&&1===n.nodeType&&h(n)&&!xe(n)},Nn.isEmpty=function(n){return null==n?true:Sr(n)&&(Wo(n)||Ae(n)||_e(n)||h(n)&&ye(n.splice))?!n.length:!Ko(n).length},Nn.isEqual=ve,Nn.isError=ge,Nn.isFinite=function(n){return typeof n=="number"&&bu(n)},Nn.isFunction=ye,Nn.isMatch=function(n,t,r,e){
80−return r=typeof r=="function"?Dt(r,e,3):w,xt(n,kr(t),r)},Nn.isNaN=function(n){return we(n)&&n!=+n},Nn.isNative=me,Nn.isNull=function(n){return null===n},Nn.isNumber=we,Nn.isObject=de,Nn.isPlainObject=xe,Nn.isRegExp=be,Nn.isString=Ae,Nn.isTypedArray=je,Nn.isUndefined=function(n){return n===w},Nn.kebabCase=Xo,Nn.last=Gr,Nn.lastIndexOf=function(n,t,r){var e=n?n.length:0;if(!e)return-1;var u=e;if(typeof r=="number")u=(0>r?ju(e+r,0):ku(r||0,e-1))+1;else if(r)return u=zt(n,t,true)-1,n=n[u],(t===t?t===n:n!==n)?u:-1;
81−if(t!==t)return p(n,u,true);for(;u--;)if(n[u]===t)return u;return-1},Nn.lt=ke,Nn.lte=function(n,t){return n<=t},Nn.max=fi,Nn.min=ai,Nn.noConflict=function(){return Yn._=iu,this},Nn.noop=ze,Nn.now=wo,Nn.pad=function(n,t,r){n=u(n),t=+t;var e=n.length;return e<t&&bu(t)?(e=(t-e)/2,t=wu(e),e=du(e),r=_r("",e,r),r.slice(0,t)+n+r):n},Nn.padLeft=Ho,Nn.padRight=Qo,Nn.parseInt=function(n,t,r){return(r?$r(n,t,r):null==t)?t=0:t&&(t=+t),n=We(n),Iu(n,t||(On.test(n)?16:10))},Nn.random=function(n,t,r){r&&$r(n,t,r)&&(t=r=w);
82−var e=null==n,u=null==t;return null==r&&(u&&typeof n=="boolean"?(r=n,n=1):typeof t=="boolean"&&(r=t,u=true)),e&&u&&(t=1,u=false),n=+n||0,u?(t=n,n=0):t=+t||0,r||n%1||t%1?(r=Ru(),ku(n+r*(t-n+lu("1e-"+((r+"").length-1))),t)):Et(n,t)},Nn.reduce=go,Nn.reduceRight=yo,Nn.repeat=$e,Nn.result=function(n,t,r){var e=null==n?w:Dr(n)[t];return e===w&&(null==n||Wr(t,n)||(t=Mr(t),n=1==t.length?n:mt(n,St(t,0,-1)),e=null==n?w:Dr(n)[Gr(t)]),e=e===w?r:e),ye(e)?e.call(n):e},Nn.round=ci,Nn.runInContext=m,Nn.size=function(n){
83−var t=n?Vu(n):0;return Lr(t)?t:Ko(n).length},Nn.snakeCase=ni,Nn.some=ae,Nn.sortedIndex=Qu,Nn.sortedLastIndex=no,Nn.startCase=ti,Nn.startsWith=function(n,t,r){return n=u(n),r=null==r?0:ku(0>r?0:+r||0,n.length),n.lastIndexOf(t,r)==r},Nn.sum=function(n,t,r){if(r&&$r(n,t,r)&&(t=w),t=br(t,r,3),1==t.length){n=Wo(n)?n:Br(n),r=n.length;for(var e=0;r--;)e+=+t(n[r])||0;n=e}else n=Ft(n,t);return n},Nn.template=function(n,t,r){var e=Nn.templateSettings;r&&$r(n,t,r)&&(t=r=w),n=u(n),t=rt(et({},r||t),e,tt),r=rt(et({},t.imports),e.imports,tt);
84−var o,i,f=Ko(r),a=Nt(r,f),c=0;r=t.interpolate||Cn;var l="__p+='";r=Ge((t.escape||Cn).source+"|"+r.source+"|"+(r===gn?jn:Cn).source+"|"+(t.evaluate||Cn).source+"|$","g");var p="sourceURL"in t?"//# sourceURL="+t.sourceURL+"\n":"";if(n.replace(r,function(t,r,e,u,f,a){return e||(e=u),l+=n.slice(c,a).replace(Sn,s),r&&(o=true,l+="'+__e("+r+")+'"),f&&(i=true,l+="';"+f+";\n__p+='"),e&&(l+="'+((__t=("+e+"))==null?'':__t)+'"),c=a+t.length,t}),l+="';",(t=t.variable)||(l="with(obj){"+l+"}"),l=(i?l.replace(fn,""):l).replace(an,"$1").replace(cn,"$1;"),
85−l="function("+(t||"obj")+"){"+(t?"":"obj||(obj={});")+"var __t,__p=''"+(o?",__e=_.escape":"")+(i?",__j=Array.prototype.join;function print(){__p+=__j.call(arguments,'')}":";")+l+"return __p}",t=ri(function(){return Ke(f,p+"return "+l).apply(w,a)}),t.source=l,ge(t))throw t;return t},Nn.trim=We,Nn.trimLeft=function(n,t,r){var e=n;return(n=u(n))?n.slice((r?$r(e,t,r):null==t)?g(n):o(n,t+"")):n},Nn.trimRight=function(n,t,r){var e=n;return(n=u(n))?(r?$r(e,t,r):null==t)?n.slice(0,y(n)+1):n.slice(0,i(n,t+"")+1):n;
86−},Nn.trunc=function(n,t,r){r&&$r(n,t,r)&&(t=w);var e=S;if(r=U,null!=t)if(de(t)){var o="separator"in t?t.separator:o,e="length"in t?+t.length||0:e;r="omission"in t?u(t.omission):r}else e=+t||0;if(n=u(n),e>=n.length)return n;if(e-=r.length,1>e)return r;if(t=n.slice(0,e),null==o)return t+r;if(be(o)){if(n.slice(e).search(o)){var i,f=n.slice(0,e);for(o.global||(o=Ge(o.source,(kn.exec(o)||"")+"g")),o.lastIndex=0;n=o.exec(f);)i=n.index;t=t.slice(0,null==i?e:i)}}else n.indexOf(o,e)!=e&&(o=t.lastIndexOf(o),
87−-1<o&&(t=t.slice(0,o)));return t+r},Nn.unescape=function(n){return(n=u(n))&&pn.test(n)?n.replace(ln,d):n},Nn.uniqueId=function(n){var t=++uu;return u(n)+t},Nn.words=Fe,Nn.all=ee,Nn.any=ae,Nn.contains=oe,Nn.eq=ve,Nn.detect=ao,Nn.foldl=go,Nn.foldr=yo,Nn.head=Zr,Nn.include=oe,Nn.inject=go,Pe(Nn,function(){var n={};return gt(Nn,function(t,r){Nn.prototype[r]||(n[r]=t)}),n}(),false),Nn.sample=fe,Nn.prototype.sample=function(n){return this.__chain__||null!=n?this.thru(function(t){return fe(t,n)}):fe(this.value());
88−},Nn.VERSION=x,Kn("bind bindKey curry curryRight partial partialRight".split(" "),function(n){Nn[n].placeholder=Nn}),Kn(["drop","take"],function(n,t){zn.prototype[n]=function(r){var e=this.__filtered__;if(e&&!t)return new zn(this);r=null==r?1:ju(wu(r)||0,0);var u=this.clone();return e?u.__takeCount__=ku(u.__takeCount__,r):u.__views__.push({size:r,type:n+(0>u.__dir__?"Right":"")}),u},zn.prototype[n+"Right"]=function(t){return this.reverse()[n](t).reverse()}}),Kn(["filter","map","takeWhile"],function(n,t){
89−var r=t+1,e=r!=N;zn.prototype[n]=function(n,t){var u=this.clone();return u.__iteratees__.push({iteratee:br(n,t,1),type:r}),u.__filtered__=u.__filtered__||e,u}}),Kn(["first","last"],function(n,t){var r="take"+(t?"Right":"");zn.prototype[n]=function(){return this[r](1).value()[0]}}),Kn(["initial","rest"],function(n,t){var r="drop"+(t?"":"Right");zn.prototype[n]=function(){return this.__filtered__?new zn(this):this[r](1)}}),Kn(["pluck","where"],function(n,t){var r=t?"filter":"map",e=t?At:Be;zn.prototype[n]=function(n){
90−return this[r](e(n))}}),zn.prototype.compact=function(){return this.filter(Ne)},zn.prototype.reject=function(n,t){return n=br(n,t,1),this.filter(function(t){return!n(t)})},zn.prototype.slice=function(n,t){n=null==n?0:+n||0;var r=this;return r.__filtered__&&(0<n||0>t)?new zn(r):(0>n?r=r.takeRight(-n):n&&(r=r.drop(n)),t!==w&&(t=+t||0,r=0>t?r.dropRight(-t):r.take(t-n)),r)},zn.prototype.takeRightWhile=function(n,t){return this.reverse().takeWhile(n,t).reverse()},zn.prototype.toArray=function(){return this.take(Cu);
91−},gt(zn.prototype,function(n,t){var r=/^(?:filter|map|reject)|While$/.test(t),e=/^(?:first|last)$/.test(t),u=Nn[e?"take"+("last"==t?"Right":""):t];u&&(Nn.prototype[t]=function(){var t=e?[1]:arguments,o=this.__chain__,i=this.__wrapped__,f=!!this.__actions__.length,a=i instanceof zn,c=t[0],l=a||Wo(i);l&&r&&typeof c=="function"&&1!=c.length&&(a=l=false);var s=function(n){return e&&o?u(n,1)[0]:u.apply(w,Hn([n],t))},c={func:re,args:[s],thisArg:w},f=a&&!f;return e&&!o?f?(i=i.clone(),i.__actions__.push(c),
92−n.call(i)):u.call(w,this.value())[0]:!e&&l?(i=f?i:new zn(this),i=n.apply(i,t),i.__actions__.push(c),new Pn(i,o)):this.thru(s)})}),Kn("join pop push replace shift sort splice split unshift".split(" "),function(n){var t=(/^(?:replace|split)$/.test(n)?tu:He)[n],r=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",e=!Tu.spliceObjects&&/^(?:pop|shift|splice)$/.test(n),u=/^(?:join|pop|replace|shift)$/.test(n),o=e?function(){var n=t.apply(this,arguments);return 0===this.length&&delete this[0],n}:t;Nn.prototype[n]=function(){
93−var n=arguments;return u&&!this.__chain__?o.apply(this.value(),n):this[r](function(t){return o.apply(t,n)})}}),gt(zn.prototype,function(n,t){var r=Nn[t];if(r){var e=r.name+"";(Fu[e]||(Fu[e]=[])).push({name:t,func:r})}}),Fu[hr(w,A).name]=[{name:"wrapper",func:w}],zn.prototype.clone=function(){var n=new zn(this.__wrapped__);return n.__actions__=qn(this.__actions__),n.__dir__=this.__dir__,n.__filtered__=this.__filtered__,n.__iteratees__=qn(this.__iteratees__),n.__takeCount__=this.__takeCount__,n.__views__=qn(this.__views__),
94−n},zn.prototype.reverse=function(){if(this.__filtered__){var n=new zn(this);n.__dir__=-1,n.__filtered__=true}else n=this.clone(),n.__dir__*=-1;return n},zn.prototype.value=function(){var n,t=this.__wrapped__.value(),r=this.__dir__,e=Wo(t),u=0>r,o=e?t.length:0;n=0;for(var i=o,f=this.__views__,a=-1,c=f.length;++a<c;){var l=f[a],s=l.size;switch(l.type){case"drop":n+=s;break;case"dropRight":i-=s;break;case"take":i=ku(i,n+s);break;case"takeRight":n=ju(n,i-s)}}if(n={start:n,end:i},i=n.start,f=n.end,n=f-i,
95−u=u?f:i-1,i=this.__iteratees__,f=i.length,a=0,c=ku(n,this.__takeCount__),!e||o<F||o==n&&c==n)return Pt(t,this.__actions__);e=[];n:for(;n--&&a<c;){for(u+=r,o=-1,l=t[u];++o<f;){var p=i[o],s=p.type,p=p.iteratee(l);if(s==N)l=p;else if(!p){if(s==L)continue n;break n}}e[a++]=l}return e},Nn.prototype.chain=function(){return te(this)},Nn.prototype.commit=function(){return new Pn(this.value(),this.__chain__)},Nn.prototype.concat=oo,Nn.prototype.plant=function(n){for(var t,r=this;r instanceof Tn;){var e=qr(r);
96−t?u.__wrapped__=e:t=e;var u=e,r=r.__wrapped__}return u.__wrapped__=n,t},Nn.prototype.reverse=function(){var n=this.__wrapped__,t=function(n){return n.reverse()};return n instanceof zn?(this.__actions__.length&&(n=new zn(this)),n=n.reverse(),n.__actions__.push({func:re,args:[t],thisArg:w}),new Pn(n,this.__chain__)):this.thru(t)},Nn.prototype.toString=function(){return this.value()+""},Nn.prototype.run=Nn.prototype.toJSON=Nn.prototype.valueOf=Nn.prototype.value=function(){return Pt(this.__wrapped__,this.__actions__);
97−},Nn.prototype.collect=Nn.prototype.map,Nn.prototype.head=Nn.prototype.first,Nn.prototype.select=Nn.prototype.filter,Nn.prototype.tail=Nn.prototype.rest,Nn}var w,x="3.10.1",b=1,A=2,j=4,k=8,O=16,I=32,R=64,E=128,C=256,S=30,U="...",$=150,W=16,F=200,L=1,N=2,T="Expected a function",P="__lodash_placeholder__",z="[object Arguments]",B="[object Array]",D="[object Boolean]",M="[object Date]",q="[object Error]",K="[object Function]",V="[object Number]",Z="[object Object]",Y="[object RegExp]",G="[object String]",J="[object ArrayBuffer]",X="[object Float32Array]",H="[object Float64Array]",Q="[object Int8Array]",nn="[object Int16Array]",tn="[object Int32Array]",rn="[object Uint8Array]",en="[object Uint8ClampedArray]",un="[object Uint16Array]",on="[object Uint32Array]",fn=/\b__p\+='';/g,an=/\b(__p\+=)''\+/g,cn=/(__e\(.*?\)|\b__t\))\+'';/g,ln=/&(?:amp|lt|gt|quot|#39|#96);/g,sn=/[&<>"'`]/g,pn=RegExp(ln.source),hn=RegExp(sn.source),_n=/<%-([\s\S]+?)%>/g,vn=/<%([\s\S]+?)%>/g,gn=/<%=([\s\S]+?)%>/g,yn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\n\\]|\\.)*?\1)\]/,dn=/^\w*$/,mn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\n\\]|\\.)*?)\2)\]/g,wn=/^[:!,]|[\\^$.*+?()[\]{}|\/]|(^[0-9a-fA-Fnrtuvx])|([\n\r\u2028\u2029])/g,xn=RegExp(wn.source),bn=/[\u0300-\u036f\ufe20-\ufe23]/g,An=/\\(\\)?/g,jn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,kn=/\w*$/,On=/^0[xX]/,In=/^\[object .+?Constructor\]$/,Rn=/^\d+$/,En=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,Cn=/($^)/,Sn=/['\n\r\u2028\u2029\\]/g,Un=RegExp("[A-Z\\xc0-\\xd6\\xd8-\\xde]+(?=[A-Z\\xc0-\\xd6\\xd8-\\xde][a-z\\xdf-\\xf6\\xf8-\\xff]+)|[A-Z\\xc0-\\xd6\\xd8-\\xde]?[a-z\\xdf-\\xf6\\xf8-\\xff]+|[A-Z\\xc0-\\xd6\\xd8-\\xde]+|[0-9]+","g"),$n="Array ArrayBuffer Date Error Float32Array Float64Array Function Int8Array Int16Array Int32Array Math Number Object RegExp Set String _ clearTimeout isFinite parseFloat parseInt setTimeout TypeError Uint8Array Uint8ClampedArray Uint16Array Uint32Array WeakMap".split(" "),Wn="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),Fn={};
98−Fn[X]=Fn[H]=Fn[Q]=Fn[nn]=Fn[tn]=Fn[rn]=Fn[en]=Fn[un]=Fn[on]=true,Fn[z]=Fn[B]=Fn[J]=Fn[D]=Fn[M]=Fn[q]=Fn[K]=Fn["[object Map]"]=Fn[V]=Fn[Z]=Fn[Y]=Fn["[object Set]"]=Fn[G]=Fn["[object WeakMap]"]=false;var Ln={};Ln[z]=Ln[B]=Ln[J]=Ln[D]=Ln[M]=Ln[X]=Ln[H]=Ln[Q]=Ln[nn]=Ln[tn]=Ln[V]=Ln[Z]=Ln[Y]=Ln[G]=Ln[rn]=Ln[en]=Ln[un]=Ln[on]=true,Ln[q]=Ln[K]=Ln["[object Map]"]=Ln["[object Set]"]=Ln["[object WeakMap]"]=false;var Nn={"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a",
99−"\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y",
100−"\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss"},Tn={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","`":"&#96;"},Pn={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'","&#96;":"`"},zn={"function":true,object:true},Bn={0:"x30",1:"x31",2:"x32",3:"x33",4:"x34",5:"x35",6:"x36",7:"x37",8:"x38",9:"x39",A:"x41",B:"x42",C:"x43",D:"x44",E:"x45",F:"x46",a:"x61",b:"x62",c:"x63",d:"x64",e:"x65",f:"x66",n:"x6e",r:"x72",t:"x74",u:"x75",v:"x76",x:"x78"},Dn={"\\":"\\",
101−"'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Mn=zn[typeof exports]&&exports&&!exports.nodeType&&exports,qn=zn[typeof module]&&module&&!module.nodeType&&module,Kn=zn[typeof self]&&self&&self.Object&&self,Vn=zn[typeof window]&&window&&window.Object&&window,Zn=qn&&qn.exports===Mn&&Mn,Yn=Mn&&qn&&typeof global=="object"&&global&&global.Object&&global||Vn!==(this&&this.window)&&Vn||Kn||this,Gn=function(){try{Object({toString:0}+"")}catch(n){return function(){return false}}return function(n){
102−return typeof n.toString!="function"&&typeof(n+"")=="string"}}(),Jn=m();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(Yn._=Jn, define(function(){return Jn})):Mn&&qn?Zn?(qn.exports=Jn)._=Jn:Mn._=Jn:Yn._=Jn}).call(this);
swagger-dist-2.1.5/lib/marked.jsdeleted−1272
@@ -1,1272 +0,0 @@
1−/**
2− * marked - a markdown parser
3− * Copyright (c) 2011-2014, Christopher Jeffrey. (MIT Licensed)
4− * https://github.com/chjj/marked
5− */
6−
7−;(function() {
8−
9−/**
10− * Block-Level Grammar
11− */
12−
13−var block = {
14− newline: /^\n+/,
15− code: /^( {4}[^\n]+\n*)+/,
16− fences: noop,
17− hr: /^( *[-*_]){3,} *(?:\n+|$)/,
18− heading: /^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,
19− nptable: noop,
20− lheading: /^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,
21− blockquote: /^( *>[^\n]+(\n(?!def)[^\n]+)*\n*)+/,
22− list: /^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,
23− html: /^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,
24− def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +["(]([^\n]+)[")])? *(?:\n+|$)/,
25− table: noop,
26− paragraph: /^((?:[^\n]+\n?(?!hr|heading|lheading|blockquote|tag|def))+)\n*/,
27− text: /^[^\n]+/
28−};
29−
30−block.bullet = /(?:[*+-]|\d+\.)/;
31−block.item = /^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/;
32−block.item = replace(block.item, 'gm')
33− (/bull/g, block.bullet)
34− ();
35−
36−block.list = replace(block.list)
37− (/bull/g, block.bullet)
38− ('hr', '\\n+(?=\\1?(?:[-*_] *){3,}(?:\\n+|$))')
39− ('def', '\\n+(?=' + block.def.source + ')')
40− ();
41−
42−block.blockquote = replace(block.blockquote)
43− ('def', block.def)
44− ();
45−
46−block._tag = '(?!(?:'
47− + 'a|em|strong|small|s|cite|q|dfn|abbr|data|time|code'
48− + '|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo'
49− + '|span|br|wbr|ins|del|img)\\b)\\w+(?!:/|[^\\w\\s@]*@)\\b';
50−
51−block.html = replace(block.html)
52− ('comment', /<!--[\s\S]*?-->/)
53− ('closed', /<(tag)[\s\S]+?<\/\1>/)
54− ('closing', /<tag(?:"[^"]*"|'[^']*'|[^'">])*?>/)
55− (/tag/g, block._tag)
56− ();
57−
58−block.paragraph = replace(block.paragraph)
59− ('hr', block.hr)
60− ('heading', block.heading)
61− ('lheading', block.lheading)
62− ('blockquote', block.blockquote)
63− ('tag', '<' + block._tag)
64− ('def', block.def)
65− ();
66−
67−/**
68− * Normal Block Grammar
69− */
70−
71−block.normal = merge({}, block);
72−
73−/**
74− * GFM Block Grammar
75− */
76−
77−block.gfm = merge({}, block.normal, {
78− fences: /^ *(`{3,}|~{3,}) *(\S+)? *\n([\s\S]+?)\s*\1 *(?:\n+|$)/,
79− paragraph: /^/
80−});
81−
82−block.gfm.paragraph = replace(block.paragraph)
83− ('(?!', '(?!'
84− + block.gfm.fences.source.replace('\\1', '\\2') + '|'
85− + block.list.source.replace('\\1', '\\3') + '|')
86− ();
87−
88−/**
89− * GFM + Tables Block Grammar
90− */
91−
92−block.tables = merge({}, block.gfm, {
93− nptable: /^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/,
94− table: /^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/
95−});
96−
97−/**
98− * Block Lexer
99− */
100−
101−function Lexer(options) {
102− this.tokens = [];
103− this.tokens.links = {};
104− this.options = options || marked.defaults;
105− this.rules = block.normal;
106−
107− if (this.options.gfm) {
108− if (this.options.tables) {
109− this.rules = block.tables;
110− } else {
111− this.rules = block.gfm;
112− }
113− }
114−}
115−
116−/**
117− * Expose Block Rules
118− */
119−
120−Lexer.rules = block;
121−
122−/**
123− * Static Lex Method
124− */
125−
126−Lexer.lex = function(src, options) {
127− var lexer = new Lexer(options);
128− return lexer.lex(src);
129−};
130−
131−/**
132− * Preprocessing
133− */
134−
135−Lexer.prototype.lex = function(src) {
136− src = src
137− .replace(/\r\n|\r/g, '\n')
138− .replace(/\t/g, ' ')
139− .replace(/\u00a0/g, ' ')
140− .replace(/\u2424/g, '\n');
141−
142− return this.token(src, true);
143−};
144−
145−/**
146− * Lexing
147− */
148−
149−Lexer.prototype.token = function(src, top, bq) {
150− var src = src.replace(/^ +$/gm, '')
151− , next
152− , loose
153− , cap
154− , bull
155− , b
156− , item
157− , space
158− , i
159− , l;
160−
161− while (src) {
162− // newline
163− if (cap = this.rules.newline.exec(src)) {
164− src = src.substring(cap[0].length);
165− if (cap[0].length > 1) {
166− this.tokens.push({
167− type: 'space'
168− });
169− }
170− }
171−
172− // code
173− if (cap = this.rules.code.exec(src)) {
174− src = src.substring(cap[0].length);
175− cap = cap[0].replace(/^ {4}/gm, '');
176− this.tokens.push({
177− type: 'code',
178− text: !this.options.pedantic
179− ? cap.replace(/\n+$/, '')
180− : cap
181− });
182− continue;
183− }
184−
185− // fences (gfm)
186− if (cap = this.rules.fences.exec(src)) {
187− src = src.substring(cap[0].length);
188− this.tokens.push({
189− type: 'code',
190− lang: cap[2],
191− text: cap[3]
192− });
193− continue;
194− }
195−
196− // heading
197− if (cap = this.rules.heading.exec(src)) {
198− src = src.substring(cap[0].length);
199− this.tokens.push({
200− type: 'heading',
201− depth: cap[1].length,
202− text: cap[2]
203− });
204− continue;
205− }
206−
207− // table no leading pipe (gfm)
208− if (top && (cap = this.rules.nptable.exec(src))) {
209− src = src.substring(cap[0].length);
210−
211− item = {
212− type: 'table',
213− header: cap[1].replace(/^ *| *\| *$/g, '').split(/ *\| */),
214− align: cap[2].replace(/^ *|\| *$/g, '').split(/ *\| */),
215− cells: cap[3].replace(/\n$/, '').split('\n')
216− };
217−
218− for (i = 0; i < item.align.length; i++) {
219− if (/^ *-+: *$/.test(item.align[i])) {
220− item.align[i] = 'right';
221− } else if (/^ *:-+: *$/.test(item.align[i])) {
222− item.align[i] = 'center';
223− } else if (/^ *:-+ *$/.test(item.align[i])) {
224− item.align[i] = 'left';
225− } else {
226− item.align[i] = null;
227− }
228− }
229−
230− for (i = 0; i < item.cells.length; i++) {
231− item.cells[i] = item.cells[i].split(/ *\| */);
232− }
233−
234− this.tokens.push(item);
235−
236− continue;
237− }
238−
239− // lheading
240− if (cap = this.rules.lheading.exec(src)) {
241− src = src.substring(cap[0].length);
242− this.tokens.push({
243− type: 'heading',
244− depth: cap[2] === '=' ? 1 : 2,
245− text: cap[1]
246− });
247− continue;
248− }
249−
250− // hr
251− if (cap = this.rules.hr.exec(src)) {
252− src = src.substring(cap[0].length);
253− this.tokens.push({
254− type: 'hr'
255− });
256− continue;
257− }
258−
259− // blockquote
260− if (cap = this.rules.blockquote.exec(src)) {
261− src = src.substring(cap[0].length);
262−
263− this.tokens.push({
264− type: 'blockquote_start'
265− });
266−
267− cap = cap[0].replace(/^ *> ?/gm, '');
268−
269− // Pass `top` to keep the current
270− // "toplevel" state. This is exactly
271− // how markdown.pl works.
272− this.token(cap, top, true);
273−
274− this.tokens.push({
275− type: 'blockquote_end'
276− });
277−
278− continue;
279− }
280−
281− // list
282− if (cap = this.rules.list.exec(src)) {
283− src = src.substring(cap[0].length);
284− bull = cap[2];
285−
286− this.tokens.push({
287− type: 'list_start',
288− ordered: bull.length > 1
289− });
290−
291− // Get each top-level item.
292− cap = cap[0].match(this.rules.item);
293−
294− next = false;
295− l = cap.length;
296− i = 0;
297−
298− for (; i < l; i++) {
299− item = cap[i];
300−
301− // Remove the list item's bullet
302− // so it is seen as the next token.
303− space = item.length;
304− item = item.replace(/^ *([*+-]|\d+\.) +/, '');
305−
306− // Outdent whatever the
307− // list item contains. Hacky.
308− if (~item.indexOf('\n ')) {
309− space -= item.length;
310− item = !this.options.pedantic
311− ? item.replace(new RegExp('^ {1,' + space + '}', 'gm'), '')
312− : item.replace(/^ {1,4}/gm, '');
313− }
314−
315− // Determine whether the next list item belongs here.
316− // Backpedal if it does not belong in this list.
317− if (this.options.smartLists && i !== l - 1) {
318− b = block.bullet.exec(cap[i + 1])[0];
319− if (bull !== b && !(bull.length > 1 && b.length > 1)) {
320− src = cap.slice(i + 1).join('\n') + src;
321− i = l - 1;
322− }
323− }
324−
325− // Determine whether item is loose or not.
326− // Use: /(^|\n)(?! )[^\n]+\n\n(?!\s*$)/
327− // for discount behavior.
328− loose = next || /\n\n(?!\s*$)/.test(item);
329− if (i !== l - 1) {
330− next = item.charAt(item.length - 1) === '\n';
331− if (!loose) loose = next;
332− }
333−
334− this.tokens.push({
335− type: loose
336− ? 'loose_item_start'
337− : 'list_item_start'
338− });
339−
340− // Recurse.
341− this.token(item, false, bq);
342−
343− this.tokens.push({
344− type: 'list_item_end'
345− });
346− }
347−
348− this.tokens.push({
349− type: 'list_end'
350− });
351−
352− continue;
353− }
354−
355− // html
356− if (cap = this.rules.html.exec(src)) {
357− src = src.substring(cap[0].length);
358− this.tokens.push({
359− type: this.options.sanitize
360− ? 'paragraph'
361− : 'html',
362− pre: cap[1] === 'pre' || cap[1] === 'script' || cap[1] === 'style',
363− text: cap[0]
364− });
365− continue;
366− }
367−
368− // def
369− if ((!bq && top) && (cap = this.rules.def.exec(src))) {
370− src = src.substring(cap[0].length);
371− this.tokens.links[cap[1].toLowerCase()] = {
372− href: cap[2],
373− title: cap[3]
374− };
375− continue;
376− }
377−
378− // table (gfm)
379− if (top && (cap = this.rules.table.exec(src))) {
380− src = src.substring(cap[0].length);
381−
382− item = {
383− type: 'table',
384− header: cap[1].replace(/^ *| *\| *$/g, '').split(/ *\| */),
385− align: cap[2].replace(/^ *|\| *$/g, '').split(/ *\| */),
386− cells: cap[3].replace(/(?: *\| *)?\n$/, '').split('\n')
387− };
388−
389− for (i = 0; i < item.align.length; i++) {
390− if (/^ *-+: *$/.test(item.align[i])) {
391− item.align[i] = 'right';
392− } else if (/^ *:-+: *$/.test(item.align[i])) {
393− item.align[i] = 'center';
394− } else if (/^ *:-+ *$/.test(item.align[i])) {
395− item.align[i] = 'left';
396− } else {
397− item.align[i] = null;
398− }
399− }
400−
401− for (i = 0; i < item.cells.length; i++) {
402− item.cells[i] = item.cells[i]
403− .replace(/^ *\| *| *\| *$/g, '')
404− .split(/ *\| */);
405− }
406−
407− this.tokens.push(item);
408−
409− continue;
410− }
411−
412− // top-level paragraph
413− if (top && (cap = this.rules.paragraph.exec(src))) {
414− src = src.substring(cap[0].length);
415− this.tokens.push({
416− type: 'paragraph',
417− text: cap[1].charAt(cap[1].length - 1) === '\n'
418− ? cap[1].slice(0, -1)
419− : cap[1]
420− });
421− continue;
422− }
423−
424− // text
425− if (cap = this.rules.text.exec(src)) {
426− // Top-level should never reach here.
427− src = src.substring(cap[0].length);
428− this.tokens.push({
429− type: 'text',
430− text: cap[0]
431− });
432− continue;
433− }
434−
435− if (src) {
436− throw new
437− Error('Infinite loop on byte: ' + src.charCodeAt(0));
438− }
439− }
440−
441− return this.tokens;
442−};
443−
444−/**
445− * Inline-Level Grammar
446− */
447−
448−var inline = {
449− escape: /^\\([\\`*{}\[\]()#+\-.!_>])/,
450− autolink: /^<([^ >]+(@|:\/)[^ >]+)>/,
451− url: noop,
452− tag: /^<!--[\s\S]*?-->|^<\/?\w+(?:"[^"]*"|'[^']*'|[^'">])*?>/,
453− link: /^!?\[(inside)\]\(href\)/,
454− reflink: /^!?\[(inside)\]\s*\[([^\]]*)\]/,
455− nolink: /^!?\[((?:\[[^\]]*\]|[^\[\]])*)\]/,
456− strong: /^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/,
457− em: /^\b_((?:__|[\s\S])+?)_\b|^\*((?:\*\*|[\s\S])+?)\*(?!\*)/,
458− code: /^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,
459− br: /^ {2,}\n(?!\s*$)/,
460− del: noop,
461− text: /^[\s\S]+?(?=[\\<!\[_*`]| {2,}\n|$)/
462−};
463−
464−inline._inside = /(?:\[[^\]]*\]|[^\[\]]|\](?=[^\[]*\]))*/;
465−inline._href = /\s*<?([\s\S]*?)>?(?:\s+['"]([\s\S]*?)['"])?\s*/;
466−
467−inline.link = replace(inline.link)
468− ('inside', inline._inside)
469− ('href', inline._href)
470− ();
471−
472−inline.reflink = replace(inline.reflink)
473− ('inside', inline._inside)
474− ();
475−
476−/**
477− * Normal Inline Grammar
478− */
479−
480−inline.normal = merge({}, inline);
481−
482−/**
483− * Pedantic Inline Grammar
484− */
485−
486−inline.pedantic = merge({}, inline.normal, {
487− strong: /^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,
488− em: /^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/
489−});
490−
491−/**
492− * GFM Inline Grammar
493− */
494−
495−inline.gfm = merge({}, inline.normal, {
496− escape: replace(inline.escape)('])', '~|])')(),
497− url: /^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,
498− del: /^~~(?=\S)([\s\S]*?\S)~~/,
499− text: replace(inline.text)
500− (']|', '~]|')
501− ('|', '|https?://|')
502− ()
503−});
504−
505−/**
506− * GFM + Line Breaks Inline Grammar
507− */
508−
509−inline.breaks = merge({}, inline.gfm, {
510− br: replace(inline.br)('{2,}', '*')(),
511− text: replace(inline.gfm.text)('{2,}', '*')()
512−});
513−
514−/**
515− * Inline Lexer & Compiler
516− */
517−
518−function InlineLexer(links, options) {
519− this.options = options || marked.defaults;
520− this.links = links;
521− this.rules = inline.normal;
522− this.renderer = this.options.renderer || new Renderer;
523− this.renderer.options = this.options;
524−
525− if (!this.links) {
526− throw new
527− Error('Tokens array requires a `links` property.');
528− }
529−
530− if (this.options.gfm) {
531− if (this.options.breaks) {
532− this.rules = inline.breaks;
533− } else {
534− this.rules = inline.gfm;
535− }
536− } else if (this.options.pedantic) {
537− this.rules = inline.pedantic;
538− }
539−}
540−
541−/**
542− * Expose Inline Rules
543− */
544−
545−InlineLexer.rules = inline;
546−
547−/**
548− * Static Lexing/Compiling Method
549− */
550−
551−InlineLexer.output = function(src, links, options) {
552− var inline = new InlineLexer(links, options);
553− return inline.output(src);
554−};
555−
556−/**
557− * Lexing/Compiling
558− */
559−
560−InlineLexer.prototype.output = function(src) {
561− var out = ''
562− , link
563− , text
564− , href
565− , cap;
566−
567− while (src) {
568− // escape
569− if (cap = this.rules.escape.exec(src)) {
570− src = src.substring(cap[0].length);
571− out += cap[1];
572− continue;
573− }
574−
575− // autolink
576− if (cap = this.rules.autolink.exec(src)) {
577− src = src.substring(cap[0].length);
578− if (cap[2] === '@') {
579− text = cap[1].charAt(6) === ':'
580− ? this.mangle(cap[1].substring(7))
581− : this.mangle(cap[1]);
582− href = this.mangle('mailto:') + text;
583− } else {
584− text = escape(cap[1]);
585− href = text;
586− }
587− out += this.renderer.link(href, null, text);
588− continue;
589− }
590−
591− // url (gfm)
592− if (!this.inLink && (cap = this.rules.url.exec(src))) {
593− src = src.substring(cap[0].length);
594− text = escape(cap[1]);
595− href = text;
596− out += this.renderer.link(href, null, text);
597− continue;
598− }
599−
600− // tag
601− if (cap = this.rules.tag.exec(src)) {
602− if (!this.inLink && /^<a /i.test(cap[0])) {
603− this.inLink = true;
604− } else if (this.inLink && /^<\/a>/i.test(cap[0])) {
605− this.inLink = false;
606− }
607− src = src.substring(cap[0].length);
608− out += this.options.sanitize
609− ? escape(cap[0])
610− : cap[0];
611− continue;
612− }
613−
614− // link
615− if (cap = this.rules.link.exec(src)) {
616− src = src.substring(cap[0].length);
617− this.inLink = true;
618− out += this.outputLink(cap, {
619− href: cap[2],
620− title: cap[3]
621− });
622− this.inLink = false;
623− continue;
624− }
625−
626− // reflink, nolink
627− if ((cap = this.rules.reflink.exec(src))
628− || (cap = this.rules.nolink.exec(src))) {
629− src = src.substring(cap[0].length);
630− link = (cap[2] || cap[1]).replace(/\s+/g, ' ');
631− link = this.links[link.toLowerCase()];
632− if (!link || !link.href) {
633− out += cap[0].charAt(0);
634− src = cap[0].substring(1) + src;
635− continue;
636− }
637− this.inLink = true;
638− out += this.outputLink(cap, link);
639− this.inLink = false;
640− continue;
641− }
642−
643− // strong
644− if (cap = this.rules.strong.exec(src)) {
645− src = src.substring(cap[0].length);
646− out += this.renderer.strong(this.output(cap[2] || cap[1]));
647− continue;
648− }
649−
650− // em
651− if (cap = this.rules.em.exec(src)) {
652− src = src.substring(cap[0].length);
653− out += this.renderer.em(this.output(cap[2] || cap[1]));
654− continue;
655− }
656−
657− // code
658− if (cap = this.rules.code.exec(src)) {
659− src = src.substring(cap[0].length);
660− out += this.renderer.codespan(escape(cap[2], true));
661− continue;
662− }
663−
664− // br
665− if (cap = this.rules.br.exec(src)) {
666− src = src.substring(cap[0].length);
667− out += this.renderer.br();
668− continue;
669− }
670−
671− // del (gfm)
672− if (cap = this.rules.del.exec(src)) {
673− src = src.substring(cap[0].length);
674− out += this.renderer.del(this.output(cap[1]));
675− continue;
676− }
677−
678− // text
679− if (cap = this.rules.text.exec(src)) {
680− src = src.substring(cap[0].length);
681− out += escape(this.smartypants(cap[0]));
682− continue;
683− }
684−
685− if (src) {
686− throw new
687− Error('Infinite loop on byte: ' + src.charCodeAt(0));
688− }
689− }
690−
691− return out;
692−};
693−
694−/**
695− * Compile Link
696− */
697−
698−InlineLexer.prototype.outputLink = function(cap, link) {
699− var href = escape(link.href)
700− , title = link.title ? escape(link.title) : null;
701−
702− return cap[0].charAt(0) !== '!'
703− ? this.renderer.link(href, title, this.output(cap[1]))
704− : this.renderer.image(href, title, escape(cap[1]));
705−};
706−
707−/**
708− * Smartypants Transformations
709− */
710−
711−InlineLexer.prototype.smartypants = function(text) {
712− if (!this.options.smartypants) return text;
713− return text
714− // em-dashes
715− .replace(/--/g, '\u2014')
716− // opening singles
717− .replace(/(^|[-\u2014/(\[{"\s])'/g, '$1\u2018')
718− // closing singles & apostrophes
719− .replace(/'/g, '\u2019')
720− // opening doubles
721− .replace(/(^|[-\u2014/(\[{\u2018\s])"/g, '$1\u201c')
722− // closing doubles
723− .replace(/"/g, '\u201d')
724− // ellipses
725− .replace(/\.{3}/g, '\u2026');
726−};
727−
728−/**
729− * Mangle Links
730− */
731−
732−InlineLexer.prototype.mangle = function(text) {
733− var out = ''
734− , l = text.length
735− , i = 0
736− , ch;
737−
738− for (; i < l; i++) {
739− ch = text.charCodeAt(i);
740− if (Math.random() > 0.5) {
741− ch = 'x' + ch.toString(16);
742− }
743− out += '&#' + ch + ';';
744− }
745−
746− return out;
747−};
748−
749−/**
750− * Renderer
751− */
752−
753−function Renderer(options) {
754− this.options = options || {};
755−}
756−
757−Renderer.prototype.code = function(code, lang, escaped) {
758− if (this.options.highlight) {
759− var out = this.options.highlight(code, lang);
760− if (out != null && out !== code) {
761− escaped = true;
762− code = out;
763− }
764− }
765−
766− if (!lang) {
767− return '<pre><code>'
768− + (escaped ? code : escape(code, true))
769− + '\n</code></pre>';
770− }
771−
772− return '<pre><code class="'
773− + this.options.langPrefix
774− + escape(lang, true)
775− + '">'
776− + (escaped ? code : escape(code, true))
777− + '\n</code></pre>\n';
778−};
779−
780−Renderer.prototype.blockquote = function(quote) {
781− return '<blockquote>\n' + quote + '</blockquote>\n';
782−};
783−
784−Renderer.prototype.html = function(html) {
785− return html;
786−};
787−
788−Renderer.prototype.heading = function(text, level, raw) {
789− return '<h'
790− + level
791− + ' id="'
792− + this.options.headerPrefix
793− + raw.toLowerCase().replace(/[^\w]+/g, '-')
794− + '">'
795− + text
796− + '</h'
797− + level
798− + '>\n';
799−};
800−
801−Renderer.prototype.hr = function() {
802− return this.options.xhtml ? '<hr/>\n' : '<hr>\n';
803−};
804−
805−Renderer.prototype.list = function(body, ordered) {
806− var type = ordered ? 'ol' : 'ul';
807− return '<' + type + '>\n' + body + '</' + type + '>\n';
808−};
809−
810−Renderer.prototype.listitem = function(text) {
811− return '<li>' + text + '</li>\n';
812−};
813−
814−Renderer.prototype.paragraph = function(text) {
815− return '<p>' + text + '</p>\n';
816−};
817−
818−Renderer.prototype.table = function(header, body) {
819− return '<table>\n'
820− + '<thead>\n'
821− + header
822− + '</thead>\n'
823− + '<tbody>\n'
824− + body
825− + '</tbody>\n'
826− + '</table>\n';
827−};
828−
829−Renderer.prototype.tablerow = function(content) {
830− return '<tr>\n' + content + '</tr>\n';
831−};
832−
833−Renderer.prototype.tablecell = function(content, flags) {
834− var type = flags.header ? 'th' : 'td';
835− var tag = flags.align
836− ? '<' + type + ' style="text-align:' + flags.align + '">'
837− : '<' + type + '>';
838− return tag + content + '</' + type + '>\n';
839−};
840−
841−// span level renderer
842−Renderer.prototype.strong = function(text) {
843− return '<strong>' + text + '</strong>';
844−};
845−
846−Renderer.prototype.em = function(text) {
847− return '<em>' + text + '</em>';
848−};
849−
850−Renderer.prototype.codespan = function(text) {
851− return '<code>' + text + '</code>';
852−};
853−
854−Renderer.prototype.br = function() {
855− return this.options.xhtml ? '<br/>' : '<br>';
856−};
857−
858−Renderer.prototype.del = function(text) {
859− return '<del>' + text + '</del>';
860−};
861−
862−Renderer.prototype.link = function(href, title, text) {
863− if (this.options.sanitize) {
864− try {
865− var prot = decodeURIComponent(unescape(href))
866− .replace(/[^\w:]/g, '')
867− .toLowerCase();
868− } catch (e) {
869− return '';
870− }
871− if (prot.indexOf('javascript:') === 0) {
872− return '';
873− }
874− }
875− var out = '<a href="' + href + '"';
876− if (title) {
877− out += ' title="' + title + '"';
878− }
879− out += '>' + text + '</a>';
880− return out;
881−};
882−
883−Renderer.prototype.image = function(href, title, text) {
884− var out = '<img src="' + href + '" alt="' + text + '"';
885− if (title) {
886− out += ' title="' + title + '"';
887− }
888− out += this.options.xhtml ? '/>' : '>';
889− return out;
890−};
891−
892−/**
893− * Parsing & Compiling
894− */
895−
896−function Parser(options) {
897− this.tokens = [];
898− this.token = null;
899− this.options = options || marked.defaults;
900− this.options.renderer = this.options.renderer || new Renderer;
901− this.renderer = this.options.renderer;
902− this.renderer.options = this.options;
903−}
904−
905−/**
906− * Static Parse Method
907− */
908−
909−Parser.parse = function(src, options, renderer) {
910− var parser = new Parser(options, renderer);
911− return parser.parse(src);
912−};
913−
914−/**
915− * Parse Loop
916− */
917−
918−Parser.prototype.parse = function(src) {
919− this.inline = new InlineLexer(src.links, this.options, this.renderer);
920− this.tokens = src.reverse();
921−
922− var out = '';
923− while (this.next()) {
924− out += this.tok();
925− }
926−
927− return out;
928−};
929−
930−/**
931− * Next Token
932− */
933−
934−Parser.prototype.next = function() {
935− return this.token = this.tokens.pop();
936−};
937−
938−/**
939− * Preview Next Token
940− */
941−
942−Parser.prototype.peek = function() {
943− return this.tokens[this.tokens.length - 1] || 0;
944−};
945−
946−/**
947− * Parse Text Tokens
948− */
949−
950−Parser.prototype.parseText = function() {
951− var body = this.token.text;
952−
953− while (this.peek().type === 'text') {
954− body += '\n' + this.next().text;
955− }
956−
957− return this.inline.output(body);
958−};
959−
960−/**
961− * Parse Current Token
962− */
963−
964−Parser.prototype.tok = function() {
965− switch (this.token.type) {
966− case 'space': {
967− return '';
968− }
969− case 'hr': {
970− return this.renderer.hr();
971− }
972− case 'heading': {
973− return this.renderer.heading(
974− this.inline.output(this.token.text),
975− this.token.depth,
976− this.token.text);
977− }
978− case 'code': {
979− return this.renderer.code(this.token.text,
980− this.token.lang,
981− this.token.escaped);
982− }
983− case 'table': {
984− var header = ''
985− , body = ''
986− , i
987− , row
988− , cell
989− , flags
990− , j;
991−
992− // header
993− cell = '';
994− for (i = 0; i < this.token.header.length; i++) {
995− flags = { header: true, align: this.token.align[i] };
996− cell += this.renderer.tablecell(
997− this.inline.output(this.token.header[i]),
998− { header: true, align: this.token.align[i] }
999− );
1000− }
1001− header += this.renderer.tablerow(cell);
1002−
1003− for (i = 0; i < this.token.cells.length; i++) {
1004− row = this.token.cells[i];
1005−
1006− cell = '';
1007− for (j = 0; j < row.length; j++) {
1008− cell += this.renderer.tablecell(
1009− this.inline.output(row[j]),
1010− { header: false, align: this.token.align[j] }
1011− );
1012− }
1013−
1014− body += this.renderer.tablerow(cell);
1015− }
1016− return this.renderer.table(header, body);
1017− }
1018− case 'blockquote_start': {
1019− var body = '';
1020−
1021− while (this.next().type !== 'blockquote_end') {
1022− body += this.tok();
1023− }
1024−
1025− return this.renderer.blockquote(body);
1026− }
1027− case 'list_start': {
1028− var body = ''
1029− , ordered = this.token.ordered;
1030−
1031− while (this.next().type !== 'list_end') {
1032− body += this.tok();
1033− }
1034−
1035− return this.renderer.list(body, ordered);
1036− }
1037− case 'list_item_start': {
1038− var body = '';
1039−
1040− while (this.next().type !== 'list_item_end') {
1041− body += this.token.type === 'text'
1042− ? this.parseText()
1043− : this.tok();
1044− }
1045−
1046− return this.renderer.listitem(body);
1047− }
1048− case 'loose_item_start': {
1049− var body = '';
1050−
1051− while (this.next().type !== 'list_item_end') {
1052− body += this.tok();
1053− }
1054−
1055− return this.renderer.listitem(body);
1056− }
1057− case 'html': {
1058− var html = !this.token.pre && !this.options.pedantic
1059− ? this.inline.output(this.token.text)
1060− : this.token.text;
1061− return this.renderer.html(html);
1062− }
1063− case 'paragraph': {
1064− return this.renderer.paragraph(this.inline.output(this.token.text));
1065− }
1066− case 'text': {
1067− return this.renderer.paragraph(this.parseText());
1068− }
1069− }
1070−};
1071−
1072−/**
1073− * Helpers
1074− */
1075−
1076−function escape(html, encode) {
1077− return html
1078− .replace(!encode ? /&(?!#?\w+;)/g : /&/g, '&amp;')
1079− .replace(/</g, '&lt;')
1080− .replace(/>/g, '&gt;')
1081− .replace(/"/g, '&quot;')
1082− .replace(/'/g, '&#39;');
1083−}
1084−
1085−function unescape(html) {
1086− return html.replace(/&([#\w]+);/g, function(_, n) {
1087− n = n.toLowerCase();
1088− if (n === 'colon') return ':';
1089− if (n.charAt(0) === '#') {
1090− return n.charAt(1) === 'x'
1091− ? String.fromCharCode(parseInt(n.substring(2), 16))
1092− : String.fromCharCode(+n.substring(1));
1093− }
1094− return '';
1095− });
1096−}
1097−
1098−function replace(regex, opt) {
1099− regex = regex.source;
1100− opt = opt || '';
1101− return function self(name, val) {
1102− if (!name) return new RegExp(regex, opt);
1103− val = val.source || val;
1104− val = val.replace(/(^|[^\[])\^/g, '$1');
1105− regex = regex.replace(name, val);
1106− return self;
1107− };
1108−}
1109−
1110−function noop() {}
1111−noop.exec = noop;
1112−
1113−function merge(obj) {
1114− var i = 1
1115− , target
1116− , key;
1117−
1118− for (; i < arguments.length; i++) {
1119− target = arguments[i];
1120− for (key in target) {
1121− if (Object.prototype.hasOwnProperty.call(target, key)) {
1122− obj[key] = target[key];
1123− }
1124− }
1125− }
1126−
1127− return obj;
1128−}
1129−
1130−
1131−/**
1132− * Marked
1133− */
1134−
1135−function marked(src, opt, callback) {
1136− if (callback || typeof opt === 'function') {
1137− if (!callback) {
1138− callback = opt;
1139− opt = null;
1140− }
1141−
1142− opt = merge({}, marked.defaults, opt || {});
1143−
1144− var highlight = opt.highlight
1145− , tokens
1146− , pending
1147− , i = 0;
1148−
1149− try {
1150− tokens = Lexer.lex(src, opt)
1151− } catch (e) {
1152− return callback(e);
1153− }
1154−
1155− pending = tokens.length;
1156−
1157− var done = function(err) {
1158− if (err) {
1159− opt.highlight = highlight;
1160− return callback(err);
1161− }
1162−
1163− var out;
1164−
1165− try {
1166− out = Parser.parse(tokens, opt);
1167− } catch (e) {
1168− err = e;
1169− }
1170−
1171− opt.highlight = highlight;
1172−
1173− return err
1174− ? callback(err)
1175− : callback(null, out);
1176− };
1177−
1178− if (!highlight || highlight.length < 3) {
1179− return done();
1180− }
1181−
1182− delete opt.highlight;
1183−
1184− if (!pending) return done();
1185−
1186− for (; i < tokens.length; i++) {
1187− (function(token) {
1188− if (token.type !== 'code') {
1189− return --pending || done();
1190− }
1191− return highlight(token.text, token.lang, function(err, code) {
1192− if (err) return done(err);
1193− if (code == null || code === token.text) {
1194− return --pending || done();
1195− }
1196− token.text = code;
1197− token.escaped = true;
1198− --pending || done();
1199− });
1200− })(tokens[i]);
1201− }
1202−
1203− return;
1204− }
1205− try {
1206− if (opt) opt = merge({}, marked.defaults, opt);
1207− return Parser.parse(Lexer.lex(src, opt), opt);
1208− } catch (e) {
1209− e.message += '\nPlease report this to https://github.com/chjj/marked.';
1210− if ((opt || marked.defaults).silent) {
1211− return '<p>An error occured:</p><pre>'
1212− + escape(e.message + '', true)
1213− + '</pre>';
1214− }
1215− throw e;
1216− }
1217−}
1218−
1219−/**
1220− * Options
1221− */
1222−
1223−marked.options =
1224−marked.setOptions = function(opt) {
1225− merge(marked.defaults, opt);
1226− return marked;
1227−};
1228−
1229−marked.defaults = {
1230− gfm: true,
1231− tables: true,
1232− breaks: false,
1233− pedantic: false,
1234− sanitize: false,
1235− smartLists: false,
1236− silent: false,
1237− highlight: null,
1238− langPrefix: 'lang-',
1239− smartypants: false,
1240− headerPrefix: '',
1241− renderer: new Renderer,
1242− xhtml: false
1243−};
1244−
1245−/**
1246− * Expose
1247− */
1248−
1249−marked.Parser = Parser;
1250−marked.parser = Parser.parse;
1251−
1252−marked.Renderer = Renderer;
1253−
1254−marked.Lexer = Lexer;
1255−marked.lexer = Lexer.lex;
1256−
1257−marked.InlineLexer = InlineLexer;
1258−marked.inlineLexer = InlineLexer.output;
1259−
1260−marked.parse = marked;
1261−
1262−if (typeof module !== 'undefined' && typeof exports === 'object') {
1263− module.exports = marked;
1264−} else if (typeof define === 'function' && define.amd) {
1265− define(function() { return marked; });
1266−} else {
1267− this.marked = marked;
1268−}
1269−
1270−}).call(function() {
1271− return this || (typeof window !== 'undefined' ? window : global);
1272−}());
swagger-dist-2.1.5/lib/object-assign-pollyfill.jsdeleted−23
@@ -1,23 +0,0 @@
1−if (typeof Object.assign != 'function') {
2− (function () {
3− Object.assign = function (target) {
4− 'use strict';
5− if (target === undefined || target === null) {
6− throw new TypeError('Cannot convert undefined or null to object');
7− }
8−
9− var output = Object(target);
10− for (var index = 1; index < arguments.length; index++) {
11− var source = arguments[index];
12− if (source !== undefined && source !== null) {
13− for (var nextKey in source) {
14− if (Object.prototype.hasOwnProperty.call(source, nextKey)) {
15− output[nextKey] = source[nextKey];
16− }
17− }
18− }
19− }
20− return output;
21− };
22− })();
23−}
swagger-dist-2.1.5/lib/swagger-oauth.jsdeleted−347
@@ -1,347 +0,0 @@
1−var appName;
2−var popupMask;
3−var popupDialog;
4−var clientId;
5−var realm;
6−var redirect_uri;
7−var clientSecret;
8−var scopeSeparator;
9−var additionalQueryStringParams;
10−
11−function handleLogin() {
12− var scopes = [];
13−
14− var auths = window.swaggerUi.api.authSchemes || window.swaggerUi.api.securityDefinitions;
15− if(auths) {
16− var key;
17− var defs = auths;
18− for(key in defs) {
19− var auth = defs[key];
20− if(auth.type === 'oauth2' && auth.scopes) {
21− var scope;
22− if(Array.isArray(auth.scopes)) {
23− // 1.2 support
24− var i;
25− for(i = 0; i < auth.scopes.length; i++) {
26− scopes.push(auth.scopes[i]);
27− }
28− }
29− else {
30− // 2.0 support
31− for(scope in auth.scopes) {
32− scopes.push({scope: scope, description: auth.scopes[scope], OAuthSchemeKey: key});
33− }
34− }
35− }
36− }
37− }
38−
39− if(window.swaggerUi.api
40− && window.swaggerUi.api.info) {
41− appName = window.swaggerUi.api.info.title;
42− }
43−
44− $('.api-popup-dialog').remove();
45− popupDialog = $(
46− [
47− '<div class="api-popup-dialog">',
48− '<div class="api-popup-title">Select OAuth2.0 Scopes</div>',
49− '<div class="api-popup-content">',
50− '<p>Scopes are used to grant an application different levels of access to data on behalf of the end user. Each API may declare one or more scopes.',
51− '<a href="#">Learn how to use</a>',
52− '</p>',
53− '<p><strong>' + appName + '</strong> API requires the following scopes. Select which ones you want to grant to Swagger UI.</p>',
54− '<ul class="api-popup-scopes">',
55− '</ul>',
56− '<p class="error-msg"></p>',
57− '<div class="api-popup-actions"><button class="api-popup-authbtn api-button green" type="button">Authorize</button><button class="api-popup-cancel api-button gray" type="button">Cancel</button></div>',
58− '</div>',
59− '</div>'].join(''));
60− $(document.body).append(popupDialog);
61−
62− //TODO: only display applicable scopes (will need to pass them into handleLogin)
63− popup = popupDialog.find('ul.api-popup-scopes').empty();
64− for (i = 0; i < scopes.length; i ++) {
65− scope = scopes[i];
66− str = '<li><input type="checkbox" id="scope_' + i + '" scope="' + scope.scope + '"' +'" oauthtype="' + scope.OAuthSchemeKey +'"/>' + '<label for="scope_' + i + '">' + scope.scope ;
67− if (scope.description) {
68− if ($.map(auths, function(n, i) { return i; }).length > 1) //if we have more than one scheme, display schemes
69− str += '<br/><span class="api-scope-desc">' + scope.description + ' ('+ scope.OAuthSchemeKey+')' +'</span>';
70− else
71− str += '<br/><span class="api-scope-desc">' + scope.description + '</span>';
72− }
73− str += '</label></li>';
74− popup.append(str);
75− }
76−
77− var $win = $(window),
78− dw = $win.width(),
79− dh = $win.height(),
80− st = $win.scrollTop(),
81− dlgWd = popupDialog.outerWidth(),
82− dlgHt = popupDialog.outerHeight(),
83− top = (dh -dlgHt)/2 + st,
84− left = (dw - dlgWd)/2;
85−
86− popupDialog.css({
87− top: (top < 0? 0 : top) + 'px',
88− left: (left < 0? 0 : left) + 'px'
89− });
90−
91− popupDialog.find('button.api-popup-cancel').click(function() {
92− popupMask.hide();
93− popupDialog.hide();
94− popupDialog.empty();
95− popupDialog = [];
96− });
97−
98− $('button.api-popup-authbtn').unbind();
99− popupDialog.find('button.api-popup-authbtn').click(function() {
100− popupMask.hide();
101− popupDialog.hide();
102−
103− var authSchemes = window.swaggerUi.api.authSchemes;
104− var host = window.location;
105− var pathname = location.pathname.substring(0, location.pathname.lastIndexOf("/"));
106− var defaultRedirectUrl = host.protocol + '//' + host.host + pathname + '/o2c.html';
107− var redirectUrl = window.oAuthRedirectUrl || defaultRedirectUrl;
108− var url = null;
109− var scopes = []
110− var o = popup.find('input:checked');
111− var OAuthSchemeKeys = [];
112− var state;
113− for(k =0; k < o.length; k++) {
114− var scope = $(o[k]).attr('scope');
115− if (scopes.indexOf(scope) === -1)
116− scopes.push(scope);
117− var OAuthSchemeKey = $(o[k]).attr('oauthtype');
118− if (OAuthSchemeKeys.indexOf(OAuthSchemeKey) === -1)
119− OAuthSchemeKeys.push(OAuthSchemeKey);
120− }
121−
122− //TODO: merge not replace if scheme is different from any existing
123− //(needs to be aware of schemes to do so correctly)
124− window.enabledScopes=scopes;
125−
126− for (var key in authSchemes) {
127− if (authSchemes.hasOwnProperty(key) && OAuthSchemeKeys.indexOf(key) != -1) { //only look at keys that match this scope.
128− var flow = authSchemes[key].flow;
129−
130− if(authSchemes[key].type === 'oauth2' && flow && (flow === 'implicit' || flow === 'accessCode')) {
131− var dets = authSchemes[key];
132− url = dets.authorizationUrl + '?response_type=' + (flow === 'implicit' ? 'token' : 'code');
133− window.swaggerUi.tokenName = dets.tokenName || 'access_token';
134− window.swaggerUi.tokenUrl = (flow === 'accessCode' ? dets.tokenUrl : null);
135− state = key;
136− }
137− else if(authSchemes[key].type === 'oauth2' && flow && (flow === 'application')) {
138− var dets = authSchemes[key];
139− window.swaggerUi.tokenName = dets.tokenName || 'access_token';
140− clientCredentialsFlow(scopes, dets.tokenUrl, key);
141− return;
142− }
143− else if(authSchemes[key].grantTypes) {
144− // 1.2 support
145− var o = authSchemes[key].grantTypes;
146− for(var t in o) {
147− if(o.hasOwnProperty(t) && t === 'implicit') {
148− var dets = o[t];
149− var ep = dets.loginEndpoint.url;
150− url = dets.loginEndpoint.url + '?response_type=token';
151− window.swaggerUi.tokenName = dets.tokenName;
152− }
153− else if (o.hasOwnProperty(t) && t === 'accessCode') {
154− var dets = o[t];
155− var ep = dets.tokenRequestEndpoint.url;
156− url = dets.tokenRequestEndpoint.url + '?response_type=code';
157− window.swaggerUi.tokenName = dets.tokenName;
158− }
159− }
160− }
161− }
162− }
163−
164− redirect_uri = redirectUrl;
165−
166− url += '&redirect_uri=' + encodeURIComponent(redirectUrl);
167− url += '&realm=' + encodeURIComponent(realm);
168− url += '&client_id=' + encodeURIComponent(clientId);
169− url += '&scope=' + encodeURIComponent(scopes.join(scopeSeparator));
170− url += '&state=' + encodeURIComponent(state);
171− for (var key in additionalQueryStringParams) {
172− url += '&' + key + '=' + encodeURIComponent(additionalQueryStringParams[key]);
173− }
174−
175− window.open(url);
176− });
177−
178− popupMask.show();
179− popupDialog.show();
180− return;
181−}
182−
183−
184−function handleLogout() {
185− for(key in window.swaggerUi.api.clientAuthorizations.authz){
186− window.swaggerUi.api.clientAuthorizations.remove(key)
187− }
188− window.enabledScopes = null;
189− $('.api-ic.ic-on').addClass('ic-off');
190− $('.api-ic.ic-on').removeClass('ic-on');
191−
192− // set the info box
193− $('.api-ic.ic-warning').addClass('ic-error');
194− $('.api-ic.ic-warning').removeClass('ic-warning');
195−}
196−
197−function initOAuth(opts) {
198− var o = (opts||{});
199− var errors = [];
200−
201− appName = (o.appName||errors.push('missing appName'));
202− popupMask = (o.popupMask||$('#api-common-mask'));
203− popupDialog = (o.popupDialog||$('.api-popup-dialog'));
204− clientId = (o.clientId||errors.push('missing client id'));
205− clientSecret = (o.clientSecret||null);
206− realm = (o.realm||errors.push('missing realm'));
207− scopeSeparator = (o.scopeSeparator||' ');
208− additionalQueryStringParams = (o.additionalQueryStringParams||{});
209−
210− if(errors.length > 0){
211− log('auth unable initialize oauth: ' + errors);
212− return;
213− }
214−
215− $('pre code').each(function(i, e) {hljs.highlightBlock(e)});
216− $('.api-ic').unbind();
217− $('.api-ic').click(function(s) {
218− if($(s.target).hasClass('ic-off'))
219− handleLogin();
220− else {
221− handleLogout();
222− }
223− false;
224− });
225−}
226−
227−function clientCredentialsFlow(scopes, tokenUrl, OAuthSchemeKey) {
228− var params = {
229− 'client_id': clientId,
230− 'client_secret': clientSecret,
231− 'scope': scopes.join(' '),
232− 'grant_type': 'client_credentials'
233− }
234− $.ajax(
235− {
236− url : tokenUrl,
237− type: "POST",
238− data: params,
239− success:function(data, textStatus, jqXHR)
240− {
241− onOAuthComplete(data,OAuthSchemeKey);
242− },
243− error: function(jqXHR, textStatus, errorThrown)
244− {
245− onOAuthComplete("");
246− }
247− });
248−
249− }
250−
251−window.processOAuthCode = function processOAuthCode(data) {
252− var OAuthSchemeKey = data.state;
253−
254− // redirect_uri is required in auth code flow
255− // see https://tools.ietf.org/html/draft-ietf-oauth-v2-31#section-4.1.3
256− var host = window.location;
257− var pathname = location.pathname.substring(0, location.pathname.lastIndexOf("/"));
258− var defaultRedirectUrl = host.protocol + '//' + host.host + pathname + '/o2c.html';
259− var redirectUrl = window.oAuthRedirectUrl || defaultRedirectUrl;
260−
261− var params = {
262− 'client_id': clientId,
263− 'code': data.code,
264− 'grant_type': 'authorization_code',
265− 'redirect_uri': redirectUrl
266− };
267−
268− if (clientSecret) {
269− params.client_secret = clientSecret;
270− }
271−
272− $.ajax(
273− {
274− url : window.swaggerUi.tokenUrl,
275− type: "POST",
276− data: params,
277− success:function(data, textStatus, jqXHR)
278− {
279− onOAuthComplete(data, OAuthSchemeKey);
280− },
281− error: function(jqXHR, textStatus, errorThrown)
282− {
283− onOAuthComplete("");
284− }
285− });
286−};
287−
288−window.onOAuthComplete = function onOAuthComplete(token,OAuthSchemeKey) {
289− if(token) {
290− if(token.error) {
291− var checkbox = $('input[type=checkbox],.secured')
292− checkbox.each(function(pos){
293− checkbox[pos].checked = false;
294− });
295− alert(token.error);
296− }
297− else {
298− var b = token[window.swaggerUi.tokenName];
299− if (!OAuthSchemeKey){
300− OAuthSchemeKey = token.state;
301− }
302− if(b){
303− // if all roles are satisfied
304− var o = null;
305− $.each($('.auth .api-ic .api_information_panel'), function(k, v) {
306− var children = v;
307− if(children && children.childNodes) {
308− var requiredScopes = [];
309− $.each((children.childNodes), function (k1, v1){
310− var inner = v1.innerHTML;
311− if(inner)
312− requiredScopes.push(inner);
313− });
314− var diff = [];
315− for(var i=0; i < requiredScopes.length; i++) {
316− var s = requiredScopes[i];
317− if(window.enabledScopes && window.enabledScopes.indexOf(s) == -1) {
318− diff.push(s);
319− }
320− }
321− if(diff.length > 0){
322− o = v.parentNode.parentNode;
323− $(o.parentNode).find('.api-ic.ic-on').addClass('ic-off');
324− $(o.parentNode).find('.api-ic.ic-on').removeClass('ic-on');
325−
326− // sorry, not all scopes are satisfied
327− $(o).find('.api-ic').addClass('ic-warning');
328− $(o).find('.api-ic').removeClass('ic-error');
329− }
330− else {
331− o = v.parentNode.parentNode;
332− $(o.parentNode).find('.api-ic.ic-off').addClass('ic-on');
333− $(o.parentNode).find('.api-ic.ic-off').removeClass('ic-off');
334−
335− // all scopes are satisfied
336− $(o).find('.api-ic').addClass('ic-info');
337− $(o).find('.api-ic').removeClass('ic-warning');
338− $(o).find('.api-ic').removeClass('ic-error');
339− }
340− }
341− });
342− window.swaggerUi.api.clientAuthorizations.add(window.OAuthSchemeKey, new SwaggerClient.ApiKeyAuthorization('Authorization', 'Bearer ' + b, 'header'));
343− window.swaggerUi.load();
344− }
345− }
346− }
347−};
swagger-dist-2.1.5/o2c.htmldeleted−20
@@ -1,20 +0,0 @@
1−<script>
2−var qp = null;
3−if(window.location.hash) {
4− qp = location.hash.substring(1);
5−}
6−else {
7− qp = location.search.substring(1);
8−}
9−qp = qp ? JSON.parse('{"' + qp.replace(/&/g, '","').replace(/=/g,'":"') + '"}',
10− function(key, value) {
11− return key===""?value:decodeURIComponent(value) }
12− ):{}
13−
14−if (window.opener.swaggerUi.tokenUrl)
15− window.opener.processOAuthCode(qp);
16−else
17− window.opener.onOAuthComplete(qp);
18−
19−window.close();
20−</script>
swagger-dist-2.1.5/swagger-ui.jsdeleted−24691

This diff is too big to show here.

swagger-dist-2.1.5/swagger-ui.min.jsdeleted−10

This diff is too big to show here.

swagger-dist-2.2.8/css/print.cssdeleted−1

This diff is too big to show here.

swagger-dist-2.2.8/css/reset.cssdeleted−1

This diff is too big to show here.

swagger-dist-2.2.8/css/screen.cssdeleted−1

This diff is too big to show here.

swagger-dist-2.2.8/css/style.cssdeleted−1

This diff is too big to show here.

swagger-dist-2.2.8/css/typography.cssdeleted

No changes to the content.

swagger-dist-2.2.8/fonts/DroidSans-Bold.ttfdeleted

Binary file not shown.

swagger-dist-2.2.8/fonts/DroidSans.ttfdeleted

Binary file not shown.

swagger-dist-2.2.8/images/collapse.gifdeleted

Binary file not shown.

swagger-dist-2.2.8/images/expand.gifdeleted

Binary file not shown.

swagger-dist-2.2.8/images/explorer_icons.pngdeleted

Binary file not shown.

swagger-dist-2.2.8/images/favicon.icodeleted

Binary file not shown.

swagger-dist-2.2.8/images/logo_small.pngdeleted

Binary file not shown.

swagger-dist-2.2.8/images/pet_store_api.pngdeleted

Binary file not shown.

swagger-dist-2.2.8/images/throbber.gifdeleted

Binary file not shown.

swagger-dist-2.2.8/images/wordnik_api.pngdeleted

Binary file not shown.

swagger-dist-2.2.8/lang/ca.jsdeleted−53

This diff is too big to show here.

swagger-dist-2.2.8/lang/el.jsdeleted−56

This diff is too big to show here.

swagger-dist-2.2.8/lang/en.jsdeleted−56

This diff is too big to show here.

swagger-dist-2.2.8/lang/es.jsdeleted−53

This diff is too big to show here.

swagger-dist-2.2.8/lang/fr.jsdeleted−54

This diff is too big to show here.

swagger-dist-2.2.8/lang/geo.jsdeleted−56

This diff is too big to show here.

swagger-dist-2.2.8/lang/it.jsdeleted−52

This diff is too big to show here.

swagger-dist-2.2.8/lang/ja.jsdeleted−56

This diff is too big to show here.

swagger-dist-2.2.8/lang/ko-kr.jsdeleted−53

This diff is too big to show here.

swagger-dist-2.2.8/lang/pl.jsdeleted−53

This diff is too big to show here.

swagger-dist-2.2.8/lang/pt.jsdeleted−53

This diff is too big to show here.

swagger-dist-2.2.8/lang/ru.jsdeleted−56

This diff is too big to show here.

swagger-dist-2.2.8/lang/tr.jsdeleted−53

This diff is too big to show here.

swagger-dist-2.2.8/lang/translator.jsdeleted−39

This diff is too big to show here.

swagger-dist-2.2.8/lang/zh-cn.jsdeleted−56

This diff is too big to show here.

swagger-dist-2.2.8/lib/backbone-min.jsdeleted−1

This diff is too big to show here.

swagger-dist-2.2.8/lib/es5-shim.jsdeleted−1

This diff is too big to show here.

swagger-dist-2.2.8/lib/handlebars-4.0.5.jsdeleted−3

This diff is too big to show here.

swagger-dist-2.2.8/lib/highlight.9.1.0.pack.jsdeleted−1

This diff is too big to show here.

swagger-dist-2.2.8/lib/highlight.9.1.0.pack_extended.jsdeleted−1

This diff is too big to show here.

swagger-dist-2.2.8/lib/jquery-1.8.0.min.jsdeleted−3

This diff is too big to show here.

swagger-dist-2.2.8/lib/jquery.ba-bbq.min.jsdeleted−1

This diff is too big to show here.

swagger-dist-2.2.8/lib/jquery.slideto.min.jsdeleted−1

This diff is too big to show here.

swagger-dist-2.2.8/lib/jquery.wiggle.min.jsdeleted−1

This diff is too big to show here.

swagger-dist-2.2.8/lib/js-yaml.min.jsdeleted−2

This diff is too big to show here.

swagger-dist-2.2.8/lib/jsoneditor.min.jsdeleted−5

This diff is too big to show here.

swagger-dist-2.2.8/lib/lodash.min.jsdeleted−2

This diff is too big to show here.

swagger-dist-2.2.8/lib/marked.jsdeleted−1

This diff is too big to show here.

swagger-dist-2.2.8/lib/object-assign-pollyfill.jsdeleted−1

This diff is too big to show here.

swagger-dist-2.2.8/lib/sanitize-html.min.jsdeleted−4

This diff is too big to show here.

swagger-dist-2.2.8/lib/swagger-oauth.jsdeleted−1

This diff is too big to show here.

swagger-dist-2.2.8/o2c.htmldeleted−20

This diff is too big to show here.

swagger-dist-2.2.8/swagger-ui.jsdeleted−25126

This diff is too big to show here.

swagger-dist-2.2.8/swagger-ui.min.jsdeleted−14

This diff is too big to show here.

swagger-dist-2.2.8/images/favicon-16x16.png → swagger-ui-dist-3.0.20/favicon-16x16.pngrenamed

Binary file not shown.

swagger-dist-2.2.8/images/favicon-32x32.png → swagger-ui-dist-3.0.20/favicon-32x32.pngrenamed

Binary file not shown.

swagger-ui-dist-3.0.20/swagger-ui-bundle.jsnew file+73

This diff is too big to show here.

swagger-ui-dist-3.0.20/swagger-ui-bundle.js.mapnew file+1

This diff is too big to show here.

swagger-ui-dist-3.0.20/swagger-ui-standalone-preset.jsnew file+13

This diff is too big to show here.

swagger-ui-dist-3.0.20/swagger-ui-standalone-preset.js.mapnew file+1

This diff is too big to show here.

swagger-ui-dist-3.0.20/swagger-ui.cssnew file+2

This diff is too big to show here.

swagger-ui-dist-3.0.20/swagger-ui.css.mapnew file+1

This diff is too big to show here.

swagger-ui-dist-3.0.20/swagger-ui.js+8

This diff is too big to show here.

swagger-ui-dist-3.0.20/swagger-ui.js.map+1

This diff is too big to show here.