Fix all links and creating new aliases for Hugo features page

This commit is contained in:
Ryan Watters committed 2017-02-14 11:09:53 -08:00
1 parent 7ae01dbb87
commit f05a9f2d6a
18 files changed
+135 -70

No files matched your search

+47 -24
View File
@@ -14,12 +14,11 @@ notes:
## General
* Extremely fast build times (<1 ms per page)
* Completely cross platform: Runs on <i class="fa fa-apple"></i>&nbsp;Mac OS&nbsp;X, <i class="fa fa-linux"></i>&nbsp;Linux, <i class="fa fa-windows"></i>&nbsp;Windows, and more!
* Easy [installation](/overview/installing/)
* Render changes [on the fly](/overview/usage/) with [LiveReload](/extras/livereload/) as you develop
* Extremely fast build times (&lt;.7 ms per page)
* Completely cross platform, with easy installation on [Mac OSX][], [Linux][], [Windows][], and more
* Renders changes [on the fly](/overview/usage/) with [LiveReload][] as you develop
* [Powerful Theming][]
* Host your site anywhere
* [Host your site anywhere][]
## Organization
@@ -27,33 +26,57 @@ notes:
* Customizable [URLs](/extras/urls/)
* Support for configurable [taxonomies](/taxonomies/overview/) which includes categories and tags. Create your own custom organization of content
* Ability to [sort content](/content/ordering/) as you desire
* Automatic [table of contents](/extras/toc/) generation
* Automatic [table of contents][] generation
* Dynamic menu creation
* [Pretty URLs](/extras/urls/) support
* [Permalink](/extras/permalinks/) pattern support
* [Aliases](/extras/aliases/) (redirects)
* [Pretty URLs][] support
* [Permalink][] pattern support
* Redirects via [aliases][]
## Content
* Native [Markdown](/content/example/) support
* Support for other languages through _external helpers_, see [supported formats](/content/supported-formats)
* Support for TOML, YAML and JSON metadata in [frontmatter](/content/front-matter/)
* Customizable [homepage](/layout/homepage/)
* Multiple [content types](/content/types/)
* Automatic and user defined [summaries](/content/summaries/)
* [Shortcodes](/extras/shortcodes/) to enable rich content inside of Markdown
* ["Minutes to Read"](/layout/variables/) functionality
* ["Wordcount"](/layout/variables/) functionality
* Native Markdown support, as well as other languages through *external helpers* (see [supported formats][])
* Support for TOML, YAML and JSON metadata in [front matter][]
* Customizable [homepage][]
* Multiple [content types][]
* Automatic and user defined [content summaries][]
* [Shortcodes][] to enable rich content inside of Markdown
* ["Minutes to Read"][]functionality
* ["Wordcount"][] functionality
## Additional Features
* Integrated [Disqus](https://disqus.com/) comment support
* Integrated [Google Analytics](https://google-analytics.com/) support
* Automatic [RSS](/layout/rss/) creation
* Support for [Go](http://golang.org/pkg/html/template/), [Amber](https://github.com/eknkc/amber) and [Ace](https://github.com/yosssi/ace) HTML templates
* Syntax [highlighting](/extras/highlighting/) powered by [Pygments](http://pygments.org/)
* Integrated [Disqus][] comment support
* Integrated [Google Analytics][] support
* Automatic [RSS][] creation
* Support for [Golang][], [Amber] and [Ace][] HTML templates
* [Syntax highlighting][] powered by [Pygments][]
See what's coming next in the [Hugo roadmap][].
["Minutes to Read"]: /variables-and-params/
["Wordcount"]: /variables-and-params/
[Ace]: https://github.com/yosssi/ace
[aliases]: /content-management/url-management/#aliases
[Amber]: https://github.com/eknkc/amber
[content summaries]: /content-management/content-summaries/
[content types]: /content-management/content-types/
[Disqus]: https://disqus.com/
[front matter]: /content-management/front-matter/
[Golang]: http://golang.org/pkg/html/template/
[Google Analytics]: https://google-analytics.com/
[homepage]: /templates/homepage-template/
[Host your site anywhere]: /hosting-and-deployment/
[Hugo roadmap]: /about-hugo/roadmap
[Linux]: /getting-started/install-on-mac/
[LiveReload]: /getting-started/using-hugo/
[Mac OSX]: /getting-started/install-of-pc/
[Permalinks]: /content-management/url-management/#permalinks
[Pretty URLs]: /content-management/url-management/
[Powerful Theming]: /themes/
[Hugo roadmap]: /about-hugo/roadmap
[Pygments]: http://pygments.org/
[RSS]: /templates/rss-templates/
[Shortcodes]: /templates/shortcodes/
[supported formats]: /content-management/markdown-and-supported-formats/
[Syntax highlighting]: /developer-tools/syntax-highlighting/
[table of contents]: /content-management/table-of-contents/
[Windows]: /getting-started/install-on-linux/
+2 -2
View File
@@ -14,7 +14,7 @@ aliases: []
notes:
---
**Archetypes** are content (i.e., `.md`) files in the [`archetypes` directory][] of your project that contain pre-configured [front matter][] for your site's [content types][]. Archetypes facilitate consistent metadata in your website's content and allow content authors to quickly generate instances of a content type via the `hugo new` command.
**Archetypes** are content `.md` files in the [archetypes directory][] of your project that contain pre-configured [front matter][] for your site's [content types][]. Archetypes facilitate consistent metadata in your website's content and allow content authors to quickly generate instances of a content type via the `hugo new` command.
Hugo's generator assumes your working directory is the content folder at the root of your project. Hugo is able to infer the appropriate archetype by assuming the content type from the content section passed to the CLI command:
@@ -163,7 +163,7 @@ title = post from custom
```
{{% /output %}}
[`archetypes` directory]: /project-organization/directory-structure/
[archetypes directory]: /project-organization/directory-structure/
[`now()`]: http://golang.org/pkg/time/#Now
[configuration file]: /project-organization/configuration/
[content sections]: /content-sections/
@@ -10,6 +10,6 @@ categories: []
weight: 70
draft: false
slug:
aliases: []
aliases: [/content/summaries/]
notes:
---
+1 -1
View File
@@ -10,7 +10,7 @@ tags: [front matter, yaml, toml, json, metadata, archetypes]
weight: 20
draft: false
slug:
aliases: []
aliases: [/content/front-matter/]
notes:
---
@@ -1,7 +1,7 @@
---
title: Markdown and Supported Formats
linktitle:
description: Hugo uses the BlackFriday markdown converted for content files but also provides support for additional syntaxes (eg, Asciidoc) via external helpers.
description: Hugo uses the BlackFriday markdown parser for content files but also provides support for additional syntaxes (eg, Asciidoc) via external helpers.
date: 2017-01-10
publishdate: 2017-01-10
lastmod: 2017-01-10
@@ -9,7 +9,7 @@ tags: [markdown,asciidoc,mmark,content format]
weight: 10
draft: false
slug:
aliases: [/content/markdown-extras/,/content/supported-formats/]
aliases: [/content/markdown-extras/,/content/supported-formats/,/content/markdown/]
notes:
---
@@ -23,6 +23,8 @@ Hugo uses [BlackFriday](https://github.com/russross/blackfriday), a markdown pro
## Additional Resources
<!-- Mention shortcodes as markdown extension -->
* [Markdown Tutorial][]
[BlackFriday project]: https://github.com/russross/blackfriday
@@ -1,15 +0,0 @@
---
title: Permalinks and Redirects
linktitle: Permalinks and Redirects
description:
date: 2017-02-01
publishdate: 2017-02-01
lastmod: 2017-02-01
tags: [aliases,redirects,permalinks, url management,urls]
categories: [content management]
weight: 90
draft: false
slug:
aliases: []
notes:
---
@@ -10,6 +10,6 @@ categories: []
weight: 100
draft: false
slug:
aliases: []
aliases: [/extras/toc/]
notes:
---
@@ -0,0 +1,25 @@
---
title: URL Management
linktitle: URL Management
description:
date: 2017-02-01
publishdate: 2017-02-01
lastmod: 2017-02-01
tags: [aliases,redirects,permalinks, url management,urls]
categories: [content management]
weight: 90
draft: false
slug:
aliases: [/extras/permalinks/,/extras/aliases/,/content-management/permalinks-and-redirects/,/extras/urls/]
notes:
---
## URLs
## Permalinks
## Redirects/Aliases
## Canonicalization
## Relative URLs
+15
View File
@@ -0,0 +1,15 @@
---
title: Using Hugo
linktitle: Using Hugo
description:
date: 2017-02-01
publishdate: 2017-02-01
lastmod: 2017-02-01
weight:
draft: false
slug:
aliases: [/overview/usage/,/extras/livereload/]
notes:
---
## LiveReload
+1 -1
View File
@@ -9,6 +9,6 @@ weight:
tags: []
draft: false
slug:
aliases:
aliases: [/layout/homepage/,/templates/homepage/]
notes:
---
+14
View File
@@ -0,0 +1,14 @@
---
title: RSS Templates
linktitle: RSS Templates
description:
date: 2017-02-01
publishdate: 2017-02-01
lastmod: 2017-02-01
weight:
tags: []
draft: false
slug:
aliases: [/templates/rss/]
notes:
---
+8 -8
View File
@@ -61,13 +61,13 @@ hostinganddeployment:
haschildren: true
sortsubpagesby: "weight"
desc: "Site builds, automated deployments, and popular hosting solutions"
migratingtohugo:
order: 10
title: "Migrating to Hugo"
url: "migrating-to-hugo"
haschildren: true
sortsubpagesby: "weight"
desc: "Tools for migrating to Hugo from other platforms or generators (eg, Wordpress or Jekyll)"
# migratingtohugo:
# order: 10
# title: "Migrating to Hugo"
# url: "migrating-to-hugo"
# haschildren: true
# sortsubpagesby: "weight"
# desc: "Tools for migrating to Hugo from other platforms or generators (eg, Wordpress or Jekyll)"
tutorials:
order: 11
title: "Tutorials"
@@ -81,7 +81,7 @@ developertools:
url: "developer-tools"
haschildren: true
sortsubpagesby: "weight"
desc: "Command line reference, flags, syntax highlighting"
desc: "Command line reference, flags, and migration tools"
troubleshooting:
order: 13
title: "Troubleshooting"
@@ -13,7 +13,7 @@
{{range $item, $params := sort ($.Site.Data.sitenavigation) "order"}}
{{$section := $params.url}}
<li class="top-menu-item"><a class="top-menu-item-link {{$params.haschildren}}{{if eq ($.Scratch.Get "currentsection") $section }} active-section{{end}}" href="{{if $params.haschildren}}#{{else}}{{$base}}{{$params.url}}{{end}}">{{$params.title}}</a>
{{if $params.haschildren}}
{{if $params.haschildren}}&raquo;
<ul class="submenu">
{{- if eq $params.sortsubpagesby "title"}}
{{range (where $.Site.Pages "Section" $section).ByTitle}}
@@ -11,14 +11,14 @@ $('document').ready(function() {
// const hasCopy = document.execCommand('copy', false, null);
// console.log(`${hasCopy} is hasCopy value`);
window.setTimeout(function() {
// let headLinks = document.querySelector('.heading-link');
// for (var i = 0; i < headLinks.length; i++) {
// headLinks[i].addEventListener('click', copyHeaderLink, false);
// }
}, 2000);
// window.setTimeout(function() {
// // let headLinks = document.querySelector('.heading-link');
// // for (var i = 0; i < headLinks.length; i++) {
// // headLinks[i].addEventListener('click', copyHeaderLink, false);
// // }
// }, 2000);
function copyHeaderLink(evt) {
let link = evt.target.dataset.clip;
console.log(link);
}
// function copyHeaderLink(evt) {
// let link = evt.target.dataset.clip;
// console.log(link);
// }
@@ -27,6 +27,7 @@ aside#toc {
margin-bottom: 0px;
padding-bottom: 0px;
border-bottom: 1px solid $base-font-color;
color:$base-font-color;
}
@include MQ(XL) {
top: $site-header-height + 20px;
+1 -1
View File
@@ -1 +1 @@
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;box-sizing:content-box;border-radius:0px;outline:none}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}html,body{margin:0px;padding:0px;outline:none;border:none;font-size:18px;font-family:"muli","Helvetica Neue","Helvetica","Roboto","Arial",sans-serif;color:#222;line-height:1.6;font-weight:300;overflow-x:hidden}body{font-size:90%;overflow-x:hidden;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}@media only screen and (min-width: 760px){body{font-size:95%}}@media only screen and (min-width: 960px){body{font-size:100%}}p{margin-top:0px;margin-bottom:1.5em;line-height:1.6}@font-face{font-family:'fontello';src:url("/fonts/fontello/fontello.eot");src:url("/fonts/fontello/fontello.woff2") format("woff2"),url("/fonts/fontello/fontello.woff") format("woff"),url("/fonts/fontello/fontello.ttf") format("truetype"),url("/fonts/fontello/fontello.svg?78165468#fontello") format("svg");font-weight:normal;font-style:normal}[class^="icon-"]:before,[class*=" icon-"]:before{font-family:"fontello";font-style:normal;font-weight:normal;speak:none;display:inline-block;text-decoration:inherit;width:1em;margin-right:.2em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;margin-left:.2em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-alert:before{content:'\e810'}.icon-angle-double-right:before{content:'\f101'}.icon-attach:before{content:'\e820'}.icon-attention:before{content:'\e80f'}.icon-bell:before{content:'\e80d'}.icon-cancel:before{content:'\e81e'}.icon-caution:before{content:'\e80f'}.icon-chrome:before{content:'\e841'}.icon-clipboard:before{content:'\e817'}.icon-code:before{content:'\f121'}.icon-cog-alt:before{content:'\e814'}.icon-css3:before{content:'\f13c'}.icon-docs:before{content:'\f15c'}.icon-download:before{content:'\e815'}.icon-facebook-official:before{content:'\f230'}.icon-firefox:before{content:'\e840'}.icon-flag:before{content:'\e813'}.icon-forum:before{content:'\f03d';margin-right:.3em}.icon-github:before{content:'\f09b'}.icon-gitter:before{content:'\e819'}.icon-go:before{content:'\e801'}.icon-golang:before{content:'\e801'}.icon-heart:before{content:'\e81d'}.icon-help:before{content:'\e81b'}.icon-home:before{content:'\e812'}.icon-html.input:before{content:'\e81f'}.icon-html5:before{content:'\e800'}.icon-html:before{content:'\e800'}.icon-hugo:before{content:'\e81f'}.icon-ie:before{content:'\e843'}.icon-info:before{content:'\e811'}.icon-instagram:before{content:'\f32d'}.icon-javascript:before{content:'\e802'}.icon-js:before{content:'\e802'}.icon-json:before{content:'\e81c'}.icon-link:before{content:'\e816'}.icon-linkedin:before{content:'\f30c'}.icon-love:before{content:'\e81d'}.icon-mail:before{content:'\e821'}.icon-markdown:before{content:'\e80e'}.icon-md:before{content:'\e80e'}.icon-note:before{content:'\e80d'}.icon-opera:before{content:'\e842'}.icon-pdf:before{content:'\f1c1'}.icon-pencil:before{content:'\e80c'}.icon-picture:before{content:'\e808'}.icon-quote-left:before{content:'\e809'}.icon-quote-right:before{content:'\e80a'}.icon-sasLine truncated
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;box-sizing:content-box;border-radius:0px;outline:none}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}html,body{margin:0px;padding:0px;outline:none;border:none;font-size:18px;font-family:"muli","Helvetica Neue","Helvetica","Roboto","Arial",sans-serif;color:#222;line-height:1.6;font-weight:300;overflow-x:hidden}body{font-size:90%;overflow-x:hidden;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}@media only screen and (min-width: 760px){body{font-size:95%}}@media only screen and (min-width: 960px){body{font-size:100%}}p{margin-top:0px;margin-bottom:1.5em;line-height:1.6}@font-face{font-family:'fontello';src:url("/fonts/fontello/fontello.eot");src:url("/fonts/fontello/fontello.woff2") format("woff2"),url("/fonts/fontello/fontello.woff") format("woff"),url("/fonts/fontello/fontello.ttf") format("truetype"),url("/fonts/fontello/fontello.svg?78165468#fontello") format("svg");font-weight:normal;font-style:normal}[class^="icon-"]:before,[class*=" icon-"]:before{font-family:"fontello";font-style:normal;font-weight:normal;speak:none;display:inline-block;text-decoration:inherit;width:1em;margin-right:.2em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;margin-left:.2em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-alert:before{content:'\e810'}.icon-angle-double-right:before{content:'\f101'}.icon-attach:before{content:'\e820'}.icon-attention:before{content:'\e80f'}.icon-bell:before{content:'\e80d'}.icon-cancel:before{content:'\e81e'}.icon-caution:before{content:'\e80f'}.icon-chrome:before{content:'\e841'}.icon-clipboard:before{content:'\e817'}.icon-code:before{content:'\f121'}.icon-cog-alt:before{content:'\e814'}.icon-css3:before{content:'\f13c'}.icon-docs:before{content:'\f15c'}.icon-download:before{content:'\e815'}.icon-facebook-official:before{content:'\f230'}.icon-firefox:before{content:'\e840'}.icon-flag:before{content:'\e813'}.icon-forum:before{content:'\f03d';margin-right:.3em}.icon-github:before{content:'\f09b'}.icon-gitter:before{content:'\e819'}.icon-go:before{content:'\e801'}.icon-golang:before{content:'\e801'}.icon-heart:before{content:'\e81d'}.icon-help:before{content:'\e81b'}.icon-home:before{content:'\e812'}.icon-html.input:before{content:'\e81f'}.icon-html5:before{content:'\e800'}.icon-html:before{content:'\e800'}.icon-hugo:before{content:'\e81f'}.icon-ie:before{content:'\e843'}.icon-info:before{content:'\e811'}.icon-instagram:before{content:'\f32d'}.icon-javascript:before{content:'\e802'}.icon-js:before{content:'\e802'}.icon-json:before{content:'\e81c'}.icon-link:before{content:'\e816'}.icon-linkedin:before{content:'\f30c'}.icon-love:before{content:'\e81d'}.icon-mail:before{content:'\e821'}.icon-markdown:before{content:'\e80e'}.icon-md:before{content:'\e80e'}.icon-note:before{content:'\e80d'}.icon-opera:before{content:'\e842'}.icon-pdf:before{content:'\f1c1'}.icon-pencil:before{content:'\e80c'}.icon-picture:before{content:'\e808'}.icon-quote-left:before{content:'\e809'}.icon-quote-right:before{content:'\e80a'}.icon-sasLine truncated
+3 -3
View File
@@ -1,3 +1,3 @@
"use strict";function showTooltip(e,t){e.setAttribute("class","copy-button tooltipped tooltipped-s"),e.setAttribute("aria-label",t)}function fallbackMessage(e){var t="",r="cut"===e?"X":"C";return t=isMac?"Press ⌘-"+r:"Press Ctrl-"+r}function copyHeaderLink(e){var t=e.target.dataset.clip;console.log(t)}var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(e){if("object"==("undefined"==typeof exports?"undefined":_typeof(exports))&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.Clipboard=e()}}(function(){var e;return function t(e,r,n){function a(o,s){if(!r[o]){if(!e[o]){var l="function"==typeof require&&require;if(!s&&l)return l(o,!0);if(i)return i(o,!0);var c=new Error("Cannot find module '"+o+"'");throw c.code="MODULE_NOT_FOUND",c}var u=r[o]={exports:{}};e[o][0].call(u.exports,function(t){var r=e[o][1][t];return a(r?r:t)},u,u.exports,t,e,r,n)}return r[o].exports}for(var i="function"==typeof require&&require,o=0;o<n.length;o++)a(n[o]);return a}({1:[function(e,t,r){var n=e("matches-selector");t.exports=function(e,t,r){for(var a=r?e:e.parentNode;a&&a!==document;){if(n(a,t))return a;a=a.parentNode}}},{"matches-selector":5}],2:[function(e,t,r){function n(e,t,r,n,i){var o=a.apply(this,arguments);return e.addEventListener(r,o,i),{destroy:function(){e.removeEventListener(r,o,i)}}}function a(e,t,r,n){return function(r){r.delegateTarget=i(r.target,t,!0),r.delegateTarget&&n.call(e,r)}}var i=e("closest");t.exports=n},{closest:1}],3:[function(e,t,r){r.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},r.nodeList=function(e){var t=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===t||"[object HTMLCollection]"===t)&&"length"in e&&(0===e.length||r.node(e[0]))},r.string=function(e){return"string"==typeof e||e instanceof String},r.fn=function(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t}},{}],4:[function(e,t,r){function n(e,t,r){if(!e&&!t&&!r)throw new Error("Missing required arguments");if(!s.string(t))throw new TypeError("Second argument must be a String");if(!s.fn(r))throw new TypeError("Third argument must be a Function");if(s.node(e))return a(e,t,r);if(s.nodeList(e))return i(e,t,r);if(s.string(e))return o(e,t,r);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function a(e,t,r){return e.addEventListener(t,r),{destroy:function(){e.removeEventListener(t,r)}}}function i(e,t,r){return Array.prototype.forEach.call(e,function(e){e.addEventListener(t,r)}),{destroy:function(){Array.prototype.forEach.call(e,function(e){e.removeEventListener(t,r)})}}}function o(e,t,r){return l(document.body,e,t,r)}var s=e("./is"),l=e("delegate");t.exports=n},{"./is":3,delegate:2}],5:[function(e,t,r){function n(e,t){if(i)return i.call(e,t);for(var r=e.parentNode.querySelectorAll(t),n=0;n<r.length;++n)if(r[n]==e)return!0;return!1}var a=Element.prototype,i=a.matchesSelector||a.webkitMatchesSelector||a.mozMatchesSelector||a.msMatchesSelector||a.oMatchesSelector;t.exports=n},{}],6:[function(e,t,r){function n(e){var t;if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName)e.focus(),e.setSelectionRange(0,e.value.length),t=e.value;else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),n=document.createRange();n.selectNodeContents(e),r.removeAllRanges(),r.addRange(n),t=r.toString()}return t}t.exports=n},{}],7:[function(e,t,r){function n(){}n.prototype={on:function(e,t,r){var n=this.e||(this.e={});return(n[e]||(n[e]=[])).push({fn:t,ctx:r}),this},once:function(e,t,r){function n(){a.off(e,n),t.apply(r,arguments)}var a=this;return n._=t,this.on(e,n,r)},emit:function(e){var t=[].slice.call(arguments,1),r=((this.e||(this.e={}))[e]||[]).slice(),n=0,a=r.length;for(n;a>n;n++)r[n].fn.apply(r[n].ctx,t);return this},off:function(e,t){var r=this.e||(this.e={}),n=r[e],a=[];if(n&&t)for(var i=0,o=n.length;o>i;i++)n[i].fn!==t&&n[i].fn._!==t&&a.push(n[i]);return a.length?r[e]=a:delete r[e],this}},t.exports=n},{}],8:[function(t,r,n){!function(a,i){if("function"==typeof e&&e.amd)e(["module","select"],i);else if("undefined"!=typeof n)i(r,t("select"));else{var o={exports:{}};i(o,a.select),a.clipboardAction=o.exports}}(this,function(e,t){function r(e){return e&&e.__esModule?e:{"default":e}}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=r(t),i="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return"undefined"==typeof e?"undefined":_typeof(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":"undefined"==typeof e?"undefined":_typeof(e)},o=function(){function e(e,t){for(var r=0;r<t.length;Line truncated
a===n&&(a=w.getPropertyValue(e,w.Names.prefixCheck(u)[0])),w.Normalizations.registered[u]&&(a=w.Normalizations.registered[u]("extract",e,a)),l=w.Hooks.extractValue(c,a)}else if(w.Normalizations.registered[r]){var p,g;p=w.Normalizations.registered[r]("name",e),"transform"!==p&&(g=s(e,w.Names.prefixCheck(p)[0]),w.Values.isCSSNullValue(g)&&w.Hooks.templates[r]&&(g=w.Hooks.templates[r][1])),l=w.Normalizations.registered[r]("extract",e,g)}if(!/^[\d-]/.test(l)){var m=o(e);if(m&&m.isSVG&&w.Names.SVGAttribute(r))if(/^(height|width)$/i.test(r))try{l=e.getBBox()[r]}catch(b){l=0}else l=e.getAttribute(r);else l=s(e,w.Names.prefixCheck(r)[0])}return w.Values.isCSSNullValue(l)&&(l=0),v.debug>=2&&console.log("Get "+r+": "+l),l},setPropertyValue:function(e,r,n,a,i){var s=r;if("scroll"===r)i.container?i.container["scroll"+i.direction]=n:"Left"===i.direction?t.scrollTo(n,i.alternateValue):t.scrollTo(i.alternateValue,n);else if(w.Normalizations.registered[r]&&"transform"===w.Normalizations.registered[r]("name",e))w.Normalizations.registered[r]("inject",e,n),s="transform",n=o(e).transformCache[r];else{if(w.Hooks.registered[r]){var l=r,c=w.Hooks.getRoot(r);a=a||w.getPropertyValue(e,c),n=w.Hooks.injectValue(l,n,a),r=c}if(w.Normalizations.registered[r]&&(n=w.Normalizations.registered[r]("inject",e,n),r=w.Normalizations.registered[r]("name",e)),s=w.Names.prefixCheck(r)[0],d<=8)try{e.style[s]=n}catch(u){v.debug&&console.log("Browser does not support ["+n+"] for ["+s+"]")}else{var p=o(e);p&&p.isSVG&&w.Names.SVGAttribute(r)?e.setAttribute(r,n):e.style[s]=n}v.debug>=2&&console.log("Set "+r+" ("+s+"): "+n)}return[s,n]},flushTransformCache:function(e){var t="",r=o(e);if((d||v.State.isAndroid&&!v.State.isChrome)&&r&&r.isSVG){var n=function(t){return parseFloat(w.getPropertyValue(e,t))},a={translate:[n("translateX"),n("translateY")],skewX:[n("skewX")],skewY:[n("skewY")],scale:1!==n("scale")?[n("scale"),n("scale")]:[n("scaleX"),n("scaleY")],rotate:[n("rotateZ"),0,0]};f.each(o(e).transformCache,function(e){/^translate/i.test(e)?e="translate":/^scale/i.test(e)?e="scale":/^rotate/i.test(e)&&(e="rotate"),a[e]&&(t+=e+"("+a[e].join(" ")+") ",delete a[e])})}else{var i,s;f.each(o(e).transformCache,function(r){return i=o(e).transformCache[r],"transformPerspective"===r?(s=i,!0):(9===d&&"rotateZ"===r&&(r="rotate"),void(t+=r+i+" "))}),s&&(t="perspective"+s+" "+t)}w.setPropertyValue(e,"transform",t)}};w.Hooks.register(),w.Normalizations.register(),v.hook=function(e,t,r){var a;return e=i(e),f.each(e,function(e,i){if(o(i)===n&&v.init(i),r===n)a===n&&(a=v.CSS.getPropertyValue(i,t));else{var s=v.CSS.setPropertyValue(i,t,r);"transform"===s[0]&&v.CSS.flushTransformCache(i),a=s}}),a};var x=function k(){function e(){return l?T.promise||null:d}function a(e,a){function i(i){var d,g;if(l.begin&&0===P)try{l.begin.call(b,b)}catch(h){setTimeout(function(){throw h},1)}if("scroll"===O){var x,k,N,E=/^x$/i.test(l.axis)?"Left":"Top",M=parseFloat(l.offset)||0;l.container?m.isWrapped(l.container)||m.isNode(l.container)?(l.container=l.container[0]||l.container,x=l.container["scroll"+E],N=x+f(e).position()[E.toLowerCase()]+M):l.container=null:(x=v.State.scrollAnchor[v.State["scrollProperty"+E]],k=v.State.scrollAnchor[v.State["scrollProperty"+("Left"===E?"Top":"Left")]],N=f(e).offset()[E.toLowerCase()]+M),p={scroll:{rootPropertyValue:!1,startValue:x,currentValue:x,endValue:N,unitType:"",easing:l.easing,scrollData:{container:l.container,direction:E,alternateValue:k}},element:e},v.debug&&console.log("tweensContainer (scroll): ",p.scroll,e)}else if("reverse"===O){if(d=o(e),!d)return;if(!d.tweensContainer)return void f.dequeue(e,l.queue);"none"===d.opts.display&&(d.opts.display="auto"),"hidden"===d.opts.visibility&&(d.opts.visibility="visible"),d.opts.loop=!1,d.opts.begin=null,d.opts.complete=null,S.easing||delete l.easing,S.duration||delete l.duration,l=f.extend({},d.opts,l),g=f.extend(!0,{},d?d.tweensContainer:null);for(var A in g)if("element"!==A){var I=g[A].startValue;g[A].startValue=g[A].currentValue=g[A].endValue,g[A].endValue=I,m.isEmptyObject(S)||(g[A].easing=l.easing),v.debug&&console.log("reverse tweensContainer ("+A+"): "+JSON.stringify(g[A]),e)}p=g}else if("start"===O){d=o(e),d&&d.tweensContainer&&d.isAnimating===!0&&(g=d.tweensContainer);var D=function(t,r){var i,o,s;return m.isArray(t)?(i=t[0],!m.isArray(t[1])&&/^[\d-]/.test(t[1])||m.isFunction(t[1])||w.RegEx.isHex.test(t[1])?s=t[1]:(m.isString(t[1])&&!w.RegEx.isHex.test(t[1])||m.isArray(t[1]))&&(o=r?t[1]:c(t[1],l.duration),t[2]!==n&&(s=t[2]))):i=t,r||(o=o||l.easing),m.isFunction(i)&&(i=i.call(e,a,C)),m.isFunction(s)&&(s=s.call(e,a,C)),[i||0,o,s]};f.each(y,function(e,t){if(RegExp("^"+w.Lists.colors.join("$|^")+"$").test(w.Names.camelCase(e))){var r=D(t,!0),a=r[0],i=r[1],o=r[2];if(w.RegEx.isHex.test(a)){for(var s=["Red","Green","Blue"],l=w.Values.hexToRgb(a),c=o?w.Values.hexToRgb(o):n,u=0;u<s.length;u++){var p=[l[u]];i&&p.push(i),c!==n&&p.push(c[u]),y[w.Names.camelCase(e)+s[u]]=p}delete y[e]}}});for(var L in y){var Line truncated
}function m(){var e="string"==typeof x.sL;if(e&&!C[x.sL])return t(N);var r=e?u(x.sL,N,!0,k[x.sL]):p(N,x.sL.length?x.sL:void 0);return x.r>0&&(E+=r.r),e&&(k[x.sL]=r.top),d(r.language,r.value,!1,!0)}function b(){P+=null!=x.sL?m():g(),N=""}function h(e){P+=e.cN?d(e.cN,"",!0):"",x=Object.create(e,{parent:{value:x}})}function y(e,t){if(N+=e,null==t)return b(),0;var r=o(t,x);if(r)return r.skip?N+=t:(r.eB&&(N+=t),b(),r.rB||r.eB||(N=t)),h(r,t),r.rB?0:t.length;var n=s(x,t);if(n){var a=x;a.skip?N+=t:(a.rE||a.eE||(N+=t),b(),a.eE&&(N=t));do x.cN&&(P+=T),x.skip||(E+=x.r),x=x.parent;while(x!==n.parent);return n.starts&&h(n.starts,""),a.rE?0:t.length}if(l(t,x))throw new Error('Illegal lexeme "'+t+'" for mode "'+(x.cN||"<unnamed>")+'"');return N+=t,t.length||1}var v=S(e);if(!v)throw new Error('Unknown language: "'+e+'"');c(v);var w,x=i||v,k={},P="";for(w=x;w!==v;w=w.parent)w.cN&&(P=d(w.cN,"",!0)+P);var N="",E=0;try{for(var M,A,I=0;x.t.lastIndex=I,M=x.t.exec(r),M;)A=y(r.substring(I,M.index),M[0]),I=M.index+A;for(y(r.substr(I)),w=x;w.parent;w=w.parent)w.cN&&(P+=T);return{r:E,value:P,language:e,top:x}}catch(D){if(D.message&&-1!==D.message.indexOf("Illegal"))return{r:0,value:t(r)};throw D}}function p(e,r){r=r||O.languages||x(C);var n={r:0,value:t(e)},a=n;return r.filter(S).forEach(function(t){var r=u(t,e,!1);r.language=t,r.r>a.r&&(a=r),r.r>n.r&&(a=n,n=r)}),a.language&&(n.second_best=a),n}function f(e){return O.tabReplace||O.useBR?e.replace(E,function(e,t){return O.useBR&&"\n"===e?"<br>":O.tabReplace?t.replace(/\t/g,O.tabReplace):void 0}):e}function d(e,t,r){var n=t?k[t]:r,a=[e.trim()];return e.match(/\bhljs\b/)||a.push("hljs"),-1===e.indexOf(n)&&a.push(n),a.join(" ").trim()}function g(e){var t,r,n,o,c,g=i(e);a(g)||(O.useBR?(t=document.createElementNS("http://www.w3.org/1999/xhtml","div"),t.innerHTML=e.innerHTML.replace(/\n/g,"").replace(/<br[ \/]*>/g,"\n")):t=e,c=t.textContent,n=g?u(g,c,!0):p(c),r=s(t),r.length&&(o=document.createElementNS("http://www.w3.org/1999/xhtml","div"),o.innerHTML=n.value,n.value=l(r,s(o),c)),n.value=f(n.value),e.innerHTML=n.value,e.className=d(e.className,g,n.language),e.result={language:n.language,re:n.r},n.second_best&&(e.second_best={language:n.second_best.language,re:n.second_best.r}))}function m(e){O=o(O,e)}function b(){if(!b.called){b.called=!0;var e=document.querySelectorAll("pre code");w.forEach.call(e,g)}}function h(){addEventListener("DOMContentLoaded",b,!1),addEventListener("load",b,!1)}function y(t,r){var n=C[t]=r(e);n.aliases&&n.aliases.forEach(function(e){k[e]=t})}function v(){return x(C)}function S(e){return e=(e||"").toLowerCase(),C[e]||C[k[e]]}var w=[],x=Object.keys,C={},k={},P=/^(no-?highlight|plain|text)$/i,N=/\blang(?:uage)?-([\w-]+)\b/i,E=/((^(<[^>]+>|\t|)+|(?:\n)))/gm,T="</span>",O={classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:void 0},M={"&":"&amp;","<":"&lt;",">":"&gt;"};return e.highlight=u,e.highlightAuto=p,e.fixMarkup=f,e.highlightBlock=g,e.configure=m,e.initHighlighting=b,e.initHighlightingOnLoad=h,e.registerLanguage=y,e.listLanguages=v,e.getLanguage=S,e.inherit=o,e.IR="[a-zA-Z]\\w*",e.UIR="[a-zA-Z_]\\w*",e.NR="\\b\\d+(\\.\\d+)?",e.CNR="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",e.BNR="\\b(0b[01]+)",e.RSR="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",e.BE={b:"\\\\[\\s\\S]",r:0},e.ASM={cN:"string",b:"'",e:"'",i:"\\n",c:[e.BE]},e.QSM={cN:"string",b:'"',e:'"',i:"\\n",c:[e.BE]},e.PWM={b:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|like)\b/},e.C=function(t,r,n){var a=e.inherit({cN:"comment",b:t,e:r,c:[]},n||{});return a.c.push(e.PWM),a.c.push({cN:"doctag",b:"(?:TODO|FIXME|NOTE|BUG|XXX):",r:0}),a},e.CLCM=e.C("//","$"),e.CBCM=e.C("/\\*","\\*/"),e.HCM=e.C("#","$"),e.NM={cN:"number",b:e.NR,r:0},e.CNM={cN:"number",b:e.CNR,r:0},e.BNM={cN:"number",b:e.BNR,r:0},e.CSSNM={cN:"number",b:e.NR+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",r:0},e.RM={cN:"regexp",b:/\//,e:/\/[gimuy]*/,i:/\n/,c:[e.BE,{b:/\[/,e:/\]/,r:0,c:[e.BE]}]},e.TM={cN:"title",b:e.IR,r:0},e.UTM={cN:"title",b:e.UIR,r:0},e.METHOD_GUARD={b:"\\.\\s*"+e.UIR,r:0},e}),hljs.registerLanguage("xml",function(e){var t="[A-Za-z0-9\\._:-]+",r={eW:!0,i:/</,r:0,c:[{cN:"attr",b:t,r:0},{b:/=\s*/,r:0,c:[{cN:"string",endsParent:!0,v:[{b:/"/,e:/"/},{b:/'/,e:/'/},{b:/[^\s"'=<>`]+/}]}]}]};return{aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist"],cI:!0,c:[{cN:"meta",b:"<!DOCTYPE",e:">",r:10,c:[{b:"\\[",e:"\\]"}]},e.C("<!--","-->",{r:10}),{b:"<\\!\\[CDATA\\[",e:"\\]\\]>",r:10},{b:/<\?(php)?/,e:/\?>/,sL:"php",c:[{b:"/\\*",e:"\\*/",skip:!0}]},{cN:"tag",b:"<style(?=\\s|>|$)",e:">",k:{name:"style"},c:[r],starts:{e:"</style>",rE:!0,sL:["css","xml"]}},{cN:"tag",b:"<script(?=\\s|>|$)",e:">",k:{name:"script"},c:[r],starts:{e:"</script>",rE:!0,sL:["actionscript","javascript","handlebaLine truncated
"use strict";function showTooltip(e,t){e.setAttribute("class","copy-button tooltipped tooltipped-s"),e.setAttribute("aria-label",t)}function fallbackMessage(e){var t="",r="cut"===e?"X":"C";return t=isMac?"Press ⌘-"+r:"Press Ctrl-"+r}var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(e){if("object"==("undefined"==typeof exports?"undefined":_typeof(exports))&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.Clipboard=e()}}(function(){var e;return function t(e,r,n){function a(o,s){if(!r[o]){if(!e[o]){var l="function"==typeof require&&require;if(!s&&l)return l(o,!0);if(i)return i(o,!0);var c=new Error("Cannot find module '"+o+"'");throw c.code="MODULE_NOT_FOUND",c}var u=r[o]={exports:{}};e[o][0].call(u.exports,function(t){var r=e[o][1][t];return a(r?r:t)},u,u.exports,t,e,r,n)}return r[o].exports}for(var i="function"==typeof require&&require,o=0;o<n.length;o++)a(n[o]);return a}({1:[function(e,t,r){var n=e("matches-selector");t.exports=function(e,t,r){for(var a=r?e:e.parentNode;a&&a!==document;){if(n(a,t))return a;a=a.parentNode}}},{"matches-selector":5}],2:[function(e,t,r){function n(e,t,r,n,i){var o=a.apply(this,arguments);return e.addEventListener(r,o,i),{destroy:function(){e.removeEventListener(r,o,i)}}}function a(e,t,r,n){return function(r){r.delegateTarget=i(r.target,t,!0),r.delegateTarget&&n.call(e,r)}}var i=e("closest");t.exports=n},{closest:1}],3:[function(e,t,r){r.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},r.nodeList=function(e){var t=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===t||"[object HTMLCollection]"===t)&&"length"in e&&(0===e.length||r.node(e[0]))},r.string=function(e){return"string"==typeof e||e instanceof String},r.fn=function(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t}},{}],4:[function(e,t,r){function n(e,t,r){if(!e&&!t&&!r)throw new Error("Missing required arguments");if(!s.string(t))throw new TypeError("Second argument must be a String");if(!s.fn(r))throw new TypeError("Third argument must be a Function");if(s.node(e))return a(e,t,r);if(s.nodeList(e))return i(e,t,r);if(s.string(e))return o(e,t,r);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function a(e,t,r){return e.addEventListener(t,r),{destroy:function(){e.removeEventListener(t,r)}}}function i(e,t,r){return Array.prototype.forEach.call(e,function(e){e.addEventListener(t,r)}),{destroy:function(){Array.prototype.forEach.call(e,function(e){e.removeEventListener(t,r)})}}}function o(e,t,r){return l(document.body,e,t,r)}var s=e("./is"),l=e("delegate");t.exports=n},{"./is":3,delegate:2}],5:[function(e,t,r){function n(e,t){if(i)return i.call(e,t);for(var r=e.parentNode.querySelectorAll(t),n=0;n<r.length;++n)if(r[n]==e)return!0;return!1}var a=Element.prototype,i=a.matchesSelector||a.webkitMatchesSelector||a.mozMatchesSelector||a.msMatchesSelector||a.oMatchesSelector;t.exports=n},{}],6:[function(e,t,r){function n(e){var t;if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName)e.focus(),e.setSelectionRange(0,e.value.length),t=e.value;else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),n=document.createRange();n.selectNodeContents(e),r.removeAllRanges(),r.addRange(n),t=r.toString()}return t}t.exports=n},{}],7:[function(e,t,r){function n(){}n.prototype={on:function(e,t,r){var n=this.e||(this.e={});return(n[e]||(n[e]=[])).push({fn:t,ctx:r}),this},once:function(e,t,r){function n(){a.off(e,n),t.apply(r,arguments)}var a=this;return n._=t,this.on(e,n,r)},emit:function(e){var t=[].slice.call(arguments,1),r=((this.e||(this.e={}))[e]||[]).slice(),n=0,a=r.length;for(n;a>n;n++)r[n].fn.apply(r[n].ctx,t);return this},off:function(e,t){var r=this.e||(this.e={}),n=r[e],a=[];if(n&&t)for(var i=0,o=n.length;o>i;i++)n[i].fn!==t&&n[i].fn._!==t&&a.push(n[i]);return a.length?r[e]=a:delete r[e],this}},t.exports=n},{}],8:[function(t,r,n){!function(a,i){if("function"==typeof e&&e.amd)e(["module","select"],i);else if("undefined"!=typeof n)i(r,t("select"));else{var o={exports:{}};i(o,a.select),a.clipboardAction=o.exports}}(this,function(e,t){function r(e){return e&&e.__esModule?e:{"default":e}}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=r(t),i="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return"undefined"==typeof e?"undefined":_typeof(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":"undefined"==typeof e?"undefined":_typeof(e)},o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"valueLine truncated
l=w.Hooks.extractValue(c,a)}else if(w.Normalizations.registered[r]){var p,g;p=w.Normalizations.registered[r]("name",e),"transform"!==p&&(g=s(e,w.Names.prefixCheck(p)[0]),w.Values.isCSSNullValue(g)&&w.Hooks.templates[r]&&(g=w.Hooks.templates[r][1])),l=w.Normalizations.registered[r]("extract",e,g)}if(!/^[\d-]/.test(l)){var m=o(e);if(m&&m.isSVG&&w.Names.SVGAttribute(r))if(/^(height|width)$/i.test(r))try{l=e.getBBox()[r]}catch(b){l=0}else l=e.getAttribute(r);else l=s(e,w.Names.prefixCheck(r)[0])}return w.Values.isCSSNullValue(l)&&(l=0),v.debug>=2&&console.log("Get "+r+": "+l),l},setPropertyValue:function(e,r,n,a,i){var s=r;if("scroll"===r)i.container?i.container["scroll"+i.direction]=n:"Left"===i.direction?t.scrollTo(n,i.alternateValue):t.scrollTo(i.alternateValue,n);else if(w.Normalizations.registered[r]&&"transform"===w.Normalizations.registered[r]("name",e))w.Normalizations.registered[r]("inject",e,n),s="transform",n=o(e).transformCache[r];else{if(w.Hooks.registered[r]){var l=r,c=w.Hooks.getRoot(r);a=a||w.getPropertyValue(e,c),n=w.Hooks.injectValue(l,n,a),r=c}if(w.Normalizations.registered[r]&&(n=w.Normalizations.registered[r]("inject",e,n),r=w.Normalizations.registered[r]("name",e)),s=w.Names.prefixCheck(r)[0],d<=8)try{e.style[s]=n}catch(u){v.debug&&console.log("Browser does not support ["+n+"] for ["+s+"]")}else{var p=o(e);p&&p.isSVG&&w.Names.SVGAttribute(r)?e.setAttribute(r,n):e.style[s]=n}v.debug>=2&&console.log("Set "+r+" ("+s+"): "+n)}return[s,n]},flushTransformCache:function(e){var t="",r=o(e);if((d||v.State.isAndroid&&!v.State.isChrome)&&r&&r.isSVG){var n=function(t){return parseFloat(w.getPropertyValue(e,t))},a={translate:[n("translateX"),n("translateY")],skewX:[n("skewX")],skewY:[n("skewY")],scale:1!==n("scale")?[n("scale"),n("scale")]:[n("scaleX"),n("scaleY")],rotate:[n("rotateZ"),0,0]};f.each(o(e).transformCache,function(e){/^translate/i.test(e)?e="translate":/^scale/i.test(e)?e="scale":/^rotate/i.test(e)&&(e="rotate"),a[e]&&(t+=e+"("+a[e].join(" ")+") ",delete a[e])})}else{var i,s;f.each(o(e).transformCache,function(r){return i=o(e).transformCache[r],"transformPerspective"===r?(s=i,!0):(9===d&&"rotateZ"===r&&(r="rotate"),void(t+=r+i+" "))}),s&&(t="perspective"+s+" "+t)}w.setPropertyValue(e,"transform",t)}};w.Hooks.register(),w.Normalizations.register(),v.hook=function(e,t,r){var a;return e=i(e),f.each(e,function(e,i){if(o(i)===n&&v.init(i),r===n)a===n&&(a=v.CSS.getPropertyValue(i,t));else{var s=v.CSS.setPropertyValue(i,t,r);"transform"===s[0]&&v.CSS.flushTransformCache(i),a=s}}),a};var x=function k(){function e(){return l?T.promise||null:d}function a(e,a){function i(i){var d,g;if(l.begin&&0===P)try{l.begin.call(b,b)}catch(h){setTimeout(function(){throw h},1)}if("scroll"===O){var x,k,N,E=/^x$/i.test(l.axis)?"Left":"Top",M=parseFloat(l.offset)||0;l.container?m.isWrapped(l.container)||m.isNode(l.container)?(l.container=l.container[0]||l.container,x=l.container["scroll"+E],N=x+f(e).position()[E.toLowerCase()]+M):l.container=null:(x=v.State.scrollAnchor[v.State["scrollProperty"+E]],k=v.State.scrollAnchor[v.State["scrollProperty"+("Left"===E?"Top":"Left")]],N=f(e).offset()[E.toLowerCase()]+M),p={scroll:{rootPropertyValue:!1,startValue:x,currentValue:x,endValue:N,unitType:"",easing:l.easing,scrollData:{container:l.container,direction:E,alternateValue:k}},element:e},v.debug&&console.log("tweensContainer (scroll): ",p.scroll,e)}else if("reverse"===O){if(d=o(e),!d)return;if(!d.tweensContainer)return void f.dequeue(e,l.queue);"none"===d.opts.display&&(d.opts.display="auto"),"hidden"===d.opts.visibility&&(d.opts.visibility="visible"),d.opts.loop=!1,d.opts.begin=null,d.opts.complete=null,S.easing||delete l.easing,S.duration||delete l.duration,l=f.extend({},d.opts,l),g=f.extend(!0,{},d?d.tweensContainer:null);for(var A in g)if("element"!==A){var I=g[A].startValue;g[A].startValue=g[A].currentValue=g[A].endValue,g[A].endValue=I,m.isEmptyObject(S)||(g[A].easing=l.easing),v.debug&&console.log("reverse tweensContainer ("+A+"): "+JSON.stringify(g[A]),e)}p=g}else if("start"===O){d=o(e),d&&d.tweensContainer&&d.isAnimating===!0&&(g=d.tweensContainer);var D=function(t,r){var i,o,s;return m.isArray(t)?(i=t[0],!m.isArray(t[1])&&/^[\d-]/.test(t[1])||m.isFunction(t[1])||w.RegEx.isHex.test(t[1])?s=t[1]:(m.isString(t[1])&&!w.RegEx.isHex.test(t[1])||m.isArray(t[1]))&&(o=r?t[1]:c(t[1],l.duration),t[2]!==n&&(s=t[2]))):i=t,r||(o=o||l.easing),m.isFunction(i)&&(i=i.call(e,a,C)),m.isFunction(s)&&(s=s.call(e,a,C)),[i||0,o,s]};f.each(y,function(e,t){if(RegExp("^"+w.Lists.colors.join("$|^")+"$").test(w.Names.camelCase(e))){var r=D(t,!0),a=r[0],i=r[1],o=r[2];if(w.RegEx.isHex.test(a)){for(var s=["Red","Green","Blue"],l=w.Values.hexToRgb(a),c=o?w.Values.hexToRgb(o):n,u=0;u<s.length;u++){var p=[l[u]];i&&p.push(i),c!==n&&p.push(c[u]),y[w.Names.camelCase(e)+s[u]]=p}delete y[e]}}});for(var L in y){var j=D(y[L]),X=j[0],Y=j[1],$=j[2];L=w.Names.camelCase(L);var F=w.Hooks.getRoot(L),z=!1;if(d&&d.isSVG||"tween"===F||w.Names.prefixCheck(F)[1]!==!Line truncated
d(r.language,r.value,!1,!0)}function b(){P+=null!=x.sL?m():g(),N=""}function h(e){P+=e.cN?d(e.cN,"",!0):"",x=Object.create(e,{parent:{value:x}})}function y(e,t){if(N+=e,null==t)return b(),0;var r=o(t,x);if(r)return r.skip?N+=t:(r.eB&&(N+=t),b(),r.rB||r.eB||(N=t)),h(r,t),r.rB?0:t.length;var n=s(x,t);if(n){var a=x;a.skip?N+=t:(a.rE||a.eE||(N+=t),b(),a.eE&&(N=t));do x.cN&&(P+=T),x.skip||(E+=x.r),x=x.parent;while(x!==n.parent);return n.starts&&h(n.starts,""),a.rE?0:t.length}if(l(t,x))throw new Error('Illegal lexeme "'+t+'" for mode "'+(x.cN||"<unnamed>")+'"');return N+=t,t.length||1}var v=S(e);if(!v)throw new Error('Unknown language: "'+e+'"');c(v);var w,x=i||v,k={},P="";for(w=x;w!==v;w=w.parent)w.cN&&(P=d(w.cN,"",!0)+P);var N="",E=0;try{for(var M,A,I=0;x.t.lastIndex=I,M=x.t.exec(r),M;)A=y(r.substring(I,M.index),M[0]),I=M.index+A;for(y(r.substr(I)),w=x;w.parent;w=w.parent)w.cN&&(P+=T);return{r:E,value:P,language:e,top:x}}catch(D){if(D.message&&-1!==D.message.indexOf("Illegal"))return{r:0,value:t(r)};throw D}}function p(e,r){r=r||O.languages||x(C);var n={r:0,value:t(e)},a=n;return r.filter(S).forEach(function(t){var r=u(t,e,!1);r.language=t,r.r>a.r&&(a=r),r.r>n.r&&(a=n,n=r)}),a.language&&(n.second_best=a),n}function f(e){return O.tabReplace||O.useBR?e.replace(E,function(e,t){return O.useBR&&"\n"===e?"<br>":O.tabReplace?t.replace(/\t/g,O.tabReplace):void 0}):e}function d(e,t,r){var n=t?k[t]:r,a=[e.trim()];return e.match(/\bhljs\b/)||a.push("hljs"),-1===e.indexOf(n)&&a.push(n),a.join(" ").trim()}function g(e){var t,r,n,o,c,g=i(e);a(g)||(O.useBR?(t=document.createElementNS("http://www.w3.org/1999/xhtml","div"),t.innerHTML=e.innerHTML.replace(/\n/g,"").replace(/<br[ \/]*>/g,"\n")):t=e,c=t.textContent,n=g?u(g,c,!0):p(c),r=s(t),r.length&&(o=document.createElementNS("http://www.w3.org/1999/xhtml","div"),o.innerHTML=n.value,n.value=l(r,s(o),c)),n.value=f(n.value),e.innerHTML=n.value,e.className=d(e.className,g,n.language),e.result={language:n.language,re:n.r},n.second_best&&(e.second_best={language:n.second_best.language,re:n.second_best.r}))}function m(e){O=o(O,e)}function b(){if(!b.called){b.called=!0;var e=document.querySelectorAll("pre code");w.forEach.call(e,g)}}function h(){addEventListener("DOMContentLoaded",b,!1),addEventListener("load",b,!1)}function y(t,r){var n=C[t]=r(e);n.aliases&&n.aliases.forEach(function(e){k[e]=t})}function v(){return x(C)}function S(e){return e=(e||"").toLowerCase(),C[e]||C[k[e]]}var w=[],x=Object.keys,C={},k={},P=/^(no-?highlight|plain|text)$/i,N=/\blang(?:uage)?-([\w-]+)\b/i,E=/((^(<[^>]+>|\t|)+|(?:\n)))/gm,T="</span>",O={classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:void 0},M={"&":"&amp;","<":"&lt;",">":"&gt;"};return e.highlight=u,e.highlightAuto=p,e.fixMarkup=f,e.highlightBlock=g,e.configure=m,e.initHighlighting=b,e.initHighlightingOnLoad=h,e.registerLanguage=y,e.listLanguages=v,e.getLanguage=S,e.inherit=o,e.IR="[a-zA-Z]\\w*",e.UIR="[a-zA-Z_]\\w*",e.NR="\\b\\d+(\\.\\d+)?",e.CNR="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",e.BNR="\\b(0b[01]+)",e.RSR="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",e.BE={b:"\\\\[\\s\\S]",r:0},e.ASM={cN:"string",b:"'",e:"'",i:"\\n",c:[e.BE]},e.QSM={cN:"string",b:'"',e:'"',i:"\\n",c:[e.BE]},e.PWM={b:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|like)\b/},e.C=function(t,r,n){var a=e.inherit({cN:"comment",b:t,e:r,c:[]},n||{});return a.c.push(e.PWM),a.c.push({cN:"doctag",b:"(?:TODO|FIXME|NOTE|BUG|XXX):",r:0}),a},e.CLCM=e.C("//","$"),e.CBCM=e.C("/\\*","\\*/"),e.HCM=e.C("#","$"),e.NM={cN:"number",b:e.NR,r:0},e.CNM={cN:"number",b:e.CNR,r:0},e.BNM={cN:"number",b:e.BNR,r:0},e.CSSNM={cN:"number",b:e.NR+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",r:0},e.RM={cN:"regexp",b:/\//,e:/\/[gimuy]*/,i:/\n/,c:[e.BE,{b:/\[/,e:/\]/,r:0,c:[e.BE]}]},e.TM={cN:"title",b:e.IR,r:0},e.UTM={cN:"title",b:e.UIR,r:0},e.METHOD_GUARD={b:"\\.\\s*"+e.UIR,r:0},e}),hljs.registerLanguage("xml",function(e){var t="[A-Za-z0-9\\._:-]+",r={eW:!0,i:/</,r:0,c:[{cN:"attr",b:t,r:0},{b:/=\s*/,r:0,c:[{cN:"string",endsParent:!0,v:[{b:/"/,e:/"/},{b:/'/,e:/'/},{b:/[^\s"'=<>`]+/}]}]}]};return{aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist"],cI:!0,c:[{cN:"meta",b:"<!DOCTYPE",e:">",r:10,c:[{b:"\\[",e:"\\]"}]},e.C("<!--","-->",{r:10}),{b:"<\\!\\[CDATA\\[",e:"\\]\\]>",r:10},{b:/<\?(php)?/,e:/\?>/,sL:"php",c:[{b:"/\\*",e:"\\*/",skip:!0}]},{cN:"tag",b:"<style(?=\\s|>|$)",e:">",k:{name:"style"},c:[r],starts:{e:"</style>",rE:!0,sL:["css","xml"]}},{cN:"tag",b:"<script(?=\\s|>|$)",e:">",k:{name:"script"},c:[r],starts:{e:"</script>",rE:!0,sL:["actionscript","javascript","handlebars","xml"]}},{cN:"meta",v:[{b:/<\?xml/,e:/\?>/,r:10},{b:/<\?\w+/,e:/\?>/}]},{cN:"tag",b:"</?",e:"/?>",c:[{cN:"name",b:/[^\/><\s]+/,r:0},r]}]}}),hljs.registerLanguage("maLine truncated