From 3c121f92d4a4e56fe0f9e97378b5def6fc1ddddf Mon Sep 17 00:00:00 2001 From: Dan Date: Thu, 22 Mar 2018 01:26:36 +0800 Subject: [PATCH 01/37] Add a new function to build siteData file with page informaiton - siteData.json will eventually contain all front-matter data from pages which are addressable. It will also be used as the search index. --- lib/Site.js | 61 ++++++++++++++++++++++++++++++++++------------- package-lock.json | 44 ++++++++++++++++++++++++++++++++++ package.json | 1 + 3 files changed, 90 insertions(+), 16 deletions(-) diff --git a/lib/Site.js b/lib/Site.js index c919d9a6cf..afaa03a9c3 100644 --- a/lib/Site.js +++ b/lib/Site.js @@ -10,6 +10,7 @@ const walkSync = require('walk-sync'); const Promise = require('bluebird'); const ghpages = require('gh-pages'); const logger = require('./util/logger'); +const fm = require('fastmatter'); const _ = {}; _.uniq = require('lodash/uniq'); @@ -366,24 +367,52 @@ Site.prototype.generatePages = function () { const builtFiles = {}; const pages = this.siteConfig.pages || []; const processingFiles = []; - this.pageModels = pages.map(page => this.createPageData({ - baseUrl, - pageSrc: page.src, - title: page.title, - pageTemplate: this.pageTemplate, - })); - this.pageModels.forEach((page) => { - processingFiles.push(page.generate(builtFiles) - .catch((err) => { - logger.error(err); - return Promise.reject(new Error(`Error while generating ${page.sourcePath}`)); + return this.buildSiteData().then((frontMatterData) => { + console.log(frontMatterData); + this.pageModels = pages.map(page => this.createPageData({ + baseUrl, + pageSrc: page.src, + title: page.title, + pageTemplate: this.pageTemplate, + })); + this.pageModels.forEach((page) => { + processingFiles.push(page.generate(builtFiles)); + }); + return new Promise((resolve, reject) => { + Promise.all(processingFiles) + .then(resolve) + .catch(reject); + }); + }, + ); +}; + +/** + * Builds the siteData file that specifies addressable pages and their associated keywords + */ +Site.prototype.buildSiteData = function () { + const filePaths = walkSync(this.rootPath, { directories: false }) + .filter(currentPath => currentPath.endsWith('.md') && !currentPath.startsWith('_site')); + const frontMatterData = []; + const promises = []; + filePaths.forEach((currentFile) => { + promises.push( + new Promise((resolve, reject) => { + fs.readFile(path.join(this.rootPath, currentFile), (err, data) => { + if (err) { + reject(err); + } else { + const content = fm(data.toString()); + content.attributes.src = currentFile; + frontMatterData.push(content.attributes); + resolve(); + } + }); })); }); - return new Promise((resolve, reject) => { - Promise.all(processingFiles) - .then(resolve) - .catch(reject); - }); + return Promise.all(promises).then(() => fs.writeJsonAsync(path.join(this.rootPath, 'siteData.json') + , { pages: frontMatterData }) + .then(() => Promise.resolve(frontMatterData))); }; /** diff --git a/package-lock.json b/package-lock.json index 6bd712642f..7ffa19135a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1021,6 +1021,36 @@ "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", "dev": true }, + "fastmatter": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/fastmatter/-/fastmatter-2.0.1.tgz", + "integrity": "sha1-yEuoMo6WQwothRodbSGN3oCFNz0=", + "requires": { + "js-yaml": "3.10.0", + "split": "1.0.1", + "stream-combiner": "0.2.2", + "through2": "2.0.3" + }, + "dependencies": { + "split": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/split/-/split-1.0.1.tgz", + "integrity": "sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg==", + "requires": { + "through": "2.3.8" + } + }, + "stream-combiner": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/stream-combiner/-/stream-combiner-0.2.2.tgz", + "integrity": "sha1-rsjLrBd7Vrb0+kec7YwZEs7lKFg=", + "requires": { + "duplexer": "0.1.1", + "through": "2.3.8" + } + } + } + }, "faye-websocket": { "version": "0.11.1", "resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.11.1.tgz", @@ -3602,6 +3632,15 @@ "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=" }, + "through2": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.3.tgz", + "integrity": "sha1-AARWmzfHx0ujnEPzzteNGtlBQL4=", + "requires": { + "readable-stream": "2.3.3", + "xtend": "4.0.1" + } + }, "tmp": { "version": "0.0.33", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", @@ -3741,6 +3780,11 @@ "mkdirp": "0.5.1" } }, + "xtend": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz", + "integrity": "sha1-pcbVMr5lbiPbgg77lDofBJmNY68=" + }, "y18n": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz", diff --git a/package.json b/package.json index 0c380da607..fc62bb3e47 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "clear": "^0.0.1", "commander": "^2.9.0", "ejs": "^2.5.5", + "fastmatter": "^2.0.1", "figlet": "^1.2.0", "fs-extra-promise": "^0.4.1", "gh-pages": "^1.1.0", From 9b81aee542004a44a0cbf6e5c0ea8c6e32db0a03 Mon Sep 17 00:00:00 2001 From: Daniel Berzin Chua Date: Thu, 22 Mar 2018 14:04:21 +0800 Subject: [PATCH 02/37] Add front matter parsing only for addressable files - Modify parser to only parse body of .md files instead of the whole file --- lib/Site.js | 61 +++++++++++++++++++++++++--------- lib/markbind/lib/parser.js | 3 +- lib/markbind/package-lock.json | 59 ++++++++++++++++++++++++++++++-- lib/markbind/package.json | 1 + 4 files changed, 105 insertions(+), 19 deletions(-) diff --git a/lib/Site.js b/lib/Site.js index afaa03a9c3..dbe9e26576 100644 --- a/lib/Site.js +++ b/lib/Site.js @@ -11,6 +11,7 @@ const Promise = require('bluebird'); const ghpages = require('gh-pages'); const logger = require('./util/logger'); const fm = require('fastmatter'); +const MarkBind = require('./markbind/lib/parser'); const _ = {}; _.uniq = require('lodash/uniq'); @@ -27,6 +28,8 @@ const TEMPLATE_ROOT_FOLDER_NAME = 'template'; const TEMPLATE_SITE_ASSET_FOLDER_NAME = 'markbind'; const USER_VARIABLES_PATH = '_markbind/variables.md'; +const markbinder = new MarkBind(); + const SITE_CONFIG_DEFAULT = { baseUrl: '', pages: [ @@ -365,14 +368,14 @@ Site.prototype.generatePages = function () { // Render the final rendered page to the output folder. const { baseUrl } = this.siteConfig; const builtFiles = {}; - const pages = this.siteConfig.pages || []; const processingFiles = []; return this.buildSiteData().then((frontMatterData) => { - console.log(frontMatterData); + //console.log(frontMatterData); + const pages = frontMatterData || []; this.pageModels = pages.map(page => this.createPageData({ baseUrl, pageSrc: page.src, - title: page.title, + title: page.title || "", pageTemplate: this.pageTemplate, })); this.pageModels.forEach((page) => { @@ -392,27 +395,53 @@ Site.prototype.generatePages = function () { */ Site.prototype.buildSiteData = function () { const filePaths = walkSync(this.rootPath, { directories: false }) - .filter(currentPath => currentPath.endsWith('.md') && !currentPath.startsWith('_site')); + .filter(currentPath => currentPath.endsWith('.md') && !currentPath.startsWith('_site') && !currentPath.startsWith('_boilerplates')); const frontMatterData = []; const promises = []; + //console.log(filePaths); filePaths.forEach((currentFile) => { promises.push( new Promise((resolve, reject) => { - fs.readFile(path.join(this.rootPath, currentFile), (err, data) => { - if (err) { - reject(err); - } else { - const content = fm(data.toString()); - content.attributes.src = currentFile; - frontMatterData.push(content.attributes); - resolve(); - } - }); + const config = { + baseUrlMap: {}, + userDefinedVariablesMap: {}, + rootPath: this.rootPath, + } + markbinder.includeFile(path.resolve(this.rootPath, currentFile), config) + .then((result) => { + let $ = cheerio.load(result); + if ($('frontmatter div').get("0") === undefined) { + if ($('frontmatter').get("0") !== undefined) { + let data = ($('frontmatter').get("0").children[0].data); + let matter = "---\n" + data + "---"; + let content = fm(matter); + //console.log(content); + if (Object.keys(content.attributes).length !== 0) { + content.attributes.src = currentFile; + frontMatterData.push(content.attributes); + } + resolve(); + } + else resolve(); + } + else { + let data = ($('frontmatter div').get("0").children[0].data); + let matter = "---\n" + data + "---"; + let content = fm(matter); + //console.log(content); + if (Object.keys(content.attributes).length !== 0) { + content.attributes.src = currentFile; + frontMatterData.push(content.attributes); + } + resolve(); + } + + }); })); }); return Promise.all(promises).then(() => fs.writeJsonAsync(path.join(this.rootPath, 'siteData.json') - , { pages: frontMatterData }) - .then(() => Promise.resolve(frontMatterData))); + , { pages: frontMatterData })) + .then(() => Promise.resolve(frontMatterData)); }; /** diff --git a/lib/markbind/lib/parser.js b/lib/markbind/lib/parser.js index 8156aed73b..cfa4649430 100644 --- a/lib/markbind/lib/parser.js +++ b/lib/markbind/lib/parser.js @@ -2,6 +2,7 @@ const htmlparser = require('htmlparser2'); const md = require('./markdown-it'); +const fm = require('fastmatter'); const _ = {}; _.clone = require('lodash/clone'); @@ -468,7 +469,7 @@ Parser.prototype.renderFile = function (file, config) { } const fileExt = utils.getExtName(file); if (fileExt === 'md') { - const inputData = md.render(data.toString()); + const inputData = md.render(fm(data.toString()).body); context.source = 'md'; parser.parseComplete(inputData); } else if (fileExt === 'html') { diff --git a/lib/markbind/package-lock.json b/lib/markbind/package-lock.json index a06e44cb5a..20117aff45 100644 --- a/lib/markbind/package-lock.json +++ b/lib/markbind/package-lock.json @@ -420,6 +420,11 @@ "domelementtype": "1.3.0" } }, + "duplexer": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.1.tgz", + "integrity": "sha1-rOb/gIwc5mtX0ev5eXessCM0z8E=" + }, "entities": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.1.tgz", @@ -939,6 +944,17 @@ "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", "dev": true }, + "fastmatter": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/fastmatter/-/fastmatter-2.0.1.tgz", + "integrity": "sha1-yEuoMo6WQwothRodbSGN3oCFNz0=", + "requires": { + "js-yaml": "3.11.0", + "split": "1.0.1", + "stream-combiner": "0.2.2", + "through2": "2.0.3" + } + }, "file-entry-cache": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-2.0.0.tgz", @@ -2099,6 +2115,15 @@ "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=", "dev": true }, + "js-yaml": { + "version": "3.11.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.11.0.tgz", + "integrity": "sha512-saJstZWv7oNeOyBh3+Dx1qWzhW0+e6/8eDzo7p5rDFqxntSztloLtuKu+Ejhtq82jsilwOIZYsCz+lIjthg1Hw==", + "requires": { + "argparse": "1.0.9", + "esprima": "4.0.0" + } + }, "json-schema-traverse": { "version": "0.3.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz", @@ -2846,11 +2871,28 @@ "integrity": "sha1-yd96NCRZSt5r0RkA1ZZpbcBrrFc=", "dev": true }, + "split": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/split/-/split-1.0.1.tgz", + "integrity": "sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg==", + "requires": { + "through": "2.3.8" + } + }, "sprintf-js": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=" }, + "stream-combiner": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/stream-combiner/-/stream-combiner-0.2.2.tgz", + "integrity": "sha1-rsjLrBd7Vrb0+kec7YwZEs7lKFg=", + "requires": { + "duplexer": "0.1.1", + "through": "2.3.8" + } + }, "string": { "version": "3.3.3", "resolved": "https://registry.npmjs.org/string/-/string-3.3.3.tgz", @@ -2909,8 +2951,16 @@ "through": { "version": "2.3.8", "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", - "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", - "dev": true + "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=" + }, + "through2": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.3.tgz", + "integrity": "sha1-AARWmzfHx0ujnEPzzteNGtlBQL4=", + "requires": { + "readable-stream": "2.3.3", + "xtend": "4.0.1" + } }, "tmp": { "version": "0.0.33", @@ -3006,6 +3056,11 @@ "mkdirp": "0.5.1" } }, + "xtend": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz", + "integrity": "sha1-pcbVMr5lbiPbgg77lDofBJmNY68=" + }, "y18n": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz", diff --git a/lib/markbind/package.json b/lib/markbind/package.json index 68c3444537..dd8d2e806c 100644 --- a/lib/markbind/package.json +++ b/lib/markbind/package.json @@ -15,6 +15,7 @@ "dependencies": { "bluebird": "^3.4.7", "cheerio": "^0.22.0", + "fastmatter": "^2.0.1", "highlight.js": "^9.10.0", "htmlparser2": "MarkBind/htmlparser2#v3.10.0-markbind.1", "lodash": "^4.17.5", From 620ef371e6263edc63efbde142c76c50f12c044d Mon Sep 17 00:00:00 2001 From: Dan Date: Wed, 28 Mar 2018 06:05:46 +0800 Subject: [PATCH 03/37] Allow user to specify addressable page names in site.json - Add constants to improve readability of code - Allow for include within tags - Add src attribute for addressable pages without specified titles --- lib/Page.js | 51 ++++++++++++++++++++++-- lib/Site.js | 113 +++++++++++++++++----------------------------------- 2 files changed, 85 insertions(+), 79 deletions(-) diff --git a/lib/Page.js b/lib/Page.js index 067237103d..65f1cadeaf 100644 --- a/lib/Page.js +++ b/lib/Page.js @@ -8,10 +8,18 @@ const FsUtil = require('./util/fsUtil'); const pathIsInside = require('path-is-inside'); const MarkBind = require('./markbind/lib/parser'); +const cheerio = require('cheerio'); +const fm = require('fastmatter'); + +const FIRST_ELEMENT_INDEX = '0'; +const FRONT_MATTER_FENCE = '---'; +const NEW_LINE = '\n'; function Page(pageConfig) { - this.content = pageConfig.content || ''; - this.title = pageConfig.title || ''; + this.content = pageConfig.content; + this.title = pageConfig.title; + this.pageSrc = pageConfig.pageSrc; + this.pageTitlePrefix = pageConfig.titlePrefix; this.rootPath = pageConfig.rootPath; // the source file for rendering this page this.sourcePath = pageConfig.sourcePath; @@ -25,6 +33,7 @@ function Page(pageConfig) { this.baseUrlMap = pageConfig.baseUrlMap; this.userDefinedVariablesMap = pageConfig.userDefinedVariablesMap; this.includedFiles = {}; + this.frontMatter = {}; } /** @@ -71,6 +80,38 @@ Page.prototype.collectIncludedFiles = function (dependencies) { }); }; +/** + * Records the front matter data of the current page into this.frontMatter + * @param includedPage a page with its dependencies included + */ +Page.prototype.collectFrontMatter = function (includedPage) { + return new Promise((resolve) => { + const $ = cheerio.load(includedPage); + const frontMatter = $('frontmatter'); + const includedFrontMatter = $('frontmatter div'); + if (frontMatter.get(FIRST_ELEMENT_INDEX) !== undefined) { + let frontMatterData = ''; + if (includedFrontMatter.get(FIRST_ELEMENT_INDEX) !== undefined) { + frontMatterData = $(includedFrontMatter).get(FIRST_ELEMENT_INDEX).children[FIRST_ELEMENT_INDEX].data; + } else { + frontMatterData = frontMatter.get(FIRST_ELEMENT_INDEX).children[FIRST_ELEMENT_INDEX].data; + } + const formattedMatter = `${FRONT_MATTER_FENCE + NEW_LINE}${frontMatterData}${FRONT_MATTER_FENCE}`; + // Parse front matter data + const parsedData = fm(formattedMatter); + parsedData.attributes.src = this.pageSrc; + parsedData.attributes.title = this.pageTitlePrefix + parsedData.attributes.title; + this.frontMatter = parsedData.attributes; + this.title = this.frontMatter.title; + } else { + // Page is addressable but does not have a specified title + this.frontMatter = { src: this.pageSrc }; + } + resolve(includedPage); + }); +}; + + Page.prototype.generate = function (builtFiles) { this.includedFiles = {}; this.includedFiles[this.sourcePath] = true; @@ -84,7 +125,9 @@ Page.prototype.generate = function (builtFiles) { userDefinedVariablesMap: this.userDefinedVariablesMap, }; return new Promise((resolve, reject) => { +<<<<<<< HEAD markbinder.includeFile(this.sourcePath, fileConfig) + .then(result => this.collectFrontMatter(result)) .then(result => markbinder.resolveBaseUrl(result, fileConfig)) .then(result => fs.outputFileAsync(this.tempPath, result)) .then(() => markbinder.renderFile(this.tempPath, fileConfig)) @@ -113,7 +156,9 @@ Page.prototype.generate = function (builtFiles) { this.collectIncludedFiles(markbinder.getBoilerplateIncludeSrc()); this.collectIncludedFiles(markbinder.getMissingIncludeSrc()); }) - .then(resolve) + .then(() => { + resolve(this.frontMatter); + }) .catch(reject); }); }; diff --git a/lib/Site.js b/lib/Site.js index dbe9e26576..06178ac427 100644 --- a/lib/Site.js +++ b/lib/Site.js @@ -32,12 +32,7 @@ const markbinder = new MarkBind(); const SITE_CONFIG_DEFAULT = { baseUrl: '', - pages: [ - { - src: 'index.md', - title: 'Hello World', - }, - ], + addressable: ['**/index.md'], ignore: [ '_markbind/logs/*', '_site/*', @@ -49,7 +44,8 @@ const SITE_CONFIG_DEFAULT = { }, }; -const INDEX_MARKDOWN_DEFAULT = '# Hello world\nWelcome to your page generated with MarkBind.\n'; +const INDEX_MARKDOWN_DEFAULT = '\ntitle: "Hello World"\n\n\n# Hello world\n' + + 'Welcome to your page generated with MarkBind.\n'; const USER_VARIABLES_DEFAULT = '\n' + 'To inject this HTML segment in your markbind files, use {{ example }} where you want to place it.\n' @@ -71,6 +67,9 @@ function Site(rootPath, outputPath) { this.pageTemplatePath = path.join(__dirname, TEMPLATE_ROOT_FOLDER_NAME, PAGE_TEMPLATE_NAME); this.pageTemplate = ejs.compile(fs.readFileSync(this.pageTemplatePath, 'utf8')); this.pageModels = []; + + this.filePaths = []; + this.frontMatterData = []; } /** @@ -176,6 +175,7 @@ Site.prototype.createPageData = function (config) { return new Page({ content: '', title: config.title || '', + pageSrc: config.pageSrc, rootPath: this.rootPath, sourcePath, tempPath, @@ -259,6 +259,7 @@ Site.prototype.generate = function (baseUrl) { .then(() => this.collectBaseUrl()) .then(() => this.collectUserDefinedVariablesMap()) .then(() => this.buildAssets()) + .then(() => this.buildIndex()) .then(() => this.buildSourceFiles()) .then(() => this.copyMarkBindAsset()) .then(resolve) @@ -277,6 +278,8 @@ Site.prototype.buildSourceFiles = function () { this.generatePages() .then(() => fs.removeAsync(this.tempPath)) .then(() => logger.info('Pages built')) + .then(() => fs.writeJsonAsync(path.join(this.rootPath, 'siteData.json'), { pages: this.frontMatterData })) + .then(() => logger.info('siteData.json built')) .then(resolve) .catch((error) => { // if error, remove the site and temp folders @@ -369,79 +372,37 @@ Site.prototype.generatePages = function () { const { baseUrl } = this.siteConfig; const builtFiles = {}; const processingFiles = []; - return this.buildSiteData().then((frontMatterData) => { - //console.log(frontMatterData); - const pages = frontMatterData || []; - this.pageModels = pages.map(page => this.createPageData({ - baseUrl, - pageSrc: page.src, - title: page.title || "", - pageTemplate: this.pageTemplate, - })); - this.pageModels.forEach((page) => { - processingFiles.push(page.generate(builtFiles)); - }); - return new Promise((resolve, reject) => { - Promise.all(processingFiles) - .then(resolve) - .catch(reject); - }); - }, - ); + const pages = this.filePaths || []; + this.pageModels = pages.map(page => this.createPageData({ + baseUrl, + pageSrc: page, + pageTemplate: this.pageTemplate, + })); + this.pageModels.forEach((page) => { + processingFiles.push(page.generate(builtFiles)); + }); + return new Promise((resolve, reject) => { + Promise.all(processingFiles) + .then((frontMatterData) => { + this.frontMatterData = frontMatterData; + resolve(); + }) + .catch(reject); + }); }; + /** - * Builds the siteData file that specifies addressable pages and their associated keywords + * Builds the index of files to be traversed as addressable pages */ -Site.prototype.buildSiteData = function () { - const filePaths = walkSync(this.rootPath, { directories: false }) - .filter(currentPath => currentPath.endsWith('.md') && !currentPath.startsWith('_site') && !currentPath.startsWith('_boilerplates')); - const frontMatterData = []; - const promises = []; - //console.log(filePaths); - filePaths.forEach((currentFile) => { - promises.push( - new Promise((resolve, reject) => { - const config = { - baseUrlMap: {}, - userDefinedVariablesMap: {}, - rootPath: this.rootPath, - } - markbinder.includeFile(path.resolve(this.rootPath, currentFile), config) - .then((result) => { - let $ = cheerio.load(result); - if ($('frontmatter div').get("0") === undefined) { - if ($('frontmatter').get("0") !== undefined) { - let data = ($('frontmatter').get("0").children[0].data); - let matter = "---\n" + data + "---"; - let content = fm(matter); - //console.log(content); - if (Object.keys(content.attributes).length !== 0) { - content.attributes.src = currentFile; - frontMatterData.push(content.attributes); - } - resolve(); - } - else resolve(); - } - else { - let data = ($('frontmatter div').get("0").children[0].data); - let matter = "---\n" + data + "---"; - let content = fm(matter); - //console.log(content); - if (Object.keys(content.attributes).length !== 0) { - content.attributes.src = currentFile; - frontMatterData.push(content.attributes); - } - resolve(); - } - - }); - })); - }); - return Promise.all(promises).then(() => fs.writeJsonAsync(path.join(this.rootPath, 'siteData.json') - , { pages: frontMatterData })) - .then(() => Promise.resolve(frontMatterData)); +Site.prototype.buildIndex = function () { + const filePathIndex = walkSync(this.rootPath, + { + directories: false, + globs: this.siteConfig.addressable, + ignore: [BOILERPLATE_FOLDER_NAME], + }); + this.filePaths = filePathIndex; }; /** From 32027f16df760c1e37242ea676eb97968dcf5c14 Mon Sep 17 00:00:00 2001 From: Dan Date: Sun, 1 Apr 2018 15:46:12 +0800 Subject: [PATCH 04/37] Add support for user defined title prefixes --- lib/Page.js | 1 - lib/Site.js | 17 ++++++++--------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/lib/Page.js b/lib/Page.js index 65f1cadeaf..f5756f6210 100644 --- a/lib/Page.js +++ b/lib/Page.js @@ -111,7 +111,6 @@ Page.prototype.collectFrontMatter = function (includedPage) { }); }; - Page.prototype.generate = function (builtFiles) { this.includedFiles = {}; this.includedFiles[this.sourcePath] = true; diff --git a/lib/Site.js b/lib/Site.js index 06178ac427..2ca163c7f5 100644 --- a/lib/Site.js +++ b/lib/Site.js @@ -10,8 +10,6 @@ const walkSync = require('walk-sync'); const Promise = require('bluebird'); const ghpages = require('gh-pages'); const logger = require('./util/logger'); -const fm = require('fastmatter'); -const MarkBind = require('./markbind/lib/parser'); const _ = {}; _.uniq = require('lodash/uniq'); @@ -27,8 +25,7 @@ const SITE_ASSET_FOLDER_NAME = 'asset'; const TEMPLATE_ROOT_FOLDER_NAME = 'template'; const TEMPLATE_SITE_ASSET_FOLDER_NAME = 'markbind'; const USER_VARIABLES_PATH = '_markbind/variables.md'; - -const markbinder = new MarkBind(); +const TITLE_PREFIX_SEPARATOR = ' - '; const SITE_CONFIG_DEFAULT = { baseUrl: '', @@ -174,7 +171,8 @@ Site.prototype.createPageData = function (config) { const resultPath = path.join(this.outputPath, setExtension(config.pageSrc, '.html')); return new Page({ content: '', - title: config.title || '', + title: '', + titlePrefix: config.titlePrefix, pageSrc: config.pageSrc, rootPath: this.rootPath, sourcePath, @@ -271,15 +269,16 @@ Site.prototype.generate = function (baseUrl) { }; /** - * Build all pages of the site + * Build all pages and the index of the site */ Site.prototype.buildSourceFiles = function () { return new Promise((resolve, reject) => { this.generatePages() .then(() => fs.removeAsync(this.tempPath)) .then(() => logger.info('Pages built')) - .then(() => fs.writeJsonAsync(path.join(this.rootPath, 'siteData.json'), { pages: this.frontMatterData })) - .then(() => logger.info('siteData.json built')) + .then(() => fs.writeJsonAsync(path.join(this.rootPath, 'siteData.json'), + { pages: this.frontMatterData })) + .then(() => logger.info('Site index built')) .then(resolve) .catch((error) => { // if error, remove the site and temp folders @@ -377,6 +376,7 @@ Site.prototype.generatePages = function () { baseUrl, pageSrc: page, pageTemplate: this.pageTemplate, + titlePrefix: this.siteConfig.titlePrefix ? this.siteConfig.titlePrefix + TITLE_PREFIX_SEPARATOR : '', })); this.pageModels.forEach((page) => { processingFiles.push(page.generate(builtFiles)); @@ -391,7 +391,6 @@ Site.prototype.generatePages = function () { }); }; - /** * Builds the index of files to be traversed as addressable pages */ From 2e13aa7582967507e73af197d65c1eaa0217142f Mon Sep 17 00:00:00 2001 From: Dan Date: Sun, 1 Apr 2018 18:36:48 +0800 Subject: [PATCH 05/37] Update test site to use frontmatter and addressable array --- test/test_site/bugs/index.md | 4 ++++ test/test_site/index.md | 4 ++++ test/test_site/site.json | 11 ++--------- test/test_site/siteData.json | 15 +++++++++++++++ 4 files changed, 25 insertions(+), 9 deletions(-) create mode 100644 test/test_site/siteData.json diff --git a/test/test_site/bugs/index.md b/test/test_site/bugs/index.md index 405704d3f3..93b8e0145f 100644 --- a/test/test_site/bugs/index.md +++ b/test/test_site/bugs/index.md @@ -1,3 +1,7 @@ + +title: Open Bugs + +
diff --git a/test/test_site/index.md b/test/test_site/index.md index 018b986fc2..e635799784 100644 --- a/test/test_site/index.md +++ b/test/test_site/index.md @@ -1,3 +1,7 @@ + +title: Hello World + +
diff --git a/test/test_site/site.json b/test/test_site/site.json index 936508e5a9..8f07b6d831 100644 --- a/test/test_site/site.json +++ b/test/test_site/site.json @@ -1,14 +1,7 @@ { "baseUrl": "/test_site", - "pages": [ - { - "src": "index.md", - "title": "Hello World" - }, - { - "src": "bugs/index.md", - "title": "Open Bugs" - } + "addressable": [ + "**/index.md" ], "ignore": [ "_markbind/logs/*", diff --git a/test/test_site/siteData.json b/test/test_site/siteData.json new file mode 100644 index 0000000000..2cfa38cab6 --- /dev/null +++ b/test/test_site/siteData.json @@ -0,0 +1,15 @@ +{ + "pages": [ + { + "title": "Open Bugs", + "src": "bugs/index.md" + }, + { + "title": "Hello World", + "src": "index.md" + }, + { + "src": "sub_site/index.md" + } + ] +} From ee221cd1019022479b6ca66f84c2348b1935abd9 Mon Sep 17 00:00:00 2001 From: Dan Date: Tue, 3 Apr 2018 23:42:24 +0800 Subject: [PATCH 06/37] Update expectedSite - The test site has been updated to use the frontmatter feature and thus the expectedSite has to be updated to match the new format of the site. --- asset/js/vue-strap.min.js | 30 +++++++++---------- test/test_site/expected/markbind/js/setup.js | 14 ++++----- .../expected/markbind/js/vue-strap.min.js | 21 ++++++++++++- test/test_site/expected/siteData.json | 15 ++++++++++ test/test_site/expected/sub_site/index.html | 30 +++++++++++++++++++ 5 files changed, 85 insertions(+), 25 deletions(-) create mode 100644 test/test_site/expected/siteData.json create mode 100644 test/test_site/expected/sub_site/index.html diff --git a/asset/js/vue-strap.min.js b/asset/js/vue-strap.min.js index 37d9ff09ba..54c7bf787b 100644 --- a/asset/js/vue-strap.min.js +++ b/asset/js/vue-strap.min.js @@ -1,6 +1,6 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VueStrap=t():e.VueStrap=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){o.installed||(o.installed=!0,(0,a.default)(se).forEach(function(t){e.directive(t,se[t])}),(0,a.default)(ie).forEach(function(t){e.component(t,ie[t])}))}function i(e){e.$on("modal:shouldShow",function(e){this.$broadcast("modal:show",e)}),e.$on("retriever:fetched",function(t){e.$compile(t)}),e.$on("trigger:register",function(e,t){this.$broadcast("trigger:bind",e,t)})}var s=n(27),a=r(s),l=n(62),u=r(l),c=n(66),p=r(c),f=n(100),h=(r(f),n(107)),d=r(h),m=n(112),g=(r(m),n(117)),v=r(g),y=n(122),b=r(y),_=n(127),w=r(_),x=n(249),k=(r(x),n(254)),C=r(k),A=n(263),S=r(A),E=n(268),T=r(E),D=n(273),L=r(D),q=n(134),j=r(q),M=n(278),O=r(M),N=n(129),B=r(N),R=n(290),P=r(R),I=n(307),F=r(I),z=n(310),$=r(z),H=n(315),U=r(H),V=n(320),W=r(V),G=n(325),Y=r(G),Z=n(326),X=r(Z),J=n(327),Q=r(J),K=n(332),ee=r(K),te=n(337),ne=r(te),re=n(342),oe=r(re),ie={accordion:u.default,affix:p.default,aside:d.default,checkbox:v.default,dropdown:b.default,dynamicPanel:w.default,modal:C.default,morph:S.default,navbar:T.default,question:L.default,panel:j.default,popover:O.default,retriever:B.default,select:P.default,tab:F.default,tabGroup:$.default,tabs:U.default,tipBox:ee.default,tooltip:W.default,pic:Q.default,trigger:ne.default,typeahead:oe.default},se={closeable:Y.default,showModal:X.default},ae={install:o,installEvents:i,components:{}};(0,a.default)(ie).forEach(function(e){ae.components[e]=ie[e]}),e.exports=ae},,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){e.exports={default:n(28),__esModule:!0}},function(e,t,n){n(29),e.exports=n(49).Object.keys},function(e,t,n){var r=n(30),o=n(32);n(47)("keys",function(){return function(e){return o(r(e))}})},function(e,t,n){var r=n(31);e.exports=function(e){return Object(r(e))}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(33),o=n(46);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r=n(34),o=n(35),i=n(38)(!1),s=n(42)("IE_PROTO");e.exports=function(e,t){var n,a=o(e),l=0,u=[];for(n in a)n!=s&&r(a,n)&&u.push(n);for(;t.length>l;)r(a,n=t[l++])&&(~i(u,n)||u.push(n));return u}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(36),o=n(31);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(37);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(35),o=n(39),i=n(41);e.exports=function(e){return function(t,n,s){var a,l=r(t),u=o(l.length),c=i(s,u);if(e&&n!=n){for(;u>c;)if(a=l[c++],a!=a)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(40),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(40),o=Math.max,i=Math.min;e.exports=function(e,t){return e=r(e),e<0?o(e+t,0):i(e,t)}},function(e,t,n){var r=n(43)("keys"),o=n(45);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t,n){var r=n(44),o="__core-js_shared__",i=r[o]||(r[o]={});e.exports=function(e){return i[e]||(i[e]={})}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(48),o=n(49),i=n(58);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],s={};s[e]=t(n),r(r.S+r.F*i(function(){n(1)}),"Object",s)}},function(e,t,n){var r=n(44),o=n(49),i=n(50),s=n(52),a="prototype",l=function(e,t,n){var u,c,p,f=e&l.F,h=e&l.G,d=e&l.S,m=e&l.P,g=e&l.B,v=e&l.W,y=h?o:o[t]||(o[t]={}),b=y[a],_=h?r:d?r[t]:(r[t]||{})[a];h&&(n=t);for(u in n)c=!f&&_&&void 0!==_[u],c&&u in y||(p=c?_[u]:n[u],y[u]=h&&"function"!=typeof _[u]?n[u]:g&&c?i(p,r):v&&_[u]==p?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t[a]=e[a],t}(p):m&&"function"==typeof p?i(Function.call,p):p,m&&((y.virtual||(y.virtual={}))[u]=p,e&l.R&&b&&!b[u]&&s(b,u,p)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t){var n=e.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(51);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(53),o=n(61);e.exports=n(57)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(54),o=n(56),i=n(60),s=Object.defineProperty;t.f=n(57)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(55);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=!n(57)&&!n(58)(function(){return 7!=Object.defineProperty(n(59)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){e.exports=!n(58)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(55),o=n(44).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(55);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){e.exports=n(63),e.exports.__esModule&&(e.exports=e.exports.default),("function"==typeof e.exports?e.exports.options:e.exports).template=n(65)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(64);t.default={props:{type:{type:String,default:null},oneAtAtime:{type:Boolean,coerce:r.coerce.boolean,default:!1}},created:function(){var e=this;this._isAccordion=!0,this.$on("isOpenEvent",function(t,n){n&&e.oneAtAtime&&e.$children.forEach(function(e){t!==e&&(e.expanded=!1)})})}}},function(e,t){"use strict";function n(e){var t=new window.XMLHttpRequest,n={},r={then:function(e,t){return r.done(e).fail(t)},catch:function(e){return r.fail(e)},always:function(e){return r.done(e).fail(e)}};return["done","fail"].forEach(function(e){n[e]=[],r[e]=function(t){return t instanceof Function&&n[e].push(t),r}}),r.done(JSON.parse),t.onreadystatechange=function(){if(4===t.readyState){var e={status:t.status};if(200===t.status)try{var r=t.responseText;for(var o in n.done){var i=n.done[o](r);void 0!==i&&(r=i)}}catch(e){n.fail.forEach(function(t){return t(e)})}else n.fail.forEach(function(t){return t(e)})}},t.open("GET",e),t.setRequestHeader("Accept","application/json"),t.send(),r}function r(){if(document.documentElement.scrollHeight<=document.documentElement.clientHeight)return 0;var e=document.createElement("p");e.style.width="100%",e.style.height="200px";var t=document.createElement("div");t.style.position="absolute",t.style.top="0px",t.style.left="0px",t.style.visibility="hidden",t.style.width="200px",t.style.height="150px",t.style.overflow="hidden",t.appendChild(e),document.body.appendChild(t);var n=e.offsetWidth;t.style.overflow="scroll";var r=e.offsetWidth;return n===r&&(r=t.clientWidth),document.body.removeChild(t),n-r}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en",t={daysOfWeek:["Su","Mo","Tu","We","Th","Fr","Sa"],limit:"Limit reached ({{limit}} items max).",loading:"Loading...",minLength:"Min. Length",months:["January","February","March","April","May","June","July","August","September","October","November","December"],notSelected:"Nothing Selected",required:"Required",search:"Search"};return window.VueStrapLang?window.VueStrapLang(e):t}function i(e,t){function n(e){return/^[0-9]+$/.test(e)?Number(e)||1:null}var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100;return function(){for(var i=this,s=arguments.length,a=Array(s),l=0;l1&&(n=t[1]),n}function a(e){var t=!window.Vue||!window.Vue.partial,n={computed:{vue2:function(){return!this.$dispatch}}};return t?(e.beforeCompile&&(e.beforeMount=e.beforeCompile,delete e.beforeCompile),e.compiled&&(n.compiled=e.compiled,delete e.compiled),e.ready&&(e.mounted=e.ready,delete e.ready)):(e.beforeCreate&&(n.create=e.beforeCreate,delete e.beforeCreate),e.beforeMount&&(e.beforeCompile=e.beforeMount,delete e.beforeMount),e.mounted&&(e.ready=e.mounted,delete e.mounted)),e.mixins||(e.mixins=[]),e.mixins.unshift(n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.getJSON=n,t.getScrollBarWidth=r,t.translations=o,t.delayer=i,t.getFragmentByHash=s,t.VueFixer=a;t.coerce={boolean:function(e){return"string"==typeof e?""===e||"true"===e||"false"!==e&&"null"!==e&&"undefined"!==e&&e:e},number:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return"number"==typeof e?e:void 0===e||null===e||isNaN(Number(e))?t:Number(e)},string:function(e){return void 0===e||null===e?"":e+""},pattern:function(e){return e instanceof Function||e instanceof RegExp?e:"string"==typeof e?new RegExp(e):null}}},function(e,t){e.exports="
"},function(e,t,n){e.exports=n(67),e.exports.__esModule&&(e.exports=e.exports.default),("function"==typeof e.exports?e.exports.options:e.exports).template=n(99)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(64),i=n(68),s=r(i);t.default={props:{offset:{type:Number,coerce:o.coerce.number,default:0}},data:function(){return{affixed:!1}},computed:{top:function(){return this.offset>0?this.offset+"px":null}},methods:{checkScroll:function(){var e=this;if(this.$el.offsetWidth||this.$el.offsetHeight||this.$el.getClientRects().length){var t={},n={},r=this.$el.getBoundingClientRect(),o=document.body;["Top","Left"].forEach(function(i){var s=i.toLowerCase(),a=window["page"+("Top"===i?"Y":"X")+"Offset"],l="scroll"+i;"number"!=typeof a&&(a=document.documentElement[l],"number"!=typeof a&&(a=document.body[l])),t[s]=a,n[s]=t[s]+r[s]-(e.$el["client"+i]||o["client"+i]||0)});var i=t.top>n.top-this.offset;this.affixed!==i&&(this.affixed=i)}}},ready:function(){var e=this;(0,s.default)(window).on("scroll resize",function(){return e.checkScroll()}),setTimeout(function(){return e.checkScroll()},0)},beforeDestroy:function(){var e=this;(0,s.default)(window).off("scroll resize",function(){return e.checkScroll()})}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return e instanceof window.Node}function i(e){return e instanceof window.NodeList||e instanceof S||e instanceof window.HTMLCollection||e instanceof Array}function s(e){return e=e.trim(),e.length?e.replace(/\s+/," ").split(" "):[]}function a(e){return e.length?e.join(" "):""}function l(e,t){var n=[];return w.forEach.call(e,function(r){if(o(r))~n.indexOf(r)||n.push(r);else if(i(r))for(var s in r)n.push(r[s]);else if(null!==r)return e.get=E.get,e.set=E.set,e.call=E.call,e.owner=t,e}),c(n,t)}function u(e){var t=this;E[e]||(T[e]instanceof Function?E[e]=function(){for(var n=arguments.length,r=Array(n),o=0;o1&&void 0!==arguments[1])||arguments[1];return this&&this.length&&e?(this.each(function(t){C.push({el:t,callback:e})}),k||(k=function(e){C.forEach(function(t){var n=t.el.contains(e.target)||t.el===e.target;n||t.callback.call(t.el,e,t.el)})},document.addEventListener("click",k,!1),t&&document.addEventListener("touchstart",k,!1)),this):this}},{key:"offBlur",value:function(e){return this.each(function(t){C=C.filter(function(n){return!(n&&n.el===t&&(!e||n.callback===e))&&t})}),this}},{key:"asArray",get:function(){return w.slice.call(this)}}]),e}(),E=S.prototype;(0,g.default)(w).forEach(function(e){"join"!==e&&"copyWithin"!==e&&"fill"!==e&&void 0===E[e]&&(E[e]=w[e])}),window.Symbol&&d.default&&(E[d.default]=E.values=w[d.default]);var T=document.createElement("div");for(var D in T)u(D);window.NL=c,t.default=c},function(e,t,n){e.exports={default:n(70),__esModule:!0}},function(e,t,n){n(71);var r=n(49).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(48);r(r.S+r.F*!n(57),"Object",{defineProperty:n(53).f})},function(e,t,n){e.exports={default:n(73),__esModule:!0}},function(e,t,n){n(74),n(87),e.exports=n(91).f("iterator")},function(e,t,n){"use strict";var r=n(75)(!0);n(76)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){var r=n(40),o=n(31);e.exports=function(e){return function(t,n){var i,s,a=String(o(t)),l=r(n),u=a.length;return l<0||l>=u?e?"":void 0:(i=a.charCodeAt(l),i<55296||i>56319||l+1===u||(s=a.charCodeAt(l+1))<56320||s>57343?e?a.charAt(l):i:e?a.slice(l,l+2):(i-55296<<10)+(s-56320)+65536)}}},function(e,t,n){"use strict";var r=n(77),o=n(48),i=n(78),s=n(52),a=n(34),l=n(79),u=n(80),c=n(84),p=n(86),f=n(85)("iterator"),h=!([].keys&&"next"in[].keys()),d="@@iterator",m="keys",g="values",v=function(){return this};e.exports=function(e,t,n,y,b,_,w){u(n,t,y);var x,k,C,A=function(e){if(!h&&e in D)return D[e];switch(e){case m:return function(){return new n(this,e)};case g:return function(){return new n(this,e)}}return function(){return new n(this,e)}},S=t+" Iterator",E=b==g,T=!1,D=e.prototype,L=D[f]||D[d]||b&&D[b],q=!h&&L||A(b),j=b?E?A("entries"):q:void 0,M="Array"==t?D.entries||L:L;if(M&&(C=p(M.call(new e)),C!==Object.prototype&&C.next&&(c(C,S,!0),r||a(C,f)||s(C,f,v))),E&&L&&L.name!==g&&(T=!0,q=function(){return L.call(this)}),r&&!w||!h&&!T&&D[f]||s(D,f,q),l[t]=q,l[S]=v,b)if(x={values:E?q:A(g),keys:_?q:A(m),entries:j},w)for(k in x)k in D||i(D,k,x[k]);else o(o.P+o.F*(h||T),t,x);return x}},function(e,t){e.exports=!0},function(e,t,n){e.exports=n(52)},function(e,t){e.exports={}},function(e,t,n){"use strict";var r=n(81),o=n(61),i=n(84),s={};n(52)(s,n(85)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(s,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(54),o=n(82),i=n(46),s=n(42)("IE_PROTO"),a=function(){},l="prototype",u=function(){var e,t=n(59)("iframe"),r=i.length,o="<",s=">";for(t.style.display="none",n(83).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(o+"script"+s+"document.F=Object"+o+"/script"+s),e.close(),u=e.F;r--;)delete u[l][i[r]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(a[l]=r(e),n=new a,a[l]=null,n[s]=e):n=u(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(53),o=n(54),i=n(32);e.exports=n(57)?Object.defineProperties:function(e,t){o(e);for(var n,s=i(t),a=s.length,l=0;a>l;)r.f(e,n=s[l++],t[n]);return e}},function(e,t,n){var r=n(44).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(53).f,o=n(34),i=n(85)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){var r=n(43)("wks"),o=n(45),i=n(44).Symbol,s="function"==typeof i,a=e.exports=function(e){return r[e]||(r[e]=s&&i[e]||(s?i:o)("Symbol."+e))};a.store=r},function(e,t,n){var r=n(34),o=n(30),i=n(42)("IE_PROTO"),s=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},function(e,t,n){n(88);for(var r=n(44),o=n(52),i=n(79),s=n(85)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l=e.length?(this._t=void 0,o(1)):"keys"==t?o(0,n):"values"==t?o(0,e[n]):o(0,[n,e[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){t.f=n(85)},function(e,t,n){e.exports={default:n(93),__esModule:!0}},function(e,t,n){n(94);var r=n(49).Object;e.exports=function(e){return r.getOwnPropertyNames(e)}},function(e,t,n){n(47)("getOwnPropertyNames",function(){return n(95).f})},function(e,t,n){var r=n(35),o=n(96).f,i={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(e){try{return o(e)}catch(e){return s.slice()}};e.exports.f=function(e){return s&&"[object Window]"==i.call(e)?a(e):o(r(e))}},function(e,t,n){var r=n(33),o=n(46).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(69),i=r(o);t.default=function(){function e(e,t){for(var n=0;n=0&&b.splice(t,1)}function a(e){var t=document.createElement("style");return t.type="text/css",i(e,t),t}function l(e){var t=document.createElement("link");return t.rel="stylesheet",i(e,t),t}function u(e,t){var n,r,o;if(t.singleton){var i=y++;n=v||(v=a(t)),r=c.bind(null,n,i,!1),o=c.bind(null,n,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(t),r=f.bind(null,n),o=function(){s(n),n.href&&URL.revokeObjectURL(n.href)}):(n=a(t),r=p.bind(null,n),o=function(){s(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}function c(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=_(t,o);else{var i=document.createTextNode(o),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(i,s[t]):e.appendChild(i)}}function p(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function f(e,t){var n=t.css,r=t.sourceMap;r&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var o=new Blob([n],{type:"text/css"}),i=e.href;e.href=URL.createObjectURL(o),i&&URL.revokeObjectURL(i)}var h={},d=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},m=d(function(){return/msie [6-9]\b/.test(self.navigator.userAgent.toLowerCase())}),g=d(function(){return document.head||document.getElementsByTagName("head")[0]}),v=null,y=0,b=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=m()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=o(e);return r(n,t),function(e){for(var i=[],s=0;s
"},function(e,t,n){n(108),e.exports=n(110),e.exports.__esModule&&(e.exports=e.exports.default),("function"==typeof e.exports?e.exports.options:e.exports).template=n(111)},function(e,t,n){var r=n(109);"string"==typeof r&&(r=[[e.id,r,""]]);n(104)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(103)(),t.push([e.id,".aside-open{transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.aside-open.has-push-right{-webkit-transform:translateX(-300px);transform:translateX(-300px)}.aside{position:fixed;top:0;bottom:0;z-index:1049;overflow:auto;background:#fff}.slideleft-enter{-webkit-animation:slideleft-in .3s;animation:slideleft-in .3s}.slideleft-leave{-webkit-animation:slideleft-out .3s;animation:slideleft-out .3s}@-webkit-keyframes slideleft-in{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);opacity:0}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@keyframes slideleft-in{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);opacity:0}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@-webkit-keyframes slideleft-out{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}to{-webkit-transform:translateX(-100%);transform:translateX(-100%);opacity:0}}@keyframes slideleft-out{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}to{-webkit-transform:translateX(-100%);transform:translateX(-100%);opacity:0}}.slideright-enter{-webkit-animation:slideright-in .3s;animation:slideright-in .3s}.slideright-leave{-webkit-animation:slideright-out .3s;animation:slideright-out .3s}@-webkit-keyframes slideright-in{0%{-webkit-transform:translateX(100%);transform:translateX(100%);opacity:0}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@keyframes slideright-in{0%{-webkit-transform:translateX(100%);transform:translateX(100%);opacity:0}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@-webkit-keyframes slideright-out{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}to{-webkit-transform:translateX(100%);transform:translateX(100%);opacity:0}}@keyframes slideright-out{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}to{-webkit-transform:translateX(100%);transform:translateX(100%);opacity:0}}.aside:focus{outline:0}@media (max-width:991px){.aside{min-width:240px}}.aside.left{right:auto;left:0}.aside.right{right:0;left:auto}.aside .aside-dialog .aside-header{border-bottom:1px solid #e5e5e5;min-height:16.43px;padding:6px 15px;background:#337ab7;color:#fff}.aside .aside-dialog .aside-header .close{margin-right:-8px;padding:4px 8px;color:#fff;font-size:25px;opacity:.8}.aside .aside-dialog .aside-body{position:relative;padding:15px}.aside .aside-dialog .aside-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}.aside .aside-dialog .aside-footer .btn+.btn{margin-left:5px;margin-bottom:0}.aside .aside-dialog .aside-footer .btn-group .btn+.btn{margin-left:-1px}.aside .aside-dialog .aside-footer .btn-block+.btn-block{margin-left:0}.aside-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;opacity:0;transition:opacity .3s ease;background-color:#000}.aside-backdrop.in{opacity:.5;filter:alpha(opacity=50)}",""]); -},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(64),i=n(68),s=r(i);t.default={props:{show:{type:Boolean,coerce:o.coerce.boolean,required:!0,twoWay:!0},placement:{type:String,default:"right"},header:{type:String},width:{type:Number,coerce:o.coerce.number,default:320}},watch:{show:function(e){var t=this,n=document.body,r=(0,o.getScrollBarWidth)();if(e){this._backdrop||(this._backdrop=document.createElement("div")),this._backdrop.className="aside-backdrop",n.appendChild(this._backdrop),n.classList.add("modal-open"),0!==r&&(n.style.paddingRight=r+"px");this._backdrop.clientHeight;this._backdrop.classList.add("in"),(0,s.default)(this._backdrop).on("click",function(){return t.close()})}else(0,s.default)(this._backdrop).on("transitionend",function(){(0,s.default)(t._backdrop).off();try{n.classList.remove("modal-open"),n.style.paddingRight="0",n.removeChild(t._backdrop),t._backdrop=null}catch(e){}}),this._backdrop.className="aside-backdrop"}},methods:{close:function(){this.show=!1}}}},function(e,t){e.exports="

{{ header }}

"},function(e,t,n){n(113),e.exports=n(115),e.exports.__esModule&&(e.exports=e.exports.default),("function"==typeof e.exports?e.exports.options:e.exports).template=n(116)},function(e,t,n){var r=n(114);"string"==typeof r&&(r=[[e.id,r,""]]);n(104)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(103)(),t.push([e.id,".carousel-control[_v-cc9b6dac]{cursor:pointer}",""])},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(64),i=n(68),s=r(i);t.default={props:{indicators:{type:Boolean,coerce:o.coerce.boolean,default:!0},controls:{type:Boolean,coerce:o.coerce.boolean,default:!0},interval:{type:Number,coerce:o.coerce.number,default:5e3}},data:function(){return{indicator:[],index:0,isAnimating:!1}},watch:{index:function(e,t){this.slide(e>t?"left":"right",e,t)}},methods:{indicatorClick:function(e){return!this.isAnimating&&this.index!==e&&(this.isAnimating=!0,void(this.index=e))},slide:function(e,t,n){var r=this;if(this.$el){var o=(0,s.default)(".item",this.$el);if(o.length){var i=o[t]||o[0];(0,s.default)(i).addClass("left"===e?"next":"prev");i.clientHeight;(0,s.default)([o[n],i]).addClass(e).on("transitionend",function(){o.off("transitionend").className="item",(0,s.default)(i).addClass("active"),r.isAnimating=!1})}}},next:function(){return!(!this.$el||this.isAnimating)&&(this.isAnimating=!0,void(this.index+1<(0,s.default)(".item",this.$el).length?this.index+=1:this.index=0))},prev:function(){return!(!this.$el||this.isAnimating)&&(this.isAnimating=!0,void(0===this.index?this.index=(0,s.default)(".item",this.$el).length-1:this.index-=1))},toggleInterval:function(e){void 0===e&&(e=this._intervalID),this._intervalID&&(clearInterval(this._intervalID),delete this._intervalID),e&&this.interval>0&&(this._intervalID=setInterval(this.next,this.interval))}},ready:function(){var e=this;this.toggleInterval(!0),(0,s.default)(this.$el).on("mouseenter",function(){return e.toggleInterval(!1)}).on("mouseleave",function(){return e.toggleInterval(!0)})},beforeDestroy:function(){this.toggleInterval(!1),(0,s.default)(this.$el).off("mouseenter mouseleave")}}},function(e,t){e.exports=''},function(e,t,n){n(118),e.exports=n(120),e.exports.__esModule&&(e.exports=e.exports.default),("function"==typeof e.exports?e.exports.options:e.exports).template=n(121)},function(e,t,n){var r=n(119);"string"==typeof r&&(r=[[e.id,r,""]]);n(104)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(103)(),t.push([e.id,"label.checkbox[_v-5eb1cbe6]{position:relative;padding-left:18px}label.checkbox>input[_v-5eb1cbe6]{box-sizing:border-box;position:absolute;z-index:-1;padding:0;opacity:0;margin:0}label.checkbox>.icon[_v-5eb1cbe6]{position:absolute;top:.2rem;left:0;display:block;width:1.4rem;height:1.4rem;line-height:1rem;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-radius:.35rem;background-repeat:no-repeat;background-position:50%;background-size:50% 50%}label.checkbox:not(.active)>.icon[_v-5eb1cbe6]{background-color:#ddd;border:1px solid #bbb}label.checkbox>input:focus~.icon[_v-5eb1cbe6]{outline:0;border:1px solid #66afe9;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}label.checkbox.active>.icon[_v-5eb1cbe6]{background-size:1rem 1rem;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNyIgaGVpZ2h0PSI3Ij48cGF0aCBmaWxsPSIjZmZmIiBkPSJtNS43MywwLjUybC0zLjEyNDIyLDMuMzQxNjFsLTEuMzM4OTUsLTEuNDMyMTJsLTEuMjQ5NjksMS4zMzY2NWwyLjU4ODYzLDIuNzY4NzZsNC4zNzM5LC00LjY3ODI2bC0xLjI0OTY5LC0xLjMzNjY1bDAsMGwwLjAwMDAyLDAuMDAwMDF6Ii8+PC9zdmc+)}label.checkbox.active .btn-default[_v-5eb1cbe6]{-webkit-filter:brightness(75%);filter:brightness(75%)}.btn.readonly[_v-5eb1cbe6],label.checkbox.disabled[_v-5eb1cbe6],label.checkbox.readonly[_v-5eb1cbe6]{filter:alpha(opacity=65);box-shadow:none;opacity:.65}label.btn>input[type=checkbox][_v-5eb1cbe6]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}",""])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(64);t.default={props:{value:{default:!0},checked:{twoWay:!0},button:{type:Boolean,coerce:r.coerce.boolean,default:!1},disabled:{type:Boolean,coerce:r.coerce.boolean,default:!1},name:{type:String,default:null},readonly:{type:Boolean,coerce:r.coerce.boolean,default:!1},type:{type:String,default:null}},computed:{active:function(){return"boolean"!=typeof this.value&&this.group?~this.$parent.value.indexOf(this.value):this.checked===this.value},isButton:function(){return this.button||this.group&&this.$parent.buttons},group:function(){return this.$parent&&this.$parent._checkboxGroup},typeColor:function(){return this.type||this.$parent&&this.$parent.type||"default"}},watch:{checked:function(e){"boolean"!=typeof this.value&&this.group&&(this.checked&&!~this.$parent.value.indexOf(this.value)&&this.$parent.value.push(this.value),!this.checked&&~this.$parent.value.indexOf(this.value)&&this.$parent.value.$remove(this.value))}},created:function(){if("boolean"!=typeof this.value){var e=this.$parent;e&&e._btnGroup&&!e._radioGroup&&(e._checkboxGroup=!0,e.value instanceof Array||(e.value=[]))}},ready:function(){this.$parent._checkboxGroup&&"boolean"!=typeof this.value&&(this.$parent.value.length?this.checked=~this.$parent.value.indexOf(this.value):this.checked&&this.$parent.value.push(this.value))},methods:{eval:function(){"boolean"!=typeof this.value&&this.group&&(this.checked=~this.$parent.value.indexOf(this.value))},focus:function(){this.$els.input.focus()},toggle:function(){if(!this.disabled&&(this.focus(),!this.readonly&&(this.checked=this.checked?null:this.value,this.group&&"boolean"!=typeof this.value))){var e=this.$parent.value.indexOf(this.value);this.$parent.value[~e?"$remove":"push"](this.value)}return!1}}}},function(e,t){e.exports=''},function(e,t,n){n(123),e.exports=n(125),e.exports.__esModule&&(e.exports=e.exports.default),("function"==typeof e.exports?e.exports.options:e.exports).template=n(126)},function(e,t,n){var r=n(124);"string"==typeof r&&(r=[[e.id,r,""]]);n(104)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(103)(),t.push([e.id,".secret[_v-bd7b294a]{position:absolute;clip:rect(0 0 0 0);overflow:hidden;margin:-1px;height:1px;width:1px;padding:0;border:0}",""])},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(64),i=n(68),s=r(i);t.default={props:{show:{twoWay:!0,type:Boolean,coerce:o.coerce.boolean,default:!1},class:null,disabled:{type:Boolean,coerce:o.coerce.boolean,default:!1},text:{type:String,default:null},type:{type:String,default:"default"}},computed:{classes:function(){return[{open:this.show,disabled:this.disabled},this.class,this.isLi?"dropdown":this.inInput?"input-group-btn":"btn-group"]},inInput:function(){return this.$parent._input},isLi:function(){return this.$parent._navbar||this.$parent.menu||this.$parent._tabset},menu:function(){return!this.$parent||this.$parent.navbar},submenu:function(){return this.$parent&&(this.$parent.menu||this.$parent.submenu)},slots:function(){return this._slotContents}},methods:{blur:function(){var e=this;this.unblur(),this._hide=setTimeout(function(){e._hide=null,e.show=!1},100)},unblur:function(){this._hide&&(clearTimeout(this._hide),this._hide=null)}},ready:function(){var e=this,t=(0,s.default)(this.$els.dropdown);t.onBlur(function(t){e.show=!1},!1),t.findChildren("a,button.dropdown-toggle").on("click",function(t){return t.preventDefault(),!e.disabled&&(e.show=!e.show,!1)}),t.findChildren("ul").on("click","li>a",function(t){e.show=!1})},beforeDestroy:function(){var e=(0,s.default)(this.$els.dropdown);e.offBlur(),e.findChildren("a,button").off(),e.findChildren("ul").off()}}},function(e,t){e.exports='
  • {{{ text }}}
  • '},function(e,t,n){e.exports=n(128),e.exports.__esModule&&(e.exports=e.exports.default),("function"==typeof e.exports?e.exports.options:e.exports).template=n(248)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(64),i=n(129),s=r(i),a=n(134),l=r(a);t.default={props:{src:{type:String},fragment:{type:String},header:{type:String},isOpen:{type:Boolean,coerce:o.coerce.boolean,default:null},type:{type:String,default:null}},components:{panel:l.default,retriever:s.default},created:function(){if(this.src){var e=(0,o.getFragmentByHash)(this.src);e&&(this.fragment=e,this.src=this.src.split("#")[0])}},ready:function(){var e=this;this.isOpen&&this.$refs.retriever.fetch(),this.$on("isOpenEvent",function(t,n){n&&e.$refs.retriever.fetch()})},events:{"panel:expand":function(e){},"panel:collapse":function(e){}}}},function(e,t,n){e.exports=n(130),e.exports.__esModule&&(e.exports=e.exports.default),("function"==typeof e.exports?e.exports.options:e.exports).template=n(133)},function(e,t,n){(function(e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(64);t.default={props:{src:{type:String},fragment:{type:String},delay:{type:Boolean,coerce:r.coerce.boolean,default:!1},_hasFetched:{type:Boolean,default:!1}},methods:{fetch:function(){var t=this;this.src&&(this._hasFetched||e.get(this.src).done(function(n){var r=n;if(t.fragment){var o=e("").append(e.parseHTML(r)),i=e("#"+t.fragment,o);r=i.html()}if(t._hasFetched=!0,void 0==r&&t.fragment)return void(t.$el.innerHTML="Error: Failed to retrieve page fragment: "+t.src+"#"+t.fragment);var s=e(t.$el).html(r);t.$dispatch("retriever:fetched",s.get(0))}).fail(function(e){console.error(e.responseText),t.$el.innerHTML="Error: Failed to retrieve content from source: "+t.src+""}))}},ready:function(){if(this.src){var e=(0,r.getFragmentByHash)(this.src);e&&(this.fragment=e,this.src=this.src.split("#")[0])}else this.$el.innerHTML="";this.delay||this.fetch()}}}).call(t,n(131))},function(e,t,n){(function(t){e.exports=t.jQuery=n(132)}).call(t,function(){return this}())},function(e,t,n){var r,o;/*! - * jQuery JavaScript Library v3.3.1 +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VueStrap=t():e.VueStrap=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){o.installed||(o.installed=!0,(0,s.default)(ae).forEach(function(t){e.directive(t,ae[t])}),(0,s.default)(ie).forEach(function(t){e.component(t,ie[t])}))}function i(e){e.$on("modal:shouldShow",function(e){this.$broadcast("modal:show",e)}),e.$on("retriever:fetched",function(t){e.$compile(t)}),e.$on("trigger:register",function(e,t){this.$broadcast("trigger:bind",e,t)})}var a=n(27),s=r(a),l=n(62),u=r(l),c=n(66),p=r(c),f=n(100),h=(r(f),n(107)),d=r(h),m=n(112),g=(r(m),n(117)),v=r(g),y=n(122),b=r(y),_=n(127),w=r(_),x=n(249),k=(r(x),n(254)),C=r(k),A=n(263),S=r(A),E=n(268),T=r(E),D=n(273),L=r(D),q=n(134),j=r(q),M=n(278),O=r(M),N=n(129),B=r(N),F=n(290),R=r(F),I=n(307),P=r(I),z=n(310),$=r(z),H=n(315),U=r(H),V=n(320),W=r(V),G=n(325),Y=r(G),Z=n(326),X=r(Z),J=n(327),Q=r(J),K=n(332),ee=r(K),te=n(337),ne=r(te),re=n(342),oe=r(re),ie={accordion:u.default,affix:p.default,aside:d.default,checkbox:v.default,dropdown:b.default,dynamicPanel:w.default,modal:C.default,morph:S.default,navbar:T.default,question:L.default,panel:j.default,popover:O.default,retriever:B.default,select:R.default,tab:P.default,tabGroup:$.default,tabs:U.default,tipBox:ee.default,tooltip:W.default,pic:Q.default,trigger:ne.default,typeahead:oe.default},ae={closeable:Y.default,showModal:X.default},se={install:o,installEvents:i,components:{}};(0,s.default)(ie).forEach(function(e){se.components[e]=ie[e]}),e.exports=se},,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){e.exports={default:n(28),__esModule:!0}},function(e,t,n){n(29),e.exports=n(49).Object.keys},function(e,t,n){var r=n(30),o=n(32);n(47)("keys",function(){return function(e){return o(r(e))}})},function(e,t,n){var r=n(31);e.exports=function(e){return Object(r(e))}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(33),o=n(46);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r=n(34),o=n(35),i=n(38)(!1),a=n(42)("IE_PROTO");e.exports=function(e,t){var n,s=o(e),l=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~i(u,n)||u.push(n));return u}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(36),o=n(31);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(37);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(35),o=n(39),i=n(41);e.exports=function(e){return function(t,n,a){var s,l=r(t),u=o(l.length),c=i(a,u);if(e&&n!=n){for(;u>c;)if(s=l[c++],s!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(40),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(40),o=Math.max,i=Math.min;e.exports=function(e,t){return e=r(e),e<0?o(e+t,0):i(e,t)}},function(e,t,n){var r=n(43)("keys"),o=n(45);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t,n){var r=n(44),o="__core-js_shared__",i=r[o]||(r[o]={});e.exports=function(e){return i[e]||(i[e]={})}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(48),o=n(49),i=n(58);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*i(function(){n(1)}),"Object",a)}},function(e,t,n){var r=n(44),o=n(49),i=n(50),a=n(52),s="prototype",l=function(e,t,n){var u,c,p,f=e&l.F,h=e&l.G,d=e&l.S,m=e&l.P,g=e&l.B,v=e&l.W,y=h?o:o[t]||(o[t]={}),b=y[s],_=h?r:d?r[t]:(r[t]||{})[s];h&&(n=t);for(u in n)c=!f&&_&&void 0!==_[u],c&&u in y||(p=c?_[u]:n[u],y[u]=h&&"function"!=typeof _[u]?n[u]:g&&c?i(p,r):v&&_[u]==p?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t[s]=e[s],t}(p):m&&"function"==typeof p?i(Function.call,p):p,m&&((y.virtual||(y.virtual={}))[u]=p,e&l.R&&b&&!b[u]&&a(b,u,p)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t){var n=e.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(51);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(53),o=n(61);e.exports=n(57)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(54),o=n(56),i=n(60),a=Object.defineProperty;t.f=n(57)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(55);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=!n(57)&&!n(58)(function(){return 7!=Object.defineProperty(n(59)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){e.exports=!n(58)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(55),o=n(44).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(55);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){e.exports=n(63),e.exports.__esModule&&(e.exports=e.exports.default),("function"==typeof e.exports?e.exports.options:e.exports).template=n(65)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(64);t.default={props:{type:{type:String,default:null},oneAtAtime:{type:Boolean,coerce:r.coerce.boolean,default:!1}},created:function(){var e=this;this._isAccordion=!0,this.$on("isOpenEvent",function(t,n){n&&e.oneAtAtime&&e.$children.forEach(function(e){t!==e&&(e.expanded=!1)})})}}},function(e,t){"use strict";function n(e){var t=new window.XMLHttpRequest,n={},r={then:function(e,t){return r.done(e).fail(t)},catch:function(e){return r.fail(e)},always:function(e){return r.done(e).fail(e)}};return["done","fail"].forEach(function(e){n[e]=[],r[e]=function(t){return t instanceof Function&&n[e].push(t),r}}),r.done(JSON.parse),t.onreadystatechange=function(){if(4===t.readyState){var e={status:t.status};if(200===t.status)try{var r=t.responseText;for(var o in n.done){var i=n.done[o](r);void 0!==i&&(r=i)}}catch(e){n.fail.forEach(function(t){return t(e)})}else n.fail.forEach(function(t){return t(e)})}},t.open("GET",e),t.setRequestHeader("Accept","application/json"),t.send(),r}function r(){if(document.documentElement.scrollHeight<=document.documentElement.clientHeight)return 0;var e=document.createElement("p");e.style.width="100%",e.style.height="200px";var t=document.createElement("div");t.style.position="absolute",t.style.top="0px",t.style.left="0px",t.style.visibility="hidden",t.style.width="200px",t.style.height="150px",t.style.overflow="hidden",t.appendChild(e),document.body.appendChild(t);var n=e.offsetWidth;t.style.overflow="scroll";var r=e.offsetWidth;return n===r&&(r=t.clientWidth),document.body.removeChild(t),n-r}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en",t={daysOfWeek:["Su","Mo","Tu","We","Th","Fr","Sa"],limit:"Limit reached ({{limit}} items max).",loading:"Loading...",minLength:"Min. Length",months:["January","February","March","April","May","June","July","August","September","October","November","December"],notSelected:"Nothing Selected",required:"Required",search:"Search"};return window.VueStrapLang?window.VueStrapLang(e):t}function i(e,t){function n(e){return/^[0-9]+$/.test(e)?Number(e)||1:null}var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100;return function(){for(var i=this,a=arguments.length,s=Array(a),l=0;l1&&(n=t[1]),n}function s(e){var t=!window.Vue||!window.Vue.partial,n={computed:{vue2:function(){return!this.$dispatch}}};return t?(e.beforeCompile&&(e.beforeMount=e.beforeCompile,delete e.beforeCompile),e.compiled&&(n.compiled=e.compiled,delete e.compiled),e.ready&&(e.mounted=e.ready,delete e.ready)):(e.beforeCreate&&(n.create=e.beforeCreate,delete e.beforeCreate),e.beforeMount&&(e.beforeCompile=e.beforeMount,delete e.beforeMount),e.mounted&&(e.ready=e.mounted,delete e.mounted)),e.mixins||(e.mixins=[]),e.mixins.unshift(n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.getJSON=n,t.getScrollBarWidth=r,t.translations=o,t.delayer=i,t.getFragmentByHash=a,t.VueFixer=s;t.coerce={boolean:function(e){return"string"==typeof e?""===e||"true"===e||"false"!==e&&"null"!==e&&"undefined"!==e&&e:e},number:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return"number"==typeof e?e:void 0===e||null===e||isNaN(Number(e))?t:Number(e)},string:function(e){return void 0===e||null===e?"":e+""},pattern:function(e){return e instanceof Function||e instanceof RegExp?e:"string"==typeof e?new RegExp(e):null}}},function(e,t){e.exports="
    "},function(e,t,n){e.exports=n(67),e.exports.__esModule&&(e.exports=e.exports.default),("function"==typeof e.exports?e.exports.options:e.exports).template=n(99)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(64),i=n(68),a=r(i);t.default={props:{offset:{type:Number,coerce:o.coerce.number,default:0}},data:function(){return{affixed:!1}},computed:{top:function(){return this.offset>0?this.offset+"px":null}},methods:{checkScroll:function(){var e=this;if(this.$el.offsetWidth||this.$el.offsetHeight||this.$el.getClientRects().length){var t={},n={},r=this.$el.getBoundingClientRect(),o=document.body;["Top","Left"].forEach(function(i){var a=i.toLowerCase(),s=window["page"+("Top"===i?"Y":"X")+"Offset"],l="scroll"+i;"number"!=typeof s&&(s=document.documentElement[l],"number"!=typeof s&&(s=document.body[l])),t[a]=s,n[a]=t[a]+r[a]-(e.$el["client"+i]||o["client"+i]||0)});var i=t.top>n.top-this.offset;this.affixed!==i&&(this.affixed=i)}}},ready:function(){var e=this;(0,a.default)(window).on("scroll resize",function(){return e.checkScroll()}),setTimeout(function(){return e.checkScroll()},0)},beforeDestroy:function(){var e=this;(0,a.default)(window).off("scroll resize",function(){return e.checkScroll()})}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return e instanceof window.Node}function i(e){return e instanceof window.NodeList||e instanceof S||e instanceof window.HTMLCollection||e instanceof Array}function a(e){return e=e.trim(),e.length?e.replace(/\s+/," ").split(" "):[]}function s(e){return e.length?e.join(" "):""}function l(e,t){var n=[];return w.forEach.call(e,function(r){if(o(r))~n.indexOf(r)||n.push(r);else if(i(r))for(var a in r)n.push(r[a]);else if(null!==r)return e.get=E.get,e.set=E.set,e.call=E.call,e.owner=t,e}),c(n,t)}function u(e){var t=this;E[e]||(T[e]instanceof Function?E[e]=function(){for(var n=arguments.length,r=Array(n),o=0;o1&&void 0!==arguments[1])||arguments[1];return this&&this.length&&e?(this.each(function(t){C.push({el:t,callback:e})}),k||(k=function(e){C.forEach(function(t){var n=t.el.contains(e.target)||t.el===e.target;n||t.callback.call(t.el,e,t.el)})},document.addEventListener("click",k,!1),t&&document.addEventListener("touchstart",k,!1)),this):this}},{key:"offBlur",value:function(e){return this.each(function(t){C=C.filter(function(n){return!(n&&n.el===t&&(!e||n.callback===e))&&t})}),this}},{key:"asArray",get:function(){return w.slice.call(this)}}]),e}(),E=S.prototype;(0,g.default)(w).forEach(function(e){"join"!==e&&"copyWithin"!==e&&"fill"!==e&&void 0===E[e]&&(E[e]=w[e])}),window.Symbol&&d.default&&(E[d.default]=E.values=w[d.default]);var T=document.createElement("div");for(var D in T)u(D);window.NL=c,t.default=c},function(e,t,n){e.exports={default:n(70),__esModule:!0}},function(e,t,n){n(71);var r=n(49).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(48);r(r.S+r.F*!n(57),"Object",{defineProperty:n(53).f})},function(e,t,n){e.exports={default:n(73),__esModule:!0}},function(e,t,n){n(74),n(87),e.exports=n(91).f("iterator")},function(e,t,n){"use strict";var r=n(75)(!0);n(76)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){var r=n(40),o=n(31);e.exports=function(e){return function(t,n){var i,a,s=String(o(t)),l=r(n),u=s.length;return l<0||l>=u?e?"":void 0:(i=s.charCodeAt(l),i<55296||i>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):i:e?s.slice(l,l+2):(i-55296<<10)+(a-56320)+65536)}}},function(e,t,n){"use strict";var r=n(77),o=n(48),i=n(78),a=n(52),s=n(34),l=n(79),u=n(80),c=n(84),p=n(86),f=n(85)("iterator"),h=!([].keys&&"next"in[].keys()),d="@@iterator",m="keys",g="values",v=function(){return this};e.exports=function(e,t,n,y,b,_,w){u(n,t,y);var x,k,C,A=function(e){if(!h&&e in D)return D[e];switch(e){case m:return function(){return new n(this,e)};case g:return function(){return new n(this,e)}}return function(){return new n(this,e)}},S=t+" Iterator",E=b==g,T=!1,D=e.prototype,L=D[f]||D[d]||b&&D[b],q=!h&&L||A(b),j=b?E?A("entries"):q:void 0,M="Array"==t?D.entries||L:L;if(M&&(C=p(M.call(new e)),C!==Object.prototype&&C.next&&(c(C,S,!0),r||s(C,f)||a(C,f,v))),E&&L&&L.name!==g&&(T=!0,q=function(){return L.call(this)}),r&&!w||!h&&!T&&D[f]||a(D,f,q),l[t]=q,l[S]=v,b)if(x={values:E?q:A(g),keys:_?q:A(m),entries:j},w)for(k in x)k in D||i(D,k,x[k]);else o(o.P+o.F*(h||T),t,x);return x}},function(e,t){e.exports=!0},function(e,t,n){e.exports=n(52)},function(e,t){e.exports={}},function(e,t,n){"use strict";var r=n(81),o=n(61),i=n(84),a={};n(52)(a,n(85)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(54),o=n(82),i=n(46),a=n(42)("IE_PROTO"),s=function(){},l="prototype",u=function(){var e,t=n(59)("iframe"),r=i.length,o="<",a=">";for(t.style.display="none",n(83).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(o+"script"+a+"document.F=Object"+o+"/script"+a),e.close(),u=e.F;r--;)delete u[l][i[r]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[l]=r(e),n=new s,s[l]=null,n[a]=e):n=u(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(53),o=n(54),i=n(32);e.exports=n(57)?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},function(e,t,n){var r=n(44).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(53).f,o=n(34),i=n(85)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){var r=n(43)("wks"),o=n(45),i=n(44).Symbol,a="function"==typeof i,s=e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))};s.store=r},function(e,t,n){var r=n(34),o=n(30),i=n(42)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){n(88);for(var r=n(44),o=n(52),i=n(79),a=n(85)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l=e.length?(this._t=void 0,o(1)):"keys"==t?o(0,n):"values"==t?o(0,e[n]):o(0,[n,e[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){t.f=n(85)},function(e,t,n){e.exports={default:n(93),__esModule:!0}},function(e,t,n){n(94);var r=n(49).Object;e.exports=function(e){return r.getOwnPropertyNames(e)}},function(e,t,n){n(47)("getOwnPropertyNames",function(){return n(95).f})},function(e,t,n){var r=n(35),o=n(96).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return o(e)}catch(e){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?s(e):o(r(e))}},function(e,t,n){var r=n(33),o=n(46).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(69),i=r(o);t.default=function(){function e(e,t){for(var n=0;n=0&&b.splice(t,1)}function s(e){var t=document.createElement("style");return t.type="text/css",i(e,t),t}function l(e){var t=document.createElement("link");return t.rel="stylesheet",i(e,t),t}function u(e,t){var n,r,o;if(t.singleton){var i=y++;n=v||(v=s(t)),r=c.bind(null,n,i,!1),o=c.bind(null,n,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(t),r=f.bind(null,n),o=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),r=p.bind(null,n),o=function(){a(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}function c(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=_(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function p(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function f(e,t){var n=t.css,r=t.sourceMap;r&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var o=new Blob([n],{type:"text/css"}),i=e.href;e.href=URL.createObjectURL(o),i&&URL.revokeObjectURL(i)}var h={},d=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},m=d(function(){return/msie [6-9]\b/.test(self.navigator.userAgent.toLowerCase())}),g=d(function(){return document.head||document.getElementsByTagName("head")[0]}),v=null,y=0,b=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=m()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=o(e);return r(n,t),function(e){for(var i=[],a=0;a
    "},function(e,t,n){n(108),e.exports=n(110),e.exports.__esModule&&(e.exports=e.exports.default),("function"==typeof e.exports?e.exports.options:e.exports).template=n(111)},function(e,t,n){var r=n(109);"string"==typeof r&&(r=[[e.id,r,""]]);n(104)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(103)(),t.push([e.id,".aside-open{transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.aside-open.has-push-right{-webkit-transform:translateX(-300px);transform:translateX(-300px)}.aside{position:fixed;top:0;bottom:0;z-index:1049;overflow:auto;background:#fff}.slideleft-enter{-webkit-animation:slideleft-in .3s;animation:slideleft-in .3s}.slideleft-leave{-webkit-animation:slideleft-out .3s;animation:slideleft-out .3s}@-webkit-keyframes slideleft-in{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);opacity:0}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@keyframes slideleft-in{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);opacity:0}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@-webkit-keyframes slideleft-out{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}to{-webkit-transform:translateX(-100%);transform:translateX(-100%);opacity:0}}@keyframes slideleft-out{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}to{-webkit-transform:translateX(-100%);transform:translateX(-100%);opacity:0}}.slideright-enter{-webkit-animation:slideright-in .3s;animation:slideright-in .3s}.slideright-leave{-webkit-animation:slideright-out .3s;animation:slideright-out .3s}@-webkit-keyframes slideright-in{0%{-webkit-transform:translateX(100%);transform:translateX(100%);opacity:0}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@keyframes slideright-in{0%{-webkit-transform:translateX(100%);transform:translateX(100%);opacity:0}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@-webkit-keyframes slideright-out{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}to{-webkit-transform:translateX(100%);transform:translateX(100%);opacity:0}}@keyframes slideright-out{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}to{-webkit-transform:translateX(100%);transform:translateX(100%);opacity:0}}.aside:focus{outline:0}@media (max-width:991px){.aside{min-width:240px}}.aside.left{right:auto;left:0}.aside.right{right:0;left:auto}.aside .aside-dialog .aside-header{border-bottom:1px solid #e5e5e5;min-height:16.43px;padding:6px 15px;background:#337ab7;color:#fff}.aside .aside-dialog .aside-header .close{margin-right:-8px;padding:4px 8px;color:#fff;font-size:25px;opacity:.8}.aside .aside-dialog .aside-body{position:relative;padding:15px}.aside .aside-dialog .aside-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}.aside .aside-dialog .aside-footer .btn+.btn{margin-left:5px;margin-bottom:0}.aside .aside-dialog .aside-footer .btn-group .btn+.btn{margin-left:-1px}.aside .aside-dialog .aside-footer .btn-block+.btn-block{margin-left:0}.aside-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;opacity:0;transition:opacity .3s ease;background-color:#000}.aside-backdrop.in{opacity:.5;filter:alpha(opacity=50)}",""]); +},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(64),i=n(68),a=r(i);t.default={props:{show:{type:Boolean,coerce:o.coerce.boolean,required:!0,twoWay:!0},placement:{type:String,default:"right"},header:{type:String},width:{type:Number,coerce:o.coerce.number,default:320}},watch:{show:function(e){var t=this,n=document.body,r=(0,o.getScrollBarWidth)();if(e){this._backdrop||(this._backdrop=document.createElement("div")),this._backdrop.className="aside-backdrop",n.appendChild(this._backdrop),n.classList.add("modal-open"),0!==r&&(n.style.paddingRight=r+"px");this._backdrop.clientHeight;this._backdrop.classList.add("in"),(0,a.default)(this._backdrop).on("click",function(){return t.close()})}else(0,a.default)(this._backdrop).on("transitionend",function(){(0,a.default)(t._backdrop).off();try{n.classList.remove("modal-open"),n.style.paddingRight="0",n.removeChild(t._backdrop),t._backdrop=null}catch(e){}}),this._backdrop.className="aside-backdrop"}},methods:{close:function(){this.show=!1}}}},function(e,t){e.exports="

    {{ header }}

    "},function(e,t,n){n(113),e.exports=n(115),e.exports.__esModule&&(e.exports=e.exports.default),("function"==typeof e.exports?e.exports.options:e.exports).template=n(116)},function(e,t,n){var r=n(114);"string"==typeof r&&(r=[[e.id,r,""]]);n(104)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(103)(),t.push([e.id,".carousel-control[_v-e8948926]{cursor:pointer}",""])},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(64),i=n(68),a=r(i);t.default={props:{indicators:{type:Boolean,coerce:o.coerce.boolean,default:!0},controls:{type:Boolean,coerce:o.coerce.boolean,default:!0},interval:{type:Number,coerce:o.coerce.number,default:5e3}},data:function(){return{indicator:[],index:0,isAnimating:!1}},watch:{index:function(e,t){this.slide(e>t?"left":"right",e,t)}},methods:{indicatorClick:function(e){return!this.isAnimating&&this.index!==e&&(this.isAnimating=!0,void(this.index=e))},slide:function(e,t,n){var r=this;if(this.$el){var o=(0,a.default)(".item",this.$el);if(o.length){var i=o[t]||o[0];(0,a.default)(i).addClass("left"===e?"next":"prev");i.clientHeight;(0,a.default)([o[n],i]).addClass(e).on("transitionend",function(){o.off("transitionend").className="item",(0,a.default)(i).addClass("active"),r.isAnimating=!1})}}},next:function(){return!(!this.$el||this.isAnimating)&&(this.isAnimating=!0,void(this.index+1<(0,a.default)(".item",this.$el).length?this.index+=1:this.index=0))},prev:function(){return!(!this.$el||this.isAnimating)&&(this.isAnimating=!0,void(0===this.index?this.index=(0,a.default)(".item",this.$el).length-1:this.index-=1))},toggleInterval:function(e){void 0===e&&(e=this._intervalID),this._intervalID&&(clearInterval(this._intervalID),delete this._intervalID),e&&this.interval>0&&(this._intervalID=setInterval(this.next,this.interval))}},ready:function(){var e=this;this.toggleInterval(!0),(0,a.default)(this.$el).on("mouseenter",function(){return e.toggleInterval(!1)}).on("mouseleave",function(){return e.toggleInterval(!0)})},beforeDestroy:function(){this.toggleInterval(!1),(0,a.default)(this.$el).off("mouseenter mouseleave")}}},function(e,t){e.exports=''},function(e,t,n){n(118),e.exports=n(120),e.exports.__esModule&&(e.exports=e.exports.default),("function"==typeof e.exports?e.exports.options:e.exports).template=n(121)},function(e,t,n){var r=n(119);"string"==typeof r&&(r=[[e.id,r,""]]);n(104)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(103)(),t.push([e.id,"label.checkbox[_v-7aaae760]{position:relative;padding-left:18px}label.checkbox>input[_v-7aaae760]{box-sizing:border-box;position:absolute;z-index:-1;padding:0;opacity:0;margin:0}label.checkbox>.icon[_v-7aaae760]{position:absolute;top:.2rem;left:0;display:block;width:1.4rem;height:1.4rem;line-height:1rem;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-radius:.35rem;background-repeat:no-repeat;background-position:50%;background-size:50% 50%}label.checkbox:not(.active)>.icon[_v-7aaae760]{background-color:#ddd;border:1px solid #bbb}label.checkbox>input:focus~.icon[_v-7aaae760]{outline:0;border:1px solid #66afe9;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}label.checkbox.active>.icon[_v-7aaae760]{background-size:1rem 1rem;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNyIgaGVpZ2h0PSI3Ij48cGF0aCBmaWxsPSIjZmZmIiBkPSJtNS43MywwLjUybC0zLjEyNDIyLDMuMzQxNjFsLTEuMzM4OTUsLTEuNDMyMTJsLTEuMjQ5NjksMS4zMzY2NWwyLjU4ODYzLDIuNzY4NzZsNC4zNzM5LC00LjY3ODI2bC0xLjI0OTY5LC0xLjMzNjY1bDAsMGwwLjAwMDAyLDAuMDAwMDF6Ii8+PC9zdmc+)}label.checkbox.active .btn-default[_v-7aaae760]{-webkit-filter:brightness(75%);filter:brightness(75%)}.btn.readonly[_v-7aaae760],label.checkbox.disabled[_v-7aaae760],label.checkbox.readonly[_v-7aaae760]{filter:alpha(opacity=65);box-shadow:none;opacity:.65}label.btn>input[type=checkbox][_v-7aaae760]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}",""])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(64);t.default={props:{value:{default:!0},checked:{twoWay:!0},button:{type:Boolean,coerce:r.coerce.boolean,default:!1},disabled:{type:Boolean,coerce:r.coerce.boolean,default:!1},name:{type:String,default:null},readonly:{type:Boolean,coerce:r.coerce.boolean,default:!1},type:{type:String,default:null}},computed:{active:function(){return"boolean"!=typeof this.value&&this.group?~this.$parent.value.indexOf(this.value):this.checked===this.value},isButton:function(){return this.button||this.group&&this.$parent.buttons},group:function(){return this.$parent&&this.$parent._checkboxGroup},typeColor:function(){return this.type||this.$parent&&this.$parent.type||"default"}},watch:{checked:function(e){"boolean"!=typeof this.value&&this.group&&(this.checked&&!~this.$parent.value.indexOf(this.value)&&this.$parent.value.push(this.value),!this.checked&&~this.$parent.value.indexOf(this.value)&&this.$parent.value.$remove(this.value))}},created:function(){if("boolean"!=typeof this.value){var e=this.$parent;e&&e._btnGroup&&!e._radioGroup&&(e._checkboxGroup=!0,e.value instanceof Array||(e.value=[]))}},ready:function(){this.$parent._checkboxGroup&&"boolean"!=typeof this.value&&(this.$parent.value.length?this.checked=~this.$parent.value.indexOf(this.value):this.checked&&this.$parent.value.push(this.value))},methods:{eval:function(){"boolean"!=typeof this.value&&this.group&&(this.checked=~this.$parent.value.indexOf(this.value))},focus:function(){this.$els.input.focus()},toggle:function(){if(!this.disabled&&(this.focus(),!this.readonly&&(this.checked=this.checked?null:this.value,this.group&&"boolean"!=typeof this.value))){var e=this.$parent.value.indexOf(this.value);this.$parent.value[~e?"$remove":"push"](this.value)}return!1}}}},function(e,t){e.exports=''},function(e,t,n){n(123),e.exports=n(125),e.exports.__esModule&&(e.exports=e.exports.default),("function"==typeof e.exports?e.exports.options:e.exports).template=n(126)},function(e,t,n){var r=n(124);"string"==typeof r&&(r=[[e.id,r,""]]);n(104)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(103)(),t.push([e.id,".secret[_v-d97444c4]{position:absolute;clip:rect(0 0 0 0);overflow:hidden;margin:-1px;height:1px;width:1px;padding:0;border:0}",""])},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(64),i=n(68),a=r(i);t.default={props:{show:{twoWay:!0,type:Boolean,coerce:o.coerce.boolean,default:!1},class:null,disabled:{type:Boolean,coerce:o.coerce.boolean,default:!1},text:{type:String,default:null},type:{type:String,default:"default"}},computed:{classes:function(){return[{open:this.show,disabled:this.disabled},this.class,this.isLi?"dropdown":this.inInput?"input-group-btn":"btn-group"]},inInput:function(){return this.$parent._input},isLi:function(){return this.$parent._navbar||this.$parent.menu||this.$parent._tabset},menu:function(){return!this.$parent||this.$parent.navbar},submenu:function(){return this.$parent&&(this.$parent.menu||this.$parent.submenu)},slots:function(){return this._slotContents}},methods:{blur:function(){var e=this;this.unblur(),this._hide=setTimeout(function(){e._hide=null,e.show=!1},100)},unblur:function(){this._hide&&(clearTimeout(this._hide),this._hide=null)}},ready:function(){var e=this,t=(0,a.default)(this.$els.dropdown);t.onBlur(function(t){e.show=!1},!1),t.findChildren("a,button.dropdown-toggle").on("click",function(t){return t.preventDefault(),!e.disabled&&(e.show=!e.show,!1)}),t.findChildren("ul").on("click","li>a",function(t){e.show=!1})},beforeDestroy:function(){var e=(0,a.default)(this.$els.dropdown);e.offBlur(),e.findChildren("a,button").off(),e.findChildren("ul").off()}}},function(e,t){e.exports='
  • {{{ text }}}
  • '},function(e,t,n){e.exports=n(128),e.exports.__esModule&&(e.exports=e.exports.default),("function"==typeof e.exports?e.exports.options:e.exports).template=n(248)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(64),i=n(129),a=r(i),s=n(134),l=r(s);t.default={props:{src:{type:String},fragment:{type:String},header:{type:String},isOpen:{type:Boolean,coerce:o.coerce.boolean,default:null},type:{type:String,default:null}},components:{panel:l.default,retriever:a.default},created:function(){if(this.src){var e=(0,o.getFragmentByHash)(this.src);e&&(this.fragment=e,this.src=this.src.split("#")[0])}},ready:function(){var e=this;this.isOpen&&this.$refs.retriever.fetch(),this.$on("isOpenEvent",function(t,n){n&&e.$refs.retriever.fetch()})},events:{"panel:expand":function(e){},"panel:collapse":function(e){}}}},function(e,t,n){e.exports=n(130),e.exports.__esModule&&(e.exports=e.exports.default),("function"==typeof e.exports?e.exports.options:e.exports).template=n(133)},function(e,t,n){(function(e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(64);t.default={props:{src:{type:String},fragment:{type:String},delay:{type:Boolean,coerce:r.coerce.boolean,default:!1},_hasFetched:{type:Boolean,default:!1}},methods:{fetch:function(){var t=this;this.src&&(this._hasFetched||e.get(this.src).done(function(n){var r=n;if(t.fragment){var o=e("").append(e.parseHTML(r)),i=e("#"+t.fragment,o);r=i.html()}if(t._hasFetched=!0,void 0==r&&t.fragment)return void(t.$el.innerHTML="Error: Failed to retrieve page fragment: "+t.src+"#"+t.fragment);var a=e(t.$el).html(r);t.$dispatch("retriever:fetched",a.get(0))}).fail(function(e){console.error(e.responseText),t.$el.innerHTML="Error: Failed to retrieve content from source: "+t.src+""}))}},ready:function(){if(this.src){var e=(0,r.getFragmentByHash)(this.src);e&&(this.fragment=e,this.src=this.src.split("#")[0])}else this.$el.innerHTML="";this.delay||this.fetch()}}}).call(t,n(131))},function(e,t,n){(function(t){e.exports=t.jQuery=n(132)}).call(t,function(){return this}())},function(e,t,n){var r,o;/*! + * jQuery JavaScript Library v3.2.1 * https://jquery.com/ * * Includes Sizzle.js @@ -10,9 +10,9 @@ * Released under the MIT license * https://jquery.org/license * - * Date: 2018-01-20T17:24Z + * Date: 2017-03-20T18:59Z */ -!function(t,n){"use strict";"object"==typeof e&&"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,function(n,i){"use strict";function s(e,t,n){t=t||ce;var r,o=t.createElement("script");if(o.text=e,n)for(r in Ce)n[r]&&(o[r]=n[r]);t.head.appendChild(o).parentNode.removeChild(o)}function a(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?ge[ve.call(e)]||"object":typeof e}function l(e){var t=!!e&&"length"in e&&e.length,n=a(e);return!xe(e)&&!ke(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function u(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function c(e,t,n){return xe(t)?Se.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?Se.grep(e,function(e){return e===t!==n}):"string"!=typeof t?Se.grep(e,function(e){return me.call(t,e)>-1!==n}):Se.filter(t,e,n)}function p(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function f(e){var t={};return Se.each(e.match(Pe)||[],function(e,n){t[n]=!0}),t}function h(e){return e}function d(e){throw e}function m(e,t,n,r){var o;try{e&&xe(o=e.promise)?o.call(e).done(t).fail(n):e&&xe(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}function g(){ce.removeEventListener("DOMContentLoaded",g),n.removeEventListener("load",g),Se.ready()}function v(e,t){return t.toUpperCase()}function y(e){return e.replace($e,"ms-").replace(He,v)}function b(){this.expando=Se.expando+b.uid++}function _(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Ge.test(e)?JSON.parse(e):e)}function w(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(Ye,"-$&").toLowerCase(),n=e.getAttribute(r),"string"==typeof n){try{n=_(n)}catch(e){}We.set(e,t,n)}else n=void 0;return n}function x(e,t,n,r){var o,i,s=20,a=r?function(){return r.cur()}:function(){return Se.css(e,t,"")},l=a(),u=n&&n[3]||(Se.cssNumber[t]?"":"px"),c=(Se.cssNumber[t]||"px"!==u&&+l)&&Xe.exec(Se.css(e,t));if(c&&c[3]!==u){for(l/=2,u=u||c[3],c=+l||1;s--;)Se.style(e,t,c+u),(1-i)*(1-(i=a()/l||.5))<=0&&(s=0),c/=i;c*=2,Se.style(e,t,c+u),n=n||[]}return n&&(c=+c||+l||0,o=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=u,r.start=c,r.end=o)),o}function k(e){var t,n=e.ownerDocument,r=e.nodeName,o=et[r];return o?o:(t=n.body.appendChild(n.createElement(r)),o=Se.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),et[r]=o,o)}function C(e,t){for(var n,r,o=[],i=0,s=e.length;i-1)o&&o.push(i);else if(c=Se.contains(i.ownerDocument,i),s=A(f.appendChild(i),"script"),c&&S(s),n)for(p=0;i=s[p++];)rt.test(i.type||"")&&n.push(i);return f}function T(){return!0}function D(){return!1}function L(){try{return ce.activeElement}catch(e){}}function q(e,t,n,r,o,i){var s,a;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(a in t)q(e,a,n,r,t[a],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),o===!1)o=D;else if(!o)return e;return 1===i&&(s=o,o=function(e){return Se().off(e),s.apply(this,arguments)},o.guid=s.guid||(s.guid=Se.guid++)),e.each(function(){Se.event.add(this,t,o,r,n)})}function j(e,t){return u(e,"table")&&u(11!==t.nodeType?t:t.firstChild,"tr")?Se(e).children("tbody")[0]||e:e}function M(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function O(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function N(e,t){var n,r,o,i,s,a,l,u;if(1===t.nodeType){if(Ve.hasData(e)&&(i=Ve.access(e),s=Ve.set(t,i),u=i.events)){delete s.handle,s.events={};for(o in u)for(n=0,r=u[o].length;n1&&"string"==typeof d&&!we.checkClone&&ft.test(d))return e.each(function(o){var i=e.eq(o);m&&(t[0]=d.call(this,o,i.html())),R(i,t,n,r)});if(f&&(o=E(t,e[0].ownerDocument,!1,e,r),i=o.firstChild,1===o.childNodes.length&&(o=i),i||r)){for(a=Se.map(A(o,"script"),M),l=a.length;p=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-l-a-.5))),l}function V(e,t,n){var r=mt(e),o=I(e,t,r),i="border-box"===Se.css(e,"boxSizing",!1,r),s=i;if(dt.test(o)){if(!n)return o;o="auto"}return s=s&&(we.boxSizingReliable()||o===e.style[t]),("auto"===o||!parseFloat(o)&&"inline"===Se.css(e,"display",!1,r))&&(o=e["offset"+t[0].toUpperCase()+t.slice(1)],s=!0),o=parseFloat(o)||0,o+U(e,t,n||(i?"border":"content"),s,r,o)+"px"}function W(e,t,n,r,o){return new W.prototype.init(e,t,n,r,o)}function G(){Ct&&(ce.hidden===!1&&n.requestAnimationFrame?n.requestAnimationFrame(G):n.setTimeout(G,Se.fx.interval),Se.fx.tick())}function Y(){return n.setTimeout(function(){kt=void 0}),kt=Date.now()}function Z(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)n=Je[r],o["margin"+n]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function X(e,t,n){for(var r,o=(K.tweeners[t]||[]).concat(K.tweeners["*"]),i=0,s=o.length;i=0&&n0&&t-1 in e)}function l(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function u(e,t,n){return be.isFunction(t)?be.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?be.grep(e,function(e){return e===t!==n}):"string"!=typeof t?be.grep(e,function(e){return pe.call(t,e)>-1!==n}):De.test(t)?be.filter(t,e,n):(t=be.filter(t,e),be.grep(e,function(e){return pe.call(t,e)>-1!==n&&1===e.nodeType}))}function c(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function p(e){var t={};return be.each(e.match(Ne)||[],function(e,n){t[n]=!0}),t}function f(e){return e}function h(e){throw e}function d(e,t,n,r){var o;try{e&&be.isFunction(o=e.promise)?o.call(e).done(t).fail(n):e&&be.isFunction(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}function m(){ae.removeEventListener("DOMContentLoaded",m),n.removeEventListener("load",m),be.ready()}function g(){this.expando=be.expando+g.uid++}function v(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:$e.test(e)?JSON.parse(e):e)}function y(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(He,"-$&").toLowerCase(),n=e.getAttribute(r),"string"==typeof n){try{n=v(n)}catch(e){}ze.set(e,t,n)}else n=void 0;return n}function b(e,t,n,r){var o,i=1,a=20,s=r?function(){return r.cur()}:function(){return be.css(e,t,"")},l=s(),u=n&&n[3]||(be.cssNumber[t]?"":"px"),c=(be.cssNumber[t]||"px"!==u&&+l)&&Ve.exec(be.css(e,t));if(c&&c[3]!==u){u=u||c[3],n=n||[],c=+l||1;do i=i||".5",c/=i,be.style(e,t,c+u);while(i!==(i=s()/l)&&1!==i&&--a)}return n&&(c=+c||+l||0,o=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=u,r.start=c,r.end=o)),o}function _(e){var t,n=e.ownerDocument,r=e.nodeName,o=Ze[r];return o?o:(t=n.body.appendChild(n.createElement(r)),o=be.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),Ze[r]=o,o)}function w(e,t){for(var n,r,o=[],i=0,a=e.length;i-1)o&&o.push(i);else if(u=be.contains(i.ownerDocument,i),a=x(p.appendChild(i),"script"),u&&k(a),n)for(c=0;i=a[c++];)Qe.test(i.type||"")&&n.push(i);return p}function A(){return!0}function S(){return!1}function E(){try{return ae.activeElement}catch(e){}}function T(e,t,n,r,o,i){var a,s;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(s in t)T(e,s,n,r,t[s],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),o===!1)o=S;else if(!o)return e;return 1===i&&(a=o,o=function(e){return be().off(e),a.apply(this,arguments)},o.guid=a.guid||(a.guid=be.guid++)),e.each(function(){be.event.add(this,t,o,r,n)})}function D(e,t){return l(e,"table")&&l(11!==t.nodeType?t:t.firstChild,"tr")?be(">tbody",e)[0]||e:e}function L(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function q(e){var t=lt.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function j(e,t){var n,r,o,i,a,s,l,u;if(1===t.nodeType){if(Pe.hasData(e)&&(i=Pe.access(e),a=Pe.set(t,i),u=i.events)){delete a.handle,a.events={};for(o in u)for(n=0,r=u[o].length;n1&&"string"==typeof d&&!ve.checkClone&&st.test(d))return e.each(function(o){var i=e.eq(o);m&&(t[0]=d.call(this,o,i.html())),O(i,t,n,r)});if(f&&(o=C(t,e[0].ownerDocument,!1,e,r),i=o.firstChild,1===o.childNodes.length&&(o=i),i||r)){for(s=be.map(x(o,"script"),L),l=s.length;p=0&&nk.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[F]=!0,e}function o(e){var t=M.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function i(e,t){for(var n=e.split("|"),r=n.length;r--;)k.attrHandle[n[r]]=t}function s(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function a(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function l(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function u(e){return function(t){return"form"in t?t.parentNode&&t.disabled===!1?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&Ce(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function c(e){return r(function(t){return t=+t,r(function(n,r){for(var o,i=e([],n.length,t),s=i.length;s--;)n[o=i[s]]&&(n[o]=!(r[o]=n[o]))})})}function p(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function f(){}function h(e){for(var t=0,n=e.length,r="";t1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function g(e,n,r){for(var o=0,i=n.length;o-1&&(r[u]=!(s[u]=p))}}else b=v(b===s?b.splice(d,b.length):b),i?i(null,s,b,l):Q.apply(s,b)})}function b(e){for(var t,n,r,o=e.length,i=k.relative[e[0].type],s=i||k.relative[" "],a=i?1:0,l=d(function(e){return e===t},s,!0),u=d(function(e){return ee(t,e)>-1},s,!0),c=[function(e,n,r){var o=!i&&(r||n!==D)||((t=n).nodeType?l(e,n,r):u(e,n,r));return t=null,o}];a1&&m(c),a>1&&h(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(ae,"$1"),n,a0,i=e.length>0,s=function(r,s,a,l,u){var c,p,f,h=0,d="0",m=r&&[],g=[],y=D,b=r||i&&k.find.TAG("*",u),_=$+=null==y?1:Math.random()||.1,w=b.length;for(u&&(D=s===M||s||u);d!==w&&null!=(c=b[d]);d++){if(i&&c){for(p=0,s||c.ownerDocument===M||(j(c),a=!N);f=e[p++];)if(f(c,s||M,a)){l.push(c);break}u&&($=_)}o&&((c=!f&&c)&&h--,r&&m.push(c))}if(h+=d,o&&d!==h){for(p=0;f=n[p++];)f(m,g,s,a);if(r){if(h>0)for(;d--;)m[d]||g[d]||(g[d]=X.call(l));g=v(g)}Q.apply(l,g),u&&!r&&g.length>0&&h+n.length>1&&t.uniqueSort(l)}return u&&($=_,D=y),m};return o?r(s):s}var w,x,k,C,A,S,E,T,D,L,q,j,M,O,N,B,R,P,I,F="sizzle"+1*new Date,z=e.document,$=0,H=0,U=n(),V=n(),W=n(),G=function(e,t){return e===t&&(q=!0),0},Y={}.hasOwnProperty,Z=[],X=Z.pop,J=Z.push,Q=Z.push,K=Z.slice,ee=function(e,t){for(var n=0,r=e.length;n+~]|"+ne+")"+ne+"*"),ce=new RegExp("="+ne+"*([^\\]'\"]*?)"+ne+"*\\]","g"),pe=new RegExp(ie),fe=new RegExp("^"+re+"$"),he={ID:new RegExp("^#("+re+")"),CLASS:new RegExp("^\\.("+re+")"),TAG:new RegExp("^("+re+"|[*])"),ATTR:new RegExp("^"+oe),PSEUDO:new RegExp("^"+ie),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ne+"*(even|odd|(([+-]|)(\\d*)n|)"+ne+"*(?:([+-]|)"+ne+"*(\\d+)|))"+ne+"*\\)|)","i"),bool:new RegExp("^(?:"+te+")$","i"),needsContext:new RegExp("^"+ne+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ne+"*((?:-\\d)?\\d*)"+ne+"*\\)|)(?=[^-]|$)","i")},de=/^(?:input|select|textarea|button)$/i,me=/^h\d$/i,ge=/^[^{]+\{\s*\[native \w/,ve=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ye=/[+~]/,be=new RegExp("\\\\([\\da-f]{1,6}"+ne+"?|("+ne+")|.)","ig"),_e=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},we=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,xe=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ke=function(){j()},Ce=d(function(e){return e.disabled===!0&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{Q.apply(Z=K.call(z.childNodes),z.childNodes),Z[z.childNodes.length].nodeType}catch(e){Q={apply:Z.length?function(e,t){J.apply(e,K.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}x=t.support={},A=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},j=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:z;return r!==M&&9===r.nodeType&&r.documentElement?(M=r,O=M.documentElement,N=!A(M),z!==M&&(n=M.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",ke,!1):n.attachEvent&&n.attachEvent("onunload",ke)),x.attributes=o(function(e){return e.className="i",!e.getAttribute("className")}),x.getElementsByTagName=o(function(e){return e.appendChild(M.createComment("")),!e.getElementsByTagName("*").length}),x.getElementsByClassName=ge.test(M.getElementsByClassName),x.getById=o(function(e){return O.appendChild(e).id=F,!M.getElementsByName||!M.getElementsByName(F).length}),x.getById?(k.filter.ID=function(e){var t=e.replace(be,_e);return function(e){return e.getAttribute("id")===t}},k.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&N){var n=t.getElementById(e);return n?[n]:[]}}):(k.filter.ID=function(e){var t=e.replace(be,_e);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},k.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&N){var n,r,o,i=t.getElementById(e);if(i){if(n=i.getAttributeNode("id"),n&&n.value===e)return[i];for(o=t.getElementsByName(e),r=0;i=o[r++];)if(n=i.getAttributeNode("id"),n&&n.value===e)return[i]}return[]}}),k.find.TAG=x.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):x.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},k.find.CLASS=x.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&N)return t.getElementsByClassName(e)},R=[],B=[],(x.qsa=ge.test(M.querySelectorAll))&&(o(function(e){O.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&B.push("[*^$]="+ne+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||B.push("\\["+ne+"*(?:value|"+te+")"),e.querySelectorAll("[id~="+F+"-]").length||B.push("~="),e.querySelectorAll(":checked").length||B.push(":checked"),e.querySelectorAll("a#"+F+"+*").length||B.push(".#.+[+~]")}),o(function(e){e.innerHTML="";var t=M.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&B.push("name"+ne+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&B.push(":enabled",":disabled"),O.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&B.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),B.push(",.*:")})),(x.matchesSelector=ge.test(P=O.matches||O.webkitMatchesSelector||O.mozMatchesSelector||O.oMatchesSelector||O.msMatchesSelector))&&o(function(e){x.disconnectedMatch=P.call(e,"*"),P.call(e,"[s!='']:x"),R.push("!=",ie)}),B=B.length&&new RegExp(B.join("|")),R=R.length&&new RegExp(R.join("|")),t=ge.test(O.compareDocumentPosition),I=t||ge.test(O.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},G=t?function(e,t){if(e===t)return q=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n?n:(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!x.sortDetached&&t.compareDocumentPosition(e)===n?e===M||e.ownerDocument===z&&I(z,e)?-1:t===M||t.ownerDocument===z&&I(z,t)?1:L?ee(L,e)-ee(L,t):0:4&n?-1:1)}:function(e,t){if(e===t)return q=!0,0;var n,r=0,o=e.parentNode,i=t.parentNode,a=[e],l=[t];if(!o||!i)return e===M?-1:t===M?1:o?-1:i?1:L?ee(L,e)-ee(L,t):0;if(o===i)return s(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)l.unshift(n);for(;a[r]===l[r];)r++;return r?s(a[r],l[r]):a[r]===z?-1:l[r]===z?1:0},M):M},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==M&&j(e),n=n.replace(ce,"='$1']"),x.matchesSelector&&N&&!W[n+" "]&&(!R||!R.test(n))&&(!B||!B.test(n)))try{var r=P.call(e,n);if(r||x.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return t(n,M,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==M&&j(e),I(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==M&&j(e);var n=k.attrHandle[t.toLowerCase()],r=n&&Y.call(k.attrHandle,t.toLowerCase())?n(e,t,!N):void 0;return void 0!==r?r:x.attributes||!N?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.escape=function(e){return(e+"").replace(we,xe)},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,o=0;if(q=!x.detectDuplicates,L=!x.sortStable&&e.slice(0),e.sort(G),q){for(;t=e[o++];)t===e[o]&&(r=n.push(o));for(;r--;)e.splice(n[r],1)}return L=null,e},C=t.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=C(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=C(t);return n},k=t.selectors={cacheLength:50,createPseudo:r,match:he,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(be,_e),e[3]=(e[3]||e[4]||e[5]||"").replace(be,_e),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return he.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&pe.test(n)&&(t=S(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(be,_e).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=U[e+" "];return t||(t=new RegExp("(^|"+ne+")"+e+"("+ne+"|$)"))&&U(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(o){var i=t.attr(o,e);return null==i?"!="===n:!n||(i+="","="===n?i===r:"!="===n?i!==r:"^="===n?r&&0===i.indexOf(r):"*="===n?r&&i.indexOf(r)>-1:"$="===n?r&&i.slice(-r.length)===r:"~="===n?(" "+i.replace(se," ")+" ").indexOf(r)>-1:"|="===n&&(i===r||i.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,l){var u,c,p,f,h,d,m=i!==s?"nextSibling":"previousSibling",g=t.parentNode,v=a&&t.nodeName.toLowerCase(),y=!l&&!a,b=!1;if(g){if(i){for(;m;){for(f=t;f=f[m];)if(a?f.nodeName.toLowerCase()===v:1===f.nodeType)return!1;d=m="only"===e&&!d&&"nextSibling"}return!0}if(d=[s?g.firstChild:g.lastChild],s&&y){for(f=g,p=f[F]||(f[F]={}),c=p[f.uniqueID]||(p[f.uniqueID]={}),u=c[e]||[],h=u[0]===$&&u[1],b=h&&u[2],f=h&&g.childNodes[h];f=++h&&f&&f[m]||(b=h=0)||d.pop();)if(1===f.nodeType&&++b&&f===t){c[e]=[$,h,b];break}}else if(y&&(f=t,p=f[F]||(f[F]={}),c=p[f.uniqueID]||(p[f.uniqueID]={}),u=c[e]||[],h=u[0]===$&&u[1],b=h),b===!1)for(;(f=++h&&f&&f[m]||(b=h=0)||d.pop())&&((a?f.nodeName.toLowerCase()!==v:1!==f.nodeType)||!++b||(y&&(p=f[F]||(f[F]={}),c=p[f.uniqueID]||(p[f.uniqueID]={}),c[e]=[$,b]),f!==t)););return b-=o,b===r||b%r===0&&b/r>=0}}},PSEUDO:function(e,n){var o,i=k.pseudos[e]||k.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return i[F]?i(n):i.length>1?(o=[e,e,"",n],k.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,o=i(e,n),s=o.length;s--;)r=ee(e,o[s]),e[r]=!(t[r]=o[s])}):function(e){return i(e,0,o)}):i}},pseudos:{not:r(function(e){var t=[],n=[],o=E(e.replace(ae,"$1"));return o[F]?r(function(e,t,n,r){for(var i,s=o(e,null,r,[]),a=e.length;a--;)(i=s[a])&&(e[a]=!(t[a]=i))}):function(e,r,i){return t[0]=e,o(t,null,i,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(be,_e),function(t){return(t.textContent||t.innerText||C(t)).indexOf(e)>-1}}),lang:r(function(e){return fe.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(be,_e).toLowerCase(),function(t){var n;do if(n=N?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===O},focus:function(e){return e===M.activeElement&&(!M.hasFocus||M.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:u(!1),disabled:u(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!k.pseudos.empty(e)},header:function(e){return me.test(e.nodeName)},input:function(e){return de.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:c(function(){return[0]}),last:c(function(e,t){return[t-1]}),eq:c(function(e,t,n){return[n<0?n+t:n]}),even:c(function(e,t){for(var n=0;n=0;)e.push(r);return e}),gt:c(function(e,t,n){for(var r=n<0?n+t:n;++r2&&"ID"===(s=i[0]).type&&9===t.nodeType&&N&&k.relative[i[1].type]){if(t=(k.find.ID(s.matches[0].replace(be,_e),t)||[])[0],!t)return n;u&&(t=t.parentNode),e=e.slice(i.shift().value.length)}for(o=he.needsContext.test(e)?0:i.length;o--&&(s=i[o],!k.relative[a=s.type]);)if((l=k.find[a])&&(r=l(s.matches[0].replace(be,_e),ye.test(i[0].type)&&p(t.parentNode)||t))){if(i.splice(o,1),e=r.length&&h(i),!e)return Q.apply(n,r),n;break}}return(u||E(e,c))(r,t,!N,n,!t||ye.test(e)&&p(t.parentNode)||t),n},x.sortStable=F.split("").sort(G).join("")===F,x.detectDuplicates=!!q,j(),x.sortDetached=o(function(e){return 1&e.compareDocumentPosition(M.createElement("fieldset"))}),o(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||i("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),x.attributes&&o(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||i("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),o(function(e){return null==e.getAttribute("disabled")})||i(te,function(e,t,n){var r;if(!n)return e[t]===!0?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(n);Se.find=Te,Se.expr=Te.selectors,Se.expr[":"]=Se.expr.pseudos,Se.uniqueSort=Se.unique=Te.uniqueSort,Se.text=Te.getText,Se.isXMLDoc=Te.isXML,Se.contains=Te.contains,Se.escapeSelector=Te.escape;var De=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&Se(e).is(n))break;r.push(e)}return r},Le=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},qe=Se.expr.match.needsContext,je=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;Se.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?Se.find.matchesSelector(r,e)?[r]:[]:Se.find.matches(e,Se.grep(t,function(e){return 1===e.nodeType}))},Se.fn.extend({find:function(e){var t,n,r=this.length,o=this;if("string"!=typeof e)return this.pushStack(Se(e).filter(function(){for(t=0;t1?Se.uniqueSort(n):n},filter:function(e){return this.pushStack(c(this,e||[],!1))},not:function(e){return this.pushStack(c(this,e||[],!0))},is:function(e){return!!c(this,"string"==typeof e&&qe.test(e)?Se(e):e||[],!1).length}});var Me,Oe=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Ne=Se.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||Me,"string"==typeof e){if(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:Oe.exec(e),!r||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof Se?t[0]:t,Se.merge(this,Se.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:ce,!0)),je.test(r[1])&&Se.isPlainObject(t))for(r in t)xe(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return o=ce.getElementById(r[2]),o&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):xe(e)?void 0!==n.ready?n.ready(e):e(Se):Se.makeArray(e,this)};Ne.prototype=Se.fn,Me=Se(ce);var Be=/^(?:parents|prev(?:Until|All))/,Re={children:!0,contents:!0,next:!0,prev:!0};Se.fn.extend({has:function(e){var t=Se(e,this),n=t.length;return this.filter(function(){for(var e=0;e-1:1===n.nodeType&&Se.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?Se.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?me.call(Se(e),this[0]):me.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(Se.uniqueSort(Se.merge(this.get(),Se(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),Se.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return De(e,"parentNode")},parentsUntil:function(e,t,n){return De(e,"parentNode",n)},next:function(e){return p(e,"nextSibling")},prev:function(e){return p(e,"previousSibling")},nextAll:function(e){return De(e,"nextSibling")},prevAll:function(e){return De(e,"previousSibling")},nextUntil:function(e,t,n){return De(e,"nextSibling",n)},prevUntil:function(e,t,n){return De(e,"previousSibling",n)},siblings:function(e){return Le((e.parentNode||{}).firstChild,e)},children:function(e){return Le(e.firstChild)},contents:function(e){return u(e,"iframe")?e.contentDocument:(u(e,"template")&&(e=e.content||e),Se.merge([],e.childNodes))}},function(e,t){Se.fn[e]=function(n,r){var o=Se.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=Se.filter(r,o)),this.length>1&&(Re[e]||Se.uniqueSort(o),Be.test(e)&&o.reverse()),this.pushStack(o)}});var Pe=/[^\x20\t\r\n\f]+/g;Se.Callbacks=function(e){e="string"==typeof e?f(e):Se.extend({},e);var t,n,r,o,i=[],s=[],l=-1,u=function(){for(o=o||e.once,r=t=!0;s.length;l=-1)for(n=s.shift();++l-1;)i.splice(n,1),n<=l&&l--}),this},has:function(e){return e?Se.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=s=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=s=[],n||t||(i=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=n||[],n=[e,n.slice?n.slice():n],s.push(n),t||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},Se.extend({Deferred:function(e){var t=[["notify","progress",Se.Callbacks("memory"),Se.Callbacks("memory"),2],["resolve","done",Se.Callbacks("once memory"),Se.Callbacks("once memory"),0,"resolved"],["reject","fail",Se.Callbacks("once memory"),Se.Callbacks("once memory"),1,"rejected"]],r="pending",o={state:function(){return r},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return Se.Deferred(function(n){Se.each(t,function(t,r){var o=xe(e[r[4]])&&e[r[4]];i[r[1]](function(){var e=o&&o.apply(this,arguments);e&&xe(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,o?[e]:arguments)})}),e=null}).promise()},then:function(e,r,o){function i(e,t,r,o){return function(){var a=this,l=arguments,u=function(){var n,u;if(!(e=s&&(r!==d&&(a=void 0,l=[n]),t.rejectWith(a,l))}};e?c():(Se.Deferred.getStackHook&&(c.stackTrace=Se.Deferred.getStackHook()),n.setTimeout(c))}}var s=0;return Se.Deferred(function(n){t[0][3].add(i(0,n,xe(o)?o:h,n.notifyWith)),t[1][3].add(i(0,n,xe(e)?e:h)),t[2][3].add(i(0,n,xe(r)?r:d))}).promise()},promise:function(e){return null!=e?Se.extend(e,o):o}},i={};return Se.each(t,function(e,n){var s=n[2],a=n[5];o[n[1]]=s.add,a&&s.add(function(){r=a},t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),s.add(n[3].fire),i[n[0]]=function(){return i[n[0]+"With"](this===i?void 0:this,arguments),this},i[n[0]+"With"]=s.fireWith}),o.promise(i),e&&e.call(i,i),i},when:function(e){var t=arguments.length,n=t,r=Array(n),o=fe.call(arguments),i=Se.Deferred(),s=function(e){return function(n){r[e]=this,o[e]=arguments.length>1?fe.call(arguments):n,--t||i.resolveWith(r,o)}};if(t<=1&&(m(e,i.done(s(n)).resolve,i.reject,!t),"pending"===i.state()||xe(o[n]&&o[n].then)))return i.then();for(;n--;)m(o[n],s(n),i.reject);return i.promise()}});var Ie=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;Se.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&Ie.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},Se.readyException=function(e){n.setTimeout(function(){throw e})};var Fe=Se.Deferred();Se.fn.ready=function(e){return Fe.then(e).catch(function(e){Se.readyException(e)}),this},Se.extend({isReady:!1,readyWait:1,ready:function(e){(e===!0?--Se.readyWait:Se.isReady)||(Se.isReady=!0,e!==!0&&--Se.readyWait>0||Fe.resolveWith(ce,[Se]))}}),Se.ready.then=Fe.then,"complete"===ce.readyState||"loading"!==ce.readyState&&!ce.documentElement.doScroll?n.setTimeout(Se.ready):(ce.addEventListener("DOMContentLoaded",g),n.addEventListener("load",g));var ze=function(e,t,n,r,o,i,s){var l=0,u=e.length,c=null==n;if("object"===a(n)){o=!0;for(l in n)ze(e,t,l,n[l],!0,i,s)}else if(void 0!==r&&(o=!0,xe(r)||(s=!0),c&&(s?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(Se(e),n)})),t))for(;l1,null,!0)},removeData:function(e){return this.each(function(){We.remove(this,e)})}}),Se.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Ve.get(e,t),n&&(!r||Array.isArray(n)?r=Ve.access(e,t,Se.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=Se.queue(e,t),r=n.length,o=n.shift(),i=Se._queueHooks(e,t),s=function(){Se.dequeue(e,t)};"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,s,i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Ve.get(e,n)||Ve.access(e,n,{empty:Se.Callbacks("once memory").add(function(){Ve.remove(e,[t+"queue",n])})})}}),Se.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]+)/i,rt=/^$|^module$|\/(?:java|ecma)script/i,ot={option:[1,""],thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};ot.optgroup=ot.option,ot.tbody=ot.tfoot=ot.colgroup=ot.caption=ot.thead,ot.th=ot.td;var it=/<|&#?\w+;/;!function(){var e=ce.createDocumentFragment(),t=e.appendChild(ce.createElement("div")),n=ce.createElement("input");n.setAttribute("type","radio"), -n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),we.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="",we.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue}();var st=ce.documentElement,at=/^key/,lt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ut=/^([^.]*)(?:\.(.+)|)/;Se.event={global:{},add:function(e,t,n,r,o){var i,s,a,l,u,c,p,f,h,d,m,g=Ve.get(e);if(g)for(n.handler&&(i=n,n=i.handler,o=i.selector),o&&Se.find.matchesSelector(st,o),n.guid||(n.guid=Se.guid++),(l=g.events)||(l=g.events={}),(s=g.handle)||(s=g.handle=function(t){return"undefined"!=typeof Se&&Se.event.triggered!==t.type?Se.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(Pe)||[""],u=t.length;u--;)a=ut.exec(t[u])||[],h=m=a[1],d=(a[2]||"").split(".").sort(),h&&(p=Se.event.special[h]||{},h=(o?p.delegateType:p.bindType)||h,p=Se.event.special[h]||{},c=Se.extend({type:h,origType:m,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&Se.expr.match.needsContext.test(o),namespace:d.join(".")},i),(f=l[h])||(f=l[h]=[],f.delegateCount=0,p.setup&&p.setup.call(e,r,d,s)!==!1||e.addEventListener&&e.addEventListener(h,s)),p.add&&(p.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),o?f.splice(f.delegateCount++,0,c):f.push(c),Se.event.global[h]=!0)},remove:function(e,t,n,r,o){var i,s,a,l,u,c,p,f,h,d,m,g=Ve.hasData(e)&&Ve.get(e);if(g&&(l=g.events)){for(t=(t||"").match(Pe)||[""],u=t.length;u--;)if(a=ut.exec(t[u])||[],h=m=a[1],d=(a[2]||"").split(".").sort(),h){for(p=Se.event.special[h]||{},h=(r?p.delegateType:p.bindType)||h,f=l[h]||[],a=a[2]&&new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=i=f.length;i--;)c=f[i],!o&&m!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(f.splice(i,1),c.selector&&f.delegateCount--,p.remove&&p.remove.call(e,c));s&&!f.length&&(p.teardown&&p.teardown.call(e,d,g.handle)!==!1||Se.removeEvent(e,h,g.handle),delete l[h])}else for(h in l)Se.event.remove(e,h+t[u],n,r,!0);Se.isEmptyObject(l)&&Ve.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,i,s,a=Se.event.fix(e),l=new Array(arguments.length),u=(Ve.get(this,"events")||{})[a.type]||[],c=Se.event.special[a.type]||{};for(l[0]=a,t=1;t=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||u.disabled!==!0)){for(i=[],s={},n=0;n-1:Se.find(o,this,null,[u]).length),s[o]&&i.push(r);i.length&&a.push({elem:u,handlers:i})}return u=this,l\x20\t\r\n\f]*)[^>]*)\/>/gi,pt=/\s*$/g;Se.extend({htmlPrefilter:function(e){return e.replace(ct,"<$1>")},clone:function(e,t,n){var r,o,i,s,a=e.cloneNode(!0),l=Se.contains(e.ownerDocument,e);if(!(we.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||Se.isXMLDoc(e)))for(s=A(a),i=A(e),r=0,o=i.length;r0&&S(s,!l&&A(e,"script")),a},cleanData:function(e){for(var t,n,r,o=Se.event.special,i=0;void 0!==(n=e[i]);i++)if(Ue(n)){if(t=n[Ve.expando]){if(t.events)for(r in t.events)o[r]?Se.event.remove(n,r):Se.removeEvent(n,r,t.handle);n[Ve.expando]=void 0}n[We.expando]&&(n[We.expando]=void 0)}}}),Se.fn.extend({detach:function(e){return P(this,e,!0)},remove:function(e){return P(this,e)},text:function(e){return ze(this,function(e){return void 0===e?Se.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return R(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=j(this,e);t.appendChild(e)}})},prepend:function(){return R(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=j(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return R(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return R(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(Se.cleanData(A(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return Se.clone(this,e,t)})},html:function(e){return ze(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!pt.test(e)&&!ot[(nt.exec(e)||["",""])[1].toLowerCase()]){e=Se.htmlPrefilter(e);try{for(;n1)}}),Se.Tween=W,W.prototype={constructor:W,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||Se.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(Se.cssNumber[n]?"":"px")},cur:function(){var e=W.propHooks[this.prop];return e&&e.get?e.get(this):W.propHooks._default.get(this)},run:function(e){var t,n=W.propHooks[this.prop];return this.options.duration?this.pos=t=Se.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):W.propHooks._default.set(this),this}},W.prototype.init.prototype=W.prototype,W.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=Se.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){Se.fx.step[e.prop]?Se.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[Se.cssProps[e.prop]]&&!Se.cssHooks[e.prop]?e.elem[e.prop]=e.now:Se.style(e.elem,e.prop,e.now+e.unit)}}},W.propHooks.scrollTop=W.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},Se.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},Se.fx=W.prototype.init,Se.fx.step={};var kt,Ct,At=/^(?:toggle|show|hide)$/,St=/queueHooks$/;Se.Animation=Se.extend(K,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return x(n.elem,e,Xe.exec(t),n),n}]},tweener:function(e,t){xe(e)?(t=e,e=["*"]):e=e.match(Pe);for(var n,r=0,o=e.length;r1)},removeAttr:function(e){return this.each(function(){Se.removeAttr(this,e)})}}),Se.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return"undefined"==typeof e.getAttribute?Se.prop(e,t,n):(1===i&&Se.isXMLDoc(e)||(o=Se.attrHooks[t.toLowerCase()]||(Se.expr.match.bool.test(t)?Et:void 0)),void 0!==n?null===n?void Se.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:(r=Se.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!we.radioValue&&"radio"===t&&u(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,o=t&&t.match(Pe);if(o&&1===e.nodeType)for(;n=o[r++];)e.removeAttribute(n)}}),Et={set:function(e,t,n){return t===!1?Se.removeAttr(e,n):e.setAttribute(n,n),n}},Se.each(Se.expr.match.bool.source.match(/\w+/g),function(e,t){var n=Tt[t]||Se.find.attr;Tt[t]=function(e,t,r){var o,i,s=t.toLowerCase();return r||(i=Tt[s],Tt[s]=o,o=null!=n(e,t,r)?s:null,Tt[s]=i),o}});var Dt=/^(?:input|select|textarea|button)$/i,Lt=/^(?:a|area)$/i;Se.fn.extend({prop:function(e,t){return ze(this,Se.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[Se.propFix[e]||e]})}}),Se.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&Se.isXMLDoc(e)||(t=Se.propFix[t]||t,o=Se.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=Se.find.attr(e,"tabindex");return t?parseInt(t,10):Dt.test(e.nodeName)||Lt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),we.optSelected||(Se.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),Se.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){Se.propFix[this.toLowerCase()]=this}),Se.fn.extend({addClass:function(e){var t,n,r,o,i,s,a,l=0;if(xe(e))return this.each(function(t){Se(this).addClass(e.call(this,t,te(this)))});if(t=ne(e),t.length)for(;n=this[l++];)if(o=te(n),r=1===n.nodeType&&" "+ee(o)+" "){for(s=0;i=t[s++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");a=ee(r),o!==a&&n.setAttribute("class",a)}return this},removeClass:function(e){var t,n,r,o,i,s,a,l=0;if(xe(e))return this.each(function(t){Se(this).removeClass(e.call(this,t,te(this)))});if(!arguments.length)return this.attr("class","");if(t=ne(e),t.length)for(;n=this[l++];)if(o=te(n),r=1===n.nodeType&&" "+ee(o)+" "){for(s=0;i=t[s++];)for(;r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");a=ee(r),o!==a&&n.setAttribute("class",a)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):xe(e)?this.each(function(n){Se(this).toggleClass(e.call(this,n,te(this),t),t)}):this.each(function(){var t,o,i,s;if(r)for(o=0,i=Se(this),s=ne(e);t=s[o++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||(t=te(this),t&&Ve.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||e===!1?"":Ve.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+ee(te(n))+" ").indexOf(t)>-1)return!0;return!1}});var qt=/\r/g;Se.fn.extend({val:function(e){var t,n,r,o=this[0];{if(arguments.length)return r=xe(e),this.each(function(n){var o;1===this.nodeType&&(o=r?e.call(this,n,Se(this).val()):e,null==o?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=Se.map(o,function(e){return null==e?"":e+""})),t=Se.valHooks[this.type]||Se.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))});if(o)return t=Se.valHooks[o.type]||Se.valHooks[o.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:(n=o.value,"string"==typeof n?n.replace(qt,""):null==n?"":n)}}}),Se.extend({valHooks:{option:{get:function(e){var t=Se.find.attr(e,"value");return null!=t?t:ee(Se.text(e))}},select:{get:function(e){var t,n,r,o=e.options,i=e.selectedIndex,s="select-one"===e.type,a=s?null:[],l=s?i+1:o.length;for(r=i<0?l:s?i:0;r-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),Se.each(["radio","checkbox"],function(){Se.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=Se.inArray(Se(e).val(),t)>-1}},we.checkOn||(Se.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),we.focusin="onfocusin"in n;var jt=/^(?:focusinfocus|focusoutblur)$/,Mt=function(e){e.stopPropagation()};Se.extend(Se.event,{trigger:function(e,t,r,o){var i,s,a,l,u,c,p,f,h=[r||ce],d=ye.call(e,"type")?e.type:e,m=ye.call(e,"namespace")?e.namespace.split("."):[];if(s=f=a=r=r||ce,3!==r.nodeType&&8!==r.nodeType&&!jt.test(d+Se.event.triggered)&&(d.indexOf(".")>-1&&(m=d.split("."),d=m.shift(),m.sort()),u=d.indexOf(":")<0&&"on"+d,e=e[Se.expando]?e:new Se.Event(d,"object"==typeof e&&e),e.isTrigger=o?2:3,e.namespace=m.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:Se.makeArray(t,[e]),p=Se.event.special[d]||{},o||!p.trigger||p.trigger.apply(r,t)!==!1)){if(!o&&!p.noBubble&&!ke(r)){for(l=p.delegateType||d,jt.test(l+d)||(s=s.parentNode);s;s=s.parentNode)h.push(s),a=s;a===(r.ownerDocument||ce)&&h.push(a.defaultView||a.parentWindow||n)}for(i=0;(s=h[i++])&&!e.isPropagationStopped();)f=s,e.type=i>1?l:p.bindType||d,c=(Ve.get(s,"events")||{})[e.type]&&Ve.get(s,"handle"),c&&c.apply(s,t),c=u&&s[u],c&&c.apply&&Ue(s)&&(e.result=c.apply(s,t),e.result===!1&&e.preventDefault());return e.type=d,o||e.isDefaultPrevented()||p._default&&p._default.apply(h.pop(),t)!==!1||!Ue(r)||u&&xe(r[d])&&!ke(r)&&(a=r[u],a&&(r[u]=null),Se.event.triggered=d,e.isPropagationStopped()&&f.addEventListener(d,Mt),r[d](),e.isPropagationStopped()&&f.removeEventListener(d,Mt),Se.event.triggered=void 0,a&&(r[u]=a)),e.result}},simulate:function(e,t,n){var r=Se.extend(new Se.Event,n,{type:e,isSimulated:!0});Se.event.trigger(r,null,t)}}),Se.fn.extend({trigger:function(e,t){return this.each(function(){Se.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return Se.event.trigger(e,t,n,!0)}}),we.focusin||Se.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){Se.event.simulate(t,e.target,Se.event.fix(e))};Se.event.special[t]={setup:function(){var r=this.ownerDocument||this,o=Ve.access(r,t);o||r.addEventListener(e,n,!0),Ve.access(r,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this,o=Ve.access(r,t)-1;o?Ve.access(r,t,o):(r.removeEventListener(e,n,!0),Ve.remove(r,t))}}});var Ot=n.location,Nt=Date.now(),Bt=/\?/;Se.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||Se.error("Invalid XML: "+e),t};var Rt=/\[\]$/,Pt=/\r?\n/g,It=/^(?:submit|button|image|reset|file)$/i,Ft=/^(?:input|select|textarea|keygen)/i;Se.param=function(e,t){var n,r=[],o=function(e,t){var n=xe(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!Se.isPlainObject(e))Se.each(e,function(){o(this.name,this.value)});else for(n in e)re(n,e[n],t,o);return r.join("&")},Se.fn.extend({serialize:function(){return Se.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=Se.prop(this,"elements");return e?Se.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!Se(this).is(":disabled")&&Ft.test(this.nodeName)&&!It.test(e)&&(this.checked||!tt.test(e))}).map(function(e,t){var n=Se(this).val();return null==n?null:Array.isArray(n)?Se.map(n,function(e){return{name:t.name,value:e.replace(Pt,"\r\n")}}):{name:t.name,value:n.replace(Pt,"\r\n")}}).get()}});var zt=/%20/g,$t=/#.*$/,Ht=/([?&])_=[^&]*/,Ut=/^(.*?):[ \t]*([^\r\n]*)$/gm,Vt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Wt=/^(?:GET|HEAD)$/,Gt=/^\/\//,Yt={},Zt={},Xt="*/".concat("*"),Jt=ce.createElement("a");Jt.href=Ot.href,Se.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ot.href,type:"GET",isLocal:Vt.test(Ot.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Xt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":Se.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?se(se(e,Se.ajaxSettings),t):se(Se.ajaxSettings,e)},ajaxPrefilter:oe(Yt),ajaxTransport:oe(Zt),ajax:function(e,t){function r(e,t,r,a){var u,f,h,_,w,x=t;c||(c=!0,l&&n.clearTimeout(l),o=void 0,s=a||"",k.readyState=e>0?4:0,u=e>=200&&e<300||304===e,r&&(_=ae(d,k,r)),_=le(d,_,k,u),u?(d.ifModified&&(w=k.getResponseHeader("Last-Modified"),w&&(Se.lastModified[i]=w),w=k.getResponseHeader("etag"),w&&(Se.etag[i]=w)),204===e||"HEAD"===d.type?x="nocontent":304===e?x="notmodified":(x=_.state,f=_.data,h=_.error,u=!h)):(h=x,!e&&x||(x="error",e<0&&(e=0))),k.status=e,k.statusText=(t||x)+"",u?v.resolveWith(m,[f,x,k]):v.rejectWith(m,[k,x,h]),k.statusCode(b),b=void 0,p&&g.trigger(u?"ajaxSuccess":"ajaxError",[k,d,u?f:h]),y.fireWith(m,[k,x]),p&&(g.trigger("ajaxComplete",[k,d]),--Se.active||Se.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=void 0),t=t||{};var o,i,s,a,l,u,c,p,f,h,d=Se.ajaxSetup({},t),m=d.context||d,g=d.context&&(m.nodeType||m.jquery)?Se(m):Se.event,v=Se.Deferred(),y=Se.Callbacks("once memory"),b=d.statusCode||{},_={},w={},x="canceled",k={readyState:0,getResponseHeader:function(e){var t;if(c){if(!a)for(a={};t=Ut.exec(s);)a[t[1].toLowerCase()]=t[2];t=a[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return c?s:null},setRequestHeader:function(e,t){return null==c&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,_[e]=t),this},overrideMimeType:function(e){return null==c&&(d.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)k.always(e[k.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||x;return o&&o.abort(t),r(0,t),this}};if(v.promise(k),d.url=((e||d.url||Ot.href)+"").replace(Gt,Ot.protocol+"//"),d.type=t.method||t.type||d.method||d.type,d.dataTypes=(d.dataType||"*").toLowerCase().match(Pe)||[""],null==d.crossDomain){u=ce.createElement("a");try{u.href=d.url,u.href=u.href,d.crossDomain=Jt.protocol+"//"+Jt.host!=u.protocol+"//"+u.host}catch(e){d.crossDomain=!0}}if(d.data&&d.processData&&"string"!=typeof d.data&&(d.data=Se.param(d.data,d.traditional)),ie(Yt,d,t,k),c)return k;p=Se.event&&d.global,p&&0===Se.active++&&Se.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!Wt.test(d.type),i=d.url.replace($t,""),d.hasContent?d.data&&d.processData&&0===(d.contentType||"").indexOf("application/x-www-form-urlencoded")&&(d.data=d.data.replace(zt,"+")):(h=d.url.slice(i.length),d.data&&(d.processData||"string"==typeof d.data)&&(i+=(Bt.test(i)?"&":"?")+d.data,delete d.data),d.cache===!1&&(i=i.replace(Ht,"$1"),h=(Bt.test(i)?"&":"?")+"_="+Nt++ +h),d.url=i+h),d.ifModified&&(Se.lastModified[i]&&k.setRequestHeader("If-Modified-Since",Se.lastModified[i]),Se.etag[i]&&k.setRequestHeader("If-None-Match",Se.etag[i])),(d.data&&d.hasContent&&d.contentType!==!1||t.contentType)&&k.setRequestHeader("Content-Type",d.contentType),k.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+Xt+"; q=0.01":""):d.accepts["*"]);for(f in d.headers)k.setRequestHeader(f,d.headers[f]);if(d.beforeSend&&(d.beforeSend.call(m,k,d)===!1||c))return k.abort();if(x="abort",y.add(d.complete),k.done(d.success),k.fail(d.error),o=ie(Zt,d,t,k)){if(k.readyState=1,p&&g.trigger("ajaxSend",[k,d]),c)return k;d.async&&d.timeout>0&&(l=n.setTimeout(function(){k.abort("timeout")},d.timeout));try{c=!1,o.send(_,r)}catch(e){if(c)throw e;r(-1,e)}}else r(-1,"No Transport");return k},getJSON:function(e,t,n){return Se.get(e,t,n,"json")},getScript:function(e,t){return Se.get(e,void 0,t,"script")}}),Se.each(["get","post"],function(e,t){Se[t]=function(e,n,r,o){return xe(n)&&(o=o||r,r=n,n=void 0),Se.ajax(Se.extend({url:e,type:t,dataType:o,data:n,success:r},Se.isPlainObject(e)&&e))}}),Se._evalUrl=function(e){return Se.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},Se.fn.extend({wrapAll:function(e){var t;return this[0]&&(xe(e)&&(e=e.call(this[0])),t=Se(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return xe(e)?this.each(function(t){Se(this).wrapInner(e.call(this,t))}):this.each(function(){var t=Se(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=xe(e);return this.each(function(n){Se(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){Se(this).replaceWith(this.childNodes)}),this}}),Se.expr.pseudos.hidden=function(e){return!Se.expr.pseudos.visible(e)},Se.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},Se.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Qt={0:200,1223:204},Kt=Se.ajaxSettings.xhr();we.cors=!!Kt&&"withCredentials"in Kt,we.ajax=Kt=!!Kt,Se.ajaxTransport(function(e){var t,r;if(we.cors||Kt&&!e.crossDomain)return{send:function(o,i){var s,a=e.xhr();if(a.open(e.type,e.url,e.async,e.username,e.password), -e.xhrFields)for(s in e.xhrFields)a[s]=e.xhrFields[s];e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest");for(s in o)a.setRequestHeader(s,o[s]);t=function(e){return function(){t&&(t=r=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?i(0,"error"):i(a.status,a.statusText):i(Qt[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=t(),r=a.onerror=a.ontimeout=t("error"),void 0!==a.onabort?a.onabort=r:a.onreadystatechange=function(){4===a.readyState&&n.setTimeout(function(){t&&r()})},t=t("abort");try{a.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),Se.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),Se.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return Se.globalEval(e),e}}}),Se.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),Se.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(r,o){t=Se(" + + + From baa6c9422df43af160df05f855053d249c5c321b Mon Sep 17 00:00:00 2001 From: Dan Date: Sat, 7 Apr 2018 01:59:30 +0800 Subject: [PATCH 07/37] Prevent frontmatter from being rendered on the final site - Frontmatter data has already been collated in siteData.json and there's no reason to render it with the page's content --- lib/Page.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/Page.js b/lib/Page.js index f5756f6210..5a27d3975e 100644 --- a/lib/Page.js +++ b/lib/Page.js @@ -15,6 +15,9 @@ const FIRST_ELEMENT_INDEX = '0'; const FRONT_MATTER_FENCE = '---'; const NEW_LINE = '\n'; +cheerio.prototype.options.xmlMode = true; // Enable xml mode for self-closing tag +cheerio.prototype.options.decodeEntities = false; // Don't escape HTML entities + function Page(pageConfig) { this.content = pageConfig.content; this.title = pageConfig.title; @@ -107,7 +110,10 @@ Page.prototype.collectFrontMatter = function (includedPage) { // Page is addressable but does not have a specified title this.frontMatter = { src: this.pageSrc }; } - resolve(includedPage); + // Remove front matter data from rendered page as it is stored in siteData + frontMatter.remove(); + includedFrontMatter.remove(); + resolve($.html()); }); }; From d5dee86a13fd8367ec338622960f4e672f0fa0ba Mon Sep 17 00:00:00 2001 From: Dan Date: Sat, 7 Apr 2018 03:51:44 +0800 Subject: [PATCH 08/37] Update search feature to use siteData.json - Search will now use the collated siteData as an index as it now contains the keywords and titles for queries to be matched against - Update the compiled vue js file. It includes the changes made to search in order for it to use the front matter data --- asset/js/setup.js | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/asset/js/setup.js b/asset/js/setup.js index 6b7e4fda47..62d8c78cf3 100644 --- a/asset/js/setup.js +++ b/asset/js/setup.js @@ -10,30 +10,26 @@ function setup() { } function setupWithSearch(siteData) { - const routeArray = jQuery.map(siteData.pages, object => object.src); - const titleArray = jQuery.map(siteData.pages, object => object.title); - const { typeahead } = VueStrap.components; + const { frontmattersearch } = VueStrap.components; const vm = new Vue({ el: '#app', components: { - typeahead, + frontmattersearch, }, data() { return { - searchData: titleArray, + searchData: siteData.pages, }; }, methods: { searchCallback(match) { - const index = titleArray.indexOf(match); - const route = routeArray[index]; - window.location.pathname = route.replace('.md', '.html'); + window.location.pathname = match.src.replace('.md', '.html'); }, }, }); VueStrap.installEvents(vm); } -jQuery.getJSON('../../site.json') +jQuery.getJSON(`${window.location.origin}/siteData.json`) .then(siteData => setupWithSearch(siteData)) .catch(() => setup()); From 60618f7fdbbe4bfb8233eef2692cb2294cce3c3d Mon Sep 17 00:00:00 2001 From: Dan Date: Thu, 22 Mar 2018 01:26:36 +0800 Subject: [PATCH 09/37] Add a new function to build siteData file with page information - siteData.json will contain all front-matter data from pages which are addressable. It will also be used as the search index. --- lib/Site.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/Site.js b/lib/Site.js index 2ca163c7f5..eacb0ef021 100644 --- a/lib/Site.js +++ b/lib/Site.js @@ -10,6 +10,7 @@ const walkSync = require('walk-sync'); const Promise = require('bluebird'); const ghpages = require('gh-pages'); const logger = require('./util/logger'); +const fm = require('fastmatter'); const _ = {}; _.uniq = require('lodash/uniq'); @@ -389,6 +390,9 @@ Site.prototype.generatePages = function () { }) .catch(reject); }); + return Promise.all(promises).then(() => fs.writeJsonAsync(path.join(this.rootPath, 'siteData.json') + , { pages: frontMatterData }) + .then(() => Promise.resolve(frontMatterData))); }; /** From 6bd17c881b302cec97e6d1d578f68a76422740cd Mon Sep 17 00:00:00 2001 From: Daniel Berzin Chua Date: Thu, 22 Mar 2018 14:04:21 +0800 Subject: [PATCH 10/37] Add front matter parsing only for addressable files - Modify parser to only parse body of .md files instead of the whole file --- lib/Site.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/Site.js b/lib/Site.js index eacb0ef021..be60add879 100644 --- a/lib/Site.js +++ b/lib/Site.js @@ -11,6 +11,7 @@ const Promise = require('bluebird'); const ghpages = require('gh-pages'); const logger = require('./util/logger'); const fm = require('fastmatter'); +const MarkBind = require('./markbind/lib/parser'); const _ = {}; _.uniq = require('lodash/uniq'); @@ -28,6 +29,8 @@ const TEMPLATE_SITE_ASSET_FOLDER_NAME = 'markbind'; const USER_VARIABLES_PATH = '_markbind/variables.md'; const TITLE_PREFIX_SEPARATOR = ' - '; +const markbinder = new MarkBind(); + const SITE_CONFIG_DEFAULT = { baseUrl: '', addressable: ['**/index.md'], @@ -391,8 +394,8 @@ Site.prototype.generatePages = function () { .catch(reject); }); return Promise.all(promises).then(() => fs.writeJsonAsync(path.join(this.rootPath, 'siteData.json') - , { pages: frontMatterData }) - .then(() => Promise.resolve(frontMatterData))); + , { pages: frontMatterData })) + .then(() => Promise.resolve(frontMatterData)); }; /** From f210bd0d57c09477eba50084aeb096308c05dd18 Mon Sep 17 00:00:00 2001 From: Dan Date: Wed, 28 Mar 2018 06:05:46 +0800 Subject: [PATCH 11/37] Allow user to specify addressable page names in site.json - Add constants to improve readability of code - Allow for include within tags - Add src attribute for addressable pages without specified titles --- lib/Site.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/Site.js b/lib/Site.js index be60add879..67d311aded 100644 --- a/lib/Site.js +++ b/lib/Site.js @@ -175,8 +175,7 @@ Site.prototype.createPageData = function (config) { const resultPath = path.join(this.outputPath, setExtension(config.pageSrc, '.html')); return new Page({ content: '', - title: '', - titlePrefix: config.titlePrefix, + title: config.title || '', pageSrc: config.pageSrc, rootPath: this.rootPath, sourcePath, From 6ac41b3278dac5cf131c666f9a9497bd859e2761 Mon Sep 17 00:00:00 2001 From: Dan Date: Sun, 1 Apr 2018 15:46:12 +0800 Subject: [PATCH 12/37] Add support for user defined title prefixes --- lib/Site.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/Site.js b/lib/Site.js index 67d311aded..76be2e06b8 100644 --- a/lib/Site.js +++ b/lib/Site.js @@ -10,8 +10,6 @@ const walkSync = require('walk-sync'); const Promise = require('bluebird'); const ghpages = require('gh-pages'); const logger = require('./util/logger'); -const fm = require('fastmatter'); -const MarkBind = require('./markbind/lib/parser'); const _ = {}; _.uniq = require('lodash/uniq'); @@ -29,8 +27,6 @@ const TEMPLATE_SITE_ASSET_FOLDER_NAME = 'markbind'; const USER_VARIABLES_PATH = '_markbind/variables.md'; const TITLE_PREFIX_SEPARATOR = ' - '; -const markbinder = new MarkBind(); - const SITE_CONFIG_DEFAULT = { baseUrl: '', addressable: ['**/index.md'], @@ -175,7 +171,8 @@ Site.prototype.createPageData = function (config) { const resultPath = path.join(this.outputPath, setExtension(config.pageSrc, '.html')); return new Page({ content: '', - title: config.title || '', + title: '', + titlePrefix: config.titlePrefix, pageSrc: config.pageSrc, rootPath: this.rootPath, sourcePath, From b9c58f221b6299a63067c5f71bd4beaf30e5fcd1 Mon Sep 17 00:00:00 2001 From: Dan Date: Tue, 3 Apr 2018 23:42:24 +0800 Subject: [PATCH 13/37] Update expectedSite - The test site has been updated to use the frontmatter feature and thus the expectedSite has to be updated to match the new format of the site. --- .../expected/markbind/js/vue-strap.min.js | 49 ++++++------------- 1 file changed, 15 insertions(+), 34 deletions(-) diff --git a/test/test_site/expected/markbind/js/vue-strap.min.js b/test/test_site/expected/markbind/js/vue-strap.min.js index fff0f6af83..54c7bf787b 100644 --- a/test/test_site/expected/markbind/js/vue-strap.min.js +++ b/test/test_site/expected/markbind/js/vue-strap.min.js @@ -1,11 +1,6 @@ -<<<<<<< HEAD -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VueStrap=t():e.VueStrap=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){o.installed||(o.installed=!0,(0,a.default)(se).forEach(function(t){e.directive(t,se[t])}),(0,a.default)(ie).forEach(function(t){e.component(t,ie[t])}))}function i(e){e.$on("modal:shouldShow",function(e){this.$broadcast("modal:show",e)}),e.$on("retriever:fetched",function(t){e.$compile(t)}),e.$on("trigger:register",function(e,t){this.$broadcast("trigger:bind",e,t)})}var s=n(27),a=r(s),l=n(62),u=r(l),c=n(66),p=r(c),f=n(100),h=(r(f),n(107)),d=r(h),m=n(112),g=(r(m),n(117)),v=r(g),y=n(122),b=r(y),_=n(127),w=r(_),x=n(249),k=(r(x),n(254)),C=r(k),A=n(263),S=r(A),E=n(268),T=r(E),D=n(273),L=r(D),q=n(134),j=r(q),M=n(278),O=r(M),N=n(129),B=r(N),R=n(290),P=r(R),I=n(307),F=r(I),z=n(310),$=r(z),H=n(315),U=r(H),V=n(320),W=r(V),G=n(325),Y=r(G),Z=n(326),X=r(Z),J=n(327),Q=r(J),K=n(332),ee=r(K),te=n(337),ne=r(te),re=n(342),oe=r(re),ie={accordion:u.default,affix:p.default,aside:d.default,checkbox:v.default,dropdown:b.default,dynamicPanel:w.default,modal:C.default,morph:S.default,navbar:T.default,question:L.default,panel:j.default,popover:O.default,retriever:B.default,select:P.default,tab:F.default,tabGroup:$.default,tabs:U.default,tipBox:ee.default,tooltip:W.default,pic:Q.default,trigger:ne.default,typeahead:oe.default},se={closeable:Y.default,showModal:X.default},ae={install:o,installEvents:i,components:{}};(0,a.default)(ie).forEach(function(e){ae.components[e]=ie[e]}),e.exports=ae},,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){e.exports={default:n(28),__esModule:!0}},function(e,t,n){n(29),e.exports=n(49).Object.keys},function(e,t,n){var r=n(30),o=n(32);n(47)("keys",function(){return function(e){return o(r(e))}})},function(e,t,n){var r=n(31);e.exports=function(e){return Object(r(e))}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(33),o=n(46);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r=n(34),o=n(35),i=n(38)(!1),s=n(42)("IE_PROTO");e.exports=function(e,t){var n,a=o(e),l=0,u=[];for(n in a)n!=s&&r(a,n)&&u.push(n);for(;t.length>l;)r(a,n=t[l++])&&(~i(u,n)||u.push(n));return u}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(36),o=n(31);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(37);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(35),o=n(39),i=n(41);e.exports=function(e){return function(t,n,s){var a,l=r(t),u=o(l.length),c=i(s,u);if(e&&n!=n){for(;u>c;)if(a=l[c++],a!=a)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(40),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(40),o=Math.max,i=Math.min;e.exports=function(e,t){return e=r(e),e<0?o(e+t,0):i(e,t)}},function(e,t,n){var r=n(43)("keys"),o=n(45);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t,n){var r=n(44),o="__core-js_shared__",i=r[o]||(r[o]={});e.exports=function(e){return i[e]||(i[e]={})}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(48),o=n(49),i=n(58);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],s={};s[e]=t(n),r(r.S+r.F*i(function(){n(1)}),"Object",s)}},function(e,t,n){var r=n(44),o=n(49),i=n(50),s=n(52),a="prototype",l=function(e,t,n){var u,c,p,f=e&l.F,h=e&l.G,d=e&l.S,m=e&l.P,g=e&l.B,v=e&l.W,y=h?o:o[t]||(o[t]={}),b=y[a],_=h?r:d?r[t]:(r[t]||{})[a];h&&(n=t);for(u in n)c=!f&&_&&void 0!==_[u],c&&u in y||(p=c?_[u]:n[u],y[u]=h&&"function"!=typeof _[u]?n[u]:g&&c?i(p,r):v&&_[u]==p?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t[a]=e[a],t}(p):m&&"function"==typeof p?i(Function.call,p):p,m&&((y.virtual||(y.virtual={}))[u]=p,e&l.R&&b&&!b[u]&&s(b,u,p)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t){var n=e.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(51);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(53),o=n(61);e.exports=n(57)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(54),o=n(56),i=n(60),s=Object.defineProperty;t.f=n(57)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(55);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=!n(57)&&!n(58)(function(){return 7!=Object.defineProperty(n(59)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){e.exports=!n(58)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(55),o=n(44).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(55);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){e.exports=n(63),e.exports.__esModule&&(e.exports=e.exports.default),("function"==typeof e.exports?e.exports.options:e.exports).template=n(65)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(64);t.default={props:{type:{type:String,default:null},oneAtAtime:{type:Boolean,coerce:r.coerce.boolean,default:!1}},created:function(){var e=this;this._isAccordion=!0,this.$on("isOpenEvent",function(t,n){n&&e.oneAtAtime&&e.$children.forEach(function(e){t!==e&&(e.expanded=!1)})})}}},function(e,t){"use strict";function n(e){var t=new window.XMLHttpRequest,n={},r={then:function(e,t){return r.done(e).fail(t)},catch:function(e){return r.fail(e)},always:function(e){return r.done(e).fail(e)}};return["done","fail"].forEach(function(e){n[e]=[],r[e]=function(t){return t instanceof Function&&n[e].push(t),r}}),r.done(JSON.parse),t.onreadystatechange=function(){if(4===t.readyState){var e={status:t.status};if(200===t.status)try{var r=t.responseText;for(var o in n.done){var i=n.done[o](r);void 0!==i&&(r=i)}}catch(e){n.fail.forEach(function(t){return t(e)})}else n.fail.forEach(function(t){return t(e)})}},t.open("GET",e),t.setRequestHeader("Accept","application/json"),t.send(),r}function r(){if(document.documentElement.scrollHeight<=document.documentElement.clientHeight)return 0;var e=document.createElement("p");e.style.width="100%",e.style.height="200px";var t=document.createElement("div");t.style.position="absolute",t.style.top="0px",t.style.left="0px",t.style.visibility="hidden",t.style.width="200px",t.style.height="150px",t.style.overflow="hidden",t.appendChild(e),document.body.appendChild(t);var n=e.offsetWidth;t.style.overflow="scroll";var r=e.offsetWidth;return n===r&&(r=t.clientWidth),document.body.removeChild(t),n-r}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en",t={daysOfWeek:["Su","Mo","Tu","We","Th","Fr","Sa"],limit:"Limit reached ({{limit}} items max).",loading:"Loading...",minLength:"Min. Length",months:["January","February","March","April","May","June","July","August","September","October","November","December"],notSelected:"Nothing Selected",required:"Required",search:"Search"};return window.VueStrapLang?window.VueStrapLang(e):t}function i(e,t){function n(e){return/^[0-9]+$/.test(e)?Number(e)||1:null}var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100;return function(){for(var i=this,s=arguments.length,a=Array(s),l=0;l1&&(n=t[1]),n}function a(e){var t=!window.Vue||!window.Vue.partial,n={computed:{vue2:function(){return!this.$dispatch}}};return t?(e.beforeCompile&&(e.beforeMount=e.beforeCompile,delete e.beforeCompile),e.compiled&&(n.compiled=e.compiled,delete e.compiled),e.ready&&(e.mounted=e.ready,delete e.ready)):(e.beforeCreate&&(n.create=e.beforeCreate,delete e.beforeCreate),e.beforeMount&&(e.beforeCompile=e.beforeMount,delete e.beforeMount),e.mounted&&(e.ready=e.mounted,delete e.mounted)),e.mixins||(e.mixins=[]),e.mixins.unshift(n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.getJSON=n,t.getScrollBarWidth=r,t.translations=o,t.delayer=i,t.getFragmentByHash=s,t.VueFixer=a;t.coerce={boolean:function(e){return"string"==typeof e?""===e||"true"===e||"false"!==e&&"null"!==e&&"undefined"!==e&&e:e},number:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return"number"==typeof e?e:void 0===e||null===e||isNaN(Number(e))?t:Number(e)},string:function(e){return void 0===e||null===e?"":e+""},pattern:function(e){return e instanceof Function||e instanceof RegExp?e:"string"==typeof e?new RegExp(e):null}}},function(e,t){e.exports="
    "},function(e,t,n){e.exports=n(67),e.exports.__esModule&&(e.exports=e.exports.default),("function"==typeof e.exports?e.exports.options:e.exports).template=n(99)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(64),i=n(68),s=r(i);t.default={props:{offset:{type:Number,coerce:o.coerce.number,default:0}},data:function(){return{affixed:!1}},computed:{top:function(){return this.offset>0?this.offset+"px":null}},methods:{checkScroll:function(){var e=this;if(this.$el.offsetWidth||this.$el.offsetHeight||this.$el.getClientRects().length){var t={},n={},r=this.$el.getBoundingClientRect(),o=document.body;["Top","Left"].forEach(function(i){var s=i.toLowerCase(),a=window["page"+("Top"===i?"Y":"X")+"Offset"],l="scroll"+i;"number"!=typeof a&&(a=document.documentElement[l],"number"!=typeof a&&(a=document.body[l])),t[s]=a,n[s]=t[s]+r[s]-(e.$el["client"+i]||o["client"+i]||0)});var i=t.top>n.top-this.offset;this.affixed!==i&&(this.affixed=i)}}},ready:function(){var e=this;(0,s.default)(window).on("scroll resize",function(){return e.checkScroll()}),setTimeout(function(){return e.checkScroll()},0)},beforeDestroy:function(){var e=this;(0,s.default)(window).off("scroll resize",function(){return e.checkScroll()})}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return e instanceof window.Node}function i(e){return e instanceof window.NodeList||e instanceof S||e instanceof window.HTMLCollection||e instanceof Array}function s(e){return e=e.trim(),e.length?e.replace(/\s+/," ").split(" "):[]}function a(e){return e.length?e.join(" "):""}function l(e,t){var n=[];return w.forEach.call(e,function(r){if(o(r))~n.indexOf(r)||n.push(r);else if(i(r))for(var s in r)n.push(r[s]);else if(null!==r)return e.get=E.get,e.set=E.set,e.call=E.call,e.owner=t,e}),c(n,t)}function u(e){var t=this;E[e]||(T[e]instanceof Function?E[e]=function(){for(var n=arguments.length,r=Array(n),o=0;o1&&void 0!==arguments[1])||arguments[1];return this&&this.length&&e?(this.each(function(t){C.push({el:t,callback:e})}),k||(k=function(e){C.forEach(function(t){var n=t.el.contains(e.target)||t.el===e.target;n||t.callback.call(t.el,e,t.el)})},document.addEventListener("click",k,!1),t&&document.addEventListener("touchstart",k,!1)),this):this}},{key:"offBlur",value:function(e){return this.each(function(t){C=C.filter(function(n){return!(n&&n.el===t&&(!e||n.callback===e))&&t})}),this}},{key:"asArray",get:function(){return w.slice.call(this)}}]),e}(),E=S.prototype;(0,g.default)(w).forEach(function(e){"join"!==e&&"copyWithin"!==e&&"fill"!==e&&void 0===E[e]&&(E[e]=w[e])}),window.Symbol&&d.default&&(E[d.default]=E.values=w[d.default]);var T=document.createElement("div");for(var D in T)u(D);window.NL=c,t.default=c},function(e,t,n){e.exports={default:n(70),__esModule:!0}},function(e,t,n){n(71);var r=n(49).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(48);r(r.S+r.F*!n(57),"Object",{defineProperty:n(53).f})},function(e,t,n){e.exports={default:n(73),__esModule:!0}},function(e,t,n){n(74),n(87),e.exports=n(91).f("iterator")},function(e,t,n){"use strict";var r=n(75)(!0);n(76)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){var r=n(40),o=n(31);e.exports=function(e){return function(t,n){var i,s,a=String(o(t)),l=r(n),u=a.length;return l<0||l>=u?e?"":void 0:(i=a.charCodeAt(l),i<55296||i>56319||l+1===u||(s=a.charCodeAt(l+1))<56320||s>57343?e?a.charAt(l):i:e?a.slice(l,l+2):(i-55296<<10)+(s-56320)+65536)}}},function(e,t,n){"use strict";var r=n(77),o=n(48),i=n(78),s=n(52),a=n(34),l=n(79),u=n(80),c=n(84),p=n(86),f=n(85)("iterator"),h=!([].keys&&"next"in[].keys()),d="@@iterator",m="keys",g="values",v=function(){return this};e.exports=function(e,t,n,y,b,_,w){u(n,t,y);var x,k,C,A=function(e){if(!h&&e in D)return D[e];switch(e){case m:return function(){return new n(this,e)};case g:return function(){return new n(this,e)}}return function(){return new n(this,e)}},S=t+" Iterator",E=b==g,T=!1,D=e.prototype,L=D[f]||D[d]||b&&D[b],q=!h&&L||A(b),j=b?E?A("entries"):q:void 0,M="Array"==t?D.entries||L:L;if(M&&(C=p(M.call(new e)),C!==Object.prototype&&C.next&&(c(C,S,!0),r||a(C,f)||s(C,f,v))),E&&L&&L.name!==g&&(T=!0,q=function(){return L.call(this)}),r&&!w||!h&&!T&&D[f]||s(D,f,q),l[t]=q,l[S]=v,b)if(x={values:E?q:A(g),keys:_?q:A(m),entries:j},w)for(k in x)k in D||i(D,k,x[k]);else o(o.P+o.F*(h||T),t,x);return x}},function(e,t){e.exports=!0},function(e,t,n){e.exports=n(52)},function(e,t){e.exports={}},function(e,t,n){"use strict";var r=n(81),o=n(61),i=n(84),s={};n(52)(s,n(85)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(s,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(54),o=n(82),i=n(46),s=n(42)("IE_PROTO"),a=function(){},l="prototype",u=function(){var e,t=n(59)("iframe"),r=i.length,o="<",s=">";for(t.style.display="none",n(83).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(o+"script"+s+"document.F=Object"+o+"/script"+s),e.close(),u=e.F;r--;)delete u[l][i[r]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(a[l]=r(e),n=new a,a[l]=null,n[s]=e):n=u(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(53),o=n(54),i=n(32);e.exports=n(57)?Object.defineProperties:function(e,t){o(e);for(var n,s=i(t),a=s.length,l=0;a>l;)r.f(e,n=s[l++],t[n]);return e}},function(e,t,n){var r=n(44).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(53).f,o=n(34),i=n(85)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){var r=n(43)("wks"),o=n(45),i=n(44).Symbol,s="function"==typeof i,a=e.exports=function(e){return r[e]||(r[e]=s&&i[e]||(s?i:o)("Symbol."+e))};a.store=r},function(e,t,n){var r=n(34),o=n(30),i=n(42)("IE_PROTO"),s=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},function(e,t,n){n(88);for(var r=n(44),o=n(52),i=n(79),s=n(85)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l=e.length?(this._t=void 0,o(1)):"keys"==t?o(0,n):"values"==t?o(0,e[n]):o(0,[n,e[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){t.f=n(85)},function(e,t,n){e.exports={default:n(93),__esModule:!0}},function(e,t,n){n(94);var r=n(49).Object;e.exports=function(e){return r.getOwnPropertyNames(e)}},function(e,t,n){n(47)("getOwnPropertyNames",function(){return n(95).f})},function(e,t,n){var r=n(35),o=n(96).f,i={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(e){try{return o(e)}catch(e){return s.slice()}};e.exports.f=function(e){return s&&"[object Window]"==i.call(e)?a(e):o(r(e))}},function(e,t,n){var r=n(33),o=n(46).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(69),i=r(o);t.default=function(){function e(e,t){for(var n=0;n=0&&b.splice(t,1)}function a(e){var t=document.createElement("style");return t.type="text/css",i(e,t),t}function l(e){var t=document.createElement("link");return t.rel="stylesheet",i(e,t),t}function u(e,t){var n,r,o;if(t.singleton){var i=y++;n=v||(v=a(t)),r=c.bind(null,n,i,!1),o=c.bind(null,n,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(t),r=f.bind(null,n),o=function(){s(n),n.href&&URL.revokeObjectURL(n.href)}):(n=a(t),r=p.bind(null,n),o=function(){s(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}function c(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=_(t,o);else{var i=document.createTextNode(o),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(i,s[t]):e.appendChild(i)}}function p(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function f(e,t){var n=t.css,r=t.sourceMap;r&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var o=new Blob([n],{type:"text/css"}),i=e.href;e.href=URL.createObjectURL(o),i&&URL.revokeObjectURL(i)}var h={},d=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},m=d(function(){return/msie [6-9]\b/.test(self.navigator.userAgent.toLowerCase())}),g=d(function(){return document.head||document.getElementsByTagName("head")[0]}),v=null,y=0,b=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=m()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=o(e);return r(n,t),function(e){for(var i=[],s=0;s "},function(e,t,n){n(108),e.exports=n(110),e.exports.__esModule&&(e.exports=e.exports.default),("function"==typeof e.exports?e.exports.options:e.exports).template=n(111)},function(e,t,n){var r=n(109);"string"==typeof r&&(r=[[e.id,r,""]]);n(104)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(103)(),t.push([e.id,".aside-open{transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.aside-open.has-push-right{-webkit-transform:translateX(-300px);transform:translateX(-300px)}.aside{position:fixed;top:0;bottom:0;z-index:1049;overflow:auto;background:#fff}.slideleft-enter{-webkit-animation:slideleft-in .3s;animation:slideleft-in .3s}.slideleft-leave{-webkit-animation:slideleft-out .3s;animation:slideleft-out .3s}@-webkit-keyframes slideleft-in{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);opacity:0}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@keyframes slideleft-in{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);opacity:0}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@-webkit-keyframes slideleft-out{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}to{-webkit-transform:translateX(-100%);transform:translateX(-100%);opacity:0}}@keyframes slideleft-out{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}to{-webkit-transform:translateX(-100%);transform:translateX(-100%);opacity:0}}.slideright-enter{-webkit-animation:slideright-in .3s;animation:slideright-in .3s}.slideright-leave{-webkit-animation:slideright-out .3s;animation:slideright-out .3s}@-webkit-keyframes slideright-in{0%{-webkit-transform:translateX(100%);transform:translateX(100%);opacity:0}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@keyframes slideright-in{0%{-webkit-transform:translateX(100%);transform:translateX(100%);opacity:0}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@-webkit-keyframes slideright-out{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}to{-webkit-transform:translateX(100%);transform:translateX(100%);opacity:0}}@keyframes slideright-out{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}to{-webkit-transform:translateX(100%);transform:translateX(100%);opacity:0}}.aside:focus{outline:0}@media (max-width:991px){.aside{min-width:240px}}.aside.left{right:auto;left:0}.aside.right{right:0;left:auto}.aside .aside-dialog .aside-header{border-bottom:1px solid #e5e5e5;min-height:16.43px;padding:6px 15px;background:#337ab7;color:#fff}.aside .aside-dialog .aside-header .close{margin-right:-8px;padding:4px 8px;color:#fff;font-size:25px;opacity:.8}.aside .aside-dialog .aside-body{position:relative;padding:15px}.aside .aside-dialog .aside-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}.aside .aside-dialog .aside-footer .btn+.btn{margin-left:5px;margin-bottom:0}.aside .aside-dialog .aside-footer .btn-group .btn+.btn{margin-left:-1px}.aside .aside-dialog .aside-footer .btn-block+.btn-block{margin-left:0}.aside-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;opacity:0;transition:opacity .3s ease;background-color:#000}.aside-backdrop.in{opacity:.5;filter:alpha(opacity=50)}",""]); -},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(64),i=n(68),s=r(i);t.default={props:{show:{type:Boolean,coerce:o.coerce.boolean,required:!0,twoWay:!0},placement:{type:String,default:"right"},header:{type:String},width:{type:Number,coerce:o.coerce.number,default:320}},watch:{show:function(e){var t=this,n=document.body,r=(0,o.getScrollBarWidth)();if(e){this._backdrop||(this._backdrop=document.createElement("div")),this._backdrop.className="aside-backdrop",n.appendChild(this._backdrop),n.classList.add("modal-open"),0!==r&&(n.style.paddingRight=r+"px");this._backdrop.clientHeight;this._backdrop.classList.add("in"),(0,s.default)(this._backdrop).on("click",function(){return t.close()})}else(0,s.default)(this._backdrop).on("transitionend",function(){(0,s.default)(t._backdrop).off();try{n.classList.remove("modal-open"),n.style.paddingRight="0",n.removeChild(t._backdrop),t._backdrop=null}catch(e){}}),this._backdrop.className="aside-backdrop"}},methods:{close:function(){this.show=!1}}}},function(e,t){e.exports="

    {{ header }}

    "},function(e,t,n){n(113),e.exports=n(115),e.exports.__esModule&&(e.exports=e.exports.default),("function"==typeof e.exports?e.exports.options:e.exports).template=n(116)},function(e,t,n){var r=n(114);"string"==typeof r&&(r=[[e.id,r,""]]);n(104)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(103)(),t.push([e.id,".carousel-control[_v-cc9b6dac]{cursor:pointer}",""])},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(64),i=n(68),s=r(i);t.default={props:{indicators:{type:Boolean,coerce:o.coerce.boolean,default:!0},controls:{type:Boolean,coerce:o.coerce.boolean,default:!0},interval:{type:Number,coerce:o.coerce.number,default:5e3}},data:function(){return{indicator:[],index:0,isAnimating:!1}},watch:{index:function(e,t){this.slide(e>t?"left":"right",e,t)}},methods:{indicatorClick:function(e){return!this.isAnimating&&this.index!==e&&(this.isAnimating=!0,void(this.index=e))},slide:function(e,t,n){var r=this;if(this.$el){var o=(0,s.default)(".item",this.$el);if(o.length){var i=o[t]||o[0];(0,s.default)(i).addClass("left"===e?"next":"prev");i.clientHeight;(0,s.default)([o[n],i]).addClass(e).on("transitionend",function(){o.off("transitionend").className="item",(0,s.default)(i).addClass("active"),r.isAnimating=!1})}}},next:function(){return!(!this.$el||this.isAnimating)&&(this.isAnimating=!0,void(this.index+1<(0,s.default)(".item",this.$el).length?this.index+=1:this.index=0))},prev:function(){return!(!this.$el||this.isAnimating)&&(this.isAnimating=!0,void(0===this.index?this.index=(0,s.default)(".item",this.$el).length-1:this.index-=1))},toggleInterval:function(e){void 0===e&&(e=this._intervalID),this._intervalID&&(clearInterval(this._intervalID),delete this._intervalID),e&&this.interval>0&&(this._intervalID=setInterval(this.next,this.interval))}},ready:function(){var e=this;this.toggleInterval(!0),(0,s.default)(this.$el).on("mouseenter",function(){return e.toggleInterval(!1)}).on("mouseleave",function(){return e.toggleInterval(!0)})},beforeDestroy:function(){this.toggleInterval(!1),(0,s.default)(this.$el).off("mouseenter mouseleave")}}},function(e,t){e.exports=''},function(e,t,n){n(118),e.exports=n(120),e.exports.__esModule&&(e.exports=e.exports.default),("function"==typeof e.exports?e.exports.options:e.exports).template=n(121)},function(e,t,n){var r=n(119);"string"==typeof r&&(r=[[e.id,r,""]]);n(104)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(103)(),t.push([e.id,"label.checkbox[_v-5eb1cbe6]{position:relative;padding-left:18px}label.checkbox>input[_v-5eb1cbe6]{box-sizing:border-box;position:absolute;z-index:-1;padding:0;opacity:0;margin:0}label.checkbox>.icon[_v-5eb1cbe6]{position:absolute;top:.2rem;left:0;display:block;width:1.4rem;height:1.4rem;line-height:1rem;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-radius:.35rem;background-repeat:no-repeat;background-position:50%;background-size:50% 50%}label.checkbox:not(.active)>.icon[_v-5eb1cbe6]{background-color:#ddd;border:1px solid #bbb}label.checkbox>input:focus~.icon[_v-5eb1cbe6]{outline:0;border:1px solid #66afe9;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}label.checkbox.active>.icon[_v-5eb1cbe6]{background-size:1rem 1rem;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNyIgaGVpZ2h0PSI3Ij48cGF0aCBmaWxsPSIjZmZmIiBkPSJtNS43MywwLjUybC0zLjEyNDIyLDMuMzQxNjFsLTEuMzM4OTUsLTEuNDMyMTJsLTEuMjQ5NjksMS4zMzY2NWwyLjU4ODYzLDIuNzY4NzZsNC4zNzM5LC00LjY3ODI2bC0xLjI0OTY5LC0xLjMzNjY1bDAsMGwwLjAwMDAyLDAuMDAwMDF6Ii8+PC9zdmc+)}label.checkbox.active .btn-default[_v-5eb1cbe6]{-webkit-filter:brightness(75%);filter:brightness(75%)}.btn.readonly[_v-5eb1cbe6],label.checkbox.disabled[_v-5eb1cbe6],label.checkbox.readonly[_v-5eb1cbe6]{filter:alpha(opacity=65);box-shadow:none;opacity:.65}label.btn>input[type=checkbox][_v-5eb1cbe6]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}",""])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(64);t.default={props:{value:{default:!0},checked:{twoWay:!0},button:{type:Boolean,coerce:r.coerce.boolean,default:!1},disabled:{type:Boolean,coerce:r.coerce.boolean,default:!1},name:{type:String,default:null},readonly:{type:Boolean,coerce:r.coerce.boolean,default:!1},type:{type:String,default:null}},computed:{active:function(){return"boolean"!=typeof this.value&&this.group?~this.$parent.value.indexOf(this.value):this.checked===this.value},isButton:function(){return this.button||this.group&&this.$parent.buttons},group:function(){return this.$parent&&this.$parent._checkboxGroup},typeColor:function(){return this.type||this.$parent&&this.$parent.type||"default"}},watch:{checked:function(e){"boolean"!=typeof this.value&&this.group&&(this.checked&&!~this.$parent.value.indexOf(this.value)&&this.$parent.value.push(this.value),!this.checked&&~this.$parent.value.indexOf(this.value)&&this.$parent.value.$remove(this.value))}},created:function(){if("boolean"!=typeof this.value){var e=this.$parent;e&&e._btnGroup&&!e._radioGroup&&(e._checkboxGroup=!0,e.value instanceof Array||(e.value=[]))}},ready:function(){this.$parent._checkboxGroup&&"boolean"!=typeof this.value&&(this.$parent.value.length?this.checked=~this.$parent.value.indexOf(this.value):this.checked&&this.$parent.value.push(this.value))},methods:{eval:function(){"boolean"!=typeof this.value&&this.group&&(this.checked=~this.$parent.value.indexOf(this.value))},focus:function(){this.$els.input.focus()},toggle:function(){if(!this.disabled&&(this.focus(),!this.readonly&&(this.checked=this.checked?null:this.value,this.group&&"boolean"!=typeof this.value))){var e=this.$parent.value.indexOf(this.value);this.$parent.value[~e?"$remove":"push"](this.value)}return!1}}}},function(e,t){e.exports=''},function(e,t,n){n(123),e.exports=n(125),e.exports.__esModule&&(e.exports=e.exports.default),("function"==typeof e.exports?e.exports.options:e.exports).template=n(126)},function(e,t,n){var r=n(124);"string"==typeof r&&(r=[[e.id,r,""]]);n(104)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(103)(),t.push([e.id,".secret[_v-bd7b294a]{position:absolute;clip:rect(0 0 0 0);overflow:hidden;margin:-1px;height:1px;width:1px;padding:0;border:0}",""])},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(64),i=n(68),s=r(i);t.default={props:{show:{twoWay:!0,type:Boolean,coerce:o.coerce.boolean,default:!1},class:null,disabled:{type:Boolean,coerce:o.coerce.boolean,default:!1},text:{type:String,default:null},type:{type:String,default:"default"}},computed:{classes:function(){return[{open:this.show,disabled:this.disabled},this.class,this.isLi?"dropdown":this.inInput?"input-group-btn":"btn-group"]},inInput:function(){return this.$parent._input},isLi:function(){return this.$parent._navbar||this.$parent.menu||this.$parent._tabset},menu:function(){return!this.$parent||this.$parent.navbar},submenu:function(){return this.$parent&&(this.$parent.menu||this.$parent.submenu)},slots:function(){return this._slotContents}},methods:{blur:function(){var e=this;this.unblur(),this._hide=setTimeout(function(){e._hide=null,e.show=!1},100)},unblur:function(){this._hide&&(clearTimeout(this._hide),this._hide=null)}},ready:function(){var e=this,t=(0,s.default)(this.$els.dropdown);t.onBlur(function(t){e.show=!1},!1),t.findChildren("a,button.dropdown-toggle").on("click",function(t){return t.preventDefault(),!e.disabled&&(e.show=!e.show,!1)}),t.findChildren("ul").on("click","li>a",function(t){e.show=!1})},beforeDestroy:function(){var e=(0,s.default)(this.$els.dropdown);e.offBlur(),e.findChildren("a,button").off(),e.findChildren("ul").off()}}},function(e,t){e.exports='
  • {{{ text }}}
  • '},function(e,t,n){e.exports=n(128),e.exports.__esModule&&(e.exports=e.exports.default),("function"==typeof e.exports?e.exports.options:e.exports).template=n(248)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(64),i=n(129),s=r(i),a=n(134),l=r(a);t.default={props:{src:{type:String},fragment:{type:String},header:{type:String},isOpen:{type:Boolean,coerce:o.coerce.boolean,default:null},type:{type:String,default:null}},components:{panel:l.default,retriever:s.default},created:function(){if(this.src){var e=(0,o.getFragmentByHash)(this.src);e&&(this.fragment=e,this.src=this.src.split("#")[0])}},ready:function(){var e=this;this.isOpen&&this.$refs.retriever.fetch(),this.$on("isOpenEvent",function(t,n){n&&e.$refs.retriever.fetch()})},events:{"panel:expand":function(e){},"panel:collapse":function(e){}}}},function(e,t,n){e.exports=n(130),e.exports.__esModule&&(e.exports=e.exports.default),("function"==typeof e.exports?e.exports.options:e.exports).template=n(133)},function(e,t,n){(function(e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(64);t.default={props:{src:{type:String},fragment:{type:String},delay:{type:Boolean,coerce:r.coerce.boolean,default:!1},_hasFetched:{type:Boolean,default:!1}},methods:{fetch:function(){var t=this;this.src&&(this._hasFetched||e.get(this.src).done(function(n){var r=n;if(t.fragment){var o=e("").append(e.parseHTML(r)),i=e("#"+t.fragment,o);r=i.html()}if(t._hasFetched=!0,void 0==r&&t.fragment)return void(t.$el.innerHTML="Error: Failed to retrieve page fragment: "+t.src+"#"+t.fragment);var s=e(t.$el).html(r);t.$dispatch("retriever:fetched",s.get(0))}).fail(function(e){console.error(e.responseText),t.$el.innerHTML="Error: Failed to retrieve content from source: "+t.src+""}))}},ready:function(){if(this.src){var e=(0,r.getFragmentByHash)(this.src);e&&(this.fragment=e,this.src=this.src.split("#")[0])}else this.$el.innerHTML="";this.delay||this.fetch()}}}).call(t,n(131))},function(e,t,n){(function(t){e.exports=t.jQuery=n(132)}).call(t,function(){return this}())},function(e,t,n){var r,o;/*! -======= -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VueStrap=t():e.VueStrap=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){o.installed||(o.installed=!0,(0,a.default)(le).forEach(function(t){e.directive(t,le[t])}),(0,a.default)(ae).forEach(function(t){e.component(t,ae[t])}))}function i(e){e.$on("modal:shouldShow",function(e){this.$broadcast("modal:show",e)}),e.$on("retriever:fetched",function(t){e.$compile(t)}),e.$on("trigger:register",function(e,t){this.$broadcast("trigger:bind",e,t)})}var s=n(28),a=r(s),l=n(63),u=r(l),c=n(67),p=r(c),f=n(101),h=(r(f),n(108)),d=r(h),m=n(113),g=(r(m),n(118)),v=r(g),y=n(123),b=r(y),_=n(128),w=r(_),x=n(250),k=(r(x),n(255)),C=r(k),A=n(264),S=r(A),E=n(269),T=r(E),D=n(274),L=r(D),q=n(135),j=r(q),M=n(279),O=r(M),N=n(130),B=r(N),R=n(291),P=r(R),I=n(308),F=r(I),z=n(311),$=r(z),H=n(316),U=r(H),V=n(321),W=r(V),G=n(326),Y=r(G),Z=n(327),X=r(Z),J=n(328),Q=r(J),K=n(333),ee=r(K),te=n(338),ne=r(te),re=n(343),oe=r(re),ie=n(348),se=r(ie),ae={accordion:u.default,affix:p.default,aside:d.default,checkbox:v.default,dropdown:b.default,dynamicPanel:w.default,modal:C.default,morph:S.default,navbar:T.default,question:L.default,panel:j.default,popover:O.default,retriever:B.default,select:P.default,tab:F.default,tabGroup:$.default,tabs:U.default,tipBox:ee.default,tooltip:W.default,pic:Q.default,trigger:ne.default,typeahead:oe.default,frontmattersearch:se.default},le={closeable:Y.default,showModal:X.default},ue={install:o,installEvents:i,components:{}};(0,a.default)(ae).forEach(function(e){ue.components[e]=ae[e]}),e.exports=ue},,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){e.exports={default:n(29),__esModule:!0}},function(e,t,n){n(30),e.exports=n(50).Object.keys},function(e,t,n){var r=n(31),o=n(33);n(48)("keys",function(){return function(e){return o(r(e))}})},function(e,t,n){var r=n(32);e.exports=function(e){return Object(r(e))}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(34),o=n(47);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r=n(35),o=n(36),i=n(39)(!1),s=n(43)("IE_PROTO");e.exports=function(e,t){var n,a=o(e),l=0,u=[];for(n in a)n!=s&&r(a,n)&&u.push(n);for(;t.length>l;)r(a,n=t[l++])&&(~i(u,n)||u.push(n));return u}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(37),o=n(32);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(38);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(36),o=n(40),i=n(42);e.exports=function(e){return function(t,n,s){var a,l=r(t),u=o(l.length),c=i(s,u);if(e&&n!=n){for(;u>c;)if(a=l[c++],a!=a)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(41),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(41),o=Math.max,i=Math.min;e.exports=function(e,t){return e=r(e),e<0?o(e+t,0):i(e,t)}},function(e,t,n){var r=n(44)("keys"),o=n(46);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t,n){var r=n(45),o="__core-js_shared__",i=r[o]||(r[o]={});e.exports=function(e){return i[e]||(i[e]={})}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(49),o=n(50),i=n(59);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],s={};s[e]=t(n),r(r.S+r.F*i(function(){n(1)}),"Object",s)}},function(e,t,n){var r=n(45),o=n(50),i=n(51),s=n(53),a="prototype",l=function(e,t,n){var u,c,p,f=e&l.F,h=e&l.G,d=e&l.S,m=e&l.P,g=e&l.B,v=e&l.W,y=h?o:o[t]||(o[t]={}),b=y[a],_=h?r:d?r[t]:(r[t]||{})[a];h&&(n=t);for(u in n)c=!f&&_&&void 0!==_[u],c&&u in y||(p=c?_[u]:n[u],y[u]=h&&"function"!=typeof _[u]?n[u]:g&&c?i(p,r):v&&_[u]==p?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t[a]=e[a],t}(p):m&&"function"==typeof p?i(Function.call,p):p,m&&((y.virtual||(y.virtual={}))[u]=p,e&l.R&&b&&!b[u]&&s(b,u,p)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t){var n=e.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(52);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(54),o=n(62);e.exports=n(58)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(55),o=n(57),i=n(61),s=Object.defineProperty;t.f=n(58)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(56);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=!n(58)&&!n(59)(function(){return 7!=Object.defineProperty(n(60)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){e.exports=!n(59)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(56),o=n(45).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(56);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){e.exports=n(64),e.exports.__esModule&&(e.exports=e.exports.default),("function"==typeof e.exports?e.exports.options:e.exports).template=n(66)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(65);t.default={props:{type:{type:String,default:null},oneAtAtime:{type:Boolean,coerce:r.coerce.boolean,default:!1}},created:function(){var e=this;this._isAccordion=!0,this.$on("isOpenEvent",function(t,n){n&&e.oneAtAtime&&e.$children.forEach(function(e){t!==e&&(e.expanded=!1)})})}}},function(e,t){"use strict";function n(e){var t=new window.XMLHttpRequest,n={},r={then:function(e,t){return r.done(e).fail(t)},catch:function(e){return r.fail(e)},always:function(e){return r.done(e).fail(e)}};return["done","fail"].forEach(function(e){n[e]=[],r[e]=function(t){return t instanceof Function&&n[e].push(t),r}}),r.done(JSON.parse),t.onreadystatechange=function(){if(4===t.readyState){var e={status:t.status};if(200===t.status)try{var r=t.responseText;for(var o in n.done){var i=n.done[o](r);void 0!==i&&(r=i)}}catch(e){n.fail.forEach(function(t){return t(e)})}else n.fail.forEach(function(t){return t(e)})}},t.open("GET",e),t.setRequestHeader("Accept","application/json"),t.send(),r}function r(){if(document.documentElement.scrollHeight<=document.documentElement.clientHeight)return 0;var e=document.createElement("p");e.style.width="100%",e.style.height="200px";var t=document.createElement("div");t.style.position="absolute",t.style.top="0px",t.style.left="0px",t.style.visibility="hidden",t.style.width="200px",t.style.height="150px",t.style.overflow="hidden",t.appendChild(e),document.body.appendChild(t);var n=e.offsetWidth;t.style.overflow="scroll";var r=e.offsetWidth;return n===r&&(r=t.clientWidth),document.body.removeChild(t),n-r}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en",t={daysOfWeek:["Su","Mo","Tu","We","Th","Fr","Sa"],limit:"Limit reached ({{limit}} items max).",loading:"Loading...",minLength:"Min. Length",months:["January","February","March","April","May","June","July","August","September","October","November","December"],notSelected:"Nothing Selected",required:"Required",search:"Search"};return window.VueStrapLang?window.VueStrapLang(e):t}function i(e,t){function n(e){return/^[0-9]+$/.test(e)?Number(e)||1:null}var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100;return function(){for(var i=this,s=arguments.length,a=Array(s),l=0;l1&&(n=t[1]),n}function a(e){var t=!window.Vue||!window.Vue.partial,n={computed:{vue2:function(){return!this.$dispatch}}};return t?(e.beforeCompile&&(e.beforeMount=e.beforeCompile,delete e.beforeCompile),e.compiled&&(n.compiled=e.compiled,delete e.compiled),e.ready&&(e.mounted=e.ready,delete e.ready)):(e.beforeCreate&&(n.create=e.beforeCreate,delete e.beforeCreate),e.beforeMount&&(e.beforeCompile=e.beforeMount,delete e.beforeMount),e.mounted&&(e.ready=e.mounted,delete e.mounted)),e.mixins||(e.mixins=[]),e.mixins.unshift(n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.getJSON=n,t.getScrollBarWidth=r,t.translations=o,t.delayer=i,t.getFragmentByHash=s,t.VueFixer=a;t.coerce={boolean:function(e){return"string"==typeof e?""===e||"true"===e||"false"!==e&&"null"!==e&&"undefined"!==e&&e:e},number:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return"number"==typeof e?e:void 0===e||null===e||isNaN(Number(e))?t:Number(e)},string:function(e){return void 0===e||null===e?"":e+""},pattern:function(e){return e instanceof Function||e instanceof RegExp?e:"string"==typeof e?new RegExp(e):null}}},function(e,t){e.exports="
    "},function(e,t,n){e.exports=n(68),e.exports.__esModule&&(e.exports=e.exports.default),("function"==typeof e.exports?e.exports.options:e.exports).template=n(100)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(65),i=n(69),s=r(i);t.default={props:{offset:{type:Number,coerce:o.coerce.number,default:0}},data:function(){return{affixed:!1}},computed:{top:function(){return this.offset>0?this.offset+"px":null}},methods:{checkScroll:function(){var e=this;if(this.$el.offsetWidth||this.$el.offsetHeight||this.$el.getClientRects().length){var t={},n={},r=this.$el.getBoundingClientRect(),o=document.body;["Top","Left"].forEach(function(i){var s=i.toLowerCase(),a=window["page"+("Top"===i?"Y":"X")+"Offset"],l="scroll"+i;"number"!=typeof a&&(a=document.documentElement[l],"number"!=typeof a&&(a=document.body[l])),t[s]=a,n[s]=t[s]+r[s]-(e.$el["client"+i]||o["client"+i]||0)});var i=t.top>n.top-this.offset;this.affixed!==i&&(this.affixed=i)}}},ready:function(){var e=this;(0,s.default)(window).on("scroll resize",function(){return e.checkScroll()}),setTimeout(function(){return e.checkScroll()},0)},beforeDestroy:function(){var e=this;(0,s.default)(window).off("scroll resize",function(){return e.checkScroll()})}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return e instanceof window.Node}function i(e){return e instanceof window.NodeList||e instanceof S||e instanceof window.HTMLCollection||e instanceof Array}function s(e){return e=e.trim(),e.length?e.replace(/\s+/," ").split(" "):[]}function a(e){return e.length?e.join(" "):""}function l(e,t){var n=[];return w.forEach.call(e,function(r){if(o(r))~n.indexOf(r)||n.push(r);else if(i(r))for(var s in r)n.push(r[s]);else if(null!==r)return e.get=E.get,e.set=E.set,e.call=E.call,e.owner=t,e}),c(n,t)}function u(e){var t=this;E[e]||(T[e]instanceof Function?E[e]=function(){for(var n=arguments.length,r=Array(n),o=0;o1&&void 0!==arguments[1])||arguments[1];return this&&this.length&&e?(this.each(function(t){C.push({el:t,callback:e})}),k||(k=function(e){C.forEach(function(t){var n=t.el.contains(e.target)||t.el===e.target;n||t.callback.call(t.el,e,t.el)})},document.addEventListener("click",k,!1),t&&document.addEventListener("touchstart",k,!1)),this):this}},{key:"offBlur",value:function(e){return this.each(function(t){C=C.filter(function(n){return!(n&&n.el===t&&(!e||n.callback===e))&&t})}),this}},{key:"asArray",get:function(){return w.slice.call(this)}}]),e}(),E=S.prototype;(0,g.default)(w).forEach(function(e){"join"!==e&&"copyWithin"!==e&&"fill"!==e&&void 0===E[e]&&(E[e]=w[e])}),window.Symbol&&d.default&&(E[d.default]=E.values=w[d.default]);var T=document.createElement("div");for(var D in T)u(D);window.NL=c,t.default=c},function(e,t,n){e.exports={default:n(71),__esModule:!0}},function(e,t,n){n(72);var r=n(50).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(49);r(r.S+r.F*!n(58),"Object",{defineProperty:n(54).f})},function(e,t,n){e.exports={default:n(74),__esModule:!0}},function(e,t,n){n(75),n(88),e.exports=n(92).f("iterator")},function(e,t,n){"use strict";var r=n(76)(!0);n(77)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){var r=n(41),o=n(32);e.exports=function(e){return function(t,n){var i,s,a=String(o(t)),l=r(n),u=a.length;return l<0||l>=u?e?"":void 0:(i=a.charCodeAt(l),i<55296||i>56319||l+1===u||(s=a.charCodeAt(l+1))<56320||s>57343?e?a.charAt(l):i:e?a.slice(l,l+2):(i-55296<<10)+(s-56320)+65536)}}},function(e,t,n){"use strict";var r=n(78),o=n(49),i=n(79),s=n(53),a=n(35),l=n(80),u=n(81),c=n(85),p=n(87),f=n(86)("iterator"),h=!([].keys&&"next"in[].keys()),d="@@iterator",m="keys",g="values",v=function(){return this};e.exports=function(e,t,n,y,b,_,w){u(n,t,y);var x,k,C,A=function(e){if(!h&&e in D)return D[e];switch(e){case m:return function(){return new n(this,e)};case g:return function(){return new n(this,e)}}return function(){return new n(this,e)}},S=t+" Iterator",E=b==g,T=!1,D=e.prototype,L=D[f]||D[d]||b&&D[b],q=!h&&L||A(b),j=b?E?A("entries"):q:void 0,M="Array"==t?D.entries||L:L;if(M&&(C=p(M.call(new e)),C!==Object.prototype&&C.next&&(c(C,S,!0),r||a(C,f)||s(C,f,v))),E&&L&&L.name!==g&&(T=!0,q=function(){return L.call(this)}),r&&!w||!h&&!T&&D[f]||s(D,f,q),l[t]=q,l[S]=v,b)if(x={values:E?q:A(g),keys:_?q:A(m),entries:j},w)for(k in x)k in D||i(D,k,x[k]);else o(o.P+o.F*(h||T),t,x);return x}},function(e,t){e.exports=!0},function(e,t,n){e.exports=n(53)},function(e,t){e.exports={}},function(e,t,n){"use strict";var r=n(82),o=n(62),i=n(85),s={};n(53)(s,n(86)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(s,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(55),o=n(83),i=n(47),s=n(43)("IE_PROTO"),a=function(){},l="prototype",u=function(){var e,t=n(60)("iframe"),r=i.length,o="<",s=">";for(t.style.display="none",n(84).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(o+"script"+s+"document.F=Object"+o+"/script"+s),e.close(),u=e.F;r--;)delete u[l][i[r]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(a[l]=r(e),n=new a,a[l]=null,n[s]=e):n=u(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(54),o=n(55),i=n(33);e.exports=n(58)?Object.defineProperties:function(e,t){o(e);for(var n,s=i(t),a=s.length,l=0;a>l;)r.f(e,n=s[l++],t[n]);return e}},function(e,t,n){var r=n(45).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(54).f,o=n(35),i=n(86)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){var r=n(44)("wks"),o=n(46),i=n(45).Symbol,s="function"==typeof i,a=e.exports=function(e){return r[e]||(r[e]=s&&i[e]||(s?i:o)("Symbol."+e))};a.store=r},function(e,t,n){var r=n(35),o=n(31),i=n(43)("IE_PROTO"),s=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},function(e,t,n){n(89);for(var r=n(45),o=n(53),i=n(80),s=n(86)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l=e.length?(this._t=void 0,o(1)):"keys"==t?o(0,n):"values"==t?o(0,e[n]):o(0,[n,e[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){t.f=n(86)},function(e,t,n){e.exports={default:n(94),__esModule:!0}},function(e,t,n){n(95);var r=n(50).Object;e.exports=function(e){return r.getOwnPropertyNames(e)}},function(e,t,n){n(48)("getOwnPropertyNames",function(){return n(96).f})},function(e,t,n){var r=n(36),o=n(97).f,i={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(e){try{return o(e)}catch(e){return s.slice()}};e.exports.f=function(e){return s&&"[object Window]"==i.call(e)?a(e):o(r(e))}},function(e,t,n){var r=n(34),o=n(47).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(70),i=r(o);t.default=function(){function e(e,t){for(var n=0;n=0&&b.splice(t,1)}function a(e){var t=document.createElement("style");return t.type="text/css",i(e,t),t}function l(e){var t=document.createElement("link");return t.rel="stylesheet",i(e,t),t}function u(e,t){var n,r,o;if(t.singleton){var i=y++;n=v||(v=a(t)),r=c.bind(null,n,i,!1),o=c.bind(null,n,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(t),r=f.bind(null,n),o=function(){s(n),n.href&&URL.revokeObjectURL(n.href)}):(n=a(t),r=p.bind(null,n),o=function(){s(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}function c(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=_(t,o);else{var i=document.createTextNode(o),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(i,s[t]):e.appendChild(i)}}function p(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function f(e,t){var n=t.css,r=t.sourceMap;r&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var o=new Blob([n],{type:"text/css"}),i=e.href;e.href=URL.createObjectURL(o),i&&URL.revokeObjectURL(i)}var h={},d=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},m=d(function(){return/msie [6-9]\b/.test(self.navigator.userAgent.toLowerCase())}),g=d(function(){return document.head||document.getElementsByTagName("head")[0]}),v=null,y=0,b=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=m()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=o(e);return r(n,t),function(e){for(var i=[],s=0;s "},function(e,t,n){n(109),e.exports=n(111),e.exports.__esModule&&(e.exports=e.exports.default),("function"==typeof e.exports?e.exports.options:e.exports).template=n(112)},function(e,t,n){var r=n(110);"string"==typeof r&&(r=[[e.id,r,""]]);n(105)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(104)(),t.push([e.id,".aside-open{transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.aside-open.has-push-right{-webkit-transform:translateX(-300px);transform:translateX(-300px)}.aside{position:fixed;top:0;bottom:0;z-index:1049;overflow:auto;background:#fff}.slideleft-enter{-webkit-animation:slideleft-in .3s;animation:slideleft-in .3s}.slideleft-leave{-webkit-animation:slideleft-out .3s;animation:slideleft-out .3s}@-webkit-keyframes slideleft-in{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);opacity:0}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@keyframes slideleft-in{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);opacity:0}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@-webkit-keyframes slideleft-out{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}to{-webkit-transform:translateX(-100%);transform:translateX(-100%);opacity:0}}@keyframes slideleft-out{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}to{-webkit-transform:translateX(-100%);transform:translateX(-100%);opacity:0}}.slideright-enter{-webkit-animation:slideright-in .3s;animation:slideright-in .3s}.slideright-leave{-webkit-animation:slideright-out .3s;animation:slideright-out .3s}@-webkit-keyframes slideright-in{0%{-webkit-transform:translateX(100%);transform:translateX(100%);opacity:0}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@keyframes slideright-in{0%{-webkit-transform:translateX(100%);transform:translateX(100%);opacity:0}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@-webkit-keyframes slideright-out{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}to{-webkit-transform:translateX(100%);transform:translateX(100%);opacity:0}}@keyframes slideright-out{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}to{-webkit-transform:translateX(100%);transform:translateX(100%);opacity:0}}.aside:focus{outline:0}@media (max-width:991px){.aside{min-width:240px}}.aside.left{right:auto;left:0}.aside.right{right:0;left:auto}.aside .aside-dialog .aside-header{border-bottom:1px solid #e5e5e5;min-height:16.43px;padding:6px 15px;background:#337ab7;color:#fff}.aside .aside-dialog .aside-header .close{margin-right:-8px;padding:4px 8px;color:#fff;font-size:25px;opacity:.8}.aside .aside-dialog .aside-body{position:relative;padding:15px}.aside .aside-dialog .aside-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}.aside .aside-dialog .aside-footer .btn+.btn{margin-left:5px;margin-bottom:0}.aside .aside-dialog .aside-footer .btn-group .btn+.btn{margin-left:-1px}.aside .aside-dialog .aside-footer .btn-block+.btn-block{margin-left:0}.aside-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;opacity:0;transition:opacity .3s ease;background-color:#000}.aside-backdrop.in{opacity:.5;filter:alpha(opacity=50)}",""]); -},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(65),i=n(69),s=r(i);t.default={props:{show:{type:Boolean,coerce:o.coerce.boolean,required:!0,twoWay:!0},placement:{type:String,default:"right"},header:{type:String},width:{type:Number,coerce:o.coerce.number,default:320}},watch:{show:function(e){var t=this,n=document.body,r=(0,o.getScrollBarWidth)();if(e){this._backdrop||(this._backdrop=document.createElement("div")),this._backdrop.className="aside-backdrop",n.appendChild(this._backdrop),n.classList.add("modal-open"),0!==r&&(n.style.paddingRight=r+"px");this._backdrop.clientHeight;this._backdrop.classList.add("in"),(0,s.default)(this._backdrop).on("click",function(){return t.close()})}else(0,s.default)(this._backdrop).on("transitionend",function(){(0,s.default)(t._backdrop).off();try{n.classList.remove("modal-open"),n.style.paddingRight="0",n.removeChild(t._backdrop),t._backdrop=null}catch(e){}}),this._backdrop.className="aside-backdrop"}},methods:{close:function(){this.show=!1}}}},function(e,t){e.exports="

    {{ header }}

    "},function(e,t,n){n(114),e.exports=n(116),e.exports.__esModule&&(e.exports=e.exports.default),("function"==typeof e.exports?e.exports.options:e.exports).template=n(117)},function(e,t,n){var r=n(115);"string"==typeof r&&(r=[[e.id,r,""]]);n(105)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(104)(),t.push([e.id,".carousel-control[_v-9b28c416]{cursor:pointer}",""])},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(65),i=n(69),s=r(i);t.default={props:{indicators:{type:Boolean,coerce:o.coerce.boolean,default:!0},controls:{type:Boolean,coerce:o.coerce.boolean,default:!0},interval:{type:Number,coerce:o.coerce.number,default:5e3}},data:function(){return{indicator:[],index:0,isAnimating:!1}},watch:{index:function(e,t){this.slide(e>t?"left":"right",e,t)}},methods:{indicatorClick:function(e){return!this.isAnimating&&this.index!==e&&(this.isAnimating=!0,void(this.index=e))},slide:function(e,t,n){var r=this;if(this.$el){var o=(0,s.default)(".item",this.$el);if(o.length){var i=o[t]||o[0];(0,s.default)(i).addClass("left"===e?"next":"prev");i.clientHeight;(0,s.default)([o[n],i]).addClass(e).on("transitionend",function(){o.off("transitionend").className="item",(0,s.default)(i).addClass("active"),r.isAnimating=!1})}}},next:function(){return!(!this.$el||this.isAnimating)&&(this.isAnimating=!0,void(this.index+1<(0,s.default)(".item",this.$el).length?this.index+=1:this.index=0))},prev:function(){return!(!this.$el||this.isAnimating)&&(this.isAnimating=!0,void(0===this.index?this.index=(0,s.default)(".item",this.$el).length-1:this.index-=1))},toggleInterval:function(e){void 0===e&&(e=this._intervalID),this._intervalID&&(clearInterval(this._intervalID),delete this._intervalID),e&&this.interval>0&&(this._intervalID=setInterval(this.next,this.interval))}},ready:function(){var e=this;this.toggleInterval(!0),(0,s.default)(this.$el).on("mouseenter",function(){return e.toggleInterval(!1)}).on("mouseleave",function(){return e.toggleInterval(!0)})},beforeDestroy:function(){this.toggleInterval(!1),(0,s.default)(this.$el).off("mouseenter mouseleave")}}},function(e,t){e.exports=''},function(e,t,n){n(119),e.exports=n(121),e.exports.__esModule&&(e.exports=e.exports.default),("function"==typeof e.exports?e.exports.options:e.exports).template=n(122)},function(e,t,n){var r=n(120);"string"==typeof r&&(r=[[e.id,r,""]]);n(105)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(104)(),t.push([e.id,"label.checkbox[_v-2d3f2250]{position:relative;padding-left:18px}label.checkbox>input[_v-2d3f2250]{box-sizing:border-box;position:absolute;z-index:-1;padding:0;opacity:0;margin:0}label.checkbox>.icon[_v-2d3f2250]{position:absolute;top:.2rem;left:0;display:block;width:1.4rem;height:1.4rem;line-height:1rem;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-radius:.35rem;background-repeat:no-repeat;background-position:50%;background-size:50% 50%}label.checkbox:not(.active)>.icon[_v-2d3f2250]{background-color:#ddd;border:1px solid #bbb}label.checkbox>input:focus~.icon[_v-2d3f2250]{outline:0;border:1px solid #66afe9;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}label.checkbox.active>.icon[_v-2d3f2250]{background-size:1rem 1rem;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNyIgaGVpZ2h0PSI3Ij48cGF0aCBmaWxsPSIjZmZmIiBkPSJtNS43MywwLjUybC0zLjEyNDIyLDMuMzQxNjFsLTEuMzM4OTUsLTEuNDMyMTJsLTEuMjQ5NjksMS4zMzY2NWwyLjU4ODYzLDIuNzY4NzZsNC4zNzM5LC00LjY3ODI2bC0xLjI0OTY5LC0xLjMzNjY1bDAsMGwwLjAwMDAyLDAuMDAwMDF6Ii8+PC9zdmc+)}label.checkbox.active .btn-default[_v-2d3f2250]{-webkit-filter:brightness(75%);filter:brightness(75%)}.btn.readonly[_v-2d3f2250],label.checkbox.disabled[_v-2d3f2250],label.checkbox.readonly[_v-2d3f2250]{filter:alpha(opacity=65);box-shadow:none;opacity:.65}label.btn>input[type=checkbox][_v-2d3f2250]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}",""])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(65);t.default={props:{value:{default:!0},checked:{twoWay:!0},button:{type:Boolean,coerce:r.coerce.boolean,default:!1},disabled:{type:Boolean,coerce:r.coerce.boolean,default:!1},name:{type:String,default:null},readonly:{type:Boolean,coerce:r.coerce.boolean,default:!1},type:{type:String,default:null}},computed:{active:function(){return"boolean"!=typeof this.value&&this.group?~this.$parent.value.indexOf(this.value):this.checked===this.value},isButton:function(){return this.button||this.group&&this.$parent.buttons},group:function(){return this.$parent&&this.$parent._checkboxGroup},typeColor:function(){return this.type||this.$parent&&this.$parent.type||"default"}},watch:{checked:function(e){"boolean"!=typeof this.value&&this.group&&(this.checked&&!~this.$parent.value.indexOf(this.value)&&this.$parent.value.push(this.value),!this.checked&&~this.$parent.value.indexOf(this.value)&&this.$parent.value.$remove(this.value))}},created:function(){if("boolean"!=typeof this.value){var e=this.$parent;e&&e._btnGroup&&!e._radioGroup&&(e._checkboxGroup=!0,e.value instanceof Array||(e.value=[]))}},ready:function(){this.$parent._checkboxGroup&&"boolean"!=typeof this.value&&(this.$parent.value.length?this.checked=~this.$parent.value.indexOf(this.value):this.checked&&this.$parent.value.push(this.value))},methods:{eval:function(){"boolean"!=typeof this.value&&this.group&&(this.checked=~this.$parent.value.indexOf(this.value))},focus:function(){this.$els.input.focus()},toggle:function(){if(!this.disabled&&(this.focus(),!this.readonly&&(this.checked=this.checked?null:this.value,this.group&&"boolean"!=typeof this.value))){var e=this.$parent.value.indexOf(this.value);this.$parent.value[~e?"$remove":"push"](this.value)}return!1}}}},function(e,t){e.exports=''},function(e,t,n){n(124),e.exports=n(126),e.exports.__esModule&&(e.exports=e.exports.default),("function"==typeof e.exports?e.exports.options:e.exports).template=n(127)},function(e,t,n){var r=n(125);"string"==typeof r&&(r=[[e.id,r,""]]);n(105)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(104)(),t.push([e.id,".secret[_v-8c087fb4]{position:absolute;clip:rect(0 0 0 0);overflow:hidden;margin:-1px;height:1px;width:1px;padding:0;border:0}",""])},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(65),i=n(69),s=r(i);t.default={props:{show:{twoWay:!0,type:Boolean,coerce:o.coerce.boolean,default:!1},class:null,disabled:{type:Boolean,coerce:o.coerce.boolean,default:!1},text:{type:String,default:null},type:{type:String,default:"default"}},computed:{classes:function(){return[{open:this.show,disabled:this.disabled},this.class,this.isLi?"dropdown":this.inInput?"input-group-btn":"btn-group"]},inInput:function(){return this.$parent._input},isLi:function(){return this.$parent._navbar||this.$parent.menu||this.$parent._tabset},menu:function(){return!this.$parent||this.$parent.navbar},submenu:function(){return this.$parent&&(this.$parent.menu||this.$parent.submenu)},slots:function(){return this._slotContents}},methods:{blur:function(){var e=this;this.unblur(),this._hide=setTimeout(function(){e._hide=null,e.show=!1},100)},unblur:function(){this._hide&&(clearTimeout(this._hide),this._hide=null)}},ready:function(){var e=this,t=(0,s.default)(this.$els.dropdown);t.onBlur(function(t){e.show=!1},!1),t.findChildren("a,button.dropdown-toggle").on("click",function(t){return t.preventDefault(),!e.disabled&&(e.show=!e.show,!1)}),t.findChildren("ul").on("click","li>a",function(t){e.show=!1})},beforeDestroy:function(){var e=(0,s.default)(this.$els.dropdown);e.offBlur(),e.findChildren("a,button").off(),e.findChildren("ul").off()}}},function(e,t){e.exports='
  • {{{ text }}}
  • '},function(e,t,n){e.exports=n(129),e.exports.__esModule&&(e.exports=e.exports.default),("function"==typeof e.exports?e.exports.options:e.exports).template=n(249)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(65),i=n(130),s=r(i),a=n(135),l=r(a);t.default={props:{src:{type:String},fragment:{type:String},header:{type:String},isOpen:{type:Boolean,coerce:o.coerce.boolean,default:null},type:{type:String,default:null}},components:{panel:l.default,retriever:s.default},created:function(){if(this.src){var e=(0,o.getFragmentByHash)(this.src);e&&(this.fragment=e,this.src=this.src.split("#")[0])}},ready:function(){var e=this;this.isOpen&&this.$refs.retriever.fetch(),this.$on("isOpenEvent",function(t,n){n&&e.$refs.retriever.fetch()})},events:{"panel:expand":function(e){},"panel:collapse":function(e){}}}},function(e,t,n){e.exports=n(131),e.exports.__esModule&&(e.exports=e.exports.default),("function"==typeof e.exports?e.exports.options:e.exports).template=n(134)},function(e,t,n){(function(e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(65);t.default={props:{src:{type:String},fragment:{type:String},delay:{type:Boolean,coerce:r.coerce.boolean,default:!1},_hasFetched:{type:Boolean,default:!1}},methods:{fetch:function(){var t=this;this.src&&(this._hasFetched||e.get(this.src).done(function(n){var r=n;if(t.fragment){var o=e("").append(e.parseHTML(r)),i=e("#"+t.fragment,o);r=i.html()}if(t._hasFetched=!0,void 0==r&&t.fragment)return void(t.$el.innerHTML="Error: Failed to retrieve page fragment: "+t.src+"#"+t.fragment);var s=e(t.$el).html(r);t.$dispatch("retriever:fetched",s.get(0))}).fail(function(e){console.error(e.responseText),t.$el.innerHTML="Error: Failed to retrieve content from source: "+t.src+""}))}},ready:function(){if(this.src){var e=(0,r.getFragmentByHash)(this.src);e&&(this.fragment=e,this.src=this.src.split("#")[0])}else this.$el.innerHTML="";this.delay||this.fetch()}}}).call(t,n(132))},function(e,t,n){(function(t){e.exports=t.jQuery=n(133)}).call(t,function(){return this}())},function(e,t,n){var r,o;/*! ->>>>>>> Update expectedSite - * jQuery JavaScript Library v3.3.1 +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VueStrap=t():e.VueStrap=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){o.installed||(o.installed=!0,(0,s.default)(ae).forEach(function(t){e.directive(t,ae[t])}),(0,s.default)(ie).forEach(function(t){e.component(t,ie[t])}))}function i(e){e.$on("modal:shouldShow",function(e){this.$broadcast("modal:show",e)}),e.$on("retriever:fetched",function(t){e.$compile(t)}),e.$on("trigger:register",function(e,t){this.$broadcast("trigger:bind",e,t)})}var a=n(27),s=r(a),l=n(62),u=r(l),c=n(66),p=r(c),f=n(100),h=(r(f),n(107)),d=r(h),m=n(112),g=(r(m),n(117)),v=r(g),y=n(122),b=r(y),_=n(127),w=r(_),x=n(249),k=(r(x),n(254)),C=r(k),A=n(263),S=r(A),E=n(268),T=r(E),D=n(273),L=r(D),q=n(134),j=r(q),M=n(278),O=r(M),N=n(129),B=r(N),F=n(290),R=r(F),I=n(307),P=r(I),z=n(310),$=r(z),H=n(315),U=r(H),V=n(320),W=r(V),G=n(325),Y=r(G),Z=n(326),X=r(Z),J=n(327),Q=r(J),K=n(332),ee=r(K),te=n(337),ne=r(te),re=n(342),oe=r(re),ie={accordion:u.default,affix:p.default,aside:d.default,checkbox:v.default,dropdown:b.default,dynamicPanel:w.default,modal:C.default,morph:S.default,navbar:T.default,question:L.default,panel:j.default,popover:O.default,retriever:B.default,select:R.default,tab:P.default,tabGroup:$.default,tabs:U.default,tipBox:ee.default,tooltip:W.default,pic:Q.default,trigger:ne.default,typeahead:oe.default},ae={closeable:Y.default,showModal:X.default},se={install:o,installEvents:i,components:{}};(0,s.default)(ie).forEach(function(e){se.components[e]=ie[e]}),e.exports=se},,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){e.exports={default:n(28),__esModule:!0}},function(e,t,n){n(29),e.exports=n(49).Object.keys},function(e,t,n){var r=n(30),o=n(32);n(47)("keys",function(){return function(e){return o(r(e))}})},function(e,t,n){var r=n(31);e.exports=function(e){return Object(r(e))}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(33),o=n(46);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r=n(34),o=n(35),i=n(38)(!1),a=n(42)("IE_PROTO");e.exports=function(e,t){var n,s=o(e),l=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~i(u,n)||u.push(n));return u}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(36),o=n(31);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(37);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(35),o=n(39),i=n(41);e.exports=function(e){return function(t,n,a){var s,l=r(t),u=o(l.length),c=i(a,u);if(e&&n!=n){for(;u>c;)if(s=l[c++],s!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(40),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(40),o=Math.max,i=Math.min;e.exports=function(e,t){return e=r(e),e<0?o(e+t,0):i(e,t)}},function(e,t,n){var r=n(43)("keys"),o=n(45);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t,n){var r=n(44),o="__core-js_shared__",i=r[o]||(r[o]={});e.exports=function(e){return i[e]||(i[e]={})}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(48),o=n(49),i=n(58);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*i(function(){n(1)}),"Object",a)}},function(e,t,n){var r=n(44),o=n(49),i=n(50),a=n(52),s="prototype",l=function(e,t,n){var u,c,p,f=e&l.F,h=e&l.G,d=e&l.S,m=e&l.P,g=e&l.B,v=e&l.W,y=h?o:o[t]||(o[t]={}),b=y[s],_=h?r:d?r[t]:(r[t]||{})[s];h&&(n=t);for(u in n)c=!f&&_&&void 0!==_[u],c&&u in y||(p=c?_[u]:n[u],y[u]=h&&"function"!=typeof _[u]?n[u]:g&&c?i(p,r):v&&_[u]==p?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t[s]=e[s],t}(p):m&&"function"==typeof p?i(Function.call,p):p,m&&((y.virtual||(y.virtual={}))[u]=p,e&l.R&&b&&!b[u]&&a(b,u,p)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t){var n=e.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(51);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(53),o=n(61);e.exports=n(57)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(54),o=n(56),i=n(60),a=Object.defineProperty;t.f=n(57)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(55);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=!n(57)&&!n(58)(function(){return 7!=Object.defineProperty(n(59)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){e.exports=!n(58)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(55),o=n(44).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(55);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){e.exports=n(63),e.exports.__esModule&&(e.exports=e.exports.default),("function"==typeof e.exports?e.exports.options:e.exports).template=n(65)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(64);t.default={props:{type:{type:String,default:null},oneAtAtime:{type:Boolean,coerce:r.coerce.boolean,default:!1}},created:function(){var e=this;this._isAccordion=!0,this.$on("isOpenEvent",function(t,n){n&&e.oneAtAtime&&e.$children.forEach(function(e){t!==e&&(e.expanded=!1)})})}}},function(e,t){"use strict";function n(e){var t=new window.XMLHttpRequest,n={},r={then:function(e,t){return r.done(e).fail(t)},catch:function(e){return r.fail(e)},always:function(e){return r.done(e).fail(e)}};return["done","fail"].forEach(function(e){n[e]=[],r[e]=function(t){return t instanceof Function&&n[e].push(t),r}}),r.done(JSON.parse),t.onreadystatechange=function(){if(4===t.readyState){var e={status:t.status};if(200===t.status)try{var r=t.responseText;for(var o in n.done){var i=n.done[o](r);void 0!==i&&(r=i)}}catch(e){n.fail.forEach(function(t){return t(e)})}else n.fail.forEach(function(t){return t(e)})}},t.open("GET",e),t.setRequestHeader("Accept","application/json"),t.send(),r}function r(){if(document.documentElement.scrollHeight<=document.documentElement.clientHeight)return 0;var e=document.createElement("p");e.style.width="100%",e.style.height="200px";var t=document.createElement("div");t.style.position="absolute",t.style.top="0px",t.style.left="0px",t.style.visibility="hidden",t.style.width="200px",t.style.height="150px",t.style.overflow="hidden",t.appendChild(e),document.body.appendChild(t);var n=e.offsetWidth;t.style.overflow="scroll";var r=e.offsetWidth;return n===r&&(r=t.clientWidth),document.body.removeChild(t),n-r}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en",t={daysOfWeek:["Su","Mo","Tu","We","Th","Fr","Sa"],limit:"Limit reached ({{limit}} items max).",loading:"Loading...",minLength:"Min. Length",months:["January","February","March","April","May","June","July","August","September","October","November","December"],notSelected:"Nothing Selected",required:"Required",search:"Search"};return window.VueStrapLang?window.VueStrapLang(e):t}function i(e,t){function n(e){return/^[0-9]+$/.test(e)?Number(e)||1:null}var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100;return function(){for(var i=this,a=arguments.length,s=Array(a),l=0;l1&&(n=t[1]),n}function s(e){var t=!window.Vue||!window.Vue.partial,n={computed:{vue2:function(){return!this.$dispatch}}};return t?(e.beforeCompile&&(e.beforeMount=e.beforeCompile,delete e.beforeCompile),e.compiled&&(n.compiled=e.compiled,delete e.compiled),e.ready&&(e.mounted=e.ready,delete e.ready)):(e.beforeCreate&&(n.create=e.beforeCreate,delete e.beforeCreate),e.beforeMount&&(e.beforeCompile=e.beforeMount,delete e.beforeMount),e.mounted&&(e.ready=e.mounted,delete e.mounted)),e.mixins||(e.mixins=[]),e.mixins.unshift(n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.getJSON=n,t.getScrollBarWidth=r,t.translations=o,t.delayer=i,t.getFragmentByHash=a,t.VueFixer=s;t.coerce={boolean:function(e){return"string"==typeof e?""===e||"true"===e||"false"!==e&&"null"!==e&&"undefined"!==e&&e:e},number:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return"number"==typeof e?e:void 0===e||null===e||isNaN(Number(e))?t:Number(e)},string:function(e){return void 0===e||null===e?"":e+""},pattern:function(e){return e instanceof Function||e instanceof RegExp?e:"string"==typeof e?new RegExp(e):null}}},function(e,t){e.exports="
    "},function(e,t,n){e.exports=n(67),e.exports.__esModule&&(e.exports=e.exports.default),("function"==typeof e.exports?e.exports.options:e.exports).template=n(99)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(64),i=n(68),a=r(i);t.default={props:{offset:{type:Number,coerce:o.coerce.number,default:0}},data:function(){return{affixed:!1}},computed:{top:function(){return this.offset>0?this.offset+"px":null}},methods:{checkScroll:function(){var e=this;if(this.$el.offsetWidth||this.$el.offsetHeight||this.$el.getClientRects().length){var t={},n={},r=this.$el.getBoundingClientRect(),o=document.body;["Top","Left"].forEach(function(i){var a=i.toLowerCase(),s=window["page"+("Top"===i?"Y":"X")+"Offset"],l="scroll"+i;"number"!=typeof s&&(s=document.documentElement[l],"number"!=typeof s&&(s=document.body[l])),t[a]=s,n[a]=t[a]+r[a]-(e.$el["client"+i]||o["client"+i]||0)});var i=t.top>n.top-this.offset;this.affixed!==i&&(this.affixed=i)}}},ready:function(){var e=this;(0,a.default)(window).on("scroll resize",function(){return e.checkScroll()}),setTimeout(function(){return e.checkScroll()},0)},beforeDestroy:function(){var e=this;(0,a.default)(window).off("scroll resize",function(){return e.checkScroll()})}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return e instanceof window.Node}function i(e){return e instanceof window.NodeList||e instanceof S||e instanceof window.HTMLCollection||e instanceof Array}function a(e){return e=e.trim(),e.length?e.replace(/\s+/," ").split(" "):[]}function s(e){return e.length?e.join(" "):""}function l(e,t){var n=[];return w.forEach.call(e,function(r){if(o(r))~n.indexOf(r)||n.push(r);else if(i(r))for(var a in r)n.push(r[a]);else if(null!==r)return e.get=E.get,e.set=E.set,e.call=E.call,e.owner=t,e}),c(n,t)}function u(e){var t=this;E[e]||(T[e]instanceof Function?E[e]=function(){for(var n=arguments.length,r=Array(n),o=0;o1&&void 0!==arguments[1])||arguments[1];return this&&this.length&&e?(this.each(function(t){C.push({el:t,callback:e})}),k||(k=function(e){C.forEach(function(t){var n=t.el.contains(e.target)||t.el===e.target;n||t.callback.call(t.el,e,t.el)})},document.addEventListener("click",k,!1),t&&document.addEventListener("touchstart",k,!1)),this):this}},{key:"offBlur",value:function(e){return this.each(function(t){C=C.filter(function(n){return!(n&&n.el===t&&(!e||n.callback===e))&&t})}),this}},{key:"asArray",get:function(){return w.slice.call(this)}}]),e}(),E=S.prototype;(0,g.default)(w).forEach(function(e){"join"!==e&&"copyWithin"!==e&&"fill"!==e&&void 0===E[e]&&(E[e]=w[e])}),window.Symbol&&d.default&&(E[d.default]=E.values=w[d.default]);var T=document.createElement("div");for(var D in T)u(D);window.NL=c,t.default=c},function(e,t,n){e.exports={default:n(70),__esModule:!0}},function(e,t,n){n(71);var r=n(49).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(48);r(r.S+r.F*!n(57),"Object",{defineProperty:n(53).f})},function(e,t,n){e.exports={default:n(73),__esModule:!0}},function(e,t,n){n(74),n(87),e.exports=n(91).f("iterator")},function(e,t,n){"use strict";var r=n(75)(!0);n(76)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){var r=n(40),o=n(31);e.exports=function(e){return function(t,n){var i,a,s=String(o(t)),l=r(n),u=s.length;return l<0||l>=u?e?"":void 0:(i=s.charCodeAt(l),i<55296||i>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):i:e?s.slice(l,l+2):(i-55296<<10)+(a-56320)+65536)}}},function(e,t,n){"use strict";var r=n(77),o=n(48),i=n(78),a=n(52),s=n(34),l=n(79),u=n(80),c=n(84),p=n(86),f=n(85)("iterator"),h=!([].keys&&"next"in[].keys()),d="@@iterator",m="keys",g="values",v=function(){return this};e.exports=function(e,t,n,y,b,_,w){u(n,t,y);var x,k,C,A=function(e){if(!h&&e in D)return D[e];switch(e){case m:return function(){return new n(this,e)};case g:return function(){return new n(this,e)}}return function(){return new n(this,e)}},S=t+" Iterator",E=b==g,T=!1,D=e.prototype,L=D[f]||D[d]||b&&D[b],q=!h&&L||A(b),j=b?E?A("entries"):q:void 0,M="Array"==t?D.entries||L:L;if(M&&(C=p(M.call(new e)),C!==Object.prototype&&C.next&&(c(C,S,!0),r||s(C,f)||a(C,f,v))),E&&L&&L.name!==g&&(T=!0,q=function(){return L.call(this)}),r&&!w||!h&&!T&&D[f]||a(D,f,q),l[t]=q,l[S]=v,b)if(x={values:E?q:A(g),keys:_?q:A(m),entries:j},w)for(k in x)k in D||i(D,k,x[k]);else o(o.P+o.F*(h||T),t,x);return x}},function(e,t){e.exports=!0},function(e,t,n){e.exports=n(52)},function(e,t){e.exports={}},function(e,t,n){"use strict";var r=n(81),o=n(61),i=n(84),a={};n(52)(a,n(85)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(54),o=n(82),i=n(46),a=n(42)("IE_PROTO"),s=function(){},l="prototype",u=function(){var e,t=n(59)("iframe"),r=i.length,o="<",a=">";for(t.style.display="none",n(83).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(o+"script"+a+"document.F=Object"+o+"/script"+a),e.close(),u=e.F;r--;)delete u[l][i[r]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[l]=r(e),n=new s,s[l]=null,n[a]=e):n=u(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(53),o=n(54),i=n(32);e.exports=n(57)?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},function(e,t,n){var r=n(44).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(53).f,o=n(34),i=n(85)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){var r=n(43)("wks"),o=n(45),i=n(44).Symbol,a="function"==typeof i,s=e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))};s.store=r},function(e,t,n){var r=n(34),o=n(30),i=n(42)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){n(88);for(var r=n(44),o=n(52),i=n(79),a=n(85)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l=e.length?(this._t=void 0,o(1)):"keys"==t?o(0,n):"values"==t?o(0,e[n]):o(0,[n,e[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){t.f=n(85)},function(e,t,n){e.exports={default:n(93),__esModule:!0}},function(e,t,n){n(94);var r=n(49).Object;e.exports=function(e){return r.getOwnPropertyNames(e)}},function(e,t,n){n(47)("getOwnPropertyNames",function(){return n(95).f})},function(e,t,n){var r=n(35),o=n(96).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return o(e)}catch(e){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?s(e):o(r(e))}},function(e,t,n){var r=n(33),o=n(46).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(69),i=r(o);t.default=function(){function e(e,t){for(var n=0;n=0&&b.splice(t,1)}function s(e){var t=document.createElement("style");return t.type="text/css",i(e,t),t}function l(e){var t=document.createElement("link");return t.rel="stylesheet",i(e,t),t}function u(e,t){var n,r,o;if(t.singleton){var i=y++;n=v||(v=s(t)),r=c.bind(null,n,i,!1),o=c.bind(null,n,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(t),r=f.bind(null,n),o=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),r=p.bind(null,n),o=function(){a(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}function c(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=_(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function p(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function f(e,t){var n=t.css,r=t.sourceMap;r&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var o=new Blob([n],{type:"text/css"}),i=e.href;e.href=URL.createObjectURL(o),i&&URL.revokeObjectURL(i)}var h={},d=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},m=d(function(){return/msie [6-9]\b/.test(self.navigator.userAgent.toLowerCase())}),g=d(function(){return document.head||document.getElementsByTagName("head")[0]}),v=null,y=0,b=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=m()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=o(e);return r(n,t),function(e){for(var i=[],a=0;a "},function(e,t,n){n(108),e.exports=n(110),e.exports.__esModule&&(e.exports=e.exports.default),("function"==typeof e.exports?e.exports.options:e.exports).template=n(111)},function(e,t,n){var r=n(109);"string"==typeof r&&(r=[[e.id,r,""]]);n(104)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(103)(),t.push([e.id,".aside-open{transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.aside-open.has-push-right{-webkit-transform:translateX(-300px);transform:translateX(-300px)}.aside{position:fixed;top:0;bottom:0;z-index:1049;overflow:auto;background:#fff}.slideleft-enter{-webkit-animation:slideleft-in .3s;animation:slideleft-in .3s}.slideleft-leave{-webkit-animation:slideleft-out .3s;animation:slideleft-out .3s}@-webkit-keyframes slideleft-in{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);opacity:0}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@keyframes slideleft-in{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);opacity:0}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@-webkit-keyframes slideleft-out{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}to{-webkit-transform:translateX(-100%);transform:translateX(-100%);opacity:0}}@keyframes slideleft-out{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}to{-webkit-transform:translateX(-100%);transform:translateX(-100%);opacity:0}}.slideright-enter{-webkit-animation:slideright-in .3s;animation:slideright-in .3s}.slideright-leave{-webkit-animation:slideright-out .3s;animation:slideright-out .3s}@-webkit-keyframes slideright-in{0%{-webkit-transform:translateX(100%);transform:translateX(100%);opacity:0}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@keyframes slideright-in{0%{-webkit-transform:translateX(100%);transform:translateX(100%);opacity:0}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@-webkit-keyframes slideright-out{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}to{-webkit-transform:translateX(100%);transform:translateX(100%);opacity:0}}@keyframes slideright-out{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}to{-webkit-transform:translateX(100%);transform:translateX(100%);opacity:0}}.aside:focus{outline:0}@media (max-width:991px){.aside{min-width:240px}}.aside.left{right:auto;left:0}.aside.right{right:0;left:auto}.aside .aside-dialog .aside-header{border-bottom:1px solid #e5e5e5;min-height:16.43px;padding:6px 15px;background:#337ab7;color:#fff}.aside .aside-dialog .aside-header .close{margin-right:-8px;padding:4px 8px;color:#fff;font-size:25px;opacity:.8}.aside .aside-dialog .aside-body{position:relative;padding:15px}.aside .aside-dialog .aside-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}.aside .aside-dialog .aside-footer .btn+.btn{margin-left:5px;margin-bottom:0}.aside .aside-dialog .aside-footer .btn-group .btn+.btn{margin-left:-1px}.aside .aside-dialog .aside-footer .btn-block+.btn-block{margin-left:0}.aside-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;opacity:0;transition:opacity .3s ease;background-color:#000}.aside-backdrop.in{opacity:.5;filter:alpha(opacity=50)}",""]); +},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(64),i=n(68),a=r(i);t.default={props:{show:{type:Boolean,coerce:o.coerce.boolean,required:!0,twoWay:!0},placement:{type:String,default:"right"},header:{type:String},width:{type:Number,coerce:o.coerce.number,default:320}},watch:{show:function(e){var t=this,n=document.body,r=(0,o.getScrollBarWidth)();if(e){this._backdrop||(this._backdrop=document.createElement("div")),this._backdrop.className="aside-backdrop",n.appendChild(this._backdrop),n.classList.add("modal-open"),0!==r&&(n.style.paddingRight=r+"px");this._backdrop.clientHeight;this._backdrop.classList.add("in"),(0,a.default)(this._backdrop).on("click",function(){return t.close()})}else(0,a.default)(this._backdrop).on("transitionend",function(){(0,a.default)(t._backdrop).off();try{n.classList.remove("modal-open"),n.style.paddingRight="0",n.removeChild(t._backdrop),t._backdrop=null}catch(e){}}),this._backdrop.className="aside-backdrop"}},methods:{close:function(){this.show=!1}}}},function(e,t){e.exports="

    {{ header }}

    "},function(e,t,n){n(113),e.exports=n(115),e.exports.__esModule&&(e.exports=e.exports.default),("function"==typeof e.exports?e.exports.options:e.exports).template=n(116)},function(e,t,n){var r=n(114);"string"==typeof r&&(r=[[e.id,r,""]]);n(104)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(103)(),t.push([e.id,".carousel-control[_v-e8948926]{cursor:pointer}",""])},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(64),i=n(68),a=r(i);t.default={props:{indicators:{type:Boolean,coerce:o.coerce.boolean,default:!0},controls:{type:Boolean,coerce:o.coerce.boolean,default:!0},interval:{type:Number,coerce:o.coerce.number,default:5e3}},data:function(){return{indicator:[],index:0,isAnimating:!1}},watch:{index:function(e,t){this.slide(e>t?"left":"right",e,t)}},methods:{indicatorClick:function(e){return!this.isAnimating&&this.index!==e&&(this.isAnimating=!0,void(this.index=e))},slide:function(e,t,n){var r=this;if(this.$el){var o=(0,a.default)(".item",this.$el);if(o.length){var i=o[t]||o[0];(0,a.default)(i).addClass("left"===e?"next":"prev");i.clientHeight;(0,a.default)([o[n],i]).addClass(e).on("transitionend",function(){o.off("transitionend").className="item",(0,a.default)(i).addClass("active"),r.isAnimating=!1})}}},next:function(){return!(!this.$el||this.isAnimating)&&(this.isAnimating=!0,void(this.index+1<(0,a.default)(".item",this.$el).length?this.index+=1:this.index=0))},prev:function(){return!(!this.$el||this.isAnimating)&&(this.isAnimating=!0,void(0===this.index?this.index=(0,a.default)(".item",this.$el).length-1:this.index-=1))},toggleInterval:function(e){void 0===e&&(e=this._intervalID),this._intervalID&&(clearInterval(this._intervalID),delete this._intervalID),e&&this.interval>0&&(this._intervalID=setInterval(this.next,this.interval))}},ready:function(){var e=this;this.toggleInterval(!0),(0,a.default)(this.$el).on("mouseenter",function(){return e.toggleInterval(!1)}).on("mouseleave",function(){return e.toggleInterval(!0)})},beforeDestroy:function(){this.toggleInterval(!1),(0,a.default)(this.$el).off("mouseenter mouseleave")}}},function(e,t){e.exports=''},function(e,t,n){n(118),e.exports=n(120),e.exports.__esModule&&(e.exports=e.exports.default),("function"==typeof e.exports?e.exports.options:e.exports).template=n(121)},function(e,t,n){var r=n(119);"string"==typeof r&&(r=[[e.id,r,""]]);n(104)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(103)(),t.push([e.id,"label.checkbox[_v-7aaae760]{position:relative;padding-left:18px}label.checkbox>input[_v-7aaae760]{box-sizing:border-box;position:absolute;z-index:-1;padding:0;opacity:0;margin:0}label.checkbox>.icon[_v-7aaae760]{position:absolute;top:.2rem;left:0;display:block;width:1.4rem;height:1.4rem;line-height:1rem;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-radius:.35rem;background-repeat:no-repeat;background-position:50%;background-size:50% 50%}label.checkbox:not(.active)>.icon[_v-7aaae760]{background-color:#ddd;border:1px solid #bbb}label.checkbox>input:focus~.icon[_v-7aaae760]{outline:0;border:1px solid #66afe9;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}label.checkbox.active>.icon[_v-7aaae760]{background-size:1rem 1rem;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNyIgaGVpZ2h0PSI3Ij48cGF0aCBmaWxsPSIjZmZmIiBkPSJtNS43MywwLjUybC0zLjEyNDIyLDMuMzQxNjFsLTEuMzM4OTUsLTEuNDMyMTJsLTEuMjQ5NjksMS4zMzY2NWwyLjU4ODYzLDIuNzY4NzZsNC4zNzM5LC00LjY3ODI2bC0xLjI0OTY5LC0xLjMzNjY1bDAsMGwwLjAwMDAyLDAuMDAwMDF6Ii8+PC9zdmc+)}label.checkbox.active .btn-default[_v-7aaae760]{-webkit-filter:brightness(75%);filter:brightness(75%)}.btn.readonly[_v-7aaae760],label.checkbox.disabled[_v-7aaae760],label.checkbox.readonly[_v-7aaae760]{filter:alpha(opacity=65);box-shadow:none;opacity:.65}label.btn>input[type=checkbox][_v-7aaae760]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}",""])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(64);t.default={props:{value:{default:!0},checked:{twoWay:!0},button:{type:Boolean,coerce:r.coerce.boolean,default:!1},disabled:{type:Boolean,coerce:r.coerce.boolean,default:!1},name:{type:String,default:null},readonly:{type:Boolean,coerce:r.coerce.boolean,default:!1},type:{type:String,default:null}},computed:{active:function(){return"boolean"!=typeof this.value&&this.group?~this.$parent.value.indexOf(this.value):this.checked===this.value},isButton:function(){return this.button||this.group&&this.$parent.buttons},group:function(){return this.$parent&&this.$parent._checkboxGroup},typeColor:function(){return this.type||this.$parent&&this.$parent.type||"default"}},watch:{checked:function(e){"boolean"!=typeof this.value&&this.group&&(this.checked&&!~this.$parent.value.indexOf(this.value)&&this.$parent.value.push(this.value),!this.checked&&~this.$parent.value.indexOf(this.value)&&this.$parent.value.$remove(this.value))}},created:function(){if("boolean"!=typeof this.value){var e=this.$parent;e&&e._btnGroup&&!e._radioGroup&&(e._checkboxGroup=!0,e.value instanceof Array||(e.value=[]))}},ready:function(){this.$parent._checkboxGroup&&"boolean"!=typeof this.value&&(this.$parent.value.length?this.checked=~this.$parent.value.indexOf(this.value):this.checked&&this.$parent.value.push(this.value))},methods:{eval:function(){"boolean"!=typeof this.value&&this.group&&(this.checked=~this.$parent.value.indexOf(this.value))},focus:function(){this.$els.input.focus()},toggle:function(){if(!this.disabled&&(this.focus(),!this.readonly&&(this.checked=this.checked?null:this.value,this.group&&"boolean"!=typeof this.value))){var e=this.$parent.value.indexOf(this.value);this.$parent.value[~e?"$remove":"push"](this.value)}return!1}}}},function(e,t){e.exports=''},function(e,t,n){n(123),e.exports=n(125),e.exports.__esModule&&(e.exports=e.exports.default),("function"==typeof e.exports?e.exports.options:e.exports).template=n(126)},function(e,t,n){var r=n(124);"string"==typeof r&&(r=[[e.id,r,""]]);n(104)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(103)(),t.push([e.id,".secret[_v-d97444c4]{position:absolute;clip:rect(0 0 0 0);overflow:hidden;margin:-1px;height:1px;width:1px;padding:0;border:0}",""])},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(64),i=n(68),a=r(i);t.default={props:{show:{twoWay:!0,type:Boolean,coerce:o.coerce.boolean,default:!1},class:null,disabled:{type:Boolean,coerce:o.coerce.boolean,default:!1},text:{type:String,default:null},type:{type:String,default:"default"}},computed:{classes:function(){return[{open:this.show,disabled:this.disabled},this.class,this.isLi?"dropdown":this.inInput?"input-group-btn":"btn-group"]},inInput:function(){return this.$parent._input},isLi:function(){return this.$parent._navbar||this.$parent.menu||this.$parent._tabset},menu:function(){return!this.$parent||this.$parent.navbar},submenu:function(){return this.$parent&&(this.$parent.menu||this.$parent.submenu)},slots:function(){return this._slotContents}},methods:{blur:function(){var e=this;this.unblur(),this._hide=setTimeout(function(){e._hide=null,e.show=!1},100)},unblur:function(){this._hide&&(clearTimeout(this._hide),this._hide=null)}},ready:function(){var e=this,t=(0,a.default)(this.$els.dropdown);t.onBlur(function(t){e.show=!1},!1),t.findChildren("a,button.dropdown-toggle").on("click",function(t){return t.preventDefault(),!e.disabled&&(e.show=!e.show,!1)}),t.findChildren("ul").on("click","li>a",function(t){e.show=!1})},beforeDestroy:function(){var e=(0,a.default)(this.$els.dropdown);e.offBlur(),e.findChildren("a,button").off(),e.findChildren("ul").off()}}},function(e,t){e.exports='
  • {{{ text }}}
  • '},function(e,t,n){e.exports=n(128),e.exports.__esModule&&(e.exports=e.exports.default),("function"==typeof e.exports?e.exports.options:e.exports).template=n(248)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(64),i=n(129),a=r(i),s=n(134),l=r(s);t.default={props:{src:{type:String},fragment:{type:String},header:{type:String},isOpen:{type:Boolean,coerce:o.coerce.boolean,default:null},type:{type:String,default:null}},components:{panel:l.default,retriever:a.default},created:function(){if(this.src){var e=(0,o.getFragmentByHash)(this.src);e&&(this.fragment=e,this.src=this.src.split("#")[0])}},ready:function(){var e=this;this.isOpen&&this.$refs.retriever.fetch(),this.$on("isOpenEvent",function(t,n){n&&e.$refs.retriever.fetch()})},events:{"panel:expand":function(e){},"panel:collapse":function(e){}}}},function(e,t,n){e.exports=n(130),e.exports.__esModule&&(e.exports=e.exports.default),("function"==typeof e.exports?e.exports.options:e.exports).template=n(133)},function(e,t,n){(function(e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(64);t.default={props:{src:{type:String},fragment:{type:String},delay:{type:Boolean,coerce:r.coerce.boolean,default:!1},_hasFetched:{type:Boolean,default:!1}},methods:{fetch:function(){var t=this;this.src&&(this._hasFetched||e.get(this.src).done(function(n){var r=n;if(t.fragment){var o=e("").append(e.parseHTML(r)),i=e("#"+t.fragment,o);r=i.html()}if(t._hasFetched=!0,void 0==r&&t.fragment)return void(t.$el.innerHTML="Error: Failed to retrieve page fragment: "+t.src+"#"+t.fragment);var a=e(t.$el).html(r);t.$dispatch("retriever:fetched",a.get(0))}).fail(function(e){console.error(e.responseText),t.$el.innerHTML="Error: Failed to retrieve content from source: "+t.src+""}))}},ready:function(){if(this.src){var e=(0,r.getFragmentByHash)(this.src);e&&(this.fragment=e,this.src=this.src.split("#")[0])}else this.$el.innerHTML="";this.delay||this.fetch()}}}).call(t,n(131))},function(e,t,n){(function(t){e.exports=t.jQuery=n(132)}).call(t,function(){return this}())},function(e,t,n){var r,o;/*! + * jQuery JavaScript Library v3.2.1 * https://jquery.com/ * * Includes Sizzle.js @@ -15,9 +10,9 @@ * Released under the MIT license * https://jquery.org/license * - * Date: 2018-01-20T17:24Z + * Date: 2017-03-20T18:59Z */ -!function(t,n){"use strict";"object"==typeof e&&"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,function(n,i){"use strict";function s(e,t,n){t=t||ce;var r,o=t.createElement("script");if(o.text=e,n)for(r in Ce)n[r]&&(o[r]=n[r]);t.head.appendChild(o).parentNode.removeChild(o)}function a(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?ge[ve.call(e)]||"object":typeof e}function l(e){var t=!!e&&"length"in e&&e.length,n=a(e);return!xe(e)&&!ke(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function u(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function c(e,t,n){return xe(t)?Se.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?Se.grep(e,function(e){return e===t!==n}):"string"!=typeof t?Se.grep(e,function(e){return me.call(t,e)>-1!==n}):Se.filter(t,e,n)}function p(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function f(e){var t={};return Se.each(e.match(Pe)||[],function(e,n){t[n]=!0}),t}function h(e){return e}function d(e){throw e}function m(e,t,n,r){var o;try{e&&xe(o=e.promise)?o.call(e).done(t).fail(n):e&&xe(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}function g(){ce.removeEventListener("DOMContentLoaded",g),n.removeEventListener("load",g),Se.ready()}function v(e,t){return t.toUpperCase()}function y(e){return e.replace($e,"ms-").replace(He,v)}function b(){this.expando=Se.expando+b.uid++}function _(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Ge.test(e)?JSON.parse(e):e)}function w(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(Ye,"-$&").toLowerCase(),n=e.getAttribute(r),"string"==typeof n){try{n=_(n)}catch(e){}We.set(e,t,n)}else n=void 0;return n}function x(e,t,n,r){var o,i,s=20,a=r?function(){return r.cur()}:function(){return Se.css(e,t,"")},l=a(),u=n&&n[3]||(Se.cssNumber[t]?"":"px"),c=(Se.cssNumber[t]||"px"!==u&&+l)&&Xe.exec(Se.css(e,t));if(c&&c[3]!==u){for(l/=2,u=u||c[3],c=+l||1;s--;)Se.style(e,t,c+u),(1-i)*(1-(i=a()/l||.5))<=0&&(s=0),c/=i;c*=2,Se.style(e,t,c+u),n=n||[]}return n&&(c=+c||+l||0,o=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=u,r.start=c,r.end=o)),o}function k(e){var t,n=e.ownerDocument,r=e.nodeName,o=et[r];return o?o:(t=n.body.appendChild(n.createElement(r)),o=Se.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),et[r]=o,o)}function C(e,t){for(var n,r,o=[],i=0,s=e.length;i-1)o&&o.push(i);else if(c=Se.contains(i.ownerDocument,i),s=A(f.appendChild(i),"script"),c&&S(s),n)for(p=0;i=s[p++];)rt.test(i.type||"")&&n.push(i);return f}function T(){return!0}function D(){return!1}function L(){try{return ce.activeElement}catch(e){}}function q(e,t,n,r,o,i){var s,a;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(a in t)q(e,a,n,r,t[a],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),o===!1)o=D;else if(!o)return e;return 1===i&&(s=o,o=function(e){return Se().off(e),s.apply(this,arguments)},o.guid=s.guid||(s.guid=Se.guid++)),e.each(function(){Se.event.add(this,t,o,r,n)})}function j(e,t){return u(e,"table")&&u(11!==t.nodeType?t:t.firstChild,"tr")?Se(e).children("tbody")[0]||e:e}function M(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function O(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function N(e,t){var n,r,o,i,s,a,l,u;if(1===t.nodeType){if(Ve.hasData(e)&&(i=Ve.access(e),s=Ve.set(t,i),u=i.events)){delete s.handle,s.events={};for(o in u)for(n=0,r=u[o].length;n1&&"string"==typeof d&&!we.checkClone&&ft.test(d))return e.each(function(o){var i=e.eq(o);m&&(t[0]=d.call(this,o,i.html())),R(i,t,n,r)});if(f&&(o=E(t,e[0].ownerDocument,!1,e,r),i=o.firstChild,1===o.childNodes.length&&(o=i),i||r)){for(a=Se.map(A(o,"script"),M),l=a.length;p=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-l-a-.5))),l}function V(e,t,n){var r=mt(e),o=I(e,t,r),i="border-box"===Se.css(e,"boxSizing",!1,r),s=i;if(dt.test(o)){if(!n)return o;o="auto"}return s=s&&(we.boxSizingReliable()||o===e.style[t]),("auto"===o||!parseFloat(o)&&"inline"===Se.css(e,"display",!1,r))&&(o=e["offset"+t[0].toUpperCase()+t.slice(1)],s=!0),o=parseFloat(o)||0,o+U(e,t,n||(i?"border":"content"),s,r,o)+"px"}function W(e,t,n,r,o){return new W.prototype.init(e,t,n,r,o)}function G(){Ct&&(ce.hidden===!1&&n.requestAnimationFrame?n.requestAnimationFrame(G):n.setTimeout(G,Se.fx.interval),Se.fx.tick())}function Y(){return n.setTimeout(function(){kt=void 0}),kt=Date.now()}function Z(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)n=Je[r],o["margin"+n]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function X(e,t,n){for(var r,o=(K.tweeners[t]||[]).concat(K.tweeners["*"]),i=0,s=o.length;i=0&&n0&&t-1 in e)}function l(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function u(e,t,n){return be.isFunction(t)?be.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?be.grep(e,function(e){return e===t!==n}):"string"!=typeof t?be.grep(e,function(e){return pe.call(t,e)>-1!==n}):De.test(t)?be.filter(t,e,n):(t=be.filter(t,e),be.grep(e,function(e){return pe.call(t,e)>-1!==n&&1===e.nodeType}))}function c(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function p(e){var t={};return be.each(e.match(Ne)||[],function(e,n){t[n]=!0}),t}function f(e){return e}function h(e){throw e}function d(e,t,n,r){var o;try{e&&be.isFunction(o=e.promise)?o.call(e).done(t).fail(n):e&&be.isFunction(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}function m(){ae.removeEventListener("DOMContentLoaded",m),n.removeEventListener("load",m),be.ready()}function g(){this.expando=be.expando+g.uid++}function v(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:$e.test(e)?JSON.parse(e):e)}function y(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(He,"-$&").toLowerCase(),n=e.getAttribute(r),"string"==typeof n){try{n=v(n)}catch(e){}ze.set(e,t,n)}else n=void 0;return n}function b(e,t,n,r){var o,i=1,a=20,s=r?function(){return r.cur()}:function(){return be.css(e,t,"")},l=s(),u=n&&n[3]||(be.cssNumber[t]?"":"px"),c=(be.cssNumber[t]||"px"!==u&&+l)&&Ve.exec(be.css(e,t));if(c&&c[3]!==u){u=u||c[3],n=n||[],c=+l||1;do i=i||".5",c/=i,be.style(e,t,c+u);while(i!==(i=s()/l)&&1!==i&&--a)}return n&&(c=+c||+l||0,o=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=u,r.start=c,r.end=o)),o}function _(e){var t,n=e.ownerDocument,r=e.nodeName,o=Ze[r];return o?o:(t=n.body.appendChild(n.createElement(r)),o=be.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),Ze[r]=o,o)}function w(e,t){for(var n,r,o=[],i=0,a=e.length;i-1)o&&o.push(i);else if(u=be.contains(i.ownerDocument,i),a=x(p.appendChild(i),"script"),u&&k(a),n)for(c=0;i=a[c++];)Qe.test(i.type||"")&&n.push(i);return p}function A(){return!0}function S(){return!1}function E(){try{return ae.activeElement}catch(e){}}function T(e,t,n,r,o,i){var a,s;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(s in t)T(e,s,n,r,t[s],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),o===!1)o=S;else if(!o)return e;return 1===i&&(a=o,o=function(e){return be().off(e),a.apply(this,arguments)},o.guid=a.guid||(a.guid=be.guid++)),e.each(function(){be.event.add(this,t,o,r,n)})}function D(e,t){return l(e,"table")&&l(11!==t.nodeType?t:t.firstChild,"tr")?be(">tbody",e)[0]||e:e}function L(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function q(e){var t=lt.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function j(e,t){var n,r,o,i,a,s,l,u;if(1===t.nodeType){if(Pe.hasData(e)&&(i=Pe.access(e),a=Pe.set(t,i),u=i.events)){delete a.handle,a.events={};for(o in u)for(n=0,r=u[o].length;n1&&"string"==typeof d&&!ve.checkClone&&st.test(d))return e.each(function(o){var i=e.eq(o);m&&(t[0]=d.call(this,o,i.html())),O(i,t,n,r)});if(f&&(o=C(t,e[0].ownerDocument,!1,e,r),i=o.firstChild,1===o.childNodes.length&&(o=i),i||r)){for(s=be.map(x(o,"script"),L),l=s.length;p=0&&nk.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[F]=!0,e}function o(e){var t=M.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function i(e,t){for(var n=e.split("|"),r=n.length;r--;)k.attrHandle[n[r]]=t}function s(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function a(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function l(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function u(e){return function(t){return"form"in t?t.parentNode&&t.disabled===!1?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&Ce(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function c(e){return r(function(t){return t=+t,r(function(n,r){for(var o,i=e([],n.length,t),s=i.length;s--;)n[o=i[s]]&&(n[o]=!(r[o]=n[o]))})})}function p(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function f(){}function h(e){for(var t=0,n=e.length,r="";t1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function g(e,n,r){for(var o=0,i=n.length;o-1&&(r[u]=!(s[u]=p))}}else b=v(b===s?b.splice(d,b.length):b),i?i(null,s,b,l):Q.apply(s,b)})}function b(e){for(var t,n,r,o=e.length,i=k.relative[e[0].type],s=i||k.relative[" "],a=i?1:0,l=d(function(e){return e===t},s,!0),u=d(function(e){return ee(t,e)>-1},s,!0),c=[function(e,n,r){var o=!i&&(r||n!==D)||((t=n).nodeType?l(e,n,r):u(e,n,r));return t=null,o}];a1&&m(c),a>1&&h(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(ae,"$1"),n,a0,i=e.length>0,s=function(r,s,a,l,u){var c,p,f,h=0,d="0",m=r&&[],g=[],y=D,b=r||i&&k.find.TAG("*",u),_=$+=null==y?1:Math.random()||.1,w=b.length;for(u&&(D=s===M||s||u);d!==w&&null!=(c=b[d]);d++){if(i&&c){for(p=0,s||c.ownerDocument===M||(j(c),a=!N);f=e[p++];)if(f(c,s||M,a)){l.push(c);break}u&&($=_)}o&&((c=!f&&c)&&h--,r&&m.push(c))}if(h+=d,o&&d!==h){for(p=0;f=n[p++];)f(m,g,s,a);if(r){if(h>0)for(;d--;)m[d]||g[d]||(g[d]=X.call(l));g=v(g)}Q.apply(l,g),u&&!r&&g.length>0&&h+n.length>1&&t.uniqueSort(l)}return u&&($=_,D=y),m};return o?r(s):s}var w,x,k,C,A,S,E,T,D,L,q,j,M,O,N,B,R,P,I,F="sizzle"+1*new Date,z=e.document,$=0,H=0,U=n(),V=n(),W=n(),G=function(e,t){return e===t&&(q=!0),0},Y={}.hasOwnProperty,Z=[],X=Z.pop,J=Z.push,Q=Z.push,K=Z.slice,ee=function(e,t){for(var n=0,r=e.length;n+~]|"+ne+")"+ne+"*"),ce=new RegExp("="+ne+"*([^\\]'\"]*?)"+ne+"*\\]","g"),pe=new RegExp(ie),fe=new RegExp("^"+re+"$"),he={ID:new RegExp("^#("+re+")"),CLASS:new RegExp("^\\.("+re+")"),TAG:new RegExp("^("+re+"|[*])"),ATTR:new RegExp("^"+oe),PSEUDO:new RegExp("^"+ie),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ne+"*(even|odd|(([+-]|)(\\d*)n|)"+ne+"*(?:([+-]|)"+ne+"*(\\d+)|))"+ne+"*\\)|)","i"),bool:new RegExp("^(?:"+te+")$","i"),needsContext:new RegExp("^"+ne+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ne+"*((?:-\\d)?\\d*)"+ne+"*\\)|)(?=[^-]|$)","i")},de=/^(?:input|select|textarea|button)$/i,me=/^h\d$/i,ge=/^[^{]+\{\s*\[native \w/,ve=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ye=/[+~]/,be=new RegExp("\\\\([\\da-f]{1,6}"+ne+"?|("+ne+")|.)","ig"),_e=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},we=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,xe=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ke=function(){j()},Ce=d(function(e){return e.disabled===!0&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{Q.apply(Z=K.call(z.childNodes),z.childNodes),Z[z.childNodes.length].nodeType}catch(e){Q={apply:Z.length?function(e,t){J.apply(e,K.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}x=t.support={},A=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},j=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:z;return r!==M&&9===r.nodeType&&r.documentElement?(M=r,O=M.documentElement,N=!A(M),z!==M&&(n=M.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",ke,!1):n.attachEvent&&n.attachEvent("onunload",ke)),x.attributes=o(function(e){return e.className="i",!e.getAttribute("className")}),x.getElementsByTagName=o(function(e){return e.appendChild(M.createComment("")),!e.getElementsByTagName("*").length}),x.getElementsByClassName=ge.test(M.getElementsByClassName),x.getById=o(function(e){return O.appendChild(e).id=F,!M.getElementsByName||!M.getElementsByName(F).length}),x.getById?(k.filter.ID=function(e){var t=e.replace(be,_e);return function(e){return e.getAttribute("id")===t}},k.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&N){var n=t.getElementById(e);return n?[n]:[]}}):(k.filter.ID=function(e){var t=e.replace(be,_e);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},k.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&N){var n,r,o,i=t.getElementById(e);if(i){if(n=i.getAttributeNode("id"),n&&n.value===e)return[i];for(o=t.getElementsByName(e),r=0;i=o[r++];)if(n=i.getAttributeNode("id"),n&&n.value===e)return[i]}return[]}}),k.find.TAG=x.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):x.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},k.find.CLASS=x.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&N)return t.getElementsByClassName(e)},R=[],B=[],(x.qsa=ge.test(M.querySelectorAll))&&(o(function(e){O.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&B.push("[*^$]="+ne+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||B.push("\\["+ne+"*(?:value|"+te+")"),e.querySelectorAll("[id~="+F+"-]").length||B.push("~="),e.querySelectorAll(":checked").length||B.push(":checked"),e.querySelectorAll("a#"+F+"+*").length||B.push(".#.+[+~]")}),o(function(e){e.innerHTML="";var t=M.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&B.push("name"+ne+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&B.push(":enabled",":disabled"),O.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&B.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),B.push(",.*:")})),(x.matchesSelector=ge.test(P=O.matches||O.webkitMatchesSelector||O.mozMatchesSelector||O.oMatchesSelector||O.msMatchesSelector))&&o(function(e){x.disconnectedMatch=P.call(e,"*"),P.call(e,"[s!='']:x"),R.push("!=",ie)}),B=B.length&&new RegExp(B.join("|")),R=R.length&&new RegExp(R.join("|")),t=ge.test(O.compareDocumentPosition),I=t||ge.test(O.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},G=t?function(e,t){if(e===t)return q=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n?n:(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!x.sortDetached&&t.compareDocumentPosition(e)===n?e===M||e.ownerDocument===z&&I(z,e)?-1:t===M||t.ownerDocument===z&&I(z,t)?1:L?ee(L,e)-ee(L,t):0:4&n?-1:1)}:function(e,t){if(e===t)return q=!0,0;var n,r=0,o=e.parentNode,i=t.parentNode,a=[e],l=[t];if(!o||!i)return e===M?-1:t===M?1:o?-1:i?1:L?ee(L,e)-ee(L,t):0;if(o===i)return s(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)l.unshift(n);for(;a[r]===l[r];)r++;return r?s(a[r],l[r]):a[r]===z?-1:l[r]===z?1:0},M):M},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==M&&j(e),n=n.replace(ce,"='$1']"),x.matchesSelector&&N&&!W[n+" "]&&(!R||!R.test(n))&&(!B||!B.test(n)))try{var r=P.call(e,n);if(r||x.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return t(n,M,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==M&&j(e),I(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==M&&j(e);var n=k.attrHandle[t.toLowerCase()],r=n&&Y.call(k.attrHandle,t.toLowerCase())?n(e,t,!N):void 0;return void 0!==r?r:x.attributes||!N?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.escape=function(e){return(e+"").replace(we,xe)},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,o=0;if(q=!x.detectDuplicates,L=!x.sortStable&&e.slice(0),e.sort(G),q){for(;t=e[o++];)t===e[o]&&(r=n.push(o));for(;r--;)e.splice(n[r],1)}return L=null,e},C=t.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=C(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=C(t);return n},k=t.selectors={cacheLength:50,createPseudo:r,match:he,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(be,_e),e[3]=(e[3]||e[4]||e[5]||"").replace(be,_e),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return he.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&pe.test(n)&&(t=S(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(be,_e).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=U[e+" "];return t||(t=new RegExp("(^|"+ne+")"+e+"("+ne+"|$)"))&&U(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(o){var i=t.attr(o,e);return null==i?"!="===n:!n||(i+="","="===n?i===r:"!="===n?i!==r:"^="===n?r&&0===i.indexOf(r):"*="===n?r&&i.indexOf(r)>-1:"$="===n?r&&i.slice(-r.length)===r:"~="===n?(" "+i.replace(se," ")+" ").indexOf(r)>-1:"|="===n&&(i===r||i.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,l){var u,c,p,f,h,d,m=i!==s?"nextSibling":"previousSibling",g=t.parentNode,v=a&&t.nodeName.toLowerCase(),y=!l&&!a,b=!1;if(g){if(i){for(;m;){for(f=t;f=f[m];)if(a?f.nodeName.toLowerCase()===v:1===f.nodeType)return!1;d=m="only"===e&&!d&&"nextSibling"}return!0}if(d=[s?g.firstChild:g.lastChild],s&&y){for(f=g,p=f[F]||(f[F]={}),c=p[f.uniqueID]||(p[f.uniqueID]={}),u=c[e]||[],h=u[0]===$&&u[1],b=h&&u[2],f=h&&g.childNodes[h];f=++h&&f&&f[m]||(b=h=0)||d.pop();)if(1===f.nodeType&&++b&&f===t){c[e]=[$,h,b];break}}else if(y&&(f=t,p=f[F]||(f[F]={}),c=p[f.uniqueID]||(p[f.uniqueID]={}),u=c[e]||[],h=u[0]===$&&u[1],b=h),b===!1)for(;(f=++h&&f&&f[m]||(b=h=0)||d.pop())&&((a?f.nodeName.toLowerCase()!==v:1!==f.nodeType)||!++b||(y&&(p=f[F]||(f[F]={}),c=p[f.uniqueID]||(p[f.uniqueID]={}),c[e]=[$,b]),f!==t)););return b-=o,b===r||b%r===0&&b/r>=0}}},PSEUDO:function(e,n){var o,i=k.pseudos[e]||k.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return i[F]?i(n):i.length>1?(o=[e,e,"",n],k.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,o=i(e,n),s=o.length;s--;)r=ee(e,o[s]),e[r]=!(t[r]=o[s])}):function(e){return i(e,0,o)}):i}},pseudos:{not:r(function(e){var t=[],n=[],o=E(e.replace(ae,"$1"));return o[F]?r(function(e,t,n,r){for(var i,s=o(e,null,r,[]),a=e.length;a--;)(i=s[a])&&(e[a]=!(t[a]=i))}):function(e,r,i){return t[0]=e,o(t,null,i,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(be,_e),function(t){return(t.textContent||t.innerText||C(t)).indexOf(e)>-1}}),lang:r(function(e){return fe.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(be,_e).toLowerCase(),function(t){var n;do if(n=N?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===O},focus:function(e){return e===M.activeElement&&(!M.hasFocus||M.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:u(!1),disabled:u(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!k.pseudos.empty(e)},header:function(e){return me.test(e.nodeName)},input:function(e){return de.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:c(function(){return[0]}),last:c(function(e,t){return[t-1]}),eq:c(function(e,t,n){return[n<0?n+t:n]}),even:c(function(e,t){for(var n=0;n=0;)e.push(r);return e}),gt:c(function(e,t,n){for(var r=n<0?n+t:n;++r2&&"ID"===(s=i[0]).type&&9===t.nodeType&&N&&k.relative[i[1].type]){if(t=(k.find.ID(s.matches[0].replace(be,_e),t)||[])[0],!t)return n;u&&(t=t.parentNode),e=e.slice(i.shift().value.length)}for(o=he.needsContext.test(e)?0:i.length;o--&&(s=i[o],!k.relative[a=s.type]);)if((l=k.find[a])&&(r=l(s.matches[0].replace(be,_e),ye.test(i[0].type)&&p(t.parentNode)||t))){if(i.splice(o,1),e=r.length&&h(i),!e)return Q.apply(n,r),n;break}}return(u||E(e,c))(r,t,!N,n,!t||ye.test(e)&&p(t.parentNode)||t),n},x.sortStable=F.split("").sort(G).join("")===F,x.detectDuplicates=!!q,j(),x.sortDetached=o(function(e){return 1&e.compareDocumentPosition(M.createElement("fieldset"))}),o(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||i("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),x.attributes&&o(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||i("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),o(function(e){return null==e.getAttribute("disabled")})||i(te,function(e,t,n){var r;if(!n)return e[t]===!0?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(n);Se.find=Te,Se.expr=Te.selectors,Se.expr[":"]=Se.expr.pseudos,Se.uniqueSort=Se.unique=Te.uniqueSort,Se.text=Te.getText,Se.isXMLDoc=Te.isXML,Se.contains=Te.contains,Se.escapeSelector=Te.escape;var De=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&Se(e).is(n))break;r.push(e)}return r},Le=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},qe=Se.expr.match.needsContext,je=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;Se.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?Se.find.matchesSelector(r,e)?[r]:[]:Se.find.matches(e,Se.grep(t,function(e){return 1===e.nodeType}))},Se.fn.extend({find:function(e){var t,n,r=this.length,o=this;if("string"!=typeof e)return this.pushStack(Se(e).filter(function(){for(t=0;t1?Se.uniqueSort(n):n},filter:function(e){return this.pushStack(c(this,e||[],!1))},not:function(e){return this.pushStack(c(this,e||[],!0))},is:function(e){return!!c(this,"string"==typeof e&&qe.test(e)?Se(e):e||[],!1).length}});var Me,Oe=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Ne=Se.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||Me,"string"==typeof e){if(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:Oe.exec(e),!r||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof Se?t[0]:t,Se.merge(this,Se.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:ce,!0)),je.test(r[1])&&Se.isPlainObject(t))for(r in t)xe(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return o=ce.getElementById(r[2]),o&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):xe(e)?void 0!==n.ready?n.ready(e):e(Se):Se.makeArray(e,this)};Ne.prototype=Se.fn,Me=Se(ce);var Be=/^(?:parents|prev(?:Until|All))/,Re={children:!0,contents:!0,next:!0,prev:!0};Se.fn.extend({has:function(e){var t=Se(e,this),n=t.length;return this.filter(function(){for(var e=0;e-1:1===n.nodeType&&Se.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?Se.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?me.call(Se(e),this[0]):me.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(Se.uniqueSort(Se.merge(this.get(),Se(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),Se.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return De(e,"parentNode")},parentsUntil:function(e,t,n){return De(e,"parentNode",n)},next:function(e){return p(e,"nextSibling")},prev:function(e){return p(e,"previousSibling")},nextAll:function(e){return De(e,"nextSibling")},prevAll:function(e){return De(e,"previousSibling")},nextUntil:function(e,t,n){return De(e,"nextSibling",n)},prevUntil:function(e,t,n){return De(e,"previousSibling",n)},siblings:function(e){return Le((e.parentNode||{}).firstChild,e)},children:function(e){return Le(e.firstChild)},contents:function(e){return u(e,"iframe")?e.contentDocument:(u(e,"template")&&(e=e.content||e),Se.merge([],e.childNodes))}},function(e,t){Se.fn[e]=function(n,r){var o=Se.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=Se.filter(r,o)),this.length>1&&(Re[e]||Se.uniqueSort(o),Be.test(e)&&o.reverse()),this.pushStack(o)}});var Pe=/[^\x20\t\r\n\f]+/g;Se.Callbacks=function(e){e="string"==typeof e?f(e):Se.extend({},e);var t,n,r,o,i=[],s=[],l=-1,u=function(){for(o=o||e.once,r=t=!0;s.length;l=-1)for(n=s.shift();++l-1;)i.splice(n,1),n<=l&&l--}),this},has:function(e){return e?Se.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=s=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=s=[],n||t||(i=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=n||[],n=[e,n.slice?n.slice():n],s.push(n),t||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},Se.extend({Deferred:function(e){var t=[["notify","progress",Se.Callbacks("memory"),Se.Callbacks("memory"),2],["resolve","done",Se.Callbacks("once memory"),Se.Callbacks("once memory"),0,"resolved"],["reject","fail",Se.Callbacks("once memory"),Se.Callbacks("once memory"),1,"rejected"]],r="pending",o={state:function(){return r},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return Se.Deferred(function(n){Se.each(t,function(t,r){var o=xe(e[r[4]])&&e[r[4]];i[r[1]](function(){var e=o&&o.apply(this,arguments);e&&xe(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,o?[e]:arguments)})}),e=null}).promise()},then:function(e,r,o){function i(e,t,r,o){return function(){var a=this,l=arguments,u=function(){var n,u;if(!(e=s&&(r!==d&&(a=void 0,l=[n]),t.rejectWith(a,l))}};e?c():(Se.Deferred.getStackHook&&(c.stackTrace=Se.Deferred.getStackHook()),n.setTimeout(c))}}var s=0;return Se.Deferred(function(n){t[0][3].add(i(0,n,xe(o)?o:h,n.notifyWith)),t[1][3].add(i(0,n,xe(e)?e:h)),t[2][3].add(i(0,n,xe(r)?r:d))}).promise()},promise:function(e){return null!=e?Se.extend(e,o):o}},i={};return Se.each(t,function(e,n){var s=n[2],a=n[5];o[n[1]]=s.add,a&&s.add(function(){r=a},t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),s.add(n[3].fire),i[n[0]]=function(){return i[n[0]+"With"](this===i?void 0:this,arguments),this},i[n[0]+"With"]=s.fireWith}),o.promise(i),e&&e.call(i,i),i},when:function(e){var t=arguments.length,n=t,r=Array(n),o=fe.call(arguments),i=Se.Deferred(),s=function(e){return function(n){r[e]=this,o[e]=arguments.length>1?fe.call(arguments):n,--t||i.resolveWith(r,o)}};if(t<=1&&(m(e,i.done(s(n)).resolve,i.reject,!t),"pending"===i.state()||xe(o[n]&&o[n].then)))return i.then();for(;n--;)m(o[n],s(n),i.reject);return i.promise()}});var Ie=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;Se.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&Ie.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},Se.readyException=function(e){n.setTimeout(function(){throw e})};var Fe=Se.Deferred();Se.fn.ready=function(e){return Fe.then(e).catch(function(e){Se.readyException(e)}),this},Se.extend({isReady:!1,readyWait:1,ready:function(e){(e===!0?--Se.readyWait:Se.isReady)||(Se.isReady=!0,e!==!0&&--Se.readyWait>0||Fe.resolveWith(ce,[Se]))}}),Se.ready.then=Fe.then,"complete"===ce.readyState||"loading"!==ce.readyState&&!ce.documentElement.doScroll?n.setTimeout(Se.ready):(ce.addEventListener("DOMContentLoaded",g),n.addEventListener("load",g));var ze=function(e,t,n,r,o,i,s){var l=0,u=e.length,c=null==n;if("object"===a(n)){o=!0;for(l in n)ze(e,t,l,n[l],!0,i,s)}else if(void 0!==r&&(o=!0,xe(r)||(s=!0),c&&(s?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(Se(e),n)})),t))for(;l1,null,!0)},removeData:function(e){return this.each(function(){We.remove(this,e)})}}),Se.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Ve.get(e,t),n&&(!r||Array.isArray(n)?r=Ve.access(e,t,Se.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=Se.queue(e,t),r=n.length,o=n.shift(),i=Se._queueHooks(e,t),s=function(){Se.dequeue(e,t)};"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,s,i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Ve.get(e,n)||Ve.access(e,n,{empty:Se.Callbacks("once memory").add(function(){Ve.remove(e,[t+"queue",n])})})}}),Se.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]+)/i,rt=/^$|^module$|\/(?:java|ecma)script/i,ot={option:[1,""],thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};ot.optgroup=ot.option,ot.tbody=ot.tfoot=ot.colgroup=ot.caption=ot.thead,ot.th=ot.td;var it=/<|&#?\w+;/;!function(){var e=ce.createDocumentFragment(),t=e.appendChild(ce.createElement("div")),n=ce.createElement("input");n.setAttribute("type","radio"), -n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),we.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="",we.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue}();var st=ce.documentElement,at=/^key/,lt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ut=/^([^.]*)(?:\.(.+)|)/;Se.event={global:{},add:function(e,t,n,r,o){var i,s,a,l,u,c,p,f,h,d,m,g=Ve.get(e);if(g)for(n.handler&&(i=n,n=i.handler,o=i.selector),o&&Se.find.matchesSelector(st,o),n.guid||(n.guid=Se.guid++),(l=g.events)||(l=g.events={}),(s=g.handle)||(s=g.handle=function(t){return"undefined"!=typeof Se&&Se.event.triggered!==t.type?Se.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(Pe)||[""],u=t.length;u--;)a=ut.exec(t[u])||[],h=m=a[1],d=(a[2]||"").split(".").sort(),h&&(p=Se.event.special[h]||{},h=(o?p.delegateType:p.bindType)||h,p=Se.event.special[h]||{},c=Se.extend({type:h,origType:m,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&Se.expr.match.needsContext.test(o),namespace:d.join(".")},i),(f=l[h])||(f=l[h]=[],f.delegateCount=0,p.setup&&p.setup.call(e,r,d,s)!==!1||e.addEventListener&&e.addEventListener(h,s)),p.add&&(p.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),o?f.splice(f.delegateCount++,0,c):f.push(c),Se.event.global[h]=!0)},remove:function(e,t,n,r,o){var i,s,a,l,u,c,p,f,h,d,m,g=Ve.hasData(e)&&Ve.get(e);if(g&&(l=g.events)){for(t=(t||"").match(Pe)||[""],u=t.length;u--;)if(a=ut.exec(t[u])||[],h=m=a[1],d=(a[2]||"").split(".").sort(),h){for(p=Se.event.special[h]||{},h=(r?p.delegateType:p.bindType)||h,f=l[h]||[],a=a[2]&&new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=i=f.length;i--;)c=f[i],!o&&m!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(f.splice(i,1),c.selector&&f.delegateCount--,p.remove&&p.remove.call(e,c));s&&!f.length&&(p.teardown&&p.teardown.call(e,d,g.handle)!==!1||Se.removeEvent(e,h,g.handle),delete l[h])}else for(h in l)Se.event.remove(e,h+t[u],n,r,!0);Se.isEmptyObject(l)&&Ve.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,i,s,a=Se.event.fix(e),l=new Array(arguments.length),u=(Ve.get(this,"events")||{})[a.type]||[],c=Se.event.special[a.type]||{};for(l[0]=a,t=1;t=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||u.disabled!==!0)){for(i=[],s={},n=0;n-1:Se.find(o,this,null,[u]).length),s[o]&&i.push(r);i.length&&a.push({elem:u,handlers:i})}return u=this,l\x20\t\r\n\f]*)[^>]*)\/>/gi,pt=/\s*$/g;Se.extend({htmlPrefilter:function(e){return e.replace(ct,"<$1>")},clone:function(e,t,n){var r,o,i,s,a=e.cloneNode(!0),l=Se.contains(e.ownerDocument,e);if(!(we.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||Se.isXMLDoc(e)))for(s=A(a),i=A(e),r=0,o=i.length;r0&&S(s,!l&&A(e,"script")),a},cleanData:function(e){for(var t,n,r,o=Se.event.special,i=0;void 0!==(n=e[i]);i++)if(Ue(n)){if(t=n[Ve.expando]){if(t.events)for(r in t.events)o[r]?Se.event.remove(n,r):Se.removeEvent(n,r,t.handle);n[Ve.expando]=void 0}n[We.expando]&&(n[We.expando]=void 0)}}}),Se.fn.extend({detach:function(e){return P(this,e,!0)},remove:function(e){return P(this,e)},text:function(e){return ze(this,function(e){return void 0===e?Se.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return R(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=j(this,e);t.appendChild(e)}})},prepend:function(){return R(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=j(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return R(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return R(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(Se.cleanData(A(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return Se.clone(this,e,t)})},html:function(e){return ze(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!pt.test(e)&&!ot[(nt.exec(e)||["",""])[1].toLowerCase()]){e=Se.htmlPrefilter(e);try{for(;n1)}}),Se.Tween=W,W.prototype={constructor:W,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||Se.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(Se.cssNumber[n]?"":"px")},cur:function(){var e=W.propHooks[this.prop];return e&&e.get?e.get(this):W.propHooks._default.get(this)},run:function(e){var t,n=W.propHooks[this.prop];return this.options.duration?this.pos=t=Se.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):W.propHooks._default.set(this),this}},W.prototype.init.prototype=W.prototype,W.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=Se.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){Se.fx.step[e.prop]?Se.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[Se.cssProps[e.prop]]&&!Se.cssHooks[e.prop]?e.elem[e.prop]=e.now:Se.style(e.elem,e.prop,e.now+e.unit)}}},W.propHooks.scrollTop=W.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},Se.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},Se.fx=W.prototype.init,Se.fx.step={};var kt,Ct,At=/^(?:toggle|show|hide)$/,St=/queueHooks$/;Se.Animation=Se.extend(K,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return x(n.elem,e,Xe.exec(t),n),n}]},tweener:function(e,t){xe(e)?(t=e,e=["*"]):e=e.match(Pe);for(var n,r=0,o=e.length;r1)},removeAttr:function(e){return this.each(function(){Se.removeAttr(this,e)})}}),Se.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return"undefined"==typeof e.getAttribute?Se.prop(e,t,n):(1===i&&Se.isXMLDoc(e)||(o=Se.attrHooks[t.toLowerCase()]||(Se.expr.match.bool.test(t)?Et:void 0)),void 0!==n?null===n?void Se.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:(r=Se.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!we.radioValue&&"radio"===t&&u(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,o=t&&t.match(Pe);if(o&&1===e.nodeType)for(;n=o[r++];)e.removeAttribute(n)}}),Et={set:function(e,t,n){return t===!1?Se.removeAttr(e,n):e.setAttribute(n,n),n}},Se.each(Se.expr.match.bool.source.match(/\w+/g),function(e,t){var n=Tt[t]||Se.find.attr;Tt[t]=function(e,t,r){var o,i,s=t.toLowerCase();return r||(i=Tt[s],Tt[s]=o,o=null!=n(e,t,r)?s:null,Tt[s]=i),o}});var Dt=/^(?:input|select|textarea|button)$/i,Lt=/^(?:a|area)$/i;Se.fn.extend({prop:function(e,t){return ze(this,Se.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[Se.propFix[e]||e]})}}),Se.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&Se.isXMLDoc(e)||(t=Se.propFix[t]||t,o=Se.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=Se.find.attr(e,"tabindex");return t?parseInt(t,10):Dt.test(e.nodeName)||Lt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),we.optSelected||(Se.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),Se.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){Se.propFix[this.toLowerCase()]=this}),Se.fn.extend({addClass:function(e){var t,n,r,o,i,s,a,l=0;if(xe(e))return this.each(function(t){Se(this).addClass(e.call(this,t,te(this)))});if(t=ne(e),t.length)for(;n=this[l++];)if(o=te(n),r=1===n.nodeType&&" "+ee(o)+" "){for(s=0;i=t[s++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");a=ee(r),o!==a&&n.setAttribute("class",a)}return this},removeClass:function(e){var t,n,r,o,i,s,a,l=0;if(xe(e))return this.each(function(t){Se(this).removeClass(e.call(this,t,te(this)))});if(!arguments.length)return this.attr("class","");if(t=ne(e),t.length)for(;n=this[l++];)if(o=te(n),r=1===n.nodeType&&" "+ee(o)+" "){for(s=0;i=t[s++];)for(;r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");a=ee(r),o!==a&&n.setAttribute("class",a)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):xe(e)?this.each(function(n){Se(this).toggleClass(e.call(this,n,te(this),t),t)}):this.each(function(){var t,o,i,s;if(r)for(o=0,i=Se(this),s=ne(e);t=s[o++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||(t=te(this),t&&Ve.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||e===!1?"":Ve.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+ee(te(n))+" ").indexOf(t)>-1)return!0;return!1}});var qt=/\r/g;Se.fn.extend({val:function(e){var t,n,r,o=this[0];{if(arguments.length)return r=xe(e),this.each(function(n){var o;1===this.nodeType&&(o=r?e.call(this,n,Se(this).val()):e,null==o?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=Se.map(o,function(e){return null==e?"":e+""})),t=Se.valHooks[this.type]||Se.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))});if(o)return t=Se.valHooks[o.type]||Se.valHooks[o.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:(n=o.value,"string"==typeof n?n.replace(qt,""):null==n?"":n)}}}),Se.extend({valHooks:{option:{get:function(e){var t=Se.find.attr(e,"value");return null!=t?t:ee(Se.text(e))}},select:{get:function(e){var t,n,r,o=e.options,i=e.selectedIndex,s="select-one"===e.type,a=s?null:[],l=s?i+1:o.length;for(r=i<0?l:s?i:0;r-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),Se.each(["radio","checkbox"],function(){Se.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=Se.inArray(Se(e).val(),t)>-1}},we.checkOn||(Se.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),we.focusin="onfocusin"in n;var jt=/^(?:focusinfocus|focusoutblur)$/,Mt=function(e){e.stopPropagation()};Se.extend(Se.event,{trigger:function(e,t,r,o){var i,s,a,l,u,c,p,f,h=[r||ce],d=ye.call(e,"type")?e.type:e,m=ye.call(e,"namespace")?e.namespace.split("."):[];if(s=f=a=r=r||ce,3!==r.nodeType&&8!==r.nodeType&&!jt.test(d+Se.event.triggered)&&(d.indexOf(".")>-1&&(m=d.split("."),d=m.shift(),m.sort()),u=d.indexOf(":")<0&&"on"+d,e=e[Se.expando]?e:new Se.Event(d,"object"==typeof e&&e),e.isTrigger=o?2:3,e.namespace=m.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:Se.makeArray(t,[e]),p=Se.event.special[d]||{},o||!p.trigger||p.trigger.apply(r,t)!==!1)){if(!o&&!p.noBubble&&!ke(r)){for(l=p.delegateType||d,jt.test(l+d)||(s=s.parentNode);s;s=s.parentNode)h.push(s),a=s;a===(r.ownerDocument||ce)&&h.push(a.defaultView||a.parentWindow||n)}for(i=0;(s=h[i++])&&!e.isPropagationStopped();)f=s,e.type=i>1?l:p.bindType||d,c=(Ve.get(s,"events")||{})[e.type]&&Ve.get(s,"handle"),c&&c.apply(s,t),c=u&&s[u],c&&c.apply&&Ue(s)&&(e.result=c.apply(s,t),e.result===!1&&e.preventDefault());return e.type=d,o||e.isDefaultPrevented()||p._default&&p._default.apply(h.pop(),t)!==!1||!Ue(r)||u&&xe(r[d])&&!ke(r)&&(a=r[u],a&&(r[u]=null),Se.event.triggered=d,e.isPropagationStopped()&&f.addEventListener(d,Mt),r[d](),e.isPropagationStopped()&&f.removeEventListener(d,Mt),Se.event.triggered=void 0,a&&(r[u]=a)),e.result}},simulate:function(e,t,n){var r=Se.extend(new Se.Event,n,{type:e,isSimulated:!0});Se.event.trigger(r,null,t)}}),Se.fn.extend({trigger:function(e,t){return this.each(function(){Se.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return Se.event.trigger(e,t,n,!0)}}),we.focusin||Se.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){Se.event.simulate(t,e.target,Se.event.fix(e))};Se.event.special[t]={setup:function(){var r=this.ownerDocument||this,o=Ve.access(r,t);o||r.addEventListener(e,n,!0),Ve.access(r,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this,o=Ve.access(r,t)-1;o?Ve.access(r,t,o):(r.removeEventListener(e,n,!0),Ve.remove(r,t))}}});var Ot=n.location,Nt=Date.now(),Bt=/\?/;Se.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||Se.error("Invalid XML: "+e),t};var Rt=/\[\]$/,Pt=/\r?\n/g,It=/^(?:submit|button|image|reset|file)$/i,Ft=/^(?:input|select|textarea|keygen)/i;Se.param=function(e,t){var n,r=[],o=function(e,t){var n=xe(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!Se.isPlainObject(e))Se.each(e,function(){o(this.name,this.value)});else for(n in e)re(n,e[n],t,o);return r.join("&")},Se.fn.extend({serialize:function(){return Se.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=Se.prop(this,"elements");return e?Se.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!Se(this).is(":disabled")&&Ft.test(this.nodeName)&&!It.test(e)&&(this.checked||!tt.test(e))}).map(function(e,t){var n=Se(this).val();return null==n?null:Array.isArray(n)?Se.map(n,function(e){return{name:t.name,value:e.replace(Pt,"\r\n")}}):{name:t.name,value:n.replace(Pt,"\r\n")}}).get()}});var zt=/%20/g,$t=/#.*$/,Ht=/([?&])_=[^&]*/,Ut=/^(.*?):[ \t]*([^\r\n]*)$/gm,Vt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Wt=/^(?:GET|HEAD)$/,Gt=/^\/\//,Yt={},Zt={},Xt="*/".concat("*"),Jt=ce.createElement("a");Jt.href=Ot.href,Se.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ot.href,type:"GET",isLocal:Vt.test(Ot.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Xt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":Se.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?se(se(e,Se.ajaxSettings),t):se(Se.ajaxSettings,e)},ajaxPrefilter:oe(Yt),ajaxTransport:oe(Zt),ajax:function(e,t){function r(e,t,r,a){var u,f,h,_,w,x=t;c||(c=!0,l&&n.clearTimeout(l),o=void 0,s=a||"",k.readyState=e>0?4:0,u=e>=200&&e<300||304===e,r&&(_=ae(d,k,r)),_=le(d,_,k,u),u?(d.ifModified&&(w=k.getResponseHeader("Last-Modified"),w&&(Se.lastModified[i]=w),w=k.getResponseHeader("etag"),w&&(Se.etag[i]=w)),204===e||"HEAD"===d.type?x="nocontent":304===e?x="notmodified":(x=_.state,f=_.data,h=_.error,u=!h)):(h=x,!e&&x||(x="error",e<0&&(e=0))),k.status=e,k.statusText=(t||x)+"",u?v.resolveWith(m,[f,x,k]):v.rejectWith(m,[k,x,h]),k.statusCode(b),b=void 0,p&&g.trigger(u?"ajaxSuccess":"ajaxError",[k,d,u?f:h]),y.fireWith(m,[k,x]),p&&(g.trigger("ajaxComplete",[k,d]),--Se.active||Se.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=void 0),t=t||{};var o,i,s,a,l,u,c,p,f,h,d=Se.ajaxSetup({},t),m=d.context||d,g=d.context&&(m.nodeType||m.jquery)?Se(m):Se.event,v=Se.Deferred(),y=Se.Callbacks("once memory"),b=d.statusCode||{},_={},w={},x="canceled",k={readyState:0,getResponseHeader:function(e){var t;if(c){if(!a)for(a={};t=Ut.exec(s);)a[t[1].toLowerCase()]=t[2];t=a[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return c?s:null},setRequestHeader:function(e,t){return null==c&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,_[e]=t),this},overrideMimeType:function(e){return null==c&&(d.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)k.always(e[k.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||x;return o&&o.abort(t),r(0,t),this}};if(v.promise(k),d.url=((e||d.url||Ot.href)+"").replace(Gt,Ot.protocol+"//"),d.type=t.method||t.type||d.method||d.type,d.dataTypes=(d.dataType||"*").toLowerCase().match(Pe)||[""],null==d.crossDomain){u=ce.createElement("a");try{u.href=d.url,u.href=u.href,d.crossDomain=Jt.protocol+"//"+Jt.host!=u.protocol+"//"+u.host}catch(e){d.crossDomain=!0}}if(d.data&&d.processData&&"string"!=typeof d.data&&(d.data=Se.param(d.data,d.traditional)),ie(Yt,d,t,k),c)return k;p=Se.event&&d.global,p&&0===Se.active++&&Se.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!Wt.test(d.type),i=d.url.replace($t,""),d.hasContent?d.data&&d.processData&&0===(d.contentType||"").indexOf("application/x-www-form-urlencoded")&&(d.data=d.data.replace(zt,"+")):(h=d.url.slice(i.length),d.data&&(d.processData||"string"==typeof d.data)&&(i+=(Bt.test(i)?"&":"?")+d.data,delete d.data),d.cache===!1&&(i=i.replace(Ht,"$1"),h=(Bt.test(i)?"&":"?")+"_="+Nt++ +h),d.url=i+h),d.ifModified&&(Se.lastModified[i]&&k.setRequestHeader("If-Modified-Since",Se.lastModified[i]),Se.etag[i]&&k.setRequestHeader("If-None-Match",Se.etag[i])),(d.data&&d.hasContent&&d.contentType!==!1||t.contentType)&&k.setRequestHeader("Content-Type",d.contentType),k.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+Xt+"; q=0.01":""):d.accepts["*"]);for(f in d.headers)k.setRequestHeader(f,d.headers[f]);if(d.beforeSend&&(d.beforeSend.call(m,k,d)===!1||c))return k.abort();if(x="abort",y.add(d.complete),k.done(d.success),k.fail(d.error),o=ie(Zt,d,t,k)){if(k.readyState=1,p&&g.trigger("ajaxSend",[k,d]),c)return k;d.async&&d.timeout>0&&(l=n.setTimeout(function(){k.abort("timeout")},d.timeout));try{c=!1,o.send(_,r)}catch(e){if(c)throw e;r(-1,e)}}else r(-1,"No Transport");return k},getJSON:function(e,t,n){return Se.get(e,t,n,"json")},getScript:function(e,t){return Se.get(e,void 0,t,"script")}}),Se.each(["get","post"],function(e,t){Se[t]=function(e,n,r,o){return xe(n)&&(o=o||r,r=n,n=void 0),Se.ajax(Se.extend({url:e,type:t,dataType:o,data:n,success:r},Se.isPlainObject(e)&&e))}}),Se._evalUrl=function(e){return Se.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},Se.fn.extend({wrapAll:function(e){var t;return this[0]&&(xe(e)&&(e=e.call(this[0])),t=Se(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return xe(e)?this.each(function(t){Se(this).wrapInner(e.call(this,t))}):this.each(function(){var t=Se(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=xe(e);return this.each(function(n){Se(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){Se(this).replaceWith(this.childNodes)}),this}}),Se.expr.pseudos.hidden=function(e){return!Se.expr.pseudos.visible(e)},Se.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},Se.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Qt={0:200,1223:204},Kt=Se.ajaxSettings.xhr();we.cors=!!Kt&&"withCredentials"in Kt,we.ajax=Kt=!!Kt,Se.ajaxTransport(function(e){var t,r;if(we.cors||Kt&&!e.crossDomain)return{send:function(o,i){var s,a=e.xhr();if(a.open(e.type,e.url,e.async,e.username,e.password), -<<<<<<< HEAD -e.xhrFields)for(s in e.xhrFields)a[s]=e.xhrFields[s];e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest");for(s in o)a.setRequestHeader(s,o[s]);t=function(e){return function(){t&&(t=r=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?i(0,"error"):i(a.status,a.statusText):i(Qt[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=t(),r=a.onerror=a.ontimeout=t("error"),void 0!==a.onabort?a.onabort=r:a.onreadystatechange=function(){4===a.readyState&&n.setTimeout(function(){t&&r()})},t=t("abort");try{a.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),Se.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),Se.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return Se.globalEval(e),e}}}),Se.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),Se.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(r,o){t=Se("