diff options
Diffstat (limited to '')
143 files changed, 8107 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c75eecc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/public diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..00e77bd --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,6 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- + diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..d21d69d --- /dev/null +++ b/config.toml @@ -0,0 +1,171 @@ +baseURL = "http://localhost:1313/" +languageCode = "en" +defaultContentLanguage = "en" # en / zh-cn / ... (This field determines which i18n file to use) +title = "capotej.com" +enableRobotsTXT = true +enableEmoji = true +theme = "even" + +preserveTaxonomyNames = true +hasCJKLanguage = false # has chinese/japanese/korean ? # 自动检测是否包含 中文\日文\韩文 +paginate = 5 # 首页每页显示的文章数 +disqusShortname = "" # disqus_shortname +googleAnalytics = "" # UA-XXXXXXXX-X +copyright = "" # default: author.name ↓ # 默认为下面配置的author.name ↓ + +[author] # essential # 必需 + name = "Julio Capote" + +[sitemap] # essential # 必需 + changefreq = "weekly" + priority = 0.5 + filename = "sitemap.xml" + +[[menu.main]] # config your menu # 配置目录 + name = "Home" + weight = 10 + identifier = "home" + url = "/" +[[menu.main]] + name = "Archives" + weight = 20 + identifier = "archives" + url = "/post/" +[[menu.main]] + name = "Tags" + weight = 30 + identifier = "tags" + url = "/tags/" + +[params] + version = "3.x" # Used to give a friendly message when you have an incompatible update + debug = false # If true, load `eruda.min.js`. See https://github.com/liriliri/eruda + + since = "2008" # Site creation time # 站点建立时间 + + # site info (optional) # 站点信息(可选,不需要的可以直接注释掉) + logoTitle = "@capotej" # default: the title value # 默认值: 上面设置的title值 + keywords = ["Hugo", "theme","even"] + description = "Hugo theme even example site." + + # paginate of archives, tags and categories # 归档、标签、分类每页显示的文章数目,建议修改为一个较大的值 + archivePaginate = 5 + + # show 'xx Posts In Total' in archive page ? # 是否在归档页显示文章的总数 + showArchiveCount = false + + # The date format to use; for a list of valid formats, see https://gohugo.io/functions/format/ + dateFormatToUse = "2006-01-02" + + # show word count and read time ? # 是否显示字数统计与阅读时间 + moreMeta = false + + # 一些全局开关,你也可以在每一篇内容的 front matter 中针对单篇内容关闭或开启某些功能,在 archetypes/default.md 查看更多信息。 + # Some global options, you can also close or open something in front matter for a single post, see more information from `archetypes/default.md`. + toc = true # 是否开启目录 + autoCollapseToc = false # Auto expand and collapse toc # 目录自动展开/折叠 + fancybox = true # see https://github.com/fancyapps/fancybox # 是否启用fancybox(图片可点击) + mathjax = false # see https://www.mathjax.org/ # 是否使用mathjax(数学公式) + mathjaxEnableSingleDollar = false # 是否使用 $...$ 即可進行inline latex渲染 + mathjaxEnableAutoNumber = false # 是否使用公式自动编号 + + postMetaInFooter = true # contain author, lastMod, markdown link, license # 包含作者,上次修改时间,markdown链接,许可信息 + linkToMarkDown = false # Only effective when hugo will output .md files. # 链接到markdown原始文件(仅当允许hugo生成markdown文件时有效) + contentCopyright = '' # e.g. '<a rel="license noopener" href="https://creativecommons.org/licenses/by-nc-nd/4.0/" target="_blank">CC BY-NC-ND 4.0</a>' + + changyanAppid = "" # Changyan app id # 畅言 + changyanAppkey = "" # Changyan app key + livereUID = "" # LiveRe UID # 来必力 + baidu_push = false # baidu push # 百度 + baidu_analytics = "" # Baidu Analytics + baidu_verification = "" # Baidu Verification + google_verification = "" # Google_Verification # 谷歌 + + # Link custom CSS and JS assets + # (relative to /static/css and /static/js respectively) + customCSS = ["logo.css"] + customJS = [] + + [params.publicCDN] # load these files from public cdn # 启用公共CDN,需自行定义 + enable = false + jquery = '<script src="https://cdn.jsdelivr.net/npm/jquery@3.2.1/dist/jquery.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>' + slideout = '<script src="https://cdn.jsdelivr.net/npm/slideout@1.0.1/dist/slideout.min.js" integrity="sha256-t+zJ/g8/KXIJMjSVQdnibt4dlaDxc9zXr/9oNPeWqdg=" crossorigin="anonymous"></script>' + fancyboxJs = '<script src="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.1.20/dist/jquery.fancybox.min.js" integrity="sha256-XVLffZaxoWfGUEbdzuLi7pwaUJv1cecsQJQqGLe7axY=" crossorigin="anonymous"></script>' + fancyboxCss = '<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.1.20/dist/jquery.fancybox.min.css" integrity="sha256-7TyXnr2YU040zfSP+rEcz29ggW4j56/ujTPwjMzyqFY=" crossorigin="anonymous">' + gitmentJS = '<script src="https://cdn.jsdelivr.net/npm/gitment@0.0.3/dist/gitment.browser.min.js" crossorigin="anonymous"></script>' + gitmentCSS = '<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/gitment@0.0.3/style/default.min.css" crossorigin="anonymous">' + gitalkJS = '<script src="https://cdn.jsdelivr.net/npm/gitalk@1.2.2/dist/gitalk.min.js" integrity="sha256-DcjhdbufsHMHflFjZtKNFnPKOAL2ybOxGcPOR4MtnJg=" crossorigin="anonymous"></script>' + gitalkCSS = '<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/gitalk@1.2.2/dist/gitalk.css" integrity="sha256-rJVe5uyYRXdLM+Kkoj7JtN+9qI0bZTxkYTaNWODpg7U=" crossorigin="anonymous">' + timeagoJS = '<script src="https://cdn.jsdelivr.net/npm/timeago.js@3.0.2/dist/timeago.min.js" integrity="sha256-jwCP0NAdCBloaIWTWHmW4i3snUNMHUNO+jr9rYd2iOI=" crossorigin="anonymous"></script>' + timeagoLocalesJS = '<script src="https://cdn.jsdelivr.net/npm/timeago.js@3.0.2/dist/timeago.locales.min.js" integrity="sha256-ZwofwC1Lf/faQCzN7nZtfijVV6hSwxjQMwXL4gn9qU8=" crossorigin="anonymous"></script>' + + # Display a message at the beginning of an article to warn the readers that it's content may be outdated. + # 在文章开头显示提示信息,提醒读者文章内容可能过时。 + [params.outdatedInfoWarning] + enable = false + hint = 30 # Display hint if the last modified time is more than these days ago. # 如果文章最后更新于这天数之前,显示提醒 + warn = 180 # Display warning if the last modified time is more than these days ago. # 如果文章最后更新于这天数之前,显示警告 + + [params.gitment] # Gitment is a comment system based on GitHub issues. see https://github.com/imsun/gitment + owner = "" # Your GitHub ID + repo = "" # The repo to store comments + clientId = "" # Your client ID + clientSecret = "" # Your client secret + + [params.gitalk] # Gitalk is a comment system based on GitHub issues. see https://github.com/gitalk/gitalk + owner = "" # Your GitHub ID + repo = "" # The repo to store comments + clientId = "" # Your client ID + clientSecret = "" # Your client secret + + [params.flowchartDiagrams]# see https://blog.olowolo.com/example-site/post/js-flowchart-diagrams/ + enable = false + options = "" + + [params.sequenceDiagrams] # see https://blog.olowolo.com/example-site/post/js-sequence-diagrams/ + enable = false + options = "" # default: "{theme: 'simple'}" + + [params.busuanzi] # count web traffic by busuanzi # 是否使用不蒜子统计站点访问量 + enable = false + siteUV = true + sitePV = true + pagePV = true + + [params.reward] # 文章打赏 + enable = false + wechat = "/path/to/your/wechat-qr-code.png" # 微信二维码 + alipay = "/path/to/your/alipay-qr-code.png" # 支付宝二维码 + + # [params.social] # 社交链接 + # a-email = "mailto:your@email.com" + # b-stack-overflow = "http://localhost:1313" + # c-twitter = "http://localhost:1313" + # d-facebook = "http://localhost:1313" + # e-linkedin = "http://localhost:1313" + # f-google = "http://localhost:1313" + # g-github = "http://localhost:1313" + # h-weibo = "http://localhost:1313" + # i-zhihu = "http://localhost:1313" + # j-douban = "http://localhost:1313" + # k-pocket = "http://localhost:1313" + # l-tumblr = "http://localhost:1313" + # m-instagram = "http://localhost:1313" + +# 将下面这段配置取消注释可以使 hugo 生成 .md 文件 +# Uncomment these options to make hugo output .md files. +#[mediaTypes] +# [mediaTypes."text/plain"] +# suffix = "md" +# +#[outputFormats.MarkDown] +# mediaType = "text/plain" +# isPlainText = true +# isHTML = false +# +#[outputs] +# home = ["HTML", "RSS"] +# page = ["HTML", "MarkDown"] +# section = ["HTML", "RSS"] +# taxonomy = ["HTML", "RSS"] +# taxonomyTerm = ["HTML"] diff --git a/content/post/2014-02-24-tmux-session-coloring.markdown b/content/post/2014-02-24-tmux-session-coloring.markdown new file mode 100644 index 0000000..425648a --- /dev/null +++ b/content/post/2014-02-24-tmux-session-coloring.markdown @@ -0,0 +1,40 @@ +--- +layout: post +title: "Tmux session coloring" +date: 2014-02-24 08:30 +date: 2014-02-24T00:00:00Z +comments: true +tags: ["shell scripting", "tmux"] +--- + +Recently, I've really gotten into tmux for managing all my terminal sessions/windows. Not so much for the panes, but more for keeping a highly contextual environment per project or task. + +As the number of sessions grew, they became difficult to tell apart. For a few days now, I've had the idea of hashing the name of the session into a unique color, so that every session had its own `status-bg` color. + +First, the `tmuxHashColor` function: + +```sh +tmuxHashColor() { + local hsh=$(echo $1 | cksum | cut -d ' ' -f 1) + local num=$(expr $hsh % 255) + echo "colour$num" +} +``` + +In our `ns` function (new session), we hash the supplied session name to a color, then use `tmux send-keys` to set its `status-bg` color to it: + +```sh +ns() { + if [ -z $1 ]; then + 1=$(basename $(pwd)) + fi + tmux new-session -d -s $1 + local color=$(tmuxHashColor $1) + tmux send-keys -t $1 "tmux set-option status-bg $color" C-m + tmux send-keys -t $1 "clear" C-m + tmux attach -t $1 +} + +``` + +Now every session has it's own distinct `status-bg` color! diff --git a/list.html b/list.html new file mode 100644 index 0000000..0fcf803 --- /dev/null +++ b/list.html @@ -0,0 +1,35 @@ +<!-- same as index.html for tags listing --> +<div class="container"> + {{ partial "header" . }} + {{ partial "nav" . }} + <main class="container"> + {{ if .Pages }} + {{ range (.Paginate (.Pages.GroupByDate "2006")).PageGroups}} + <h1 class="title is-3">{{ .Key }}</h1> + {{ range where .Pages "Section" "posts" }} + <article class="columns"> + <div class="column is-2"> + <h6 class="is-inline" style="white-space: nowrap">{{ .Date.Format "Jan 2" }}</h2> + </div> + <div class="column"> + <h2 class="subtitle is-inline is-size-4-mobile is-size-3-desktop"><a href="{{ .Permalink }}">{{ .Title }}</a>{{ if .Draft }} ::Draft{{ end }}</h1> + <div class="content is-hidden-mobile"> + {{ .Summary | plainify | safeHTML | truncate 400 }} + {{ if .Truncated }} + <br> + <a class="button is-marginless is-paddingless" href="{{ .Permalink }}"> + <span class="icon-link is-small" style="line-height: 100%"> + <i class="fa fa-angle-double-right" aria-hidden="true"></i> + </span> + <p style="padding:0 5px"></p>more</p> + </a> + {{ end }} + </div> + </article> + {{ end }} + {{ end }} + {{ end }} + </main> + {{ partial "pager" . }} + {{ partial "footer" . }} +</div>
\ No newline at end of file diff --git a/resources/_gen/assets/scss/scss/tale.scss_5ad6f408b0e3e473c748aac88af0ea18.content b/resources/_gen/assets/scss/scss/tale.scss_5ad6f408b0e3e473c748aac88af0ea18.content new file mode 100644 index 0000000..372753d --- /dev/null +++ b/resources/_gen/assets/scss/scss/tale.scss_5ad6f408b0e3e473c748aac88af0ea18.content @@ -0,0 +1,520 @@ +* { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + line-height: 1.5; } + +html, +body { + color: #555; + margin: 0; + padding: 0; } + +html { + font-family: "Libre Baskerville", "Times New Roman", Times, serif; + font-size: 14px; + overflow-y: scroll; } + @media (min-width: 600px) { + html { + font-size: 16px; } } + +body { + -webkit-text-size-adjust: 100%; } + +h1, +h2, +h3, +h4, +h5, +h6 { + color: #353535; + font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, sans-serif; + line-height: normal; } + +a { + color: #4a9ae1; + text-decoration: none; } + +blockquote { + border-left: 0.25rem solid #e5e5e5; + color: #979797; + margin: .8rem 0; + padding: .5rem 1rem; } + blockquote p:last-child { + margin-bottom: 0; } + @media (min-width: 600px) { + blockquote { + padding: 0 5rem 0 1.25rem; } } + +img { + display: block; + margin: 0 0 1rem; + max-width: 100%; } + +td { + vertical-align: top; } + +pre, +code { + font-family: Menlo, Monaco, monospace; } + +code { + background-color: #f9f9f9; + border-radius: 3px; + color: #bf616a; + font-size: 85%; + padding: .25em .5em; } + +pre { + margin: 0 0 1rem; } + +pre code { + background-color: transparent; + color: inherit; + font-size: 100%; + padding: 0; } + +.highlight { + background-color: #f9f9f9; + border-radius: 3px; + line-height: 1.4; + margin: 0 0 1rem; + padding: 1rem; } + .highlight pre { + margin-bottom: 0; + overflow-x: auto; } + .highlight .lineno { + color: #aaa; + display: inline-block; + padding: 0 .75rem 0 .25rem; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; } + +.post { + padding: 3rem 0; } + .post-info { + color: #aaa; + font-family: Palatino, "Palatino LT STD", "Palatino Linotype", "Book Antiqua", "Georgia", serif; + letter-spacing: 0.5px; + text-align: center; } + .post-info span { + font-style: italic; } + .post-title { + color: #353535; + font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, sans-serif; + font-size: 4rem; + margin: 1rem 0; + text-align: center; } + .post-line { + border-top: 0.4rem solid #353535; + display: block; + margin: 0 auto 3rem; + width: 4rem; } + .post p { + margin: 0 0 1rem; + text-align: justify; } + .post a:hover { + text-decoration: underline; } + .post img { + margin: 0 auto 0.5rem; } + .post img + em { + color: #aaa; + display: block; + font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, sans-serif; + font-size: 0.9rem; + font-style: normal; + text-align: center; } + .post img.emoji { + display: inline-block; + left: 0; + transform: none; + width: 1rem; + height: 1rem; + vertical-align: text-top; + padding: 0; + margin: 0; } + +.highlight .hll { + background-color: #ffc; } + +.highlight .c { + color: #999; } + +/* Comment */ +.highlight .err { + color: #a00; + background-color: #faa; } + +/* Error */ +.highlight .k { + color: #069; } + +/* Keyword */ +.highlight .o { + color: #555; } + +/* Operator */ +.highlight .cm { + color: #09f; + font-style: italic; } + +/* Comment.Multiline */ +.highlight .cp { + color: #099; } + +/* Comment.Preproc */ +.highlight .c1 { + color: #999; } + +/* Comment.Single */ +.highlight .cs { + color: #999; } + +/* Comment.Special */ +.highlight .gd { + background-color: #fcc; + border: 1px solid #c00; } + +/* Generic.Deleted */ +.highlight .ge { + font-style: italic; } + +/* Generic.Emph */ +.highlight .gr { + color: #f00; } + +/* Generic.Error */ +.highlight .gh { + color: #030; } + +/* Generic.Heading */ +.highlight .gi { + background-color: #cfc; + border: 1px solid #0c0; } + +/* Generic.Inserted */ +.highlight .go { + color: #aaa; } + +/* Generic.Output */ +.highlight .gp { + color: #009; } + +/* Generic.Prompt */ +/* Generic.Strong */ +.highlight .gu { + color: #030; } + +/* Generic.Subheading */ +.highlight .gt { + color: #9c6; } + +/* Generic.Traceback */ +.highlight .kc { + color: #069; } + +/* Keyword.Constant */ +.highlight .kd { + color: #069; } + +/* Keyword.Declaration */ +.highlight .kn { + color: #069; } + +/* Keyword.Namespace */ +.highlight .kp { + color: #069; } + +/* Keyword.Pseudo */ +.highlight .kr { + color: #069; } + +/* Keyword.Reserved */ +.highlight .kt { + color: #078; } + +/* Keyword.Type */ +.highlight .m { + color: #f60; } + +/* Literal.Number */ +.highlight .s { + color: #d44950; } + +/* Literal.String */ +.highlight .na { + color: #4f9fcf; } + +/* Name.Attribute */ +.highlight .nb { + color: #366; } + +/* Name.Builtin */ +.highlight .nc { + color: #0a8; } + +/* Name.Class */ +.highlight .no { + color: #360; } + +/* Name.Constant */ +.highlight .nd { + color: #99f; } + +/* Name.Decorator */ +.highlight .ni { + color: #999; } + +/* Name.Entity */ +.highlight .ne { + color: #c00; } + +/* Name.Exception */ +.highlight .nf { + color: #c0f; } + +/* Name.Function */ +.highlight .nl { + color: #99f; } + +/* Name.Label */ +.highlight .nn { + color: #0cf; } + +/* Name.Namespace */ +.highlight .nt { + color: #2f6f9f; } + +/* Name.Tag */ +.highlight .nv { + color: #033; } + +/* Name.Variable */ +.highlight .ow { + color: #000; } + +/* Operator.Word */ +.highlight .w { + color: #bbb; } + +/* Text.Whitespace */ +.highlight .mf { + color: #f60; } + +/* Literal.Number.Float */ +.highlight .mh { + color: #f60; } + +/* Literal.Number.Hex */ +.highlight .mi { + color: #f60; } + +/* Literal.Number.Integer */ +.highlight .mo { + color: #f60; } + +/* Literal.Number.Oct */ +.highlight .sb { + color: #c30; } + +/* Literal.String.Backtick */ +.highlight .sc { + color: #c30; } + +/* Literal.String.Char */ +.highlight .sd { + color: #c30; + font-style: italic; } + +/* Literal.String.Doc */ +.highlight .s2 { + color: #c30; } + +/* Literal.String.Double */ +.highlight .se { + color: #c30; } + +/* Literal.String.Escape */ +.highlight .sh { + color: #c30; } + +/* Literal.String.Heredoc */ +.highlight .si { + color: #a00; } + +/* Literal.String.Interpol */ +.highlight .sx { + color: #c30; } + +/* Literal.String.Other */ +.highlight .sr { + color: #3aa; } + +/* Literal.String.Regex */ +.highlight .s1 { + color: #c30; } + +/* Literal.String.Single */ +.highlight .ss { + color: #fc3; } + +/* Literal.String.Symbol */ +.highlight .bp { + color: #366; } + +/* Name.Builtin.Pseudo */ +.highlight .vc { + color: #033; } + +/* Name.Variable.Class */ +.highlight .vg { + color: #033; } + +/* Name.Variable.Global */ +.highlight .vi { + color: #033; } + +/* Name.Variable.Instance */ +.highlight .il { + color: #f60; } + +/* Literal.Number.Integer.Long */ +.css .o, +.css .o + .nt, +.css .nt + .nt { + color: #999; } + +.container { + margin: 0 auto; + max-width: 800px; + width: 80%; } + +main, +footer, +.nav-container { + display: block; + margin: 0 auto; + max-width: 800px; + width: 80%; } + +.nav { + box-shadow: 0 2px 2px -2px rgba(0, 0, 0, 0.2); + overflow: auto; } + .nav-container { + margin: 1rem auto; + position: relative; + text-align: center; } + .nav-title { + -webkit-transition: all 0.2s ease-out; + -moz-transition: all 0.2s ease-out; + transition: all 0.2s ease-out; + color: #555; + display: inline-block; + margin: 0; + padding-right: .2rem; } + .nav-title:hover, .nav-title:focus { + opacity: .6; } + .nav ul { + list-style-type: none; + margin: 1rem 0 0; + padding: 0; + text-align: center; } + .nav li { + -webkit-transition: all 0.2s ease-out; + -moz-transition: all 0.2s ease-out; + transition: all 0.2s ease-out; + color: #555; + display: inline-block; + opacity: .6; + padding: 0 2rem 0 0; } + .nav li:last-child { + padding-right: 0; } + .nav li:hover, .nav li:focus { + opacity: 1; } + .nav a { + color: #555; + font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, sans-serif; } + +@media (min-width: 600px) { + .nav-container { + text-align: left; } + .nav ul { + bottom: 0; + position: absolute; + right: 0; } } + +footer { + font-family: Palatino, "Palatino LT STD", "Palatino Linotype", "Book Antiqua", "Georgia", serif; + padding: 2rem 0; + text-align: center; } + footer span { + color: #555; + font-size: .8rem; } + +.pagination { + border-top: 0.5px solid #e5e5e5; + font-family: Palatino, "Palatino LT STD", "Palatino Linotype", "Book Antiqua", "Georgia", serif; + padding-top: 2rem; + position: relative; + text-align: center; } + .pagination span { + color: #353535; + font-size: 1.1rem; } + .pagination .top { + -webkit-transition: all 0.3s ease-out; + -moz-transition: all 0.3s ease-out; + transition: all 0.3s ease-out; + color: #555; + font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, sans-serif; + font-size: 1.1rem; + opacity: .6; } + .pagination .top:hover { + opacity: 1; } + .pagination .arrow { + -webkit-transition: all 0.3s ease-out; + -moz-transition: all 0.3s ease-out; + transition: all 0.3s ease-out; + color: #555; + position: absolute; } + .pagination .arrow:hover, .pagination .arrow:focus { + opacity: .6; + text-decoration: none; } + .pagination .left { + left: 0; } + .pagination .right { + right: 0; } + +.catalogue-item { + border-bottom: 1px solid #e5e5e5; + color: #555; + display: inline-block; + padding: 2rem 0; } + .catalogue-item:hover .catalogue-line, + .catalogue-item:focus .catalogue-line { + width: 5rem; } + .catalogue-item:last-child { + border: 0; } + +.catalogue-time { + color: #aaa; + font-family: Palatino, "Palatino LT STD", "Palatino Linotype", "Book Antiqua", "Georgia", serif; + letter-spacing: .5px; } + +.catalogue-title { + color: #353535; + display: block; + font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, sans-serif; + font-size: 2rem; + font-weight: 700; + margin: .5rem 0; } + +.catalogue-line { + -webkit-transition: all 0.3s ease-out; + -moz-transition: all 0.3s ease-out; + transition: all 0.3s ease-out; + border-top: 0.2rem solid #353535; + display: block; + width: 2rem; } + +/*# sourceMappingURL=style.css.map */
\ No newline at end of file diff --git a/resources/_gen/assets/scss/scss/tale.scss_5ad6f408b0e3e473c748aac88af0ea18.json b/resources/_gen/assets/scss/scss/tale.scss_5ad6f408b0e3e473c748aac88af0ea18.json new file mode 100644 index 0000000..28c014b --- /dev/null +++ b/resources/_gen/assets/scss/scss/tale.scss_5ad6f408b0e3e473c748aac88af0ea18.json @@ -0,0 +1 @@ +{"Target":"css/style.css","MediaType":"text/css","Data":{}}
\ No newline at end of file diff --git a/static/css/logo.css b/static/css/logo.css new file mode 100644 index 0000000..66acb28 --- /dev/null +++ b/static/css/logo.css @@ -0,0 +1,3 @@ +.header .logo-wrapper .logo { + font-family: sans-serif; +} diff --git a/themes/even/.gitignore b/themes/even/.gitignore new file mode 100644 index 0000000..6d8cd9d --- /dev/null +++ b/themes/even/.gitignore @@ -0,0 +1,2 @@ +/src/node_modules/ +/.idea/ diff --git a/themes/even/CHANGELOG.md b/themes/even/CHANGELOG.md new file mode 100644 index 0000000..e8eeaf8 --- /dev/null +++ b/themes/even/CHANGELOG.md @@ -0,0 +1,74 @@ +<a name="3.2.0"></a> +# [3.2.0](https://github.com/olOwOlo/hugo-theme-even/compare/v3.1.1...v3.2.0) (2018-07-06) + + +### Bug Fixes + +* **gist:** css conflict ([#61](https://github.com/olOwOlo/hugo-theme-even/issues/61)) ([e1781a2](https://github.com/olOwOlo/hugo-theme-even/commit/e1781a2)) +* **section:** remove hard coded `section` ([#67](https://github.com/olOwOlo/hugo-theme-even/issues/67)) ([6766e09](https://github.com/olOwOlo/hugo-theme-even/commit/6766e09)) + + +### Features + +* **mathjax:** add auto number for mathjax ([#53](https://github.com/olOwOlo/hugo-theme-even/issues/53)) ([af22a48](https://github.com/olOwOlo/hugo-theme-even/commit/af22a48)) +* **comment:** add gitalk ([#51](https://github.com/olOwOlo/hugo-theme-even/issues/51)) ([5f8b79f](https://github.com/olOwOlo/hugo-theme-even/commit/5f8b79f)) +* **config:** add option to hide header and footer for a post ([#58](https://github.com/olOwOlo/hugo-theme-even/issues/58)) ([094cfa5](https://github.com/olOwOlo/hugo-theme-even/commit/094cfa5)) +* **config:** configure to show archive count ([2c7773b](https://github.com/olOwOlo/hugo-theme-even/commit/2c7773b)), closes [#46](https://github.com/olOwOlo/hugo-theme-even/issues/46) +* **i18n:** add Spanish(es) translation ([#48](https://github.com/olOwOlo/hugo-theme-even/issues/48)) ([d7c6059](https://github.com/olOwOlo/hugo-theme-even/commit/d7c6059)) +* **post:** add out-of-date content warning ([#68](https://github.com/olOwOlo/hugo-theme-even/issues/68)) ([9033266](https://github.com/olOwOlo/hugo-theme-even/commit/9033266)) + + + +<a name="3.1.1"></a> + +# [3.1.1](https://github.com/olOwOlo/hugo-theme-even/compare/v3.1.0...v3.1.1) (2018-03-12) + +### Bug Fixes + +* release: version param ([b18086f](https://github.com/olOwOlo/hugo-theme-even/commit/b18086f)) + +<a name="3.1.0"></a> +# [3.1.0](https://github.com/olOwOlo/hugo-theme-even/compare/v3.0.0...v3.1.0) (2018-03-12) + + +### Bug Fixes + +* mathjax overflow for displayed mathematics ([#32](https://github.com/olOwOlo/hugo-theme-even/issues/32)) ([2b4a373](https://github.com/olOwOlo/hugo-theme-even/commit/2b4a373)) + + +### Features + +* add gitment module ([#36](https://github.com/olOwOlo/hugo-theme-even/issues/36)) ([1da110d](https://github.com/olOwOlo/hugo-theme-even/commit/1da110d)) +* add hiddenFromHomePage param ([#37](https://github.com/olOwOlo/hugo-theme-even/issues/37)) ([5277734](https://github.com/olOwOlo/hugo-theme-even/commit/5277734)) +* generate flowchart diagrams from code blocks ([#35](https://github.com/olOwOlo/hugo-theme-even/issues/35)) ([7043881](https://github.com/olOwOlo/hugo-theme-even/commit/7043881)) +* generate sequence diagrams from code blocks ([#35](https://github.com/olOwOlo/hugo-theme-even/issues/35)) ([5bcf92d](https://github.com/olOwOlo/hugo-theme-even/commit/5bcf92d)) +* support custom css and js ([#29](https://github.com/olOwOlo/hugo-theme-even/issues/29)) ([33594c0](https://github.com/olOwOlo/hugo-theme-even/commit/33594c0)) + + +# 3.0.0 + +### Features + +* feat: add `center`, `right`, `left` shortcodes +* feat: support 'right' and 'left' class value for the built-in `figure` + +### Breaking changes + +* See [Language Support](https://github.com/olOwOlo/hugo-theme-even#language-support). +* See [Favicon](https://github.com/olOwOlo/hugo-theme-even#favicon). +* Remove deprecated `bootcdn` param, you can use `[params.publicCDN]`. +* The `archive-paginate` param rename to `archivePaginate`. +* Add a `postMetaInFooter` parameter to control the `contentCopyright` container, and now you can show the author and lastMod information without displaying the license. +* There must be a `version` param, otherwise the build process will give an error. +* Minimum version required: 0.26 -> 0.35 + +```toml +# add +version = "3.x" # Used to give a friendly message when you have an incompatible update + +# add +postMetaInFooter = true + +# rename archive-paginate +archivePaginate = 50 +``` diff --git a/themes/even/LICENSE.md b/themes/even/LICENSE.md new file mode 100644 index 0000000..755e5c1 --- /dev/null +++ b/themes/even/LICENSE.md @@ -0,0 +1,20 @@ +The MIT License (MIT) + +Copyright (c) 2017 olOwOlo + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/themes/even/README-zh.md b/themes/even/README-zh.md new file mode 100644 index 0000000..cb5c133 --- /dev/null +++ b/themes/even/README-zh.md @@ -0,0 +1,90 @@ +# hugo-theme-even + +A super concise theme for Hugo + +> 该主题移植自 [hexo-theme-even](https://github.com/ahonn/hexo-theme-even) + +[在线预览 Demo](https://blog.olowolo.com/example-site/) + +## Screenshots + +![even-showcase](https://raw.githubusercontent.com/olOwOlo/hugo-theme-even/master/images/showcase.png) + +## Installation + +```bash +$ git clone https://github.com/olOwOlo/hugo-theme-even themes/even +``` + +**重要:** 在主题的 [`exampleSite`](https://github.com/olOwOlo/hugo-theme-even/tree/master/exampleSite) 目录下有一个 [`config.toml`](https://github.com/olOwOlo/hugo-theme-even/blob/master/exampleSite/config.toml) 文件,**将这个 [`config.toml`](https://github.com/olOwOlo/hugo-theme-even/blob/master/exampleSite/config.toml) 文件复制到你的站点目录下**,根据自己的需求更改即可。 + +**注意:** 对于这个主题,你应该使用 **post** 而不是 **posts**,即 `hugo new post/some-content.md`。 + +## Language Support + +> 翻译资源在 [`themes/even/i18n/`](https://github.com/olOwOlo/hugo-theme-even/tree/master/i18n) 文件夹(内置在主题中),以及站点根目录下的 `i18n/` 文件夹中。两个文件夹下的翻译资源将会被合并,且根目录下的优先级大于内置于主题中的。 + +只需要正确的设置 [`defaultContentLanguage`](https://github.com/olOwOlo/hugo-theme-even/blob/master/exampleSite/config.toml#L3) 的值即可使用翻译资源。 + +```toml +defaultContentLanguage = "en" # en / zh-cn / other... +``` + +同样也支持其他语言。举例来说,为支持德语,在站点根目录下创建 `/i18n/de.yaml` 文件。参考 [`en.yaml`](https://github.com/olOwOlo/hugo-theme-even/tree/master/i18n/en.yaml) 文件查看如何编写翻译资源。 + +附:在多语言模式下,当前正被用于渲染网站的语言会被用于匹配翻译资源。 + +## Favicon + +为了定制 favicon,你需要在站点根目录的 `static` 文件夹下放置下述**所有**文件,这将覆盖 [`themes/even/static/`](https://github.com/olOwOlo/hugo-theme-even/tree/master/static) 文件夹下的那些文件。 + +- android-chrome-192x192.png +- android-chrome-512x512.png +- apple-touch-icon.png +- browserconfig.xml +- favicon.ico +- favicon-16x16.png +- favicon-32x32.png +- manifest.json +- mstile-150x150.png +- safari-pinned-tab.svg + +[favicon generator (Google)](https://www.google.com/search?q=favicon+generator) 能够帮助你生成这些文件。 + +## Front Matter + +你可以通过 front-matter 针对每一篇文章单独进行设置。[`themes/even/archetypes/default.md`](https://github.com/olOwOlo/hugo-theme-even/tree/master/archetypes/default.md) 文件陈列了所有可用的参数。将该文件复制到站点根目录的 `archetypes` 文件夹下将会有所帮助。 + +## Shortcodes + +主题提供了 `center`,` right`, `left`,` music` 四种 shortcodes,并支持为内置的 `figure` 设置 `center`,` right`, `left` 这三种 class 值。点击[这里](https://blog.olowolo.com/example-site/post/shortcodes/)查看详细内容。 + +## Theme Color + +主题内置了五种颜色 ( Default | Mint Green | Cobalt Blue | Hot Pink | Dark Violet ),你可以通过改变 [`/src/css/_variable.scss`](https://github.com/olOwOlo/hugo-theme-even/blob/master/src/css/_variables.scss#L5-L8) 文件中 `$theme-color-config` 的值来改变主题的颜色。 + +## Build + +如果你更改了 `/src/` 目录下的任意文件,你需要重新编译它们。 +```bash +cd ./themes/even/src/ +npm install +npm run build +``` + +## Update Theme + +```bash +cd ./themes/even/ +git pull +``` + +## License + +Released under the [MIT](https://github.com/olOwOlo/hugo-theme-even/blob/master/LICENSE.md) License. + +## Acknowledgements + +- [ananke](https://github.com/budparr/gohugo-theme-ananke) +- [hexo-theme-even](https://github.com/ahonn/hexo-theme-even) +- [hugo-nuo](https://github.com/laozhu/hugo-nuo) diff --git a/themes/even/README.md b/themes/even/README.md new file mode 100644 index 0000000..45e43e1 --- /dev/null +++ b/themes/even/README.md @@ -0,0 +1,90 @@ +# hugo-theme-even + +A super concise theme for Hugo + +> It's a port of the [hexo-theme-even](https://github.com/ahonn/hexo-theme-even) + +[Demo](https://blog.olowolo.com/example-site/) | [中文说明](https://github.com/olOwOlo/hugo-theme-even/blob/master/README-zh.md) + +## Screenshots + +![even-showcase](https://raw.githubusercontent.com/olOwOlo/hugo-theme-even/master/images/showcase.png) + +## Installation + +```bash +$ git clone https://github.com/olOwOlo/hugo-theme-even themes/even +``` + +**Important:** Take a look inside the [`exampleSite`](https://github.com/olOwOlo/hugo-theme-even/tree/master/exampleSite) folder of this theme. You'll find a file called [`config.toml`](https://github.com/olOwOlo/hugo-theme-even/blob/master/exampleSite/config.toml). **To use it, copy the [`config.toml`](https://github.com/olOwOlo/hugo-theme-even/blob/master/exampleSite/config.toml) in the root folder of your Hugo site.** Feel free to change it. + +**NOTE:** For this theme, you should use **post** instead of **posts**, namely `hugo new post/some-content.md`. + +## Language Support + +> Translations are collected from the [`themes/even/i18n/`](https://github.com/olOwOlo/hugo-theme-even/tree/master/i18n) folder (built into the theme), as well as translations present in `i18n/` at the root of your project. The translations will be merged and take precedence over what is in the theme folder. + +To use the translations, just set a correct value for [`defaultContentLanguage`](https://github.com/olOwOlo/hugo-theme-even/blob/master/exampleSite/config.toml#L3). + +```toml +defaultContentLanguage = "en" # en / zh-cn / other... +``` + +Can also support any other languages as well. For example, to support german, create a file `/i18n/de.yaml` in the root folder of your Hugo site. For reference template you can see the [`en.yaml`](https://github.com/olOwOlo/hugo-theme-even/tree/master/i18n/en.yaml) file. + +P.S. In multilingual mode, the language which currently being used to render the website will be used. + +## Favicon + +In order to customize the favicon you need to place **all** the following files in the `static` folder at the root of your site, which will overwrite those files in the [`themes/even/static/`](https://github.com/olOwOlo/hugo-theme-even/tree/master/static) folder. + +- android-chrome-192x192.png +- android-chrome-512x512.png +- apple-touch-icon.png +- browserconfig.xml +- favicon.ico +- favicon-16x16.png +- favicon-32x32.png +- manifest.json +- mstile-150x150.png +- safari-pinned-tab.svg + +A [favicon generator](https://www.google.com/search?q=favicon+generator) can help you generate these files. + +## Front Matter + +You can customize something for a single content in the content's front-matter. The [`themes/even/archetypes/default.md`](https://github.com/olOwOlo/hugo-theme-even/tree/master/archetypes/default.md) shows all available params. Copy this file in the `archetypes` folder at the root of your project will be useful. + +## Shortcodes + +This theme provides `center`,` right`, `left`,` music` four shortcodes, and support `center`,` right`, `left` class for the built-in `figure`. See more information from [there](https://blog.olowolo.com/example-site/post/shortcodes/). + +## Theme Color + +There are five built-in theme colors ( Default | Mint Green | Cobalt Blue | Hot Pink | Dark Violet ), you can config it by changing the `$theme-color-config` value in [`/src/css/_variable.scss`](https://github.com/olOwOlo/hugo-theme-even/blob/master/src/css/_variables.scss#L5-L8). + +## Build + +If you changed any file under `/src/`, you need to rebuild. +```bash +cd ./themes/even/src/ +npm install +npm run build +``` + +## Update Theme + +```bash +cd ./themes/even/ +git pull +``` + +## License + +Released under the [MIT](https://github.com/olOwOlo/hugo-theme-even/blob/master/LICENSE.md) License. + +## Acknowledgements + +- [ananke](https://github.com/budparr/gohugo-theme-ananke) +- [hexo-theme-even](https://github.com/ahonn/hexo-theme-even) +- [hugo-nuo](https://github.com/laozhu/hugo-nuo) diff --git a/themes/even/archetypes/default.md b/themes/even/archetypes/default.md new file mode 100644 index 0000000..f4ff840 --- /dev/null +++ b/themes/even/archetypes/default.md @@ -0,0 +1,43 @@ +--- +title: "{{ replace .TranslationBaseName "-" " " | title }}" +date: {{ .Date }} +lastmod: {{ .Date }} +draft: true +keywords: [] +description: "" +tags: [] +categories: [] +author: "" + +# You can also close(false) or open(true) something for this content. +# P.S. comment can only be closed +comment: false +toc: false +autoCollapseToc: false +postMetaInFooter: false +hiddenFromHomePage: false +# You can also define another contentCopyright. e.g. contentCopyright: "This is another copyright." +contentCopyright: false +reward: false +mathjax: false +mathjaxEnableSingleDollar: false +mathjaxEnableAutoNumber: false + +# You unlisted posts you might want not want the header or footer to show +hideHeaderAndFooter: false + +# You can enable or disable out-of-date content warning for individual post. +# Comment this out to use the global config. +#enableOutdatedInfoWarning: false + +flowchartDiagrams: + enable: false + options: "" + +sequenceDiagrams: + enable: false + options: "" + +--- + +<!--more--> diff --git a/themes/even/exampleSite/config.toml b/themes/even/exampleSite/config.toml new file mode 100644 index 0000000..ebe80e4 --- /dev/null +++ b/themes/even/exampleSite/config.toml @@ -0,0 +1,176 @@ +baseURL = "http://localhost:1313/" +languageCode = "en" +defaultContentLanguage = "en" # en / zh-cn / ... (This field determines which i18n file to use) +title = "Even - A super concise theme for Hugo" +enableRobotsTXT = true +enableEmoji = true +theme = "even" + +preserveTaxonomyNames = true +hasCJKLanguage = true # has chinese/japanese/korean ? # 自动检测是否包含 中文\日文\韩文 +paginate = 5 # 首页每页显示的文章数 +disqusShortname = "" # disqus_shortname +googleAnalytics = "" # UA-XXXXXXXX-X +copyright = "" # default: author.name ↓ # 默认为下面配置的author.name ↓ + +[author] # essential # 必需 + name = "olOwOlo" + +[sitemap] # essential # 必需 + changefreq = "weekly" + priority = 0.5 + filename = "sitemap.xml" + +[[menu.main]] # config your menu # 配置目录 + name = "Home" + weight = 10 + identifier = "home" + url = "/" +[[menu.main]] + name = "Archives" + weight = 20 + identifier = "archives" + url = "/post/" +[[menu.main]] + name = "Tags" + weight = 30 + identifier = "tags" + url = "/tags/" +[[menu.main]] + name = "Categories" + weight = 40 + identifier = "categories" + url = "/categories/" + +[params] + version = "3.x" # Used to give a friendly message when you have an incompatible update + debug = false # If true, load `eruda.min.js`. See https://github.com/liriliri/eruda + + since = "2017" # Site creation time # 站点建立时间 + + # site info (optional) # 站点信息(可选,不需要的可以直接注释掉) + logoTitle = "Even" # default: the title value # 默认值: 上面设置的title值 + keywords = ["Hugo", "theme","even"] + description = "Hugo theme even example site." + + # paginate of archives, tags and categories # 归档、标签、分类每页显示的文章数目,建议修改为一个较大的值 + archivePaginate = 5 + + # show 'xx Posts In Total' in archive page ? # 是否在归档页显示文章的总数 + showArchiveCount = false + + # The date format to use; for a list of valid formats, see https://gohugo.io/functions/format/ + dateFormatToUse = "2006-01-02" + + # show word count and read time ? # 是否显示字数统计与阅读时间 + moreMeta = false + + # 一些全局开关,你也可以在每一篇内容的 front matter 中针对单篇内容关闭或开启某些功能,在 archetypes/default.md 查看更多信息。 + # Some global options, you can also close or open something in front matter for a single post, see more information from `archetypes/default.md`. + toc = true # 是否开启目录 + autoCollapseToc = false # Auto expand and collapse toc # 目录自动展开/折叠 + fancybox = true # see https://github.com/fancyapps/fancybox # 是否启用fancybox(图片可点击) + mathjax = false # see https://www.mathjax.org/ # 是否使用mathjax(数学公式) + mathjaxEnableSingleDollar = false # 是否使用 $...$ 即可進行inline latex渲染 + mathjaxEnableAutoNumber = false # 是否使用公式自动编号 + + postMetaInFooter = true # contain author, lastMod, markdown link, license # 包含作者,上次修改时间,markdown链接,许可信息 + linkToMarkDown = false # Only effective when hugo will output .md files. # 链接到markdown原始文件(仅当允许hugo生成markdown文件时有效) + contentCopyright = '' # e.g. '<a rel="license noopener" href="https://creativecommons.org/licenses/by-nc-nd/4.0/" target="_blank">CC BY-NC-ND 4.0</a>' + + changyanAppid = "" # Changyan app id # 畅言 + changyanAppkey = "" # Changyan app key + livereUID = "" # LiveRe UID # 来必力 + baidu_push = false # baidu push # 百度 + baidu_analytics = "" # Baidu Analytics + baidu_verification = "" # Baidu Verification + google_verification = "" # Google_Verification # 谷歌 + + # Link custom CSS and JS assets + # (relative to /static/css and /static/js respectively) + customCSS = [] + customJS = [] + + [params.publicCDN] # load these files from public cdn # 启用公共CDN,需自行定义 + enable = false + jquery = '<script src="https://cdn.jsdelivr.net/npm/jquery@3.2.1/dist/jquery.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>' + slideout = '<script src="https://cdn.jsdelivr.net/npm/slideout@1.0.1/dist/slideout.min.js" integrity="sha256-t+zJ/g8/KXIJMjSVQdnibt4dlaDxc9zXr/9oNPeWqdg=" crossorigin="anonymous"></script>' + fancyboxJs = '<script src="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.1.20/dist/jquery.fancybox.min.js" integrity="sha256-XVLffZaxoWfGUEbdzuLi7pwaUJv1cecsQJQqGLe7axY=" crossorigin="anonymous"></script>' + fancyboxCss = '<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.1.20/dist/jquery.fancybox.min.css" integrity="sha256-7TyXnr2YU040zfSP+rEcz29ggW4j56/ujTPwjMzyqFY=" crossorigin="anonymous">' + gitmentJS = '<script src="https://cdn.jsdelivr.net/npm/gitment@0.0.3/dist/gitment.browser.min.js" crossorigin="anonymous"></script>' + gitmentCSS = '<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/gitment@0.0.3/style/default.min.css" crossorigin="anonymous">' + gitalkJS = '<script src="https://cdn.jsdelivr.net/npm/gitalk@1.2.2/dist/gitalk.min.js" integrity="sha256-DcjhdbufsHMHflFjZtKNFnPKOAL2ybOxGcPOR4MtnJg=" crossorigin="anonymous"></script>' + gitalkCSS = '<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/gitalk@1.2.2/dist/gitalk.css" integrity="sha256-rJVe5uyYRXdLM+Kkoj7JtN+9qI0bZTxkYTaNWODpg7U=" crossorigin="anonymous">' + timeagoJS = '<script src="https://cdn.jsdelivr.net/npm/timeago.js@3.0.2/dist/timeago.min.js" integrity="sha256-jwCP0NAdCBloaIWTWHmW4i3snUNMHUNO+jr9rYd2iOI=" crossorigin="anonymous"></script>' + timeagoLocalesJS = '<script src="https://cdn.jsdelivr.net/npm/timeago.js@3.0.2/dist/timeago.locales.min.js" integrity="sha256-ZwofwC1Lf/faQCzN7nZtfijVV6hSwxjQMwXL4gn9qU8=" crossorigin="anonymous"></script>' + + # Display a message at the beginning of an article to warn the readers that it's content may be outdated. + # 在文章开头显示提示信息,提醒读者文章内容可能过时。 + [params.outdatedInfoWarning] + enable = false + hint = 30 # Display hint if the last modified time is more than these days ago. # 如果文章最后更新于这天数之前,显示提醒 + warn = 180 # Display warning if the last modified time is more than these days ago. # 如果文章最后更新于这天数之前,显示警告 + + [params.gitment] # Gitment is a comment system based on GitHub issues. see https://github.com/imsun/gitment + owner = "" # Your GitHub ID + repo = "" # The repo to store comments + clientId = "" # Your client ID + clientSecret = "" # Your client secret + + [params.gitalk] # Gitalk is a comment system based on GitHub issues. see https://github.com/gitalk/gitalk + owner = "" # Your GitHub ID + repo = "" # The repo to store comments + clientId = "" # Your client ID + clientSecret = "" # Your client secret + + [params.flowchartDiagrams]# see https://blog.olowolo.com/example-site/post/js-flowchart-diagrams/ + enable = false + options = "" + + [params.sequenceDiagrams] # see https://blog.olowolo.com/example-site/post/js-sequence-diagrams/ + enable = false + options = "" # default: "{theme: 'simple'}" + + [params.busuanzi] # count web traffic by busuanzi # 是否使用不蒜子统计站点访问量 + enable = false + siteUV = true + sitePV = true + pagePV = true + + [params.reward] # 文章打赏 + enable = false + wechat = "/path/to/your/wechat-qr-code.png" # 微信二维码 + alipay = "/path/to/your/alipay-qr-code.png" # 支付宝二维码 + + [params.social] # 社交链接 + a-email = "mailto:your@email.com" + b-stack-overflow = "http://localhost:1313" + c-twitter = "http://localhost:1313" + d-facebook = "http://localhost:1313" + e-linkedin = "http://localhost:1313" + f-google = "http://localhost:1313" + g-github = "http://localhost:1313" + h-weibo = "http://localhost:1313" + i-zhihu = "http://localhost:1313" + j-douban = "http://localhost:1313" + k-pocket = "http://localhost:1313" + l-tumblr = "http://localhost:1313" + m-instagram = "http://localhost:1313" + +# 将下面这段配置取消注释可以使 hugo 生成 .md 文件 +# Uncomment these options to make hugo output .md files. +#[mediaTypes] +# [mediaTypes."text/plain"] +# suffix = "md" +# +#[outputFormats.MarkDown] +# mediaType = "text/plain" +# isPlainText = true +# isHTML = false +# +#[outputs] +# home = ["HTML", "RSS"] +# page = ["HTML", "MarkDown"] +# section = ["HTML", "RSS"] +# taxonomy = ["HTML", "RSS"] +# taxonomyTerm = ["HTML"] diff --git a/themes/even/exampleSite/content/about.md b/themes/even/exampleSite/content/about.md new file mode 100644 index 0000000..0913c18 --- /dev/null +++ b/themes/even/exampleSite/content/about.md @@ -0,0 +1,21 @@ +--- +title: "About" +date: 2017-08-20T21:38:52+08:00 +lastmod: 2017-08-28T21:41:52+08:00 +menu: "main" +weight: 50 + +--- + +Hugo is a static site engine written in Go. + + +It makes use of a variety of open source projects including: + +* [Cobra](https://github.com/spf13/cobra) +* [Viper](https://github.com/spf13/viper) +* [J Walter Weatherman](https://github.com/spf13/jWalterWeatherman) +* [Cast](https://github.com/spf13/cast) + +Learn more and contribute on [GitHub](https://github.com/gohugoio). + diff --git a/themes/even/exampleSite/content/post/chinese-preview.md b/themes/even/exampleSite/content/post/chinese-preview.md new file mode 100644 index 0000000..08b3096 --- /dev/null +++ b/themes/even/exampleSite/content/post/chinese-preview.md @@ -0,0 +1,84 @@ +--- +title: "[中文] 《长恨歌》" +date: 2017-08-30T01:37:56+08:00 +lastmod: 2017-08-30T01:37:56+08:00 +draft: false +tags: ["preview", "中文", "tag-1"] +categories: ["中文"] +author: "Wikipedia" + +contentCopyright: '<a rel="license noopener" href="https://en.wikipedia.org/wiki/Wikipedia:Text_of_Creative_Commons_Attribution-ShareAlike_3.0_Unported_License" target="_blank">Creative Commons Attribution-ShareAlike License</a>' + +--- + +>《长恨歌》是中国唐朝诗人白居易的一首长篇叙事诗。 + +# 第一段:贵妃受宠爱 + +汉皇重色思倾国,御宇多年求不得。杨家有女初长成,养在深闺人未识。 + +天生丽质难自弃,一朝选在君王侧。回眸一笑百媚生,六宫粉黛无颜色。 + +春寒赐浴华清池,温泉水滑洗凝脂。侍儿扶起娇无力,始是新承恩泽时。 + +云鬓花颜金步摇,芙蓉帐暖度春宵。春宵苦短日高起,从此君王不早朝。 + +承欢侍宴无闲暇,春从春游夜专夜。后宫佳丽三千人,三千宠爱在一身。 + +金屋妆成娇侍夜,玉楼宴罢醉和春。姊妹弟兄皆列士,可怜光彩生门户。 + +遂令天下父母心,不重生男重生女。骊宫高处入青云,仙乐风飘处处闻。 + +缓歌慢舞凝丝竹,尽日君王看不足。渔阳鼙鼓动地来,惊破霓裳羽衣曲。 + +# 第二段:马嵬惊变 + +九重城阙烟尘生,千乘万骑西南行。翠华摇摇行复止,西出都门百余里。 + +六军不发无奈何,宛转蛾眉马前死。花钿委地无人收,翠翘金雀玉搔头。 + +君王掩面救不得,回看血泪相和流。黄埃散漫风萧索,云栈萦纡登剑阁。 + +峨嵋山下少人行,旌旗无光日色薄。蜀江水碧蜀山青,圣主朝朝暮暮情。 + +行宫见月伤心色,夜雨闻铃肠断声。 + +# 第三段:玄宗皇帝思念 + +天旋地转回龙驭,到此踌躇不能去。马嵬坡下泥土中,不见玉颜空死处。 + +君臣相顾尽霑衣,东望都门信马归。归来池苑皆依旧,太液芙蓉未央柳。 + +芙蓉如面柳如眉,对此如何不泪垂。春风桃李花开日,秋雨梧桐叶落时。 + +西宫南内多秋草,落叶满阶红不扫。梨园弟子白发新,椒房阿监青娥老。 + +夕殿萤飞思悄然,孤灯挑尽未成眠。迟迟钟鼓初长夜,耿耿星河欲曙天。 + +鸳鸯瓦冷霜华重,翡翠衾寒谁与共。悠悠生死别经年,魂魄不曾来入梦。 + +# 第四段:仙界寻妃 + +临邛道士鸿都客,能以精诚致魂魄。为感君王辗转思,遂教方士殷勤觅。 + +排空驭气奔如电,升天入地求之遍。上穷碧落下黄泉,两处茫茫皆不见。 + +忽闻海上有仙山,山在虚无缥缈间。楼阁玲珑五云起,其中绰约多仙子。 + +中有一人字太真,雪肤花貌参差是。金阙西厢叩玉扃,转教小玉报双成。 + +闻道汉家天子使,九华帐里梦魂惊。揽衣推枕起徘徊,珠箔银屏迤逦开。 + +云髻(鬓?)半偏新睡觉,花冠不整下堂来。风吹仙袂飘飘(飖)举,犹似霓裳羽衣舞。 + +玉容寂寞泪阑干,梨花一枝春带雨。含情凝睇谢君王,一别音容两渺茫。 + +昭阳殿里恩爱绝,蓬莱宫中日月长。回头下望人寰处,不见长安见尘雾。 + +唯将旧物表深情,钿合金钗寄将去。钗留一股合一扇,钗擘黄金合分钿。 + +但教心似金钿坚,天上人间会相见。临别殷勤重寄词,词中有誓两心知。 + +七月七日长生殿,夜半无人私语时。在天愿作比翼鸟,在地愿为连理枝。 + +天长地久有时尽,此恨绵绵无绝期。 diff --git a/themes/even/exampleSite/content/post/english-preview.md b/themes/even/exampleSite/content/post/english-preview.md new file mode 100644 index 0000000..02693ab --- /dev/null +++ b/themes/even/exampleSite/content/post/english-preview.md @@ -0,0 +1,1150 @@ +--- +title: "[English] Creating a New Theme" +date: 2017-08-31T15:43:48+08:00 +lastmod: 2017-08-31T15:43:48+08:00 +draft: false +tags: ["preview", "English", "tag-2"] +categories: ["English"] +author: "Michael Henderson" + +autoCollapseToc: true +contentCopyright: '<a href="https://github.com/gohugoio/hugoBasicExample" rel="noopener" target="_blank">See origin</a>' + +--- + +## Introduction + +This tutorial will show you how to create a simple theme in Hugo. I assume that you are familiar with HTML, the bash command line, and that you are comfortable using Markdown to format content. I'll explain how Hugo uses templates and how you can organize your templates to create a theme. I won't cover using CSS to style your theme. + +We'll start with creating a new site with a very basic template. Then we'll add in a few pages and posts. With small variations on that, you will be able to create many different types of web sites. + +In this tutorial, commands that you enter will start with the "$" prompt. The output will follow. Lines that start with "#" are comments that I've added to explain a point. When I show updates to a file, the ":wq" on the last line means to save the file. + +Here's an example: + +``` +## this is a comment +$ echo this is a command +this is a command + +## edit the file +$vi foo.md ++++ +date = "2014-09-28" +title = "creating a new theme" ++++ + +bah and humbug +:wq + +## show it +$ cat foo.md ++++ +date = "2014-09-28" +title = "creating a new theme" ++++ + +bah and humbug +$ +``` + + +## Some Definitions + +There are a few concepts that you need to understand before creating a theme. + +### Skins + +Skins are the files responsible for the look and feel of your site. It’s the CSS that controls colors and fonts, it’s the Javascript that determines actions and reactions. It’s also the rules that Hugo uses to transform your content into the HTML that the site will serve to visitors. + +You have two ways to create a skin. The simplest way is to create it in the ```layouts/``` directory. If you do, then you don’t have to worry about configuring Hugo to recognize it. The first place that Hugo will look for rules and files is in the ```layouts/``` directory so it will always find the skin. + +Your second choice is to create it in a sub-directory of the ```themes/``` directory. If you do, then you must always tell Hugo where to search for the skin. It’s extra work, though, so why bother with it? + +The difference between creating a skin in ```layouts/``` and creating it in ```themes/``` is very subtle. A skin in ```layouts/``` can’t be customized without updating the templates and static files that it is built from. A skin created in ```themes/```, on the other hand, can be and that makes it easier for other people to use it. + +The rest of this tutorial will call a skin created in the ```themes/``` directory a theme. + +Note that you can use this tutorial to create a skin in the ```layouts/``` directory if you wish to. The main difference will be that you won’t need to update the site’s configuration file to use a theme. + +### The Home Page + +The home page, or landing page, is the first page that many visitors to a site see. It is the index.html file in the root directory of the web site. Since Hugo writes files to the public/ directory, our home page is public/index.html. + +### Site Configuration File + +When Hugo runs, it looks for a configuration file that contains settings that override default values for the entire site. The file can use TOML, YAML, or JSON. I prefer to use TOML for my configuration files. If you prefer to use JSON or YAML, you’ll need to translate my examples. You’ll also need to change the name of the file since Hugo uses the extension to determine how to process it. + +Hugo translates Markdown files into HTML. By default, Hugo expects to find Markdown files in your ```content/``` directory and template files in your ```themes/``` directory. It will create HTML files in your ```public/``` directory. You can change this by specifying alternate locations in the configuration file. + +### Content + +Content is stored in text files that contain two sections. The first section is the “front matter,” which is the meta-information on the content. The second section contains Markdown that will be converted to HTML. + +#### Front Matter + +The front matter is information about the content. Like the configuration file, it can be written in TOML, YAML, or JSON. Unlike the configuration file, Hugo doesn’t use the file’s extension to know the format. It looks for markers to signal the type. TOML is surrounded by “`+++`”, YAML by “`---`”, and JSON is enclosed in curly braces. I prefer to use TOML, so you’ll need to translate my examples if you prefer YAML or JSON. + +The information in the front matter is passed into the template before the content is rendered into HTML. + +#### Markdown + +Content is written in Markdown which makes it easier to create the content. Hugo runs the content through a Markdown engine to create the HTML which will be written to the output file. + +### Template Files + +Hugo uses template files to render content into HTML. Template files are a bridge between the content and presentation. Rules in the template define what content is published, where it's published to, and how it will rendered to the HTML file. The template guides the presentation by specifying the style to use. + +There are three types of templates: single, list, and partial. Each type takes a bit of content as input and transforms it based on the commands in the template. + +Hugo uses its knowledge of the content to find the template file used to render the content. If it can’t find a template that is an exact match for the content, it will shift up a level and search from there. It will continue to do so until it finds a matching template or runs out of templates to try. If it can’t find a template, it will use the default template for the site. + +Please note that you can use the front matter to influence Hugo’s choice of templates. + +#### Single Template + +A single template is used to render a single piece of content. For example, an article or post would be a single piece of content and use a single template. + +#### List Template + +A list template renders a group of related content. That could be a summary of recent postings or all articles in a category. List templates can contain multiple groups. + +The homepage template is a special type of list template. Hugo assumes that the home page of your site will act as the portal for the rest of the content in the site. + +#### Partial Template + +A partial template is a template that can be included in other templates. Partial templates must be called using the “partial” template command. They are very handy for rolling up common behavior. For example, your site may have a banner that all pages use. Instead of copying the text of the banner into every single and list template, you could create a partial with the banner in it. That way if you decide to change the banner, you only have to change the partial template. + +## Create a New Site + +Let's use Hugo to create a new web site. I'm a Mac user, so I'll create mine in my home directory, in the Sites folder. If you're using Linux, you might have to create the folder first. + +The "new site" command will create a skeleton of a site. It will give you the basic directory structure and a useable configuration file. + +``` +$ hugo new site ~/Sites/zafta +$ cd ~/Sites/zafta +$ ls -l +total 8 +drwxr-xr-x 7 quoha staff 238 Sep 29 16:49 . +drwxr-xr-x 3 quoha staff 102 Sep 29 16:49 .. +drwxr-xr-x 2 quoha staff 68 Sep 29 16:49 archetypes +-rw-r--r-- 1 quoha staff 82 Sep 29 16:49 config.toml +drwxr-xr-x 2 quoha staff 68 Sep 29 16:49 content +drwxr-xr-x 2 quoha staff 68 Sep 29 16:49 layouts +drwxr-xr-x 2 quoha staff 68 Sep 29 16:49 static +$ +``` + +Take a look in the content/ directory to confirm that it is empty. + +The other directories (archetypes/, layouts/, and static/) are used when customizing a theme. That's a topic for a different tutorial, so please ignore them for now. + +### Generate the HTML For the New Site + +Running the `hugo` command with no options will read all the available content and generate the HTML files. It will also copy all static files (that's everything that's not content). Since we have an empty site, it won't do much, but it will do it very quickly. + +``` +$ hugo --verbose +INFO: 2014/09/29 Using config file: config.toml +INFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/static/ to /Users/quoha/Sites/zafta/public/ +WARN: 2014/09/29 Unable to locate layout: [index.html _default/list.html _default/single.html] +WARN: 2014/09/29 Unable to locate layout: [404.html] +0 draft content +0 future content +0 pages created +0 tags created +0 categories created +in 2 ms +$ +``` + +The "`--verbose`" flag gives extra information that will be helpful when we build the template. Every line of the output that starts with "INFO:" or "WARN:" is present because we used that flag. The lines that start with "WARN:" are warning messages. We'll go over them later. + +We can verify that the command worked by looking at the directory again. + +``` +$ ls -l +total 8 +drwxr-xr-x 2 quoha staff 68 Sep 29 16:49 archetypes +-rw-r--r-- 1 quoha staff 82 Sep 29 16:49 config.toml +drwxr-xr-x 2 quoha staff 68 Sep 29 16:49 content +drwxr-xr-x 2 quoha staff 68 Sep 29 16:49 layouts +drwxr-xr-x 4 quoha staff 136 Sep 29 17:02 public +drwxr-xr-x 2 quoha staff 68 Sep 29 16:49 static +$ +``` + +See that new public/ directory? Hugo placed all generated content there. When you're ready to publish your web site, that's the place to start. For now, though, let's just confirm that we have what we'd expect from a site with no content. + +``` +$ ls -l public +total 16 +-rw-r--r-- 1 quoha staff 416 Sep 29 17:02 index.xml +-rw-r--r-- 1 quoha staff 262 Sep 29 17:02 sitemap.xml +$ +``` + +Hugo created two XML files, which is standard, but there are no HTML files. + + + +### Test the New Site + +Verify that you can run the built-in web server. It will dramatically shorten your development cycle if you do. Start it by running the "server" command. If it is successful, you will see output similar to the following: + +``` +$ hugo server --verbose +INFO: 2014/09/29 Using config file: /Users/quoha/Sites/zafta/config.toml +INFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/static/ to /Users/quoha/Sites/zafta/public/ +WARN: 2014/09/29 Unable to locate layout: [index.html _default/list.html _default/single.html] +WARN: 2014/09/29 Unable to locate layout: [404.html] +0 draft content +0 future content +0 pages created +0 tags created +0 categories created +in 2 ms +Serving pages from /Users/quoha/Sites/zafta/public +Web Server is available at http://localhost:1313 +Press Ctrl+C to stop +``` + +Connect to the listed URL (it's on the line that starts with "Web Server"). If everything is working correctly, you should get a page that shows the following: + +``` +index.xml +sitemap.xml +``` + +That's a listing of your public/ directory. Hugo didn't create a home page because our site has no content. When there's no index.html file in a directory, the server lists the files in the directory, which is what you should see in your browser. + +Let’s go back and look at those warnings again. + +``` +WARN: 2014/09/29 Unable to locate layout: [index.html _default/list.html _default/single.html] +WARN: 2014/09/29 Unable to locate layout: [404.html] +``` + +That second warning is easier to explain. We haven’t created a template to be used to generate “page not found errors.” The 404 message is a topic for a separate tutorial. + +Now for the first warning. It is for the home page. You can tell because the first layout that it looked for was “index.html.” That’s only used by the home page. + +I like that the verbose flag causes Hugo to list the files that it's searching for. For the home page, they are index.html, _default/list.html, and _default/single.html. There are some rules that we'll cover later that explain the names and paths. For now, just remember that Hugo couldn't find a template for the home page and it told you so. + +At this point, you've got a working installation and site that we can build upon. All that’s left is to add some content and a theme to display it. + +## Create a New Theme + +Hugo doesn't ship with a default theme. There are a few available (I counted a dozen when I first installed Hugo) and Hugo comes with a command to create new themes. + +We're going to create a new theme called "zafta." Since the goal of this tutorial is to show you how to fill out the files to pull in your content, the theme will not contain any CSS. In other words, ugly but functional. + +All themes have opinions on content and layout. For example, Zafta uses "post" over "blog". Strong opinions make for simpler templates but differing opinions make it tougher to use themes. When you build a theme, consider using the terms that other themes do. + + +### Create a Skeleton + +Use the hugo "new" command to create the skeleton of a theme. This creates the directory structure and places empty files for you to fill out. + +``` +$ hugo new theme zafta + +$ ls -l +total 8 +drwxr-xr-x 2 quoha staff 68 Sep 29 16:49 archetypes +-rw-r--r-- 1 quoha staff 82 Sep 29 16:49 config.toml +drwxr-xr-x 2 quoha staff 68 Sep 29 16:49 content +drwxr-xr-x 2 quoha staff 68 Sep 29 16:49 layouts +drwxr-xr-x 4 quoha staff 136 Sep 29 17:02 public +drwxr-xr-x 2 quoha staff 68 Sep 29 16:49 static +drwxr-xr-x 3 quoha staff 102 Sep 29 17:31 themes + +$ find themes -type f | xargs ls -l +-rw-r--r-- 1 quoha staff 1081 Sep 29 17:31 themes/zafta/LICENSE.md +-rw-r--r-- 1 quoha staff 0 Sep 29 17:31 themes/zafta/archetypes/default.md +-rw-r--r-- 1 quoha staff 0 Sep 29 17:31 themes/zafta/layouts/_default/list.html +-rw-r--r-- 1 quoha staff 0 Sep 29 17:31 themes/zafta/layouts/_default/single.html +-rw-r--r-- 1 quoha staff 0 Sep 29 17:31 themes/zafta/layouts/index.html +-rw-r--r-- 1 quoha staff 0 Sep 29 17:31 themes/zafta/layouts/partials/footer.html +-rw-r--r-- 1 quoha staff 0 Sep 29 17:31 themes/zafta/layouts/partials/header.html +-rw-r--r-- 1 quoha staff 93 Sep 29 17:31 themes/zafta/theme.toml +$ +``` + +The skeleton includes templates (the files ending in .html), license file, a description of your theme (the theme.toml file), and an empty archetype. + +Please take a minute to fill out the theme.toml and LICENSE.md files. They're optional, but if you're going to be distributing your theme, it tells the world who to praise (or blame). It's also nice to declare the license so that people will know how they can use the theme. + +``` +$ vi themes/zafta/theme.toml +author = "michael d henderson" +description = "a minimal working template" +license = "MIT" +name = "zafta" +source_repo = "" +tags = ["tags", "categories"] +:wq + +## also edit themes/zafta/LICENSE.md and change +## the bit that says "YOUR_NAME_HERE" +``` + +Note that the the skeleton's template files are empty. Don't worry, we'll be changing that shortly. + +``` +$ find themes/zafta -name '*.html' | xargs ls -l +-rw-r--r-- 1 quoha staff 0 Sep 29 17:31 themes/zafta/layouts/_default/list.html +-rw-r--r-- 1 quoha staff 0 Sep 29 17:31 themes/zafta/layouts/_default/single.html +-rw-r--r-- 1 quoha staff 0 Sep 29 17:31 themes/zafta/layouts/index.html +-rw-r--r-- 1 quoha staff 0 Sep 29 17:31 themes/zafta/layouts/partials/footer.html +-rw-r--r-- 1 quoha staff 0 Sep 29 17:31 themes/zafta/layouts/partials/header.html +$ +``` + + + +### Update the Configuration File to Use the Theme + +Now that we've got a theme to work with, it's a good idea to add the theme name to the configuration file. This is optional, because you can always add "-t zafta" on all your commands. I like to put it the configuration file because I like shorter command lines. If you don't put it in the configuration file or specify it on the command line, you won't use the template that you're expecting to. + +Edit the file to add the theme, add a title for the site, and specify that all of our content will use the TOML format. + +``` +$ vi config.toml +theme = "zafta" +baseurl = "" +languageCode = "en-us" +title = "zafta - totally refreshing" +MetaDataFormat = "toml" +:wq + +$ +``` + +### Generate the Site + +Now that we have an empty theme, let's generate the site again. + +``` +$ hugo --verbose +INFO: 2014/09/29 Using config file: /Users/quoha/Sites/zafta/config.toml +INFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/themes/zafta/static/ to /Users/quoha/Sites/zafta/public/ +INFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/static/ to /Users/quoha/Sites/zafta/public/ +WARN: 2014/09/29 Unable to locate layout: [404.html theme/404.html] +0 draft content +0 future content +0 pages created +0 tags created +0 categories created +in 2 ms +$ +``` + +Did you notice that the output is different? The warning message for the home page has disappeared and we have an additional information line saying that Hugo is syncing from the theme's directory. + +Let's check the public/ directory to see what Hugo's created. + +``` +$ ls -l public +total 16 +drwxr-xr-x 2 quoha staff 68 Sep 29 17:56 css +-rw-r--r-- 1 quoha staff 0 Sep 29 17:56 index.html +-rw-r--r-- 1 quoha staff 407 Sep 29 17:56 index.xml +drwxr-xr-x 2 quoha staff 68 Sep 29 17:56 js +-rw-r--r-- 1 quoha staff 243 Sep 29 17:56 sitemap.xml +$ +``` + +Notice four things: + +1. Hugo created a home page. This is the file public/index.html. +2. Hugo created a css/ directory. +3. Hugo created a js/ directory. +4. Hugo claimed that it created 0 pages. It created a file and copied over static files, but didn't create any pages. That's because it considers a "page" to be a file created directly from a content file. It doesn't count things like the index.html files that it creates automatically. + +#### The Home Page + +Hugo supports many different types of templates. The home page is special because it gets its own type of template and its own template file. The file, layouts/index.html, is used to generate the HTML for the home page. The Hugo documentation says that this is the only required template, but that depends. Hugo's warning message shows that it looks for three different templates: + +``` +WARN: 2014/09/29 Unable to locate layout: [index.html _default/list.html _default/single.html] +``` + +If it can't find any of these, it completely skips creating the home page. We noticed that when we built the site without having a theme installed. + +When Hugo created our theme, it created an empty home page template. Now, when we build the site, Hugo finds the template and uses it to generate the HTML for the home page. Since the template file is empty, the HTML file is empty, too. If the template had any rules in it, then Hugo would have used them to generate the home page. + +``` +$ find . -name index.html | xargs ls -l +-rw-r--r-- 1 quoha staff 0 Sep 29 20:21 ./public/index.html +-rw-r--r-- 1 quoha staff 0 Sep 29 17:31 ./themes/zafta/layouts/index.html +$ +``` + +#### The Magic of Static + +Hugo does two things when generating the site. It uses templates to transform content into HTML and it copies static files into the site. Unlike content, static files are not transformed. They are copied exactly as they are. + +Hugo assumes that your site will use both CSS and JavaScript, so it creates directories in your theme to hold them. Remember opinions? Well, Hugo's opinion is that you'll store your CSS in a directory named css/ and your JavaScript in a directory named js/. If you don't like that, you can change the directory names in your theme directory or even delete them completely. Hugo's nice enough to offer its opinion, then behave nicely if you disagree. + +``` +$ find themes/zafta -type d | xargs ls -ld +drwxr-xr-x 7 quoha staff 238 Sep 29 17:38 themes/zafta +drwxr-xr-x 3 quoha staff 102 Sep 29 17:31 themes/zafta/archetypes +drwxr-xr-x 5 quoha staff 170 Sep 29 17:31 themes/zafta/layouts +drwxr-xr-x 4 quoha staff 136 Sep 29 17:31 themes/zafta/layouts/_default +drwxr-xr-x 4 quoha staff 136 Sep 29 17:31 themes/zafta/layouts/partials +drwxr-xr-x 4 quoha staff 136 Sep 29 17:31 themes/zafta/static +drwxr-xr-x 2 quoha staff 68 Sep 29 17:31 themes/zafta/static/css +drwxr-xr-x 2 quoha staff 68 Sep 29 17:31 themes/zafta/static/js +$ +``` + +## The Theme Development Cycle + +When you're working on a theme, you will make changes in the theme's directory, rebuild the site, and check your changes in the browser. Hugo makes this very easy: + +1. Purge the public/ directory. +2. Run the built in web server in watch mode. +3. Open your site in a browser. +4. Update the theme. +5. Glance at your browser window to see changes. +6. Return to step 4. + +I’ll throw in one more opinion: never work on a theme on a live site. Always work on a copy of your site. Make changes to your theme, test them, then copy them up to your site. For added safety, use a tool like Git to keep a revision history of your content and your theme. Believe me when I say that it is too easy to lose both your mind and your changes. + +Check the main Hugo site for information on using Git with Hugo. + +### Purge the public/ Directory + +When generating the site, Hugo will create new files and update existing ones in the ```public/``` directory. It will not delete files that are no longer used. For example, files that were created in the wrong directory or with the wrong title will remain. If you leave them, you might get confused by them later. I recommend cleaning out your site prior to generating it. + +Note: If you're building on an SSD, you should ignore this. Churning on a SSD can be costly. + +### Hugo's Watch Option + +Hugo's "`--watch`" option will monitor the content/ and your theme directories for changes and rebuild the site automatically. + +### Live Reload + +Hugo's built in web server supports live reload. As pages are saved on the server, the browser is told to refresh the page. Usually, this happens faster than you can say, "Wow, that's totally amazing." + +### Development Commands + +Use the following commands as the basis for your workflow. + +``` +## purge old files. hugo will recreate the public directory. +## +$ rm -rf public +## +## run hugo in watch mode +## +$ hugo server --watch --verbose +``` + +Here's sample output showing Hugo detecting a change to the template for the home page. Once generated, the web browser automatically reloaded the page. I've said this before, it's amazing. + + +``` +$ rm -rf public +$ hugo server --watch --verbose +INFO: 2014/09/29 Using config file: /Users/quoha/Sites/zafta/config.toml +INFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/themes/zafta/static/ to /Users/quoha/Sites/zafta/public/ +INFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/static/ to /Users/quoha/Sites/zafta/public/ +WARN: 2014/09/29 Unable to locate layout: [404.html theme/404.html] +0 draft content +0 future content +0 pages created +0 tags created +0 categories created +in 2 ms +Watching for changes in /Users/quoha/Sites/zafta/content +Serving pages from /Users/quoha/Sites/zafta/public +Web Server is available at http://localhost:1313 +Press Ctrl+C to stop +INFO: 2014/09/29 File System Event: ["/Users/quoha/Sites/zafta/themes/zafta/layouts/index.html": MODIFY|ATTRIB] +Change detected, rebuilding site + +WARN: 2014/09/29 Unable to locate layout: [404.html theme/404.html] +0 draft content +0 future content +0 pages created +0 tags created +0 categories created +in 1 ms +``` + +## Update the Home Page Template + +The home page is one of a few special pages that Hugo creates automatically. As mentioned earlier, it looks for one of three files in the theme's layout/ directory: + +1. index.html +2. _default/list.html +3. _default/single.html + +We could update one of the default templates, but a good design decision is to update the most specific template available. That's not a hard and fast rule (in fact, we'll break it a few times in this tutorial), but it is a good generalization. + +### Make a Static Home Page + +Right now, that page is empty because we don't have any content and we don't have any logic in the template. Let's change that by adding some text to the template. + +``` +$ vi themes/zafta/layouts/index.html +<!DOCTYPE html> +<html> +<body> + <p>hugo says hello!</p> +</body> +</html> +:wq + +$ +``` + +Build the web site and then verify the results. + +``` +$ hugo --verbose +INFO: 2014/09/29 Using config file: /Users/quoha/Sites/zafta/config.toml +INFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/themes/zafta/static/ to /Users/quoha/Sites/zafta/public/ +INFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/static/ to /Users/quoha/Sites/zafta/public/ +WARN: 2014/09/29 Unable to locate layout: [404.html theme/404.html] +0 draft content +0 future content +0 pages created +0 tags created +0 categories created +in 2 ms + +$ find public -type f -name '*.html' | xargs ls -l +-rw-r--r-- 1 quoha staff 78 Sep 29 21:26 public/index.html + +$ cat public/index.html +<!DOCTYPE html> +<html> +<body> + <p>hugo says hello!</p> +</html> +``` + +#### Live Reload + +Note: If you're running the server with the `--watch` option, you'll see different content in the file: + +``` +$ cat public/index.html +<!DOCTYPE html> +<html> +<body> + <p>hugo says hello!</p> +<script>document.write('<script src="http://' + + (location.host || 'localhost').split(':')[0] + + ':1313/livereload.js?mindelay=10"></' + + 'script>')</script></body> +</html> +``` + +When you use `--watch`, the Live Reload script is added by Hugo. Look for live reload in the documentation to see what it does and how to disable it. + +### Build a "Dynamic" Home Page + +"Dynamic home page?" Hugo's a static web site generator, so this seems an odd thing to say. I mean let's have the home page automatically reflect the content in the site every time Hugo builds it. We'll use iteration in the template to do that. + +#### Create New Posts + +Now that we have the home page generating static content, let's add some content to the site. We'll display these posts as a list on the home page and on their own page, too. + +Hugo has a command to generate a skeleton post, just like it does for sites and themes. + +``` +$ hugo --verbose new post/first.md +INFO: 2014/09/29 Using config file: /Users/quoha/Sites/zafta/config.toml +INFO: 2014/09/29 attempting to create post/first.md of post +INFO: 2014/09/29 curpath: /Users/quoha/Sites/zafta/themes/zafta/archetypes/default.md +ERROR: 2014/09/29 Unable to Cast <nil> to map[string]interface{} + +$ +``` + +That wasn't very nice, was it? + +The "new" command uses an archetype to create the post file. Hugo created an empty default archetype file, but that causes an error when there's a theme. For me, the workaround was to create an archetypes file specifically for the post type. + +``` +$ vi themes/zafta/archetypes/post.md ++++ +Description = "" +Tags = [] +Categories = [] ++++ +:wq + +$ find themes/zafta/archetypes -type f | xargs ls -l +-rw-r--r-- 1 quoha staff 0 Sep 29 21:53 themes/zafta/archetypes/default.md +-rw-r--r-- 1 quoha staff 51 Sep 29 21:54 themes/zafta/archetypes/post.md + +$ hugo --verbose new post/first.md +INFO: 2014/09/29 Using config file: /Users/quoha/Sites/zafta/config.toml +INFO: 2014/09/29 attempting to create post/first.md of post +INFO: 2014/09/29 curpath: /Users/quoha/Sites/zafta/themes/zafta/archetypes/post.md +INFO: 2014/09/29 creating /Users/quoha/Sites/zafta/content/post/first.md +/Users/quoha/Sites/zafta/content/post/first.md created + +$ hugo --verbose new post/second.md +INFO: 2014/09/29 Using config file: /Users/quoha/Sites/zafta/config.toml +INFO: 2014/09/29 attempting to create post/second.md of post +INFO: 2014/09/29 curpath: /Users/quoha/Sites/zafta/themes/zafta/archetypes/post.md +INFO: 2014/09/29 creating /Users/quoha/Sites/zafta/content/post/second.md +/Users/quoha/Sites/zafta/content/post/second.md created + +$ ls -l content/post +total 16 +-rw-r--r-- 1 quoha staff 104 Sep 29 21:54 first.md +-rw-r--r-- 1 quoha staff 105 Sep 29 21:57 second.md + +$ cat content/post/first.md ++++ +Categories = [] +Description = "" +Tags = [] +date = "2014-09-29T21:54:53-05:00" +title = "first" + ++++ +my first post + +$ cat content/post/second.md ++++ +Categories = [] +Description = "" +Tags = [] +date = "2014-09-29T21:57:09-05:00" +title = "second" + ++++ +my second post + +$ +``` + +Build the web site and then verify the results. + +``` +$ rm -rf public +$ hugo --verbose +INFO: 2014/09/29 Using config file: /Users/quoha/Sites/zafta/config.toml +INFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/themes/zafta/static/ to /Users/quoha/Sites/zafta/public/ +INFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/static/ to /Users/quoha/Sites/zafta/public/ +INFO: 2014/09/29 found taxonomies: map[string]string{"category":"categories", "tag":"tags"} +WARN: 2014/09/29 Unable to locate layout: [404.html theme/404.html] +0 draft content +0 future content +2 pages created +0 tags created +0 categories created +in 4 ms +$ +``` + +The output says that it created 2 pages. Those are our new posts: + +``` +$ find public -type f -name '*.html' | xargs ls -l +-rw-r--r-- 1 quoha staff 78 Sep 29 22:13 public/index.html +-rw-r--r-- 1 quoha staff 0 Sep 29 22:13 public/post/first/index.html +-rw-r--r-- 1 quoha staff 0 Sep 29 22:13 public/post/index.html +-rw-r--r-- 1 quoha staff 0 Sep 29 22:13 public/post/second/index.html +$ +``` + +The new files are empty because because the templates used to generate the content are empty. The homepage doesn't show the new content, either. We have to update the templates to add the posts. + +### List and Single Templates + +In Hugo, we have three major kinds of templates. There's the home page template that we updated previously. It is used only by the home page. We also have "single" templates which are used to generate output for a single content file. We also have "list" templates that are used to group multiple pieces of content before generating output. + +Generally speaking, list templates are named "list.html" and single templates are named "single.html." + +There are three other types of templates: partials, content views, and terms. We will not go into much detail on these. + +### Add Content to the Homepage + +The home page will contain a list of posts. Let's update its template to add the posts that we just created. The logic in the template will run every time we build the site. + +``` +$ vi themes/zafta/layouts/index.html +<!DOCTYPE html> +<html> +<body> + {{ range first 10 .Data.Pages }} + <h1>{{ .Title }}</h1> + {{ end }} +</body> +</html> +:wq + +$ +``` + +Hugo uses the Go template engine. That engine scans the template files for commands which are enclosed between "{{" and "}}". In our template, the commands are: + +1. range +2. .Title +3. end + +The "range" command is an iterator. We're going to use it to go through the first ten pages. Every HTML file that Hugo creates is treated as a page, so looping through the list of pages will look at every file that will be created. + +The ".Title" command prints the value of the "title" variable. Hugo pulls it from the front matter in the Markdown file. + +The "end" command signals the end of the range iterator. The engine loops back to the top of the iteration when it finds "end." Everything between the "range" and "end" is evaluated every time the engine goes through the iteration. In this file, that would cause the title from the first ten pages to be output as heading level one. + +It's helpful to remember that some variables, like .Data, are created before any output files. Hugo loads every content file into the variable and then gives the template a chance to process before creating the HTML files. + +Build the web site and then verify the results. + +``` +$ rm -rf public +$ hugo --verbose +INFO: 2014/09/29 Using config file: /Users/quoha/Sites/zafta/config.toml +INFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/themes/zafta/static/ to /Users/quoha/Sites/zafta/public/ +INFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/static/ to /Users/quoha/Sites/zafta/public/ +INFO: 2014/09/29 found taxonomies: map[string]string{"tag":"tags", "category":"categories"} +WARN: 2014/09/29 Unable to locate layout: [404.html theme/404.html] +0 draft content +0 future content +2 pages created +0 tags created +0 categories created +in 4 ms +$ find public -type f -name '*.html' | xargs ls -l +-rw-r--r-- 1 quoha staff 94 Sep 29 22:23 public/index.html +-rw-r--r-- 1 quoha staff 0 Sep 29 22:23 public/post/first/index.html +-rw-r--r-- 1 quoha staff 0 Sep 29 22:23 public/post/index.html +-rw-r--r-- 1 quoha staff 0 Sep 29 22:23 public/post/second/index.html +$ cat public/index.html +<!DOCTYPE html> +<html> +<body> + + <h1>second</h1> + + <h1>first</h1> + +</body> +</html> +$ +``` + +Congratulations, the home page shows the title of the two posts. The posts themselves are still empty, but let's take a moment to appreciate what we've done. Your template now generates output dynamically. Believe it or not, by inserting the range command inside of those curly braces, you've learned everything you need to know to build a theme. All that's really left is understanding which template will be used to generate each content file and becoming familiar with the commands for the template engine. + +And, if that were entirely true, this tutorial would be much shorter. There are a few things to know that will make creating a new template much easier. Don't worry, though, that's all to come. + +### Add Content to the Posts + +We're working with posts, which are in the content/post/ directory. That means that their section is "post" (and if we don't do something weird, their type is also "post"). + +Hugo uses the section and type to find the template file for every piece of content. Hugo will first look for a template file that matches the section or type name. If it can't find one, then it will look in the _default/ directory. There are some twists that we'll cover when we get to categories and tags, but for now we can assume that Hugo will try post/single.html, then _default/single.html. + +Now that we know the search rule, let's see what we actually have available: + +``` +$ find themes/zafta -name single.html | xargs ls -l +-rw-r--r-- 1 quoha staff 132 Sep 29 17:31 themes/zafta/layouts/_default/single.html +``` + +We could create a new template, post/single.html, or change the default. Since we don't know of any other content types, let's start with updating the default. + +Remember, any content that we haven't created a template for will end up using this template. That can be good or bad. Bad because I know that we're going to be adding different types of content and we're going to end up undoing some of the changes we've made. It's good because we'll be able to see immediate results. It's also good to start here because we can start to build the basic layout for the site. As we add more content types, we'll refactor this file and move logic around. Hugo makes that fairly painless, so we'll accept the cost and proceed. + +Please see the Hugo documentation on template rendering for all the details on determining which template to use. And, as the docs mention, if you're building a single page application (SPA) web site, you can delete all of the other templates and work with just the default single page. That's a refreshing amount of joy right there. + +#### Update the Template File + +``` +$ vi themes/zafta/layouts/_default/single.html +<!DOCTYPE html> +<html> +<head> + <title>{{ .Title }}</title> +</head> +<body> + <h1>{{ .Title }}</h1> + {{ .Content }} +</body> +</html> +:wq + +$ +``` + +Build the web site and verify the results. + +``` +$ rm -rf public +$ hugo --verbose +INFO: 2014/09/29 Using config file: /Users/quoha/Sites/zafta/config.toml +INFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/themes/zafta/static/ to /Users/quoha/Sites/zafta/public/ +INFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/static/ to /Users/quoha/Sites/zafta/public/ +INFO: 2014/09/29 found taxonomies: map[string]string{"tag":"tags", "category":"categories"} +WARN: 2014/09/29 Unable to locate layout: [404.html theme/404.html] +0 draft content +0 future content +2 pages created +0 tags created +0 categories created +in 4 ms + +$ find public -type f -name '*.html' | xargs ls -l +-rw-r--r-- 1 quoha staff 94 Sep 29 22:40 public/index.html +-rw-r--r-- 1 quoha staff 125 Sep 29 22:40 public/post/first/index.html +-rw-r--r-- 1 quoha staff 0 Sep 29 22:40 public/post/index.html +-rw-r--r-- 1 quoha staff 128 Sep 29 22:40 public/post/second/index.html + +$ cat public/post/first/index.html +<!DOCTYPE html> +<html> +<head> + <title>first</title> +</head> +<body> + <h1>first</h1> + <p>my first post</p> + +</body> +</html> + +$ cat public/post/second/index.html +<!DOCTYPE html> +<html> +<head> + <title>second</title> +</head> +<body> + <h1>second</h1> + <p>my second post</p> + +</body> +</html> +$ +``` + +Notice that the posts now have content. You can go to localhost:1313/post/first to verify. + +### Linking to Content + +The posts are on the home page. Let's add a link from there to the post. Since this is the home page, we'll update its template. + +``` +$ vi themes/zafta/layouts/index.html +<!DOCTYPE html> +<html> +<body> + {{ range first 10 .Data.Pages }} + <h1><a href="{{ .Permalink }}">{{ .Title }}</a></h1> + {{ end }} +</body> +</html> +``` + +Build the web site and verify the results. + +``` +$ rm -rf public +$ hugo --verbose +INFO: 2014/09/29 Using config file: /Users/quoha/Sites/zafta/config.toml +INFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/themes/zafta/static/ to /Users/quoha/Sites/zafta/public/ +INFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/static/ to /Users/quoha/Sites/zafta/public/ +INFO: 2014/09/29 found taxonomies: map[string]string{"tag":"tags", "category":"categories"} +WARN: 2014/09/29 Unable to locate layout: [404.html theme/404.html] +0 draft content +0 future content +2 pages created +0 tags created +0 categories created +in 4 ms + +$ find public -type f -name '*.html' | xargs ls -l +-rw-r--r-- 1 quoha staff 149 Sep 29 22:44 public/index.html +-rw-r--r-- 1 quoha staff 125 Sep 29 22:44 public/post/first/index.html +-rw-r--r-- 1 quoha staff 0 Sep 29 22:44 public/post/index.html +-rw-r--r-- 1 quoha staff 128 Sep 29 22:44 public/post/second/index.html + +$ cat public/index.html +<!DOCTYPE html> +<html> +<body> + + <h1><a href="/post/second/">second</a></h1> + + <h1><a href="/post/first/">first</a></h1> + +</body> +</html> + +$ +``` + +### Create a Post Listing + +We have the posts displaying on the home page and on their own page. We also have a file public/post/index.html that is empty. Let's make it show a list of all posts (not just the first ten). + +We need to decide which template to update. This will be a listing, so it should be a list template. Let's take a quick look and see which list templates are available. + +``` +$ find themes/zafta -name list.html | xargs ls -l +-rw-r--r-- 1 quoha staff 0 Sep 29 17:31 themes/zafta/layouts/_default/list.html +``` + +As with the single post, we have to decide to update _default/list.html or create post/list.html. We still don't have multiple content types, so let's stay consistent and update the default list template. + +## Creating Top Level Pages + +Let's add an "about" page and display it at the top level (as opposed to a sub-level like we did with posts). + +The default in Hugo is to use the directory structure of the content/ directory to guide the location of the generated html in the public/ directory. Let's verify that by creating an "about" page at the top level: + +``` +$ vi content/about.md ++++ +title = "about" +description = "about this site" +date = "2014-09-27" +slug = "about time" ++++ + +## about us + +i'm speechless +:wq +``` + +Generate the web site and verify the results. + +``` +$ find public -name '*.html' | xargs ls -l +-rw-rw-r-- 1 mdhender staff 334 Sep 27 15:08 public/about-time/index.html +-rw-rw-r-- 1 mdhender staff 527 Sep 27 15:08 public/index.html +-rw-rw-r-- 1 mdhender staff 358 Sep 27 15:08 public/post/first-post/index.html +-rw-rw-r-- 1 mdhender staff 0 Sep 27 15:08 public/post/index.html +-rw-rw-r-- 1 mdhender staff 342 Sep 27 15:08 public/post/second-post/index.html +``` + +Notice that the page wasn't created at the top level. It was created in a sub-directory named 'about-time/'. That name came from our slug. Hugo will use the slug to name the generated content. It's a reasonable default, by the way, but we can learn a few things by fighting it for this file. + +One other thing. Take a look at the home page. + +``` +$ cat public/index.html +<!DOCTYPE html> +<html> +<body> + <h1><a href="http://localhost:1313/post/theme/">creating a new theme</a></h1> + <h1><a href="http://localhost:1313/about-time/">about</a></h1> + <h1><a href="http://localhost:1313/post/second-post/">second</a></h1> + <h1><a href="http://localhost:1313/post/first-post/">first</a></h1> +<script>document.write('<script src="http://' + + (location.host || 'localhost').split(':')[0] + + ':1313/livereload.js?mindelay=10"></' + + 'script>')</script></body> +</html> +``` + +Notice that the "about" link is listed with the posts? That's not desirable, so let's change that first. + +``` +$ vi themes/zafta/layouts/index.html +<!DOCTYPE html> +<html> +<body> + <h1>posts</h1> + {{ range first 10 .Data.Pages }} + {{ if eq .Type "post"}} + <h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2> + {{ end }} + {{ end }} + + <h1>pages</h1> + {{ range .Data.Pages }} + {{ if eq .Type "page" }} + <h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2> + {{ end }} + {{ end }} +</body> +</html> +:wq +``` + +Generate the web site and verify the results. The home page has two sections, posts and pages, and each section has the right set of headings and links in it. + +But, that about page still renders to about-time/index.html. + +``` +$ find public -name '*.html' | xargs ls -l +-rw-rw-r-- 1 mdhender staff 334 Sep 27 15:33 public/about-time/index.html +-rw-rw-r-- 1 mdhender staff 645 Sep 27 15:33 public/index.html +-rw-rw-r-- 1 mdhender staff 358 Sep 27 15:33 public/post/first-post/index.html +-rw-rw-r-- 1 mdhender staff 0 Sep 27 15:33 public/post/index.html +-rw-rw-r-- 1 mdhender staff 342 Sep 27 15:33 public/post/second-post/index.html +``` + +Knowing that hugo is using the slug to generate the file name, the simplest solution is to change the slug. Let's do it the hard way and change the permalink in the configuration file. + +``` +$ vi config.toml +[permalinks] + page = "/:title/" + about = "/:filename/" +``` + +Generate the web site and verify that this didn't work. Hugo lets "slug" or "URL" override the permalinks setting in the configuration file. Go ahead and comment out the slug in content/about.md, then generate the web site to get it to be created in the right place. + +## Sharing Templates + +If you've been following along, you probably noticed that posts have titles in the browser and the home page doesn't. That's because we didn't put the title in the home page's template (layouts/index.html). That's an easy thing to do, but let's look at a different option. + +We can put the common bits into a shared template that's stored in the themes/zafta/layouts/partials/ directory. + +### Create the Header and Footer Partials + +In Hugo, a partial is a sugar-coated template. Normally a template reference has a path specified. Partials are different. Hugo searches for them along a TODO defined search path. This makes it easier for end-users to override the theme's presentation. + +``` +$ vi themes/zafta/layouts/partials/header.html +<!DOCTYPE html> +<html> +<head> + <title>{{ .Title }}</title> +</head> +<body> +:wq + +$ vi themes/zafta/layouts/partials/footer.html +</body> +</html> +:wq +``` + +### Update the Home Page Template to Use the Partials + +The most noticeable difference between a template call and a partials call is the lack of path: + +``` +{{ template "theme/partials/header.html" . }} +``` +versus +``` +{{ partial "header.html" . }} +``` +Both pass in the context. + +Let's change the home page template to use these new partials. + +``` +$ vi themes/zafta/layouts/index.html +{{ partial "header.html" . }} + + <h1>posts</h1> + {{ range first 10 .Data.Pages }} + {{ if eq .Type "post"}} + <h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2> + {{ end }} + {{ end }} + + <h1>pages</h1> + {{ range .Data.Pages }} + {{ if or (eq .Type "page") (eq .Type "about") }} + <h2><a href="{{ .Permalink }}">{{ .Type }} - {{ .Title }} - {{ .RelPermalink }}</a></h2> + {{ end }} + {{ end }} + +{{ partial "footer.html" . }} +:wq +``` + +Generate the web site and verify the results. The title on the home page is now "your title here", which comes from the "title" variable in the config.toml file. + +### Update the Default Single Template to Use the Partials + +``` +$ vi themes/zafta/layouts/_default/single.html +{{ partial "header.html" . }} + + <h1>{{ .Title }}</h1> + {{ .Content }} + +{{ partial "footer.html" . }} +:wq +``` + +Generate the web site and verify the results. The title on the posts and the about page should both reflect the value in the markdown file. + +## Add “Date Published” to Posts + +It's common to have posts display the date that they were written or published, so let's add that. The front matter of our posts has a variable named "date." It's usually the date the content was created, but let's pretend that's the value we want to display. + +### Add “Date Published” to the Template + +We'll start by updating the template used to render the posts. The template code will look like: + +``` +{{ .Date.Format "Mon, Jan 2, 2006" }} +``` + +Posts use the default single template, so we'll change that file. + +``` +$ vi themes/zafta/layouts/_default/single.html +{{ partial "header.html" . }} + + <h1>{{ .Title }}</h1> + <h2>{{ .Date.Format "Mon, Jan 2, 2006" }}</h2> + {{ .Content }} + +{{ partial "footer.html" . }} +:wq +``` + +Generate the web site and verify the results. The posts now have the date displayed in them. There's a problem, though. The "about" page also has the date displayed. + +As usual, there are a couple of ways to make the date display only on posts. We could do an "if" statement like we did on the home page. Another way would be to create a separate template for posts. + +The "if" solution works for sites that have just a couple of content types. It aligns with the principle of "code for today," too. + +Let's assume, though, that we've made our site so complex that we feel we have to create a new template type. In Hugo-speak, we're going to create a section template. + +Let's restore the default single template before we forget. + +``` +$ mkdir themes/zafta/layouts/post +$ vi themes/zafta/layouts/_default/single.html +{{ partial "header.html" . }} + + <h1>{{ .Title }}</h1> + {{ .Content }} + +{{ partial "footer.html" . }} +:wq +``` + +Now we'll update the post's version of the single template. If you remember Hugo's rules, the template engine will use this version over the default. + +``` +$ vi themes/zafta/layouts/post/single.html +{{ partial "header.html" . }} + + <h1>{{ .Title }}</h1> + <h2>{{ .Date.Format "Mon, Jan 2, 2006" }}</h2> + {{ .Content }} + +{{ partial "footer.html" . }} +:wq + +``` + +Note that we removed the date logic from the default template and put it in the post template. Generate the web site and verify the results. Posts have dates and the about page doesn't. + +### Don't Repeat Yourself + +DRY is a good design goal and Hugo does a great job supporting it. Part of the art of a good template is knowing when to add a new template and when to update an existing one. While you're figuring that out, accept that you'll be doing some refactoring. Hugo makes that easy and fast, so it's okay to delay splitting up a template. diff --git a/themes/even/exampleSite/content/post/even-preview.md b/themes/even/exampleSite/content/post/even-preview.md new file mode 100644 index 0000000..8e905d0 --- /dev/null +++ b/themes/even/exampleSite/content/post/even-preview.md @@ -0,0 +1,165 @@ +--- +title: "Theme preview" +date: 2017-08-23T18:03:09+08:00 +lastmod: 2017-08-23T18:03:09+08:00 +draft: false +tags: ["preview", "Theme preview", "tag-3"] +categories: ["Theme preview", "category-2", "category-3"] +author: '<a href="https://laozhu.me" rel="noopener" target="_blank">米老朱</a>' + +weight: 10 + +contentCopyright: '<a href="https://laozhu.me/post/hugo-nuo-post-preview/" rel="noopener" target="_blank">See origin</a>' + +--- +> Copy from [《Hugo 主题 Nuo 文章样式预览》](https://laozhu.me/post/hugo-nuo-post-preview/) + +这篇文章集中说明主题所支持的 Markdown 语法和 Hugo Shortcodes 插件,你也可以在这里预览到他们的样子。如果你不喜欢某些样式,可以去修改 css/ 文件夹下的 .scss 文件。 + +# 1.标题 + +# H1 +## H2 +### H3 +#### H4 +##### H5 +###### H6 + +## 2. 段落 + +使用单引号 `*` 或者单下划线 `_` 标记 *斜体强调* 或者 _斜体强调_ + +使用两个引号 `**` 或者两个下划线 `__` 标记 **加粗强调** 或者 __加粗强调__ + +引号和下划线可叠加使用 → **只是加粗 _斜体并加粗_** + +使用两个波浪线 `~~` 标记 ~~已删除文字~~ + +插入文字暂无 `Markdown` 标记,直接使用 `HTML` 标签 `<ins>` 标记 <ins>插入文字</ins> + +行内代码使用反引号标记 → `print("hello world")` + +上标 X<sup>2</sup> / 下标 X<sub>2</sub> + +按键 <kbd>Ctrl</kbd> + +外链 [chekun's blog](https://chekun.me) + +页面内段落 [图片](#section-07) + +*注意:你可以通过 `{#section-id}` 方式自定义段落锚点* + +参考资料 <sup>[[1]](#ref01)</sup><sup>[[2]](#ref02)</sup> + +## 3. 列表 + +以下的无序、有序和任务列表均支持二级嵌套,不建议使用二级以上嵌套。 + +### 3.1 无序列表 + +* 无序列表 + - 嵌套的无序列表 + - 嵌套的无序列表 +* 无序列表 + 1. 嵌套的有序列表 + 2. 嵌套的有序列表 +* 无序列表 + +### 3.2 有序列表 + +1. 有序列表 + 1. 嵌套的有序列表 + 2. 嵌套的有序列表 +2. 有序列表 + - 嵌套的无序列表 + - 嵌套的无序列表 +3. 有序列表 + +### 3.3 定义列表 + +CSS +: 层叠样式表 + +### 3.4 任务列表 + +- [ ] Cmd Markdown 开发 + - [ ] 改进 Cmd 渲染算法,使用局部渲染技术提高渲染效率 + - [ ] 支持以 PDF 格式导出文稿 + - [x] 新增Todo列表功能 [语法参考](https://github.com/blog/1375-task-lists-in-gfm-issues-pulls-comments) + - [x] 改进 LaTex 功能 + - [x] 修复 LaTex 公式渲染问题 + - [x] 新增 LaTex 公式编号功能 [语法参考](http://docs.mathjax.org/en/latest/tex.html#tex-eq-numbers) +- [ ] 七月旅行准备 + - [ ] 准备邮轮上需要携带的物品 + - [ ] 浏览日本免税店的物品 + - [x] 购买蓝宝石公主号七月一日的船票 + +## 4. 引用 + +> 野火烧不尽,春风吹又生。 +> +> <cite>-- 白居易《赋得古原草送别》</cite> + +## 5. 代码 + +以本站的一段 `JavaScript` 代码做演示。 + +```javascript +// Initialize video.js player +if (document.getElementById('my-player') !== null) { + /* eslint-disable no-undef */ + videojs('#my-player', { + aspectRatio: '16:9', + fluid: true, + }); +} +``` + +## 6. 分割线 + +--- + +中间能写字的分割线,如果你修改了分割线中字的内容,请配合修改 `CSS` 样式。 + +## 7. 图片 {#section-07} + +不带标题的图片,如下图👇 + +![hugo even showcase](https://raw.githubusercontent.com/olOwOlo/hugo-theme-even/master/images/showcase.png "showcase.png") + +带标题的图片,如下图👇 + +{{% figure class="center" src="https://raw.githubusercontent.com/olOwOlo/hugo-theme-even/master/images/showcase.png" alt="hugo even showcase" title="showcase.png" %}} + +## 8. 表格 + +使用 `Markdown` 画的表格,如下表👇 + +| Tables | Are | Cool | +| :------------ |:-------------:| -----:| +| col 3 is | right-aligned | $1600 | +| col 2 is | centered | $12 | +| zebra stripes | are neat | $1 | + +## 9. 数学公式 + +主题使用了 [MathJax](https://www.mathjax.org/) 开源库来实现对数学公式的支持,使用 `$$` 标记。 + +$$ evidence\_{i}=\sum\_{j}W\_{ij}x\_{j}+b\_{i} $$ + +## 10. 网易云音乐 + +主题文章中可以轻松插入 [网易云音乐](https://music.163.com/) 的指定音乐,你可以根据需要将音乐设置为自动播放,在主题目录 `layouts/shortcodes` 文件夹下的 `music.html` 对该标签进行定义。 + +{{% music "28196554" %}} + +## 11. YouTube + +由于不明原因可能无法播放。 + +{{% youtube "wC5pJm8RAu4" %}} + +## 参考资料 + +1. <a id="ref01">[Markdown Cheatsheet](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet)</a> +2. <a id="ref02">[Markdown 语法手册](https://www.zybuluo.com/EncyKe/note/120103)</a> diff --git a/themes/even/exampleSite/content/post/hidden-post.md b/themes/even/exampleSite/content/post/hidden-post.md new file mode 100644 index 0000000..a2034e1 --- /dev/null +++ b/themes/even/exampleSite/content/post/hidden-post.md @@ -0,0 +1,15 @@ +--- +title: "This is a hidden post." +date: 2018-03-08T17:40:19+08:00 +lastmod: 2018-03-08T22:01:19+08:00 +draft: false +author: '<a href="https://halu.lu" target="_blank">Halulu</a>' + +hiddenFromHomePage: true +--- + +This post is hidden from the home page. + +<!--more--> + +But you can see it in archives, rss or other pages.
\ No newline at end of file diff --git a/themes/even/exampleSite/content/post/japanese-preview.md b/themes/even/exampleSite/content/post/japanese-preview.md new file mode 100644 index 0000000..e9c715d --- /dev/null +++ b/themes/even/exampleSite/content/post/japanese-preview.md @@ -0,0 +1,38 @@ +--- +title: "[日本語] 敬語体系" +date: 2017-08-30T01:53:34+08:00 +lastmod: 2017-08-30T01:53:34+08:00 +draft: false +keywords: [] +description: "" +tags: ["preview", "日本語", "tag-4"] +categories: ["日本語"] +author: "Wikipedia" + +contentCopyright: '<a rel="license noopener" href="https://en.wikipedia.org/wiki/Wikipedia:Text_of_Creative_Commons_Attribution-ShareAlike_3.0_Unported_License" target="_blank">Creative Commons Attribution-ShareAlike License</a>' + +--- + +> 日本語の敬語体系は、一般に、大きく尊敬語・謙譲語・丁寧語に分類される。文化審議会国語分科会は、2007年2月に「敬語の指針」を答申し、これに丁重語および美化語を含めた5分類を示している。 + +# 尊敬語 + +尊敬語は、動作の主体を高めることで、主体への敬意を表す言い方である。動詞に「お(ご)~になる」を付けた形、また、助動詞「(ら)れる」を付けた形などが用いられる。たとえば、動詞「取る」の尊敬形として、「(先生が)お取りになる」「(先生が)取られる」などが用いられる。 + +語によっては、特定の尊敬語が対応するものもある。たとえば、「言う」の尊敬語は「おっしゃる」、「食べる」の尊敬語は「召し上がる」、「行く・来る・いる」の尊敬語は「いらっしゃる」である。 + +# 謙譲語 + +謙譲語は、古代から基本的に動作の客体への敬意を表す言い方であり、現代では「動作の主体を低める」と解釈するほうがよい場合がある。動詞に「お~する」「お~いたします」(謙譲語+丁寧語)をつけた形などが用いられる。たとえば、「取る」の謙譲形として、「お取りする」などが用いられる。 + +語によっては、特定の謙譲語が対応するものもある。たとえば、「言う」の謙譲語は「申し上げる」、「食べる」の謙譲語は「いただく」、「(相手の所に)行く」の謙譲語は「伺う」「参上する」「まいる」である。 + +なお、「夜も更けてまいりました」の「まいり」など、謙譲表現のようでありながら、誰かを低めているわけではない表現がある。これは、「夜も更けてきた」という話題を丁重に表現することによって、聞き手への敬意を表すものである。宮地裕は、この表現に使われる語を、特に「丁重語」と称している[104][105]。丁重語にはほかに「いたし(マス)」「申し(マス)」「存じ(マス)」「小生」「小社」「弊社」などがある。文化審議会の「敬語の指針」でも、「明日から海外へまいります」の「まいり」のように、相手とは関りのない自分側の動作を表現する言い方を丁重語としている。 + +# 丁寧語 + +丁寧語は、文末を丁寧にすることで、聞き手への敬意を表すものである。動詞・形容詞の終止形で終わる常体に対して、名詞・形容動詞語幹などに「です」を付けた形(「学生です」「きれいです」)や、動詞に「ます」をつけた形(「行きます」「分かりました」)等の丁寧語を用いた文体を敬体という。 + +一般に、目上の人には丁寧語を用い、同等・目下の人には丁寧語を用いないといわれる。しかし、実際の言語生活に照らして考えれば、これは事実ではない。母が子を叱るとき、「お母さんはもう知りませんよ」と丁寧語を用いる場合ももある。丁寧語が用いられる多くの場合は、敬意や謝意の表現とされるが、、稀に一歩引いた心理的な距離をとろうとする場合もある。 + +「お弁当」「ご飯」などの「お」「ご」も、広い意味では丁寧語に含まれるが、宮地裕は特に「美化語」と称して区別する[104][105]。相手への丁寧の意を示すというよりは、話し手が自分の言葉遣いに配慮した表現である。したがって、「お弁当食べようよ。」のように、丁寧体でない文でも美化語を用いることがある。文化審議会の「敬語の指針」でも「美化語」を設けている。 diff --git a/themes/even/exampleSite/content/post/js-flowchart-diagrams.md b/themes/even/exampleSite/content/post/js-flowchart-diagrams.md new file mode 100644 index 0000000..2111c52 --- /dev/null +++ b/themes/even/exampleSite/content/post/js-flowchart-diagrams.md @@ -0,0 +1,131 @@ +--- +title: "JS Flowchart Diagrams" +date: 2015-03-04T21:57:50+08:00 +draft: false + +flowchartDiagrams: + enable: true + options: "{ + 'x': 0, + 'y': 0, + 'line-width': 3, + 'line-length': 50, + 'text-margin': 10, + 'font-size': 14, + 'font-color': 'black', + 'line-color': 'black', + 'element-color': 'black', + 'fill': 'white', + 'yes-text': 'yes', + 'no-text': 'no', + 'arrow-end': 'block', + 'scale': 1, + 'i-am-a-comment-1': 'Do not use //!', + 'i-am-a-comment-2': 'style symbol types', + 'symbols': { + 'start': { + 'font-color': 'red', + 'element-color': 'green', + 'fill': 'yellow' + }, + 'end': { + 'class': 'end-element' + } + }, + 'i-am-a-comment-3': 'even flowstate support ;-)', + 'flowstate': { + 'request': {'fill': 'blue'} + } + }" +--- + +## Usage + +```flowchart +st=>start: Start|past:>http://www.google.com[blank] +e=>end: End:>http://www.google.com +op1=>operation: My Operation|past +op2=>operation: Stuff|current +sub1=>subroutine: My Subroutine|invalid +cond=>condition: Yes +or No?|approved:>http://www.google.com +c2=>condition: Good idea|rejected +io=>inputoutput: catch something...|request + +st->op1(right)->cond +cond(yes, right)->c2 +cond(no)->sub1(left)->op1 +c2(yes)->io->e +c2(no)->op2->e +``` + +<!--more--> + + ```flowchart + st=>start: Start|past:>http://www.google.com[blank] + e=>end: End:>http://www.google.com + op1=>operation: My Operation|past + op2=>operation: Stuff|current + sub1=>subroutine: My Subroutine|invalid + cond=>condition: Yes + or No?|approved:>http://www.google.com + c2=>condition: Good idea|rejected + io=>inputoutput: catch something...|request + + st->op1(right)->cond + cond(yes, right)->c2 + cond(no)->sub1(left)->op1 + c2(yes)->io->e + c2(no)->op2->e + ``` + +## Configuration + +Configure for all home and regular pages: + +```toml +[params.flowchartDiagrams] + enable = true + options = "" +``` + +Configure for a single post in the front matter (**Params in front matter have higher precedence**): + +```yml +flowchartDiagrams: + enable: true + options: "{ + 'x': 0, + 'y': 0, + 'line-width': 3, + 'line-length': 50, + 'text-margin': 10, + 'font-size': 14, + 'font-color': 'black', + 'line-color': 'black', + 'element-color': 'black', + 'fill': 'white', + 'yes-text': 'yes', + 'no-text': 'no', + 'arrow-end': 'block', + 'scale': 1, + 'i-am-a-comment-1': 'Do not use //!', + 'i-am-a-comment-2': 'style symbol types', + 'symbols': { + 'start': { + 'font-color': 'red', + 'element-color': 'green', + 'fill': 'yellow' + }, + 'end': { + 'class': 'end-element' + } + }, + 'i-am-a-comment-3': 'even flowstate support ;-)', + 'flowstate': { + 'request': {'fill': 'blue'} + } + }" +``` + +See more information from https://github.com/adrai/flowchart.js. diff --git a/themes/even/exampleSite/content/post/js-sequence-diagrams.md b/themes/even/exampleSite/content/post/js-sequence-diagrams.md new file mode 100644 index 0000000..3ca3a1c --- /dev/null +++ b/themes/even/exampleSite/content/post/js-sequence-diagrams.md @@ -0,0 +1,95 @@ +--- +title: "JS Sequence Diagrams" +date: 2015-03-04T21:57:45+08:00 +draft: false + +sequenceDiagrams: + enable: true + options: "{theme: 'hand'}" +--- + +## Usage + +```sequence +Andrew->China: Says Hello +Note right of China: China thinks\nabout it +China-->Andrew: How are you? +Andrew->>China: I am good thanks! +``` + +<!--more--> + + ```sequence + Andrew->China: Says Hello + Note right of China: China thinks\nabout it + China-->Andrew: How are you? + Andrew->>China: I am good thanks! + ``` + +## Configuration + +Configure for all home and regular pages: + +```toml +[params.sequenceDiagrams] + enable = true + options = "{theme: 'hand'}" +``` + +Configure for a single post in the front matter (**Params in front matter have higher precedence**): + +```yml +sequenceDiagrams: + enable: true + options: "{theme: 'hand'}" +``` + +### Options + +```js +options = { + // Change the styling of the diagram, typically one of 'simple', 'hand'. New themes can be registered with registerTheme(...). + theme: string, + + // CSS style to apply to the diagram's svg tag. (Only supported if using snap.svg) + css_class: string, +} +``` + +See more information from https://github.com/bramp/js-sequence-diagrams. + +## Examples + +```sequence +Title: Here is a title +A->B: Normal line +B-->C: Dashed line +C->>D: Open arrow +D-->>A: Dashed open arrow +``` + + ```sequence + Title: Here is a title + A->B: Normal line + B-->C: Dashed line + C->>D: Open arrow + D-->>A: Dashed open arrow + ``` + +--- + +```sequence +# Example of a comment. +Note left of A: Note to the\n left of A +Note right of A: Note to the\n right of A +Note over A: Note over A +Note over A,B: Note over both A and B +``` + + ```sequence + # Example of a comment. + Note left of A: Note to the\n left of A + Note right of A: Note to the\n right of A + Note over A: Note over A + Note over A,B: Note over both A and B + ``` diff --git a/themes/even/exampleSite/content/post/shortcodes.md b/themes/even/exampleSite/content/post/shortcodes.md new file mode 100644 index 0000000..4b05fe7 --- /dev/null +++ b/themes/even/exampleSite/content/post/shortcodes.md @@ -0,0 +1,136 @@ +--- +title: "Shortcodes" +date: 2016-08-30T16:01:23+08:00 +lastmod: 2018-02-01T18:01:23+08:00 +draft: false +tags: ["shortcodes"] +categories: ["shortcodes"] + +--- + +# center, right, left + +``` +## default +![img](/path/to/img.gif "img") + +{{%/* center */%}} +## center +![img](/path/to/img.gif "img") +{{%/* /center */%}} + +{{%/* right */%}} +## right +![img](/path/to/img.gif "img") +{{%/* /right */%}} + +{{%/* left */%}} +## left +![img](/path/to/img.gif "img") +{{%/* /left */%}} +``` +<!--more--> + +## default +![img](https://wx1.sinaimg.cn/small/006SToa6ly1fm07summ2gj30qo0qomzu.jpg "img") + +{{% center %}} +## center +![img](https://wx1.sinaimg.cn/small/006SToa6ly1fm07summ2gj30qo0qomzu.jpg "img") +{{% /center %}} + +{{% right %}} +## right +![img](https://wx1.sinaimg.cn/small/006SToa6ly1fm07summ2gj30qo0qomzu.jpg "img") +{{% /right %}} + +{{% left %}} +## left +![img](https://wx1.sinaimg.cn/small/006SToa6ly1fm07summ2gj30qo0qomzu.jpg "img") +{{% /left %}} + +--- + +## figure with class + +``` +{{%/* figure src="/path/to/img.gif" title="default" alt="img" */%}} +{{%/* figure class="center" src="/path/to/img.gif" title="center" alt="img" */%}} +{{%/* figure class="right" src="/path/to/img.gif" title="right" alt="img" */%}} +{{%/* figure class="left" src="/path/to/img.gif" title="left" alt="img" */%}} +``` + +{{% figure src="https://wx1.sinaimg.cn/small/006SToa6ly1fm07summ2gj30qo0qomzu.jpg" title="default" alt="img" %}} +{{% figure class="center" src="https://wx1.sinaimg.cn/small/006SToa6ly1fm07summ2gj30qo0qomzu.jpg" title="center" alt="img" %}} +{{% figure class="right" src="https://wx1.sinaimg.cn/small/006SToa6ly1fm07summ2gj30qo0qomzu.jpg" title="right" alt="img" %}} +{{% figure class="left" src="https://wx1.sinaimg.cn/small/006SToa6ly1fm07summ2gj30qo0qomzu.jpg" title="left" alt="img" %}} + +--- + +``` +{{%/* center */%}} + +## hybrid in center +{{%/* figure src="/path/to/img.gif" title="default" alt="img" */%}} +{{%/* figure class="right" src="/path/to/img.gif" title="right" alt="img" */%}} + +{{%/* left */%}} +{{%/* figure src="/path/to/img.gif" title="default in left" alt="img" */%}} +{{%/* /left */%}} + +{{%/* /center */%}} +``` + +{{% center %}} +## hybrid in center +{{% figure src="https://wx1.sinaimg.cn/small/006SToa6ly1fm07summ2gj30qo0qomzu.jpg" title="default" alt="img" %}} +{{% figure class="right" src="https://wx1.sinaimg.cn/small/006SToa6ly1fm07summ2gj30qo0qomzu.jpg" title="right" alt="img" %}} +{{% left %}} +{{% figure src="https://wx1.sinaimg.cn/small/006SToa6ly1fm07summ2gj30qo0qomzu.jpg" title="default in left" alt="img" %}} +{{% /left %}} +{{% /center %}} + +--- + +# Music 163 + +## Params +- `id` + - required param + - you can extract from music url + - url format http://music.163.com/#/song?id=28196554 + +- Fiddle `auto` + - optional param + - default value 0 + - you can overwrite it with 1 + +## Examples + +- Simple + +``` +{{%/* music "28196554" */%}} +{{%/* music "28196554" "1" */%}} +``` + +- Named Params + +``` +{{%/* music id="28196554" */%}} +{{%/* music id="28196554" auto="1" */%}} +``` + +- Example + +``` +{{%/* music "28196554" */%}} +``` + +{{% music "28196554" %}} + +<style> +.post-content img { + height: 64px; +} +</style> diff --git a/themes/even/exampleSite/content/post/syntax-highlighting.md b/themes/even/exampleSite/content/post/syntax-highlighting.md new file mode 100644 index 0000000..b2f0770 --- /dev/null +++ b/themes/even/exampleSite/content/post/syntax-highlighting.md @@ -0,0 +1,100 @@ +--- +title: "Syntax Highlighting" +date: 2011-08-30T16:01:23+08:00 +lastmod: 2017-08-30T16:01:23+08:00 +draft: false +tags: ["preview", "Syntax Highlighting", "tag-5"] +categories: ["Syntax Highlighting"] + +toc: false + +--- + + +```js +function helloWorld () { + alert("Hello, World!") +} +``` + +<!--more--> + +```java +public class HelloWorld { + public static void main(String[] args) { + System.out.println("Hello, World!"); + } +} +``` + +```kotlin +package hello + +fun main(args: Array<String>) { + println("Hello World!") +} +``` + +```c +#include <stdio.h> + +/* Hello */ +int main(void){ + printf("Hello, World!"); + return 0; +} +``` + +```cpp +// 'Hello World!' program + +#include <iostream> + +int main(){ + std::cout << "Hello World!" << std::endl; + return 0; +} +``` + +```cs +using System; +class HelloWorld{ + public static void Main(){ + System.Console.WriteLine("Hello, World!"); + } +} +``` + +```html +<html> +<body> + Hello, World! +</body> +</html> +``` + +```go +package main +import fmt "fmt" + +func main() +{ + fmt.Printf("Hello, World!\n"); +} +``` + +```scala +object HelloWorld with Application { + Console.println("Hello, World!"); +} +``` + +```php +<?php + echo 'Hello, World!'; +?> +``` + +```python +print("Hello, World!") +``` diff --git a/themes/even/i18n/en.yaml b/themes/even/i18n/en.yaml new file mode 100644 index 0000000..48870d6 --- /dev/null +++ b/themes/even/i18n/en.yaml @@ -0,0 +1,102 @@ +# ===== title ===== +archive: + other: "Archive" + +tags: + other: "Tags" + +categories: + other: "Categories" + +# ===== footer ===== +powered: + other: "Powered by %s" + +theme: + other: "Theme" + +siteUV: + other: "site uv: %s" + +sitePV: + other: "site pv: %s" + +pagePV: + other: "%s times read" + +# ===== post ===== +prevPage: + other: "Prev" + +nextPage: + other: "Next" + +prevPost: + other: "Prev" + +nextPost: + other: "Next" + +toc: + other: "Contents" + +readMore: + other: "Read more.." + +reward: + other: "Reward" + +rewardAlipay: + other: "alipay" + +rewardWechat: + other: "wechat" + +wordCount: + one: "{{ .Count }} word" + other: "{{ .Count }} words" + +readingTime: + one: "{{ .Count }} min read" + other: "{{ .Count }} mins read" + +outdatedInfoWarningBefore: + other: "[NOTE] Updated " + +outdatedInfoWarningAfter: + other: ". This article may have outdated content or subject matter." + +# ===== content license ===== +author: + other: "Author" + +lastMod: + other: "LastMod" + +markdown: + other: "Markdown" + +seeMarkDown: + other: "The Markdown version »" + +license: + other: "License" + +# ===== counter ===== +archiveCounter: + one: "{{ .Count }} Post In Total" + other: "{{ .Count }} Posts In Total" + +tagCounter: + one: "{{ .Count }} Tag In Total" + other: "{{ .Count }} Tags In Total" + +zeroTagCounter: + other: "No tags" + +categoryCounter: + one: "{{ .Count }} Category In Total" + other: "{{ .Count }} Categories In Total" + +zeroCategoryCounter: + other: "No categories" diff --git a/themes/even/i18n/es.yaml b/themes/even/i18n/es.yaml new file mode 100644 index 0000000..ea6e079 --- /dev/null +++ b/themes/even/i18n/es.yaml @@ -0,0 +1,102 @@ +# ===== title ===== +archive: + other: "Archivo" + +tags: + other: "Tags" + +categories: + other: "Categorías" + +# ===== footer ===== +powered: + other: "Creado con %s" + +theme: + other: "Tema" + +siteUV: + other: "sitio uv: %s" + +sitePV: + other: "sitio pv: %s" + +pagePV: + other: "%s leido" + +# ===== post ===== +prevPage: + other: "Previo" + +nextPage: + other: "Siguiente" + +prevPost: + other: "Previo" + +nextPost: + other: "Siguiente" + +toc: + other: "Contenidos" + +readMore: + other: "Leer mas.." + +reward: + other: "Reward" + +rewardAlipay: + other: "alipay" + +rewardWechat: + other: "wechat" + +wordCount: + one: "{{ .Count }} palabra" + other: "{{ .Count }} palabras" + +readingTime: + one: "{{ .Count }} min lectura" + other: "{{ .Count }} mins lectura" + +outdatedInfoWarningBefore: + other: "[NOTE] Updated " + +outdatedInfoWarningAfter: + other: ". This article may have outdated content or subject matter." + +# ===== content license ===== +author: + other: "Autor" + +lastMod: + other: "Ultima modificación" + +markdown: + other: "Markdown" + +seeMarkDown: + other: "Versión Markdown »" + +license: + other: "Licencia" + +# ===== counter ===== +archiveCounter: + one: "{{ .Count }} Post en Total" + other: "{{ .Count }} Posts en Total" + +tagCounter: + one: "{{ .Count }} Tag en Total" + other: "{{ .Count }} Tags en Total" + +zeroTagCounter: + other: "No tags" + +categoryCounter: + one: "{{ .Count }} Categoria en Total" + other: "{{ .Count }} Categorias en Total" + +zeroCategoryCounter: + other: "No categorias" diff --git a/themes/even/i18n/fr.yaml b/themes/even/i18n/fr.yaml new file mode 100644 index 0000000..9262efe --- /dev/null +++ b/themes/even/i18n/fr.yaml @@ -0,0 +1,102 @@ +# ===== title ===== +archive: + other: "Archive" + +tags: + other: "Tags" + +categories: + other: "Catégories" + +# ===== footer ===== +powered: + other: "Propulsé par %s" + +theme: + other: "Thème" + +siteUV: + other: "site uv: %s" + +sitePV: + other: "site pv: %s" + +pagePV: + other: "%s temps de lecture" + +# ===== post ===== +prevPage: + other: "Plus récents" + +nextPage: + other: "Plus vieux" + +prevPost: + other: "Précédent" + +nextPost: + other: "Suivant" + +toc: + other: "Contenu" + +readMore: + other: "Lire la suite..." + +reward: + other: "Reward" + +rewardAlipay: + other: "alipay" + +rewardWechat: + other: "wechat" + +wordCount: + one: "{{ .Count }} mots" + other: "{{ .Count }} mots" + +readingTime: + one: "{{ .Count }} min de lecture" + other: "{{ .Count }} mins de lecture" + +outdatedInfoWarningBefore: + other: "[NOTE] Updated " + +outdatedInfoWarningAfter: + other: ". This article may have outdated content or subject matter." + +# ===== content license ===== +author: + other: "Auteur" + +lastMod: + other: "Modifié" + +markdown: + other: "Markdown" + +seeMarkDown: + other: "Version de Markdown »" + +license: + other: "Licence" + +# ===== counter ===== +archiveCounter: + one: "{{ .Count }} Articles au total" + other: "{{ .Count }} Articles au total" + +tagCounter: + one: "{{ .Count }} Tag au total" + other: "{{ .Count }} Tags au total" + +zeroTagCounter: + other: "Aucun tag" + +categoryCounter: + one: "{{ .Count }} Catégorie au total" + other: "{{ .Count }} Catégories au total" + +zeroCategoryCounter: + other: "Aucune catégorie" diff --git a/themes/even/i18n/zh-CN.yaml b/themes/even/i18n/zh-CN.yaml new file mode 100644 index 0000000..b6ecf5c --- /dev/null +++ b/themes/even/i18n/zh-CN.yaml @@ -0,0 +1,102 @@ +# ===== title ===== +archive: + other: "归档" + +tags: + other: "标签" + +categories: + other: "分类" + +# ===== footer ===== +powered: + other: "由 %s 强力驱动" + +theme: + other: "主题" + +siteUV: + other: "本站总访客数 %s 人" + +sitePV: + other: "本站总访问量 %s 次" + +pagePV: + other: "%s 次阅读" + +# ===== post ===== +prevPage: + other: "上一页" + +nextPage: + other: "下一页" + +prevPost: + other: "上一篇" + +nextPost: + other: "下一篇" + +toc: + other: "文章目录" + +readMore: + other: "阅读更多" + +reward: + other: "赞赏支持" + +rewardAlipay: + other: "支付宝打赏" + +rewardWechat: + other: "微信打赏" + +wordCount: + one: "约 {{ .Count }} 字" + other: "约 {{ .Count }} 字" + +readingTime: + one: "预计阅读 {{ .Count }} 分钟" + other: "预计阅读 {{ .Count }} 分钟" + +outdatedInfoWarningBefore: + other: "【注意】最后更新于 " + +outdatedInfoWarningAfter: + other: ",文中内容可能已过时,请谨慎使用。" + +# ===== content license ===== +author: + other: "文章作者" + +lastMod: + other: "上次更新" + +markdown: + other: "原始文档" + +seeMarkDown: + other: "查看本文 Markdown 版本 »" + +license: + other: "许可协议" + +# ===== counter ===== +archiveCounter: + one: "共计 {{ .Count }} 篇文章" + other: "共计 {{ .Count }} 篇文章" + +tagCounter: + one: "共计 {{ .Count }} 个标签" + other: "共计 {{ .Count }} 个标签" + +zeroTagCounter: + other: "暂无标签" + +categoryCounter: + one: "共计 {{ .Count }} 个分类" + other: "共计 {{ .Count }} 个分类" + +zeroCategoryCounter: + other: "暂无分类" diff --git a/themes/even/images/screenshot.png b/themes/even/images/screenshot.png Binary files differnew file mode 100644 index 0000000..7e18400 --- /dev/null +++ b/themes/even/images/screenshot.png diff --git a/themes/even/images/showcase.png b/themes/even/images/showcase.png Binary files differnew file mode 100644 index 0000000..8d651cc --- /dev/null +++ b/themes/even/images/showcase.png diff --git a/themes/even/images/tn.png b/themes/even/images/tn.png Binary files differnew file mode 100644 index 0000000..7207960 --- /dev/null +++ b/themes/even/images/tn.png diff --git a/themes/even/layouts/404.html b/themes/even/layouts/404.html new file mode 100644 index 0000000..fcf2b37 --- /dev/null +++ b/themes/even/layouts/404.html @@ -0,0 +1,18 @@ +{{ define "title" }}404 page not found - {{ .Site.Title }}{{ end }} + +{{ define "content" }} +<div class="not-found"> + <h1 class="error-emoji"></h1> + <p class="error-text">/* 404 page not found. */</p> + <p class="error-link"><a href="{{ "/" | relLangURL }}">↑ Back Home ↑</a></p> +</div> +<script> + var errorEmojiContainer = document.getElementsByClassName('error-emoji')[0]; + var emojiArray = [ + '\\(o_o)/', '(o^^)o', '(˚Δ˚)b', '(^-^*)', '(≥o≤)', '(^_^)b', '(·_·)', + '(=\'X\'=)', '(>_<)', '(;-;)', '\\(^Д^)/', + ]; + var errorEmoji = emojiArray[Math.floor(Math.random() * emojiArray.length)]; + errorEmojiContainer.appendChild(document.createTextNode(errorEmoji)); +</script> +{{ end }} diff --git a/themes/even/layouts/_default/baseof.html b/themes/even/layouts/_default/baseof.html new file mode 100644 index 0000000..0693148 --- /dev/null +++ b/themes/even/layouts/_default/baseof.html @@ -0,0 +1,46 @@ +{{ if ne .Site.Params.version "3.x" -}} +{{ errorf "\n\nThere are two possible situations that led to this error:\n 1. You haven't copied the config.toml yet. See https://github.com/olOwOlo/hugo-theme-even#installation \n 2. You have an incompatible update. See https://github.com/olOwOlo/hugo-theme-even/blob/master/CHANGELOG.md#300 \n\n有两种可能的情况会导致这个错误发生:\n 1. 你还没有复制 config.toml 参考 https://github.com/olOwOlo/hugo-theme-even/blob/master/README-zh.md#installation \n 2. 你进行了一次不兼容的更新 参考 https://github.com/olOwOlo/hugo-theme-even/blob/master/CHANGELOG.md#300 \n" -}} +{{ end -}} +<!DOCTYPE html> +<html lang="{{ .Site.Language }}"> +<head> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> + <title> + {{- block "title" . -}} + {{ if .IsPage }}{{ .Title }} - {{ .Site.Title }}{{ else }}{{ .Site.Title }}{{ end }} + {{- end -}} + </title> + {{ partial "head.html" . }} +</head> +<body> + {{ partial "slideout.html" . }} + <div class="container" id="mobile-panel"> + {{ if not .Params.hideHeaderAndFooter -}} + <header id="header" class="header"> + {{ partial "header.html" . }} + </header> + {{- end }} + + <main id="main" class="main"> + <div class="content-wrapper"> + <div id="content" class="content"> + {{ block "content" . }}{{ end }} + </div> + {{ partial "comments.html" . }} + </div> + </main> + + {{ if not .Params.hideHeaderAndFooter -}} + <footer id="footer" class="footer"> + {{ partial "footer.html" . }} + </footer> + {{- end }} + + <div class="back-to-top" id="back-to-top"> + <i class="iconfont icon-up"></i> + </div> + </div> + {{ partial "scripts.html" . }} +</body> +</html> diff --git a/themes/even/layouts/_default/section.html b/themes/even/layouts/_default/section.html new file mode 100644 index 0000000..fbe80f1 --- /dev/null +++ b/themes/even/layouts/_default/section.html @@ -0,0 +1,50 @@ +{{ define "title" }}{{ T "archive" }} - {{ .Site.Title }}{{ end }} + +{{ define "content"}} +{{- $paginator := .Paginate .Data.Pages.ByDate.Reverse .Site.Params.archivePaginate }} +<section id="archive" class="archive"> + {{- if and (not $paginator.HasPrev) .Site.Params.showArchiveCount }} + <div class="archive-title"> + <span class="archive-post-counter"> + {{ T "archiveCounter" (len .Data.Pages) }} + </span> + </div> + {{- end -}} + + {{- range $index, $element := $paginator.Pages -}} + {{- $thisYear := $element.Date.Format "2006" }} + {{- $lastElement := $index | add -1 | index $paginator.Pages }} + {{ if or (eq $index 0) ( ne ($lastElement.Date.Format "2006") $thisYear ) }} + <div class="collection-title"> + <h2 class="archive-year">{{ $thisYear }}</h2> + </div> + {{- end }} + + <div class="archive-post"> + <span class="archive-post-time"> + {{ $element.Date.Format "01-02" }} + </span> + <span class="archive-post-title"> + <a href="{{ $element.URL }}" class="archive-post-link"> + {{ .Title }} + </a> + </span> + </div> + {{- end -}} +</section> +<!-- pagination --> +<nav class="pagination"> + {{ with $paginator.Prev -}} + <a class="prev" href="{{ .URL }}"> + <i class="iconfont icon-left"></i> + <span class="prev-text">{{ T "prevPage" }}</span> + </a> + {{- end }} + {{ with $paginator.Next -}} + <a class="next" href="{{ .URL }}"> + <span class="next-text">{{ T "nextPage" }}</span> + <i class="iconfont icon-right"></i> + </a> + {{- end }} +</nav> +{{ end }} diff --git a/themes/even/layouts/_default/single.html b/themes/even/layouts/_default/single.html new file mode 100644 index 0000000..a1c30fd --- /dev/null +++ b/themes/even/layouts/_default/single.html @@ -0,0 +1,7 @@ +{{ define "content" -}} +<article class="post"> + <div class="post-content"> + {{ .Content }} + </div> +</article> +{{- end }}
\ No newline at end of file diff --git a/themes/even/layouts/_default/single.md b/themes/even/layouts/_default/single.md new file mode 100644 index 0000000..57705e2 --- /dev/null +++ b/themes/even/layouts/_default/single.md @@ -0,0 +1 @@ +{{ .RawContent }}
\ No newline at end of file diff --git a/themes/even/layouts/_default/taxonomy.html b/themes/even/layouts/_default/taxonomy.html new file mode 100644 index 0000000..d0c8d43 --- /dev/null +++ b/themes/even/layouts/_default/taxonomy.html @@ -0,0 +1,46 @@ +{{ define "title" }}{{ .Title }} · {{ .Site.Title }}{{ end }} + +{{ define "content"}} +{{ $paginator := .Paginate .Data.Pages.ByDate.Reverse .Site.Params.archivePaginate }} +<section id="archive" class="archive"> + {{ if not $paginator.HasPrev }} + {{ if eq .Data.Plural "tags" }} + <div class="archive-title tag"> + <h2 class="archive-name">{{ .Title }}</h2> + </div> + {{ else if eq .Data.Plural "categories" }} + <div class="archive-title category"> + <h2 class="archive-name">{{ .Title }}</h2> + </div> + {{ end }} + {{ end }} + + {{ range $paginator.Pages }} + <div class="archive-post"> + <span class="archive-post-time"> + {{ .Date.Format (.Site.Params.dateFormatToUse | default "2006-01-02") }} + </span> + <span class="archive-post-title"> + <a href="{{ .URL }}" class="archive-post-link"> + {{ .Title }} + </a> + </span> + </div> + {{ end }} +</section> +<!-- pagination --> +<nav class="pagination"> + {{ with $paginator.Prev }} + <a class="prev" href="{{ .URL }}"> + <i class="iconfont icon-left"></i> + <span class="prev-text">{{ T "prevPage" }}</span> + </a> + {{- end }} + {{ with $paginator.Next }} + <a class="next" href="{{ .URL }}"> + <span class="next-text">{{ T "nextPage" }}</span> + <i class="iconfont icon-right"></i> + </a> + {{- end }} +</nav> +{{ end }} diff --git a/themes/even/layouts/_default/terms.html b/themes/even/layouts/_default/terms.html new file mode 100644 index 0000000..04b98f8 --- /dev/null +++ b/themes/even/layouts/_default/terms.html @@ -0,0 +1,44 @@ +{{ define "title" }}{{ T .Data.Plural }} - {{ .Site.Title }}{{ end }} + +{{ define "content" }} + {{ $name := .Data.Plural -}} + {{ $terms := .Data.Terms.ByCount -}} + {{ $length := len $terms -}} + {{ if eq $name "categories" }} + <div class="categories"> + <div class="categories-title"> + {{ if eq $length 0 }} + {{ T "zeroCategoryCounter" }} + {{ else }} + {{ T "categoryCounter" $length }} + {{ end }} + </div> + <div class="categories-tags"> + {{ range $key, $value := $terms }} + <a class="category-link" href="{{ $name | relLangURL }}/{{ $value.Term | urlize }}/"> + {{ $value.Term }} + <span class="category-count">{{ len $value.Pages }}</span> + </a> + {{ end }} + </div> + </div> + {{ else if eq $name "tags" }} + <div class="tag-cloud"> + <div class="tag-cloud-title"> + {{ if eq $length 0 }} + {{ T "zeroTagCounter" }} + {{ else }} + {{ T "tagCounter" $length }} + {{ end }} + </div> + <div class="tag-cloud-tags"> + {{ range $key, $value := $terms }} + <a href="{{ $name | relLangURL }}/{{ $value.Term | urlize }}/"> + {{ $value.Term }} + <span class="tag-count">{{ len $value.Pages }}</span> + </a> + {{ end }} + </div> + </div> + {{ end }} +{{ end }}
\ No newline at end of file diff --git a/themes/even/layouts/index.html b/themes/even/layouts/index.html new file mode 100644 index 0000000..26d6869 --- /dev/null +++ b/themes/even/layouts/index.html @@ -0,0 +1,24 @@ +{{ define "content" }} + <section id="posts" class="posts"> + {{/* (index .Site.Paginate) */}} + {{ $paginator := .Paginate (where (where .Data.Pages "Type" "post") ".Params.hiddenfromhomepage" "!=" true) }} + {{ range $paginator.Pages }} + {{ .Render "summary" }} + {{ end }} + </section> + <!-- pagination --> + <nav class="pagination"> + {{ with $paginator.Prev }} + <a class="prev" href="{{ .URL }}"> + <i class="iconfont icon-left"></i> + <span class="prev-text">{{ T "prevPage" }}</span> + </a> + {{- end }} + {{ with $paginator.Next }} + <a class="next" href="{{ .URL }}"> + <span class="next-text">{{ T "nextPage" }}</span> + <i class="iconfont icon-right"></i> + </a> + {{- end }} + </nav> +{{ end }}
\ No newline at end of file diff --git a/themes/even/layouts/partials/comments.html b/themes/even/layouts/partials/comments.html new file mode 100644 index 0000000..440240a --- /dev/null +++ b/themes/even/layouts/partials/comments.html @@ -0,0 +1,109 @@ +{{ if and .IsPage (ne .Params.comment false) }} + <!-- Disqus --> + {{- if .Site.DisqusShortname -}} + <div id="disqus_thread"></div> + <script type="text/javascript"> + (function() { + // Don't ever inject Disqus on localhost--it creates unwanted + // discussions from 'localhost:1313' on your Disqus account... + if (window.location.hostname === 'localhost') return; + + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + var disqus_shortname = '{{ .Site.DisqusShortname }}'; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + {{- end -}} + + <!-- changyan --> + {{- if and .Site.Params.changyanAppid .Site.Params.changyanAppkey -}} + <div id="SOHUCS"></div> + <script type="text/javascript"> + (function(){ + if (window.location.hostname === 'localhost') return; + + var appid = '{{ .Site.Params.changyanAppid }}'; + var conf = '{{ .Site.Params.changyanAppkey }}'; + var width = window.innerWidth || document.documentElement.clientWidth; + if (width < 960) {window.document.write('<script id="changyan_mobile_js" charset="utf-8" type="text/javascript" src="https://changyan.sohu.com/upload/mobile/wap-js/changyan_mobile.js?client_id=' + appid + '&conf=' + conf + '"><\/script>'); } else { var loadJs=function(d,a){var c=document.getElementsByTagName("head")[0]||document.head||document.documentElement;var b=document.createElement("script");b.setAttribute("type","text/javascript");b.setAttribute("charset","UTF-8");b.setAttribute("src",d);if(typeof a==="function"){if(window.attachEvent){b.onreadystatechange=function(){var e=b.readyState;if(e==="loaded"||e==="complete"){b.onreadystatechange=null;a()}}}else{b.onload=a}}c.appendChild(b)};loadJs("https://changyan.sohu.com/upload/changyan.js",function(){window.changyan.api.config({appid:appid,conf:conf})}); } + })(); + </script> + {{- end -}} + + <!-- LiveRe --> + {{- if .Site.Params.livereUID -}} + <div id="lv-container" data-id="city" data-uid="{{ .Site.Params.livereUID }}"> + <script type="text/javascript"> + (function(d, s) { + var j, e = d.getElementsByTagName(s)[0]; + + if (typeof LivereTower === 'function') { return; } + + j = d.createElement(s); + j.src = 'https://cdn-city.livere.com/js/embed.dist.js'; + j.async = true; + + e.parentNode.insertBefore(j, e); + })(document, 'script'); + </script> + <noscript>Please enable JavaScript to view the comments powered by <a href="https://livere.com/">LiveRe.</a></noscript> + </div> + {{- end -}} + + <!-- gitment --> + {{- if .Site.Params.gitment.owner -}} + <div id="comments-gitment"></div> + {{ if .Site.Params.publicCDN.enable -}} + {{ .Site.Params.publicCDN.gitmentCSS | safeHTML }} + {{ .Site.Params.publicCDN.gitmentJS | safeHTML }} + {{- else -}} + <link rel="stylesheet" href="{{ "lib/gitment/gitment-0.0.3.min.css" | relURL }}"> + <script src="{{ "lib/gitment/gitment-0.0.3.min.js" | relURL }}"></script> + {{- end }} + <script type="text/javascript"> + const gitment = new Gitment({ + id: '{{ .Date }}', + title: '{{ .Title }}', + link: decodeURI(location.href), + desc: '{{ .Summary }}', + owner: '{{ .Site.Params.gitment.owner }}', + repo: '{{ .Site.Params.gitment.repo }}', + oauth: { + client_id: '{{ .Site.Params.gitment.clientId }}', + client_secret: '{{ .Site.Params.gitment.clientSecret }}' + } + }) + gitment.render('comments-gitment') + </script> + <noscript>Please enable JavaScript to view the <a href="https://github.com/imsun/gitment">comments powered by gitment.</a></noscript> + {{- end }} + + <!-- gitalk --> + {{- if .Site.Params.gitalk.owner -}} + <div id="gitalk-container"></div> + {{ if .Site.Params.publicCDN.enable -}} + {{ .Site.Params.publicCDN.gitalkCSS | safeHTML }} + {{ .Site.Params.publicCDN.gitalkJS | safeHTML }} + {{- else -}} + <link rel="stylesheet" href="{{ "lib/gitalk/gitalk-1.2.2.min.css" | relURL }}"> + <script src="{{ "lib/gitalk/gitalk-1.2.2.min.js" | relURL }}"></script> + {{- end }} + <script type="text/javascript"> + var gitalk = new Gitalk({ + id: '{{ .Date }}', + title: '{{ .Title }}', + clientID: '{{ .Site.Params.gitalk.clientId }}', + clientSecret: '{{ .Site.Params.gitalk.clientSecret }}', + repo: '{{ .Site.Params.gitalk.repo }}', + owner: '{{ .Site.Params.gitalk.owner }}', + admin: ['{{ .Site.Params.gitalk.owner }}'], + body: decodeURI(location.href) + }); + gitalk.render('gitalk-container'); + </script> + <noscript>Please enable JavaScript to view the <a href="https://github.com/gitalk/gitalk">comments powered by gitalk.</a></noscript> + {{- end }} + +{{- end }} diff --git a/themes/even/layouts/partials/footer.html b/themes/even/layouts/partials/footer.html new file mode 100644 index 0000000..b6a1fa5 --- /dev/null +++ b/themes/even/layouts/partials/footer.html @@ -0,0 +1,52 @@ +<div class="social-links"> + {{- range $name, $path := .Site.Params.social }} + {{- if $path }} + {{- $realName := slicestr $name 2 }} + <a href="{{ $path | safeURL }}" class="iconfont icon-{{ $realName }}" title="{{ $realName }}"></a> + {{- end }} + {{- end }} + {{ if .Site.LanguagePrefix -}} + <a href="{{ .Site.LanguagePrefix | absURL }}/index.xml" type="application/rss+xml" class="iconfont icon-rss" title="rss"></a> + {{- else -}} + <a href="{{ .Site.RSSLink }}" type="application/rss+xml" class="iconfont icon-rss" title="rss"></a> + {{- end }} +</div> + +<div class="copyright"> + <span class="power-by"> + {{ (printf (T "powered") `<a class="hexo-link" href="https://gohugo.io">Hugo</a>`) | safeHTML }} + </span> + <span class="division">|</span> + <span class="theme-info"> + {{ T "theme" }} - + <a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even">Even</a> + </span> + + {{ if .Site.Params.busuanzi.enable -}} + <div class="busuanzi-footer"> + {{ $spinner := "img/spinner.svg" | relURL -}} + {{ if and .Site.Params.busuanzi.enable .Site.Params.busuanzi.sitePV -}} + {{ $valueSpan := printf `<span id="busuanzi_value_site_pv"><img src="%s" alt="spinner.svg"/></span>` $spinner -}} + <span id="busuanzi_container_site_pv"> {{ printf (T "sitePV") $valueSpan | safeHTML }} </span> + {{ if .Site.Params.busuanzi.siteUV }}<span class="division">|</span>{{ end }} + {{- end }} + {{ if and .Site.Params.busuanzi.enable .Site.Params.busuanzi.siteUV -}} + {{ $valueSpan := printf `<span id="busuanzi_value_site_uv"><img src="%s" alt="spinner.svg"/></span>` $spinner -}} + <span id="busuanzi_container_site_uv"> {{ printf (T "siteUV") $valueSpan | safeHTML }} </span> + {{- end }} + </div> + {{- end }} + + <span class="copyright-year"> + {{- $current := now.Format "2006" }} + © + {{ if ne .Site.Params.since $current }} + {{ .Site.Params.since }} - + {{ end }} + {{- $current }} + <span class="heart"> + <i class="iconfont icon-heart"></i> + </span> + <span class="author">{{if .Site.Copyright }}{{ .Site.Copyright | safeHTML }}{{ else }}{{ .Site.Author.name | safeHTML }}{{ end }}</span> + </span> +</div>
\ No newline at end of file diff --git a/themes/even/layouts/partials/head.html b/themes/even/layouts/partials/head.html new file mode 100644 index 0000000..86ab6cf --- /dev/null +++ b/themes/even/layouts/partials/head.html @@ -0,0 +1,90 @@ +<meta name="renderer" content="webkit" /> +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/> + +<meta http-equiv="Cache-Control" content="no-transform" /> +<meta http-equiv="Cache-Control" content="no-siteapp" /> + +<meta name="theme-color" content="#f8f5ec" /> +<meta name="msapplication-navbutton-color" content="#f8f5ec"> +<meta name="apple-mobile-web-app-capable" content="yes"> +<meta name="apple-mobile-web-app-status-bar-style" content="#f8f5ec"> + +<!-- author & description & keywords --> +<meta name="author" content="{{ if .Params.author }}{{ .Params.author | safeHTML }}{{ else }}{{ .Site.Author.name | safeHTML }}{{ end }}" /> + +{{- if .Description -}} + <meta name="description" content="{{ .Description | safeHTML }}" /> +{{ else if .IsPage }} + <meta name="description" content="{{ .Summary | plainify }}" /> +{{ else if .Site.Params.description }} + <meta name="description" content="{{ .Site.Params.description | safeHTML }}" /> +{{- end -}} + +{{- if .Keywords -}} + {{ $length := len .Keywords | add -1 -}} + <meta name="keywords" content="{{ range $index, $element := .Keywords }}{{ $element | safeHTML }}{{if ne $index $length }}, {{ end }}{{ end }}" /> +{{ else if .Site.Params.keywords }} + {{ $length := len .Site.Params.keywords | add -1 -}} + <meta name="keywords" content="{{ range $index, $element := .Site.Params.keywords }}{{ $element | safeHTML }}{{if ne $index $length }}, {{ end }}{{ end }}" /> +{{- end }} + +<!-- baidu & google verification --> +{{ with .Site.Params.baidu_verification }}<meta name="baidu-site-verification" content="{{.}}" />{{ end }} +{{ with .Site.Params.google_verification }}<meta name="google-site-verification" content="{{.}}" />{{ end }} + +<!-- Site Generator --> +<meta name="generator" content="Hugo {{ .Hugo.Version }}" /> + +<!-- Permalink & RSSlink --> +<link rel="canonical" href="{{ .Permalink }}" /> +{{ if .RSSLink -}} + <link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" /> + <link href="{{ .RSSLink }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" /> +{{ end -}} + +<!-- Favicon and Touch icons --> +<link rel="apple-touch-icon" sizes="180x180" href="{{ "apple-touch-icon.png" | relURL }}"> +<link rel="icon" type="image/png" sizes="32x32" href="{{ "favicon-32x32.png" | relURL }}"> +<link rel="icon" type="image/png" sizes="16x16" href="{{ "favicon-16x16.png" | relURL }}"> +<link rel="manifest" href="{{ "manifest.json" | relURL }}"> +<link rel="mask-icon" href="{{ "safari-pinned-tab.svg" | relURL }}" color="#5bbad5"> + +<!-- debug --> +{{- if .Site.Params.debug }} +<script src="https://cdn.jsdelivr.net/npm/eruda@1.2.6/eruda.min.js" integrity="sha256-Jmz4bc3kp+rRrXX2tGadNBKFLwtzMapr8kHABxSAAP8=" crossorigin="anonymous"></script> +<script>eruda.init();</script> +{{- end }} + +<!-- busuanzi --> +{{ if .Site.Params.busuanzi.enable -}} +<script async src="//dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"></script> +{{- end }} + +<!-- Styles --> +<link href="{{ "dist/even.min.css?v=3.2.0" | relURL }}" rel="stylesheet"> +{{ if .Site.Params.publicCDN.enable -}} + {{ if .Site.Params.fancybox }}{{ .Site.Params.publicCDN.fancyboxCss | safeHTML }}{{ end }} +{{- else -}} + {{ if .Site.Params.fancybox }}<link href="{{ "lib/fancybox/jquery.fancybox-3.1.20.min.css" | relURL }}" rel="stylesheet">{{ end }} +{{- end }} + +<!-- custom css --> +{{ range .Site.Params.customCSS }} +<link rel="stylesheet" href="{{ "/css/" | relURL }}{{ . }}"> +{{ end }} + +{{/* NOTE: These Hugo Internal Templates can be found starting at https://github.com/spf13/hugo/blob/master/tpl/tplimpl/template_embedded.go#L158 */}} +{{- template "_internal/opengraph.html" . -}} +{{- template "_internal/google_news.html" . -}} +{{- template "_internal/schema.html" . -}} +{{- template "_internal/twitter_cards.html" . -}} + +<!-- Polyfill for old browsers --> +{{ `<!--[if lte IE 9]> + <script src="https://cdnjs.cloudflare.com/ajax/libs/classlist/1.1.20170427/classList.min.js"></script> +<![endif]-->` | safeHTML }} + +{{ `<!--[if lt IE 9]> + <script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js"></script> + <script src="https://cdn.jsdelivr.net/npm/respond.js@1.4.2/dest/respond.min.js"></script> +<![endif]-->` | safeHTML }} diff --git a/themes/even/layouts/partials/header.html b/themes/even/layouts/partials/header.html new file mode 100644 index 0000000..3592e88 --- /dev/null +++ b/themes/even/layouts/partials/header.html @@ -0,0 +1,19 @@ +<div class="logo-wrapper"> + <a href="{{ "/" | relLangURL }}" class="logo"> + {{- if .Site.Params.logoTitle -}} + {{ .Site.Params.logoTitle }} + {{- else -}} + {{ .Site.Title }} + {{- end -}} + </a> +</div> + +<nav class="site-navbar"> + <ul id="menu" class="menu"> + {{ range .Site.Menus.main -}} + <li class="menu-item"> + <a class="menu-item-link" href="{{ .URL | safeURL }}">{{ .Name }}</a> + </li> + {{- end }} + </ul> +</nav>
\ No newline at end of file diff --git a/themes/even/layouts/partials/post/copyright.html b/themes/even/layouts/partials/post/copyright.html new file mode 100644 index 0000000..cd42d68 --- /dev/null +++ b/themes/even/layouts/partials/post/copyright.html @@ -0,0 +1,32 @@ +{{ if or .Params.postMetaInFooter (and .Site.Params.postMetaInFooter (ne .Params.postMetaInFooter false)) -}} +<div class="post-copyright"> + <p class="copyright-item"> + <span class="item-title">{{ T "author" }}</span> + <span class="item-content">{{ if .Params.author }}{{ .Params.author | safeHTML }}{{ else }}{{ .Site.Author.name | safeHTML }}{{ end }}</span> + </p> + <p class="copyright-item"> + <span class="item-title">{{ T "lastMod" }}</span> + <span class="item-content">{{ .Lastmod.Format (.Site.Params.dateFormatToUse | default "2006-01-02") }}</span> + </p> + {{ if $.Site.Params.linkToMarkDown -}} + {{ with $.OutputFormats.Get "markdown" -}} + <p class="copyright-item"> + <span class="item-title">{{ T "markdown" }}</span> + <span class="item-content"><a class="link-to-markdown" href="{{ .Permalink }}" target="_blank">{{ T "seeMarkDown" }}</a></span> + </p> + {{- end }} + {{- end }} + {{ if or .Params.contentCopyright (and .Site.Params.contentCopyright (ne .Params.contentCopyright false)) -}} + <p class="copyright-item"> + <span class="item-title">{{ T "license" }}</span> + <span class="item-content"> + {{- if .Params.contentCopyright -}} + {{ .Params.contentCopyright | safeHTML }} + {{- else -}} + {{ .Site.Params.contentCopyright | safeHTML }} + {{- end -}} + </span> + </p> + {{- end }} +</div> +{{- end }}
\ No newline at end of file diff --git a/themes/even/layouts/partials/post/outdated-info-warning.html b/themes/even/layouts/partials/post/outdated-info-warning.html new file mode 100644 index 0000000..3736c13 --- /dev/null +++ b/themes/even/layouts/partials/post/outdated-info-warning.html @@ -0,0 +1,28 @@ +{{- if or .Params.enableOutdatedInfoWarning (and .Site.Params.outdatedInfoWarning.enable (ne .Params.enableOutdatedInfoWarning false)) }} + {{- $daysAgo := div (sub now.Unix .Lastmod.Unix) 86400 }} + {{- $hintThreshold := .Site.Params.outdatedInfoWarning.hint | default 30 }} + {{- $warnThreshold := .Site.Params.outdatedInfoWarning.warn | default 180 }} + + {{- $updateTime := .Lastmod }} + {{- if .GitInfo }} + {{- if lt .GitInfo.AuthorDate.Unix .Lastmod.Unix }} + {{- $updateTime := .GitInfo.AuthorDate }} + {{- end }} + {{- end -}} + + {{- if gt $daysAgo $hintThreshold }} + <div class="post-outdated"> + {{- if gt $daysAgo $warnThreshold }} + <div class="warn"> + {{- else }} + <div class="hint"> + {{- end }} + <p>{{ T "outdatedInfoWarningBefore" -}} + <span class="timeago" datetime="{{ dateFormat "2006-01-02T15:04:05" $updateTime }}" title="{{ dateFormat "January 2, 2006" $updateTime }}"> + {{- dateFormat "January 2, 2006" $updateTime -}} + </span>{{ T "outdatedInfoWarningAfter" -}} + </p> + </div> + </div> + {{- end -}} +{{- end -}} diff --git a/themes/even/layouts/partials/post/reward.html b/themes/even/layouts/partials/post/reward.html new file mode 100644 index 0000000..3242854 --- /dev/null +++ b/themes/even/layouts/partials/post/reward.html @@ -0,0 +1,21 @@ +{{ if or .Params.reward (and .Site.Params.reward.enable (ne .Params.reward false)) }} +<div class="post-reward"> + <input type="checkbox" name="reward" id="reward" hidden /> + <label class="reward-button" for="reward">{{ T "reward" }}</label> + <div class="qr-code"> + {{ $qrCode := .Site.Params.reward }} + {{ with $qrCode.wechat }} + <label class="qr-code-image" for="reward"> + <img class="image" src="{{ . }}"> + <span>{{ T "rewardWechat" }}</span> + </label> + {{- end }} + {{ with $qrCode.alipay }} + <label class="qr-code-image" for="reward"> + <img class="image" src="{{ . }}"> + <span>{{ T "rewardAlipay" }}</span> + </label> + {{- end }} + </div> +</div> +{{- end }}
\ No newline at end of file diff --git a/themes/even/layouts/partials/post/toc.html b/themes/even/layouts/partials/post/toc.html new file mode 100644 index 0000000..4fed1c7 --- /dev/null +++ b/themes/even/layouts/partials/post/toc.html @@ -0,0 +1,9 @@ +{{ if or .Params.toc (and .Site.Params.toc (ne .Params.toc false)) }} +<div class="post-toc" id="post-toc"> + <h2 class="post-toc-title">{{ T "toc" }}</h2> + {{ $globalAutoCollapseToc := .Site.Params.autoCollapseToc | default false }} + <div class="post-toc-content{{ if not (or .Params.autoCollapseToc (and $globalAutoCollapseToc (ne .Params.autoCollapseToc false))) }} always-active{{ end }}"> + {{.TableOfContents}} + </div> +</div> +{{- end }}
\ No newline at end of file diff --git a/themes/even/layouts/partials/scripts.html b/themes/even/layouts/partials/scripts.html new file mode 100644 index 0000000..803ac6a --- /dev/null +++ b/themes/even/layouts/partials/scripts.html @@ -0,0 +1,115 @@ +<!-- js --> +<script src="{{ "lib/highlight/highlight.pack.js?v=20171001" | relURL }}"></script> +{{- if .Site.Params.publicCDN.enable }} + {{ .Site.Params.publicCDN.jquery | safeHTML }} + {{ .Site.Params.publicCDN.slideout | safeHTML }} + {{ if .Site.Params.fancybox }}{{ .Site.Params.publicCDN.fancyboxJs | safeHTML }}{{ end }} +{{- else -}} + <script type="text/javascript" src="{{ "lib/jquery/jquery-3.2.1.min.js" | relURL }}"></script> + <script type="text/javascript" src="{{ "lib/slideout/slideout-1.0.1.min.js" | relURL }}"></script> + {{ if .Site.Params.fancybox }}<script type="text/javascript" src="{{ "lib/fancybox/jquery.fancybox-3.1.20.min.js" | relURL }}"></script>{{ end }} +{{- end -}} + +<!-- timeago.JS --> +{{- if and (or .Params.enableOutdatedInfoWarning (and .Site.Params.outdatedInfoWarning.enable (ne .Params.enableOutdatedInfoWarning false))) (or .IsPage .IsHome) }} + {{- if .Site.Params.publicCDN.enable }} + {{ .Site.Params.publicCDN.timeagoJS | safeHTML }} + {{ .Site.Params.publicCDN.timeagoLocalesJS | safeHTML }} + {{- else }} + <script type="text/javascript" src="{{ "lib/timeago/timeago-3.0.2.min.js" | relURL }}"></script> + <script type="text/javascript" src="{{ "lib/timeago/timeago.locales-3.0.2.min.js" | relURL }}"></script> + {{- end }} +<script> // NOTE: timeago.js uses the language code format like "zh_CN" (underscore and case sensitive) + var languageCode = {{ .Site.LanguageCode }}.replace(/-/g, '_').replace(/_(.*)/, function ($0, $1) {return $0.replace($1, $1.toUpperCase());}); + timeago().render(document.querySelectorAll('.timeago'), languageCode); + timeago.cancel(); // stop update +</script> +{{- end }} + +<!-- flowchart --> +{{- if and (or .Params.flowchartDiagrams.enable (and .Site.Params.flowchartDiagrams.enable (ne .Params.flowchartDiagrams.enable false))) (or .IsPage .IsHome) -}} +<script> + {{- if .Params.flowchartDiagrams.options -}} + window.flowchartDiagramsOptions = {{ .Params.flowchartDiagrams.options | safeJS }}; + {{- else if .Site.Params.flowchartDiagrams.options -}} + window.flowchartDiagramsOptions = {{ .Site.Params.flowchartDiagrams.options | safeJS }}; + {{- end -}} +</script> +<script src="https://cdn.jsdelivr.net/npm/raphael@2.2.7/raphael.min.js" integrity="sha256-67By+NpOtm9ka1R6xpUefeGOY8kWWHHRAKlvaTJ7ONI=" crossorigin="anonymous"></script> +<script src="https://cdn.jsdelivr.net/npm/flowchart.js@1.8.0/release/flowchart.min.js" integrity="sha256-zNGWjubXoY6rb5MnmpBNefO0RgoVYfle9p0tvOQM+6k=" crossorigin="anonymous"></script> +{{- end -}} + +<!-- js-sequence-diagrams --> +{{- if and (or .Params.sequenceDiagrams.enable (and .Site.Params.sequenceDiagrams.enable (ne .Params.sequenceDiagrams.enable false))) (or .IsPage .IsHome) -}} +<script> + {{- if .Params.sequenceDiagrams.options -}} + window.sequenceDiagramsOptions = {{ .Params.sequenceDiagrams.options | safeJS }}; + {{- else if .Site.Params.sequenceDiagrams.options -}} + window.sequenceDiagramsOptions = {{ .Site.Params.sequenceDiagrams.options | safeJS }}; + {{- end -}} +</script> +<script src="https://cdn.jsdelivr.net/npm/webfontloader@1.6.28/webfontloader.js" integrity="sha256-4O4pS1SH31ZqrSO2A/2QJTVjTPqVe+jnYgOWUVr7EEc=" crossorigin="anonymous"></script> +<script src="https://cdn.jsdelivr.net/npm/snapsvg@0.5.1/dist/snap.svg-min.js" integrity="sha256-oI+elz+sIm+jpn8F/qEspKoKveTc5uKeFHNNVexe6d8=" crossorigin="anonymous"></script> +<script src="https://cdn.jsdelivr.net/npm/underscore@1.8.3/underscore-min.js" integrity="sha256-obZACiHd7gkOk9iIL/pimWMTJ4W/pBsKu+oZnSeBIek=" crossorigin="anonymous"></script> +<script src="https://cdn.jsdelivr.net/gh/bramp/js-sequence-diagrams@2.0.1/dist/sequence-diagram-min.js" integrity="sha384-8748Vn52gHJYJI0XEuPB2QlPVNUkJlJn9tHqKec6J3q2r9l8fvRxrgn/E5ZHV0sP" crossorigin="anonymous"></script> +<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/bramp/js-sequence-diagrams@2.0.1/dist/sequence-diagram-min.css" integrity="sha384-6QbLKJMz5dS3adWSeINZe74uSydBGFbnzaAYmp+tKyq60S7H2p6V7g1TysM5lAaF" crossorigin="anonymous"> +{{- end }} +<script type="text/javascript" src="{{ "dist/even.min.js?v=3.2.0" | relURL }}"></script> + +{{- if and (or .Params.mathjax (and .Site.Params.mathjax (ne .Params.mathjax false))) (or .IsPage .IsHome) }} + <script type="text/javascript"> + window.MathJax = { + {{ if or .Params.mathjaxEnableSingleDollar (and .Site.Params.mathjaxEnableSingleDollar (ne .Params.mathjaxEnableSingleDollar false)) -}} + tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}, + {{ end -}} + {{ if or .Params.mathjaxEnableAutoNumber (and .Site.Params.mathjaxEnableAutoNumber (ne .Params.mathjaxEnableAutoNumber false)) -}} + TeX: {equationNumbers: {autoNumber: "AMS"}}, + {{ end -}} + showProcessingMessages: false, + messageStyle: 'none' + }; + </script> + <script type="text/javascript" async src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/MathJax.js?config=TeX-MML-AM_CHTML"></script> +{{- end }} + +<!-- Analytics --> +{{- if .Site.GoogleAnalytics -}} + {{ template "_internal/google_analytics_async.html" . }} +{{- end -}} + +{{- with .Site.Params.baidu_analytics -}} +<script id="baidu_analytics"> + var _hmt = _hmt || []; + (function() { + if (window.location.hostname === 'localhost') return; + var hm = document.createElement("script"); hm.async = true; + hm.src = "https://hm.baidu.com/hm.js?{{.}}"; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); +</script> +{{- end }} + +<!-- baidu_push --> +{{- if .Site.Params.baidu_push -}} +<script id="baidu_push"> + (function(){ + if (window.location.hostname === 'localhost') return; + var bp = document.createElement('script'); bp.async = true; + var curProtocol = window.location.protocol.split(':')[0]; + if (curProtocol === 'https') { + bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; + } + else { + bp.src = 'http://push.zhanzhang.baidu.com/push.js'; + } + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(bp, s); + })(); +</script> +{{- end }} + +<!-- custom js --> +{{ range .Site.Params.customJS }} +<script src="{{ "/js/" | relURL }}{{ . }}"></script> +{{ end }} diff --git a/themes/even/layouts/partials/slideout.html b/themes/even/layouts/partials/slideout.html new file mode 100644 index 0000000..42ed13e --- /dev/null +++ b/themes/even/layouts/partials/slideout.html @@ -0,0 +1,25 @@ +<div id="mobile-navbar" class="mobile-navbar"> + <div class="mobile-header-logo"> + <a href="{{ "/" | relLangURL }}" class="logo"> + {{- if .Site.Params.logoTitle -}} + {{ .Site.Params.logoTitle }} + {{- else -}} + {{ .Site.Title }} + {{- end -}} + </a> + </div> + <div class="mobile-navbar-icon"> + <span></span> + <span></span> + <span></span> + </div> +</div> +<nav id="mobile-menu" class="mobile-menu slideout-menu"> + <ul class="mobile-menu-list"> + {{ range .Site.Menus.main -}} + <a href="{{ .URL | safeURL }}"> + <li class="mobile-menu-item">{{ .Name }}</li> + </a> + {{- end }} + </ul> +</nav>
\ No newline at end of file diff --git a/themes/even/layouts/post/single.html b/themes/even/layouts/post/single.html new file mode 100644 index 0000000..61fbf8c --- /dev/null +++ b/themes/even/layouts/post/single.html @@ -0,0 +1,72 @@ +{{ define "content" -}} + <article class="post"> + <!-- post-header --> + <header class="post-header"> + <h1 class="post-title">{{ .Title }}</h1> + + <div class="post-meta"> + <span class="post-time"> {{ .Date.Format (.Site.Params.dateFormatToUse | default "2006-01-02") }} </span> + {{ with .Params.categories -}} + <div class="post-category"> + {{ range . }} + <a href="{{ "categories" | relLangURL }}/{{ . | urlize }}/"> {{ . }} </a> + {{ end }} + </div> + {{- end }} + {{ if .Site.Params.moreMeta -}} + <span class="more-meta"> {{ T "wordCount" .WordCount }} </span> + <span class="more-meta"> {{ T "readingTime" .ReadingTime }} </span> + {{- end }} + {{ if and .Site.Params.busuanzi.enable .Site.Params.busuanzi.pagePV -}} + {{ $valueSpan := printf `<span id="busuanzi_value_page_pv"><img src="%s" alt="spinner.svg"/></span>` ("img/spinner.svg" | relURL) -}} + <span id="busuanzi_container_page_pv" class="more-meta"> {{ printf (T "pagePV") $valueSpan | safeHTML }} </span> + {{- end }} + </div> + </header> + + <!-- TOC --> + {{ partial "post/toc.html" . }} + + <!-- Outdated Info Warning --> + {{ partial "post/outdated-info-warning.html" . }} + + <!-- Content --> + <div class="post-content"> + {{ .Content }} + </div> + + <!-- Copyright --> + {{ partial "post/copyright.html" . }} + + <!-- Reward --> + {{ partial "post/reward.html" . }} + + <footer class="post-footer"> + {{ with .Params.tags -}} + <div class="post-tags"> + {{ range . }} + <a href="{{ "tags" | relLangURL }}/{{ . | urlize }}/">{{ . }}</a> + {{ end }} + </div> + {{- end }} + + <!-- Post Pagination --> + <nav class="post-nav"> + {{ with .NextInSection }} + <a class="prev" href="{{ .URL }}"> + <i class="iconfont icon-left"></i> + <span class="prev-text nav-default">{{ .Title }}</span> + <span class="prev-text nav-mobile">{{ T "prevPost" }}</span> + </a> + {{- end }} + {{ with .PrevInSection }} + <a class="next" href="{{ .URL }}"> + <span class="next-text nav-default">{{ .Title }}</span> + <span class="next-text nav-mobile">{{ T "nextPost" }}</span> + <i class="iconfont icon-right"></i> + </a> + {{- end }} + </nav> + </footer> + </article> +{{- end }} diff --git a/themes/even/layouts/post/summary.html b/themes/even/layouts/post/summary.html new file mode 100644 index 0000000..6069ca1 --- /dev/null +++ b/themes/even/layouts/post/summary.html @@ -0,0 +1,28 @@ +<article class="post"> + <header class="post-header"> + <h1 class="post-title"><a class="post-link" href="{{ .URL }}">{{ .Title }}</a></h1> + <div class="post-meta"> + <span class="post-time"> {{ .Date.Format (.Site.Params.dateFormatToUse | default "2006-01-02") }} </span> + {{ with .Params.categories -}} + <div class="post-category"> + {{ range . }} + <a href="{{ "categories" | relLangURL }}/{{ . | urlize }}/"> {{ . }} </a> + {{ end }} + </div> + {{- end }} + {{ if .Site.Params.moreMeta -}} + <span class="more-meta"> {{ T "wordCount" .WordCount }} </span> + <span class="more-meta"> {{ T "readingTime" .ReadingTime }} </span> + {{- end }} + </div> + </header> + <!-- Content --> + <div class="post-content"> + <div class="post-summary"> + {{ .Summary }} + </div> + <div class="read-more"> + <a href="{{ .URL }}" class="read-more-link">{{ T "readMore" }}</a> + </div> + </div> +</article> diff --git a/themes/even/layouts/robots.txt b/themes/even/layouts/robots.txt new file mode 100644 index 0000000..e89778e --- /dev/null +++ b/themes/even/layouts/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Sitemap: {{ "sitemap.xml" | absURL }} diff --git a/themes/even/layouts/shortcodes/center.html b/themes/even/layouts/shortcodes/center.html new file mode 100644 index 0000000..e9022d0 --- /dev/null +++ b/themes/even/layouts/shortcodes/center.html @@ -0,0 +1,3 @@ +<div class='align-center'> + {{ .Inner }} +</div>
\ No newline at end of file diff --git a/themes/even/layouts/shortcodes/left.html b/themes/even/layouts/shortcodes/left.html new file mode 100644 index 0000000..c2c5102 --- /dev/null +++ b/themes/even/layouts/shortcodes/left.html @@ -0,0 +1,3 @@ +<div class='align-left'> + {{ .Inner }} +</div>
\ No newline at end of file diff --git a/themes/even/layouts/shortcodes/music.html b/themes/even/layouts/shortcodes/music.html new file mode 100644 index 0000000..22b2268 --- /dev/null +++ b/themes/even/layouts/shortcodes/music.html @@ -0,0 +1,62 @@ + {{/* + ## Music 163 + + ### Params: + + - `id` + + required param + you can extract from music url + url format "http://music.163.com/#/song?id=3950552" + + - Fiddle `auto` + + optional param + default value 0 + you can overwrite it with 1 + + ### Examples: + + - Simple + + {{% music "3950552" %}} + {{% music "3950552" "1" %}} + + - Named Params + + {{% music id="3950552" %}} + {{% music id="3950552" auto="1" %}} + + */}} + + {{- /* DEFAULTS */ -}} + {{ $auto := "0" }} + + {{- if .IsNamedParams -}} + + <iframe style="max-width: 100%" + class="music163" + frameborder="no" + border="0" + marginwidth="0" + marginheight="0" + width="330" + height="86" + src="//music.163.com/outchain/player?type=2&id={{ .Get "id" }}&auto={{ or (.Get "auto") $auto }}&height=66"> + </iframe> + + {{- else -}} + + <iframe style="max-width: 100%" + class="music163" + frameborder="no" + border="0" + marginwidth="0" + marginheight="0" + width="330" + height="86" + src="//music.163.com/outchain/player?type=2&id={{ .Get 0 }}&auto={{ if isset .Params 1 }}{{ .Get 1 }}{{ else }}{{ $auto }}{{ end }}&height=66"> + </iframe> + + {{- end -}} +
\ No newline at end of file diff --git a/themes/even/layouts/shortcodes/right.html b/themes/even/layouts/shortcodes/right.html new file mode 100644 index 0000000..37a9a33 --- /dev/null +++ b/themes/even/layouts/shortcodes/right.html @@ -0,0 +1,3 @@ +<div class='align-right'> + {{ .Inner }} +</div>
\ No newline at end of file diff --git a/themes/even/layouts/sitemap.xml b/themes/even/layouts/sitemap.xml new file mode 100644 index 0000000..19dd68d --- /dev/null +++ b/themes/even/layouts/sitemap.xml @@ -0,0 +1,11 @@ +{{ "<?" | safeHTML }}xml-stylesheet type="text/xsl" href="{{ "sitemap.xsl" | absURL }}"{{ "?>" | safeHTML }} +<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> + {{ range .Data.Pages }} + <url> + <loc>{{ .Permalink }}</loc>{{ if not .Lastmod.IsZero }} + <lastmod>{{ safeHTML ( .Lastmod.Format "2006-01-02T15:04:05-07:00" ) }}</lastmod>{{ end }}{{ with .Sitemap.ChangeFreq }} + <changefreq>{{ . }}</changefreq>{{ end }}{{ if ge .Sitemap.Priority 0.0 }} + <priority>{{ .Sitemap.Priority }}</priority>{{ end }} + </url> + {{ end }} +</urlset>
\ No newline at end of file diff --git a/themes/even/src/.babelrc b/themes/even/src/.babelrc new file mode 100644 index 0000000..2645a84 --- /dev/null +++ b/themes/even/src/.babelrc @@ -0,0 +1,10 @@ +{ + "presets": ["es2015","stage-2"], + "plugins": [ + ["transform-runtime", { + "polyfill": false, + "regenerator": true + }] + ], + "ignore": [] +} diff --git a/themes/even/src/css/_base.scss b/themes/even/src/css/_base.scss new file mode 100644 index 0000000..0e1c342 --- /dev/null +++ b/themes/even/src/css/_base.scss @@ -0,0 +1,98 @@ +@import '_common/normalize'; + +html { + font-size: $global-font-size; + box-sizing: border-box; +} + +body { + padding: 0; + margin: 0; + font-family: $global-font-family; + font-weight: normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + line-height: $global-lineheight; + color: $global-font-color; + background: $global-background; + scroll-behavior: smooth; + border-top: 3px solid $theme-color; +} + +@include max-screen() { + body { + border-top: 0; + } +} + +::selection { + background: $theme-color; + color: #fff; +} + +// ::-webkit-scrollbar { +// width: 8px; +// height: 6px; +// } + +// ::-webkit-scrollbar-thumb { +// background: lighten($theme-color, 10%); +// border-radius: 5px; +// } + +// ::-webkit-scrollbar-track { +// background: rgba(211, 211, 211, 0.4); +// border-radius: 5px; +// } + +img { + max-width: 100%; + height: auto; + display: inline-block; + vertical-align: middle; +} + +a { + color: $global-font-color; + text-decoration: none; +} + +@each $header, $size in $global-headings { + #{$header} { + font-size: $size; + font-family: $global-serif-font-family; + } +} + +.container { + margin: 0 auto; + width: $global-body-width; +} + +@include max-screen() { + .container { + width: 100%; + box-shadow: -1px -5px 5px $gray; + } +} + +.content-wrapper { + padding: $global-container-padding; +} + +// make video fluid: +// https://css-tricks.com/NetMag/FluidWidthVideo/Article-FluidWidthVideo.php +// class video-container is the wrapper used by hexo youtube tag plugin +.video-container { + position: relative; + padding-bottom: 56.25%; /* 16:9 */ + padding-top: 25px; + height: 0; +} +.video-container iframe { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; +}
\ No newline at end of file diff --git a/themes/even/src/css/_common/_animation.scss b/themes/even/src/css/_common/_animation.scss new file mode 100644 index 0000000..d596b16 --- /dev/null +++ b/themes/even/src/css/_common/_animation.scss @@ -0,0 +1,156 @@ +@mixin underline-from-center() { + display: inline-block; + vertical-align: middle; + transform: translateZ(0); + backface-visibility: hidden; + box-shadow: 0 0 1px transparent; + position: relative; + overflow: hidden; + + &:before { + content: ''; + position: absolute; + z-index: -1; + height: 2px; + bottom: 0; + left: 51%; + right: 51%; + background: $theme-color; + transition-duration: 0.2s; + transition-property: right, left; + transition-timing-function: ease-out; + } + + &.active, + &:active, + &:focus, + &:hover { + &:before { + right: 0; + left: 0; + } + } +} + +@mixin mobile-menu-icon() { + @keyframes clickfirst { + 0% { + transform: translateY(6px) rotate(0deg); + + } + + 100% { + transform: translateY(0) rotate(45deg); + } + } + + @keyframes clickmid { + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } + } + + @keyframes clicklast { + 0% { + transform: translateY(-6px) rotate(0deg); + } + + 100% { + transform: translateY(0) rotate(-45deg); + } + } + + @keyframes outfirst { + 0% { + transform: translateY(0) rotate(-45deg); + } + + 100% { + transform: translateY(-6px) rotate(0deg); + } + } + + @keyframes outmid { + 0% { + opacity: 0; + } + + 100% { + opacity: 1; + } + } + + @keyframes outlast { + 0% { + transform: translateY(0) rotate(45deg); + } + + 100% { + transform: translateY(6px) rotate(0deg); + } + } + + span { + position: absolute; + /* fallback for browsers which still doesn't support for `calc()` */ + left: 15px; + top: 25px; + left: calc((100% - 20px) / 2); + top: calc((100% - 1px) / 2); + width: 20px; + height: 1px; + background-color: $theme-color; + + &:nth-child(1) { + transform: translateY(6px) rotate(0deg); + } + + &:nth-child(3) { + transform: translateY(-6px) rotate(0deg); + } + } + + &.icon-click { + span:nth-child(1) { + animation-duration: 0.5s; + animation-fill-mode: both; + animation-name: clickfirst; + } + + span:nth-child(2) { + animation-duration: 0.2s; + animation-fill-mode: both; + animation-name: clickmid; + } + + span:nth-child(3) { + animation-duration: 0.5s; + animation-fill-mode: both; + animation-name: clicklast; + } + } + + &.icon-out { + span:nth-child(1) { + animation-duration: 0.5s; + animation-fill-mode: both; + animation-name: outfirst; + } + + span:nth-child(2) { + animation-duration: 0.2s; + animation-fill-mode: both; + animation-name: outmid; + } + + span:nth-child(3) { + animation-duration: 0.5s; + animation-fill-mode: both; + animation-name: outlast; + } + } +}
\ No newline at end of file diff --git a/themes/even/src/css/_common/_normalize.scss b/themes/even/src/css/_common/_normalize.scss new file mode 100644 index 0000000..81c6f31 --- /dev/null +++ b/themes/even/src/css/_common/_normalize.scss @@ -0,0 +1,427 @@ +/*! normalize.css v3.0.2 | MIT License | git.io/normalize */ + +/** + * 1. Set default font family to sans-serif. + * 2. Prevent iOS text size adjust after orientation change, without disabling + * user zoom. + */ + +html { + font-family: sans-serif; /* 1 */ + -ms-text-size-adjust: 100%; /* 2 */ + -webkit-text-size-adjust: 100%; /* 2 */ +} + +/** + * Remove default margin. + */ + +body { + margin: 0; +} + +/* HTML5 display definitions + ========================================================================== */ + +/** + * Correct `block` display not defined for any HTML5 element in IE 8/9. + * Correct `block` display not defined for `details` or `summary` in IE 10/11 + * and Firefox. + * Correct `block` display not defined for `main` in IE 11. + */ + +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +main, +menu, +nav, +section, +summary { + display: block; +} + +/** + * 1. Correct `inline-block` display not defined in IE 8/9. + * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera. + */ + +audio, +canvas, +progress, +video { + display: inline-block; /* 1 */ + vertical-align: baseline; /* 2 */ +} + +/** + * Prevent modern browsers from displaying `audio` without controls. + * Remove excess height in iOS 5 devices. + */ + +audio:not([controls]) { + display: none; + height: 0; +} + +/** + * Address `[hidden]` styling not present in IE 8/9/10. + * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22. + */ + +[hidden], +template { + display: none; +} + +/* Links + ========================================================================== */ + +/** + * Remove the gray background color from active links in IE 10. + */ + +a { + background-color: transparent; +} + +/** + * Improve readability when focused and also mouse hovered in all browsers. + */ + +a:active, +a:hover { + outline: 0; +} + +/* Text-level semantics + ========================================================================== */ + +/** + * Address styling not present in IE 8/9/10/11, Safari, and Chrome. + */ + +abbr[title] { + border-bottom: 1px dotted; +} + +/** + * Address style set to `bolder` in Firefox 4+, Safari, and Chrome. + */ + +b, +strong { + font-weight: bold; +} + +/** + * Address styling not present in Safari and Chrome. + */ + +dfn { + font-style: italic; +} + +/** + * Address variable `h1` font-size and margin within `section` and `article` + * contexts in Firefox 4+, Safari, and Chrome. + */ + +h1 { + font-size: 2em; + margin: 0.67em 0; +} + +/** + * Address styling not present in IE 8/9. + */ + +mark { + background: #ff0; + color: #000; +} + +/** + * Address inconsistent and variable font size in all browsers. + */ + +small { + font-size: 80%; +} + +/** + * Prevent `sub` and `sup` affecting `line-height` in all browsers. + */ + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sup { + top: -0.5em; +} + +sub { + bottom: -0.25em; +} + +/* Embedded content + ========================================================================== */ + +/** + * Remove border when inside `a` element in IE 8/9/10. + */ + +img { + border: 0; +} + +/** + * Correct overflow not hidden in IE 9/10/11. + */ + +svg:not(:root) { + overflow: hidden; +} + +/* Grouping content + ========================================================================== */ + +/** + * Address margin not present in IE 8/9 and Safari. + */ + +figure { + margin: 1em 40px; +} + +/** + * Address differences between Firefox and other browsers. + */ + +hr { + -moz-box-sizing: content-box; + box-sizing: content-box; + height: 0; +} + +/** + * Contain overflow in all browsers. + */ + +pre { + overflow: auto; +} + +/** + * Address odd `em`-unit font size rendering in all browsers. + */ + +code, +kbd, +pre, +samp { + font-family: monospace, monospace; + font-size: 1em; +} + +/* Forms + ========================================================================== */ + +/** + * Known limitation: by default, Chrome and Safari on OS X allow very limited + * styling of `select`, unless a `border` property is set. + */ + +/** + * 1. Correct color not being inherited. + * Known issue: affects color of disabled elements. + * 2. Correct font properties not being inherited. + * 3. Address margins set differently in Firefox 4+, Safari, and Chrome. + */ + +button, +input, +optgroup, +select, +textarea { + color: inherit; /* 1 */ + font: inherit; /* 2 */ + margin: 0; /* 3 */ +} + +/** + * Address `overflow` set to `hidden` in IE 8/9/10/11. + */ + +button { + overflow: visible; +} + +/** + * Address inconsistent `text-transform` inheritance for `button` and `select`. + * All other form control elements do not inherit `text-transform` values. + * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera. + * Correct `select` style inheritance in Firefox. + */ + +button, +select { + text-transform: none; +} + +/** + * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` + * and `video` controls. + * 2. Correct inability to style clickable `input` types in iOS. + * 3. Improve usability and consistency of cursor style between image-type + * `input` and others. + */ + +button, +html input[type="button"], /* 1 */ +input[type="reset"], +input[type="submit"] { + -webkit-appearance: button; /* 2 */ + cursor: pointer; /* 3 */ +} + +/** + * Re-set default cursor for disabled elements. + */ + +button[disabled], +html input[disabled] { + cursor: default; +} + +/** + * Remove inner padding and border in Firefox 4+. + */ + +button::-moz-focus-inner, +input::-moz-focus-inner { + border: 0; + padding: 0; +} + +/** + * Address Firefox 4+ setting `line-height` on `input` using `!important` in + * the UA stylesheet. + */ + +input { + line-height: normal; +} + +/** + * It's recommended that you don't attempt to style these elements. + * Firefox's implementation doesn't respect box-sizing, padding, or width. + * + * 1. Address box sizing set to `content-box` in IE 8/9/10. + * 2. Remove excess padding in IE 8/9/10. + */ + +input[type="checkbox"], +input[type="radio"] { + box-sizing: border-box; /* 1 */ + padding: 0; /* 2 */ +} + +/** + * Fix the cursor style for Chrome's increment/decrement buttons. For certain + * `font-size` values of the `input`, it causes the cursor style of the + * decrement button to change from `default` to `text`. + */ + +input[type="number"]::-webkit-inner-spin-button, +input[type="number"]::-webkit-outer-spin-button { + height: auto; +} + +/** + * 1. Address `appearance` set to `searchfield` in Safari and Chrome. + * 2. Address `box-sizing` set to `border-box` in Safari and Chrome + * (include `-moz` to future-proof). + */ + +input[type="search"] { + -webkit-appearance: textfield; /* 1 */ + -moz-box-sizing: content-box; + -webkit-box-sizing: content-box; /* 2 */ + box-sizing: content-box; +} + +/** + * Remove inner padding and search cancel button in Safari and Chrome on OS X. + * Safari (but not Chrome) clips the cancel button when the search input has + * padding (and `textfield` appearance). + */ + +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +/** + * Define consistent border, margin, and padding. + */ + +fieldset { + border: 1px solid #c0c0c0; + margin: 0 2px; + padding: 0.35em 0.625em 0.75em; +} + +/** + * 1. Correct `color` not being inherited in IE 8/9/10/11. + * 2. Remove padding so people aren't caught out if they zero out fieldsets. + */ + +legend { + border: 0; /* 1 */ + padding: 0; /* 2 */ +} + +/** + * Remove default vertical scrollbar in IE 8/9/10/11. + */ + +textarea { + overflow: auto; +} + +/** + * Don't inherit the `font-weight` (applied by a rule above). + * NOTE: the default cannot safely be changed in Chrome and Safari on OS X. + */ + +optgroup { + font-weight: bold; +} + +/* Tables + ========================================================================== */ + +/** + * Remove most spacing between table cells. + */ + +table { + border-collapse: collapse; + border-spacing: 0; +} + +td, +th { + padding: 0; +}
\ No newline at end of file diff --git a/themes/even/src/css/_common/_utils.scss b/themes/even/src/css/_common/_utils.scss new file mode 100644 index 0000000..1c7b777 --- /dev/null +++ b/themes/even/src/css/_common/_utils.scss @@ -0,0 +1,23 @@ +@mixin clearfix() { + &:before, + &:after { + content: " "; + display: table; + } + + &:after { + clear: both; + } +} + +@mixin min-screen($min-width: $global-body-width) { + @media screen and (min-width: $min-width) { + @content; + } +} + +@mixin max-screen($max-width: $global-body-width) { + @media screen and (max-width: $max-width) { + @content; + } +} diff --git a/themes/even/src/css/_custom/_custom.scss b/themes/even/src/css/_custom/_custom.scss new file mode 100644 index 0000000..f7cbb5a --- /dev/null +++ b/themes/even/src/css/_custom/_custom.scss @@ -0,0 +1,4 @@ +// ============================== +// Custom style +// ============================== +// You can override the variables in _variables.scss to customize the style diff --git a/themes/even/src/css/_iconfont.scss b/themes/even/src/css/_iconfont.scss new file mode 100644 index 0000000..03efae6 --- /dev/null +++ b/themes/even/src/css/_iconfont.scss @@ -0,0 +1,110 @@ +// ============================== +// Iconfont +// ============================== + +@font-face { + font-family: 'iconfont'; /* project id 96542 */ + + src: url('../fonts/iconfont/iconfont.eot'); + src: url('../fonts/iconfont/iconfont.eot#iefix') format('embedded-opentype'), // not '?#iefix', because webpack will add '?hash=[hash]' + url('../fonts/iconfont/iconfont.woff') format('woff'), + url('../fonts/iconfont/iconfont.ttf') format('truetype'), + url('../fonts/iconfont/iconfont.svg#iconfont') format('svg'); + + // Uncomment these code and comment upper code if you want to use alicdn + // src: url('//at.alicdn.com/t/font_96542_ixz9jngnf1sb57b9.eot'); + // src: url('//at.alicdn.com/t/font_96542_ixz9jngnf1sb57b9.eot?#iefix') format('embedded-opentype'), + // url('//at.alicdn.com/t/font_96542_ixz9jngnf1sb57b9.woff') format('woff'), + // url('//at.alicdn.com/t/font_96542_ixz9jngnf1sb57b9.ttf') format('truetype'), + // url('//at.alicdn.com/t/font_96542_ixz9jngnf1sb57b9.svg#iconfont') format('svg'); +} + +.iconfont { + font-family: "iconfont" !important; + font-style: normal; + -webkit-font-smoothing: antialiased; + -webkit-text-stroke-width: 0.2px; + -moz-osx-font-smoothing: grayscale; + cursor: pointer; +} + +.icon-instagram:before { + font-size: .95em; + content: "\e611"; + position: relative; + top: -1px; +} +.icon-douban:before { + content: "\e610"; +} +.icon-tumblr:before { + content: "\e69f"; + font-size: .85em; + position: relative; + top: -4px; +} +.icon-linkedin:before { + content: "\e60d"; + position: relative; + top: -4px; +} +.icon-twitter:before { + content: "\e600"; +} +.icon-weibo:before { + content: "\e602"; +} +.icon-stack-overflow:before { + content: "\e603"; + font-size: .85em; + position: relative; + top: -4px; +} +.icon-email:before { + content: "\e605"; + position: relative; + top: -2px; +} +.icon-facebook:before { + content: "\e601"; + font-size: .95em; + position: relative; + top: -2px; +} +.icon-github:before { + content: "\e606"; + position: relative; + top: -3px; +} +.icon-rss:before { + content: "\e604"; +} +.icon-google:before { + content: "\e609"; +} +.icon-zhihu:before { + content: "\e607"; + font-size: .9em; + position: relative; + top: -2px; +} +.icon-pocket:before { + content: "\e856"; +} + +/* Generic Icon */ +.icon-heart:before { + content: "\e608"; +} +.icon-right:before { + content: "\e60a"; +} +.icon-left:before { + content: "\e60b"; +} +.icon-up:before { + content: "\e60c"; +} +.icon-close:before { + content: "\e60f"; +} diff --git a/themes/even/src/css/_partial/_404.scss b/themes/even/src/css/_partial/_404.scss new file mode 100644 index 0000000..63eb465 --- /dev/null +++ b/themes/even/src/css/_partial/_404.scss @@ -0,0 +1,25 @@ +// ============================== +// Archive +// ============================= + +.not-found { + text-align: center; + + .error-emoji { + color: #363636; + font-size: 3rem; + } + + .error-text { + color: #797979; + font-size: 1.25rem; + } + + .error-link { + margin-top: 2rem; + + a { + color: $theme-color; + } + } +}
\ No newline at end of file diff --git a/themes/even/src/css/_partial/_archive.scss b/themes/even/src/css/_partial/_archive.scss new file mode 100644 index 0000000..f1431c4 --- /dev/null +++ b/themes/even/src/css/_partial/_archive.scss @@ -0,0 +1,100 @@ +// ============================== +// Archive +// ============================= + +.archive { + margin: $archive-margin; + max-width: $archive-max-width; + + .archive-title { + font-family: $global-serif-font-family; + + &.tag, + &.category { + margin: 15px 0; + } + + .archive-name { + margin: 0; + display: inline-block; + font-weight: 400; + font-size: $archive-name-font-size; + line-height: $archive-name-font-size + 2px; + } + + .archive-post-counter { + color: $dark-gray; + } + } + + .collection-title { + font-family: $global-serif-font-family; + + .archive-year { + margin: 15px 0; + font-weight: 400; + font-size: $collection-title-font-size; + line-height: $collection-title-font-size + 2px; + } + } + + .archive-post { + padding: $archive-post-padding; + border-left: $archive-post-border-left; + + .archive-post-time { + margin-right: 10px; + color: $dark-gray; + } + + .archive-post-title { + + .archive-post-link { + color: $theme-color; + } + } + + &::first-child { + margin-top: 10px; + } + + &:hover { + border-left: $archive-post-hover-border-left; + transition: $archive-post-hover-transition; + transform: $archive-post-hover-transform; + + .archive-post-time { + color: darken($dark-gray, 10%); + } + + .archive-post-title .archive-post-link { + color: darken($theme-color, 10%); + } + } + } +} + +@include max-screen() { + .archive { + margin-left: auto; + margin-right: auto; + + .archive-title .archive-name { + font-size: $archive-name-font-size - 4px; + } + + .collection-title .archive-year { + margin: 10px 0; + font-size: $collection-title-font-size - 4px; + } + + .archive-post { + padding: $archive-post-mobile-padding; + + .archive-post-time { + font-size: $archive-post-mobile-time-font-size; + display: block; + } + } + } +} diff --git a/themes/even/src/css/_partial/_back-to-top.scss b/themes/even/src/css/_partial/_back-to-top.scss new file mode 100644 index 0000000..ee67aa2 --- /dev/null +++ b/themes/even/src/css/_partial/_back-to-top.scss @@ -0,0 +1,24 @@ +// ============================== +// Back to top +// ============================= + +.back-to-top { + display: none; + position: fixed; + right: 20px; + bottom: 20px; + transition-property: transform; + transition-timing-function: ease-out; + transition-duration: 0.3s; + z-index: 10; + + &:hover { + transform: translateY(-5px); + } +} + +@include max-screen() { + .back-to-top { + display: none !important; + } +}
\ No newline at end of file diff --git a/themes/even/src/css/_partial/_categories.scss b/themes/even/src/css/_partial/_categories.scss new file mode 100644 index 0000000..f9c413d --- /dev/null +++ b/themes/even/src/css/_partial/_categories.scss @@ -0,0 +1,43 @@ + +.categories { + margin: 2em 0 3em; + text-align: center; + font-family: $global-serif-font-family; + + .categories-title { + display: inline-block; + font-size: $categories-title-size; + color: $theme-color; + border-bottom: $categories-title-border-bottom; + } + + .categories-tags { + margin: 10px 0; + + .category-link { + display: inline-block; + position: relative; + margin: $categories-tags-link-margin; + word-wrap: break-word; + transition-duration: 0.2s; + transition-property: transform; + transition-timing-function: ease-out; + + .category-count { + display: inline-block; + position: relative; + top: -8px; + right: -2px; + color: $theme-color; + font-size: $category-count-font-size; + } + + &:active, + &:focus, + &:hover { + color: $theme-color; + transform: scale(1.1); + } + } + } +}
\ No newline at end of file diff --git a/themes/even/src/css/_partial/_footer.scss b/themes/even/src/css/_partial/_footer.scss new file mode 100644 index 0000000..1f8cdae --- /dev/null +++ b/themes/even/src/css/_partial/_footer.scss @@ -0,0 +1,10 @@ +// ============================== +// Post footer +// ============================= + +.footer { + margin-top: $footer-margin-top; + + @import "_footer/social"; + @import "_footer/copyright"; +}
\ No newline at end of file diff --git a/themes/even/src/css/_partial/_footer/_copyright.scss b/themes/even/src/css/_partial/_footer/_copyright.scss new file mode 100644 index 0000000..7d33fe3 --- /dev/null +++ b/themes/even/src/css/_partial/_footer/_copyright.scss @@ -0,0 +1,23 @@ +// ============================== +// Copyright +// ============================= + +.copyright { + margin: $copyright-margin; + color: $dark-gray; + text-align: center; + font-family: $global-serif-font-family; + + .hexo-link, + .theme-link { + color: $theme-color; + } + + .copyright-year { + display: block; + + .heart { + font-size: 14px; + } + } +}
\ No newline at end of file diff --git a/themes/even/src/css/_partial/_footer/_social.scss b/themes/even/src/css/_partial/_footer/_social.scss new file mode 100644 index 0000000..a23eb69 --- /dev/null +++ b/themes/even/src/css/_partial/_footer/_social.scss @@ -0,0 +1,19 @@ +// ============================== +// Social +// ============================= + +.social-links { + text-align: center; + + .iconfont { + font-size: $social-icon-font-size; + + & + .iconfont { + margin-left: $social-link-margin-left; + } + + &:hover { + color: $theme-color; + } + } +}
\ No newline at end of file diff --git a/themes/even/src/css/_partial/_header.scss b/themes/even/src/css/_partial/_header.scss new file mode 100644 index 0000000..d81f17c --- /dev/null +++ b/themes/even/src/css/_partial/_header.scss @@ -0,0 +1,19 @@ +// ============================== +// Header +// ============================== + +.header { + @include clearfix; + padding: $header-padding; + + @import '_header/logo'; + @import '_header/menu'; +} + + +@include max-screen() { + .header { + padding: 50px 0 0; + text-align: center; + } +} diff --git a/themes/even/src/css/_partial/_header/_logo.scss b/themes/even/src/css/_partial/_header/_logo.scss new file mode 100644 index 0000000..cd6435f --- /dev/null +++ b/themes/even/src/css/_partial/_header/_logo.scss @@ -0,0 +1,18 @@ +// ============================== +// Logo +// ============================= + +.logo-wrapper { + float: left; + + .logo { + font-size: $logo-font-size; + font-family: $logo-font-family; + } +} + +@include max-screen() { + .logo-wrapper { + display: none; + } +} diff --git a/themes/even/src/css/_partial/_header/_menu.scss b/themes/even/src/css/_partial/_header/_menu.scss new file mode 100644 index 0000000..7209c80 --- /dev/null +++ b/themes/even/src/css/_partial/_header/_menu.scss @@ -0,0 +1,35 @@ +// ============================== +// Menu +// ============================= + +.site-navbar { + float: right; + + .menu { + display: inline-block; + position: relative; + padding-left: 0; + padding-right: 25px; + font-family: $global-serif-font-family; + + .menu-item { + display: inline-block; + + & + .menu-item { + margin-left: $menu-item-margin-left;; + } + + @include underline-from-center; + } + + .menu-item-link { + font-size: $menu-link-font-size; + } + } +} + +@include max-screen() { + .site-navbar { + display: none; + } +} diff --git a/themes/even/src/css/_partial/_mobile.scss b/themes/even/src/css/_partial/_mobile.scss new file mode 100644 index 0000000..26e4c76 --- /dev/null +++ b/themes/even/src/css/_partial/_mobile.scss @@ -0,0 +1,77 @@ +// ============================== +// Mobile Navbar +// ============================== + +.mobile-navbar { + display: none; + position: fixed; + top: 0; + left: 0; + width: 100%; + height: $mobile-navbar-height; + background: $white; + box-shadow: 0px 2px 2px $gray; + text-align: center; + transition: transform 300ms ease; + z-index: 99; + + &.fixed-open { + transform: translate3d(180px, 0px, 0px); + } + + .mobile-header-logo { + display: inline-block; + margin-right: 50px; + + .logo { + font-size: 22px; + line-height: $mobile-navbar-height; + font-family: $logo-font-family; + } + } + + .mobile-navbar-icon { + color: $theme-color; + height: $mobile-navbar-height; + width: $mobile-navbar-height; + font-size: 24px; + text-align: center; + float: left; + position: relative; + transition: background 0.5s; + + @include mobile-menu-icon(); + } +} + +.mobile-menu { + background-color: rgba($deputy-color, 0.5); + + .mobile-menu-list { + position: relative; + list-style: none; + margin-top: 50px; + padding: 0; + border-top: 1px solid $deputy-color; + + .mobile-menu-item { + padding: 10px 30px; + border-bottom: 1px solid $deputy-color; + } + + a { + font-size: 18px; + font-family: $global-serif-font-family; + + &:hover { + color: $theme-color; + } + } + } +} + +@include max-screen() { + .mobile-navbar { + display: block; + } +} diff --git a/themes/even/src/css/_partial/_pagination.scss b/themes/even/src/css/_partial/_pagination.scss new file mode 100644 index 0000000..c58f8db --- /dev/null +++ b/themes/even/src/css/_partial/_pagination.scss @@ -0,0 +1,36 @@ +// ============================== +// Pagination +// ============================== + +.pagination { + margin: $pagination-margin; + @include clearfix; + + .prev, + .next { + font-weight: 600; + font-size: $pagination-font-size; + font-family: $global-serif-font-family; + transition-property: transform; + transition-timing-function: ease-out; + transition-duration: 0.3s; + } + + .prev { + float: left; + + &:hover { + color: $theme-color; + transform: translateX(-4px); + } + } + + .next { + float: right; + + &:hover { + color: $theme-color; + transform: translateX(4px); + } + } +}
\ No newline at end of file diff --git a/themes/even/src/css/_partial/_post.scss b/themes/even/src/css/_partial/_post.scss new file mode 100644 index 0000000..a980b29 --- /dev/null +++ b/themes/even/src/css/_partial/_post.scss @@ -0,0 +1,24 @@ +// ============================== +// Post +// ============================== + +.posts { + margin-bottom: $post-list-margin-bottom; + border-bottom: $post-border; +} + +.post { + padding: $post-padding; + + & + .post { + border-top: $post-border; + } + + @import '_post/header'; + @import '_post/toc'; + @import '_post/content'; + @import '_post/copyright'; + @import '_post/reward'; + @import '_post/footer'; + @import '_post/outdated'; +} diff --git a/themes/even/src/css/_partial/_post/_code.scss b/themes/even/src/css/_partial/_post/_code.scss new file mode 100644 index 0000000..2a23a77 --- /dev/null +++ b/themes/even/src/css/_partial/_post/_code.scss @@ -0,0 +1,140 @@ +code, pre { + padding: 7px; + font-size: $code-font-size; + font-family: $code-font-family; + background: $code-background; +} + +code { + padding: 3px 5px; + border-radius: 4px; + color: $code-color; +} + +figure.highlight { + margin: 1em 0; + border-radius: 5px; + overflow-x: auto; + box-shadow: 1px 1px 2px rgba(0,0,0,0.125); + position: relative; + + table { + position: relative; + + &::after { + position: absolute; + top: 0; + right: 0; + left: 0; + padding: 2px 7px; + font-size: $code-font-size; + font-weight: bold; + color: darken($gray, 10%); + background: darken($code-background, 3%); + content: 'Code'; + } + } + + @each $sign, $text in $code-type-list { + &.#{$sign} > table::after { + content: $text; + } + } + + .code { + pre { + margin: 0; + padding: 30px 10px 10px; + } + } + + .gutter { + width: 10px; + color: $gray; + + pre { + margin: 0; + padding: 30px 7px 10px; + } + } + + .line { + // Fix code block null line height and + // Synchronous gutter and code line highly. + height: round($code-font-size * 1.5); + } + + table, tr, td { + margin: 0; + padding: 0; + width: 100%; + border-collapse: collapse; + } + + .code { + .hljs-comment, + .hljs-quote { + color: map-get($code-highlight-color, comment); + } + + .hljs-keyword, + .hljs-selector-tag, + .hljs-addition { + color: map-get($code-highlight-color, keyword); + } + + .hljs-number, + .hljs-string, + .hljs-meta .hljs-meta-string, + .hljs-literal, + .hljs-doctag, + .hljs-regexp { + color: map-get($code-highlight-color, number); + } + + .hljs-title, + .hljs-section, + .hljs-name, + .hljs-selector-id, + .hljs-selector-class { + color: map-get($code-highlight-color, title); + } + + .hljs-attribute, + .hljs-attr, + .hljs-variable, + .hljs-template-variable, + .hljs-class .hljs-title, + .hljs-type { + color: map-get($code-highlight-color, attribute); + } + + .hljs-symbol, + .hljs-bullet, + .hljs-subst, + .hljs-meta, + .hljs-meta .hljs-keyword, + .hljs-selector-attr, + .hljs-selector-pseudo, + .hljs-link { + color: map-get($code-highlight-color, symbol); + } + + .hljs-built_in, + .hljs-deletion { + color: map-get($code-highlight-color, built_in); + } + + .hljs-formula { + background: map-get($code-highlight-color, formula); + } + + .hljs-emphasis { + font-style: italic; + } + + .hljs-strong { + font-weight: bold; + } + } +} diff --git a/themes/even/src/css/_partial/_post/_content.scss b/themes/even/src/css/_partial/_post/_content.scss new file mode 100644 index 0000000..87c788b --- /dev/null +++ b/themes/even/src/css/_partial/_post/_content.scss @@ -0,0 +1,143 @@ +// ============================== +// Post content +// ============================== + +.post-content { + word-wrap: break-word; + + @for $i from 1 through 6 { + h#{$i} { + font-weight: 400; + font-family: $global-serif-font-family; + } + } + + a { + color: $theme-color; + word-break: break-all; + + &:hover { + border-bottom: $content-link-border; + } + + &.fancybox { + border: 0; + } + } + + blockquote { + margin: 2em 0; + padding: 10px 20px; + position: relative; + color: rgba(#34495e, 0.8); + background-color: $content-blockquote-backgroud; + border-left: $content-blockquote-border-left; + box-shadow: 1px 1px 2px rgba(0,0,0,0.125); + + p { + margin: 0; + } + } + + img { + display: inline-block; + max-width: 100%; + } + + > table { + max-width: 100%; + margin: 10px 0; + border-spacing: 0; + box-shadow: 2px 2px 3px rgba(0,0,0,.125); + + thead { + background: $deputy-color; + } + + th, td { + padding: 5px 15px; + border: 1px double $content-table-border-color; + } + + tr:hover { + background-color: $deputy-color; + } + } + + @import 'code'; + + .post-summary { + margin-bottom: 1em; + } + + .read-more { + .read-more-link { + color: $theme-color; + font-size: 1.1em; + font-family: $global-serif-font-family; + + &:hover { + border-bottom: $post-readMore-border-bottom; + } + } + } + + kbd { + display: inline-block; + padding: 0.25em; + background-color: #fafafa; + border: 1px solid #dbdbdb; + border-bottom-color: #b5b5b5; + border-radius: 3px; + box-shadow: inset 0 -1px 0 #b5b5b5; + font-size: 0.8em; + line-height: 1.25; + font-family: "SFMono-Regular","Liberation Mono","Roboto Mono",Menlo,Monaco,Consolas,"Courier New",Courier,monospace; + color: #4a4a4a; + } + + dl dt::after { + content: ':'; + } + + figure { + &.center { + text-align: center; + } + + &.right { + text-align: right; + } + + &.left { + text-align: left; + } + + figcaption h4 { + color: #b5b5b5; + font-size: 0.9rem; + } + } + + .task-list { + list-style: none; + padding-left: 1.5rem; + } + + .align-center { + text-align: center; + } + + .align-right { + text-align: right; + } + + .align-left { + text-align: left; + } + + .MJXc-display { + overflow-x: auto; + overflow-y: hidden; + } +} diff --git a/themes/even/src/css/_partial/_post/_copyright.scss b/themes/even/src/css/_partial/_post/_copyright.scss new file mode 100644 index 0000000..374061f --- /dev/null +++ b/themes/even/src/css/_partial/_post/_copyright.scss @@ -0,0 +1,29 @@ +.post-copyright { + margin-top: 20px; + padding-top: 10px; + border-top: 1px dashed $light-gray; + + .copyright-item { + margin: 5px 0; + + a { + color: $theme-color; + word-wrap: break-word; + + &:hover { + border-bottom: $content-link-border; + } + } + + .item-title { + display: inline-block; + min-width: 5rem; + margin-right: .5rem; + text-align: right; + + &:after { + content: " :"; + } + } + } +} diff --git a/themes/even/src/css/_partial/_post/_footer.scss b/themes/even/src/css/_partial/_post/_footer.scss new file mode 100644 index 0000000..012110f --- /dev/null +++ b/themes/even/src/css/_partial/_post/_footer.scss @@ -0,0 +1,74 @@ +// ============================== +// Post footer +// ============================== + +.post-footer { + margin-top: $post-footer-margin-top; + border-top: $post-footer-border-top; + font-family: $global-serif-font-family; + + .post-tags { + padding: $post-tags-padding; + + a { + margin-right: 5px; + color: $theme-color; + word-break: break-all; + + &::before { + content: '#'; + } + } + } + + .post-nav { + margin: 1em 0; + @include clearfix; + + .prev, + .next { + font-weight: 600; + font-size: $post-nav-font-size; + font-family: $global-serif-font-family; + transition-property: transform; + transition-timing-function: ease-out; + transition-duration: 0.3s; + } + + .prev { + float: left; + + &:hover { + color: $theme-color; + transform: translateX(-4px); + } + } + + .next { + float: right; + + &:hover { + color: $theme-color; + transform: translateX(4px); + } + } + + .nav-mobile { + display: none; + } + } +} + +@include max-screen() { + .post-footer { + .post-nav { + .nav-default { + display: none; + } + + .nav-mobile { + display: inline; + } + } + } +}
\ No newline at end of file diff --git a/themes/even/src/css/_partial/_post/_header.scss b/themes/even/src/css/_partial/_post/_header.scss new file mode 100644 index 0000000..7faf4e3 --- /dev/null +++ b/themes/even/src/css/_partial/_post/_header.scss @@ -0,0 +1,46 @@ +.post-header { + margin-bottom: 20px; + + .post-title { + margin: 0; + font-size: $post-title-font-size; + font-weight: $post-title-font-weight; + font-family: $global-serif-font-family; + } + + .post-link { + @include underline-from-center; + } + + .post-meta { + font-size: 14px; + color: $post-meta-font-color; + + .post-time { + font-size: 15px; + } + + .post-category { + display: inline; + + a { + color: inherit; + + &::before { + content: '·'; + } + + &:hover { + color: $theme-color; + } + } + } + + .more-meta { + &::before { + content: '·'; + } + } + + } +} diff --git a/themes/even/src/css/_partial/_post/_outdated.scss b/themes/even/src/css/_partial/_post/_outdated.scss new file mode 100644 index 0000000..be7b5ea --- /dev/null +++ b/themes/even/src/css/_partial/_post/_outdated.scss @@ -0,0 +1,25 @@ +.post-outdated { + .hint { + position: relative; + margin-top: 20px; + margin-bottom: 20px; + padding: 5px 10px; + border-left: 4px solid rgb(66, 172, 243); + background-color: rgb(239, 245, 255); + border-color: rgb(66, 172, 243); + } + + .warn { + position: relative; + margin-top: 20px; + margin-bottom: 20px; + padding: 5px 10px; + border-left: 4px solid #f9cf63; + background-color: #ffffc0; + border-color: #f9cf63; + } +} + + + + diff --git a/themes/even/src/css/_partial/_post/_reward.scss b/themes/even/src/css/_partial/_post/_reward.scss new file mode 100644 index 0000000..3a03a9f --- /dev/null +++ b/themes/even/src/css/_partial/_post/_reward.scss @@ -0,0 +1,54 @@ +.post-reward { + margin-top: 20px; + padding-top: 10px; + text-align: center; + border-top: 1px dashed $light-gray; + + .reward-button { + margin: 15px 0; + padding: 3px 7px; + display: inline-block; + color: $theme-color; + border: 1px solid $theme-color; + border-radius: 5px; + cursor: pointer; + + &:hover { + color: $white; + background-color: $theme-color; + transition: 0.5s; + } + } + + #reward:checked { + & ~ .qr-code { + display: block; + } + + & ~ .reward-button { + display: none; + } + } + + .qr-code { + display: none; + + .qr-code-image { + display: inline-block; + min-width: 200px; + width: 40%; + margin-top: 15px; + + span { + display: inline-block; + width: 100%; + margin: 8px 0; + } + } + + .image { + width: 200px; + height: 200px; + } + } +}
\ No newline at end of file diff --git a/themes/even/src/css/_partial/_post/_toc.scss b/themes/even/src/css/_partial/_post/_toc.scss new file mode 100644 index 0000000..8327055 --- /dev/null +++ b/themes/even/src/css/_partial/_post/_toc.scss @@ -0,0 +1,55 @@ +.post-toc { + position: absolute; + width: $post-toc-width; + margin-left: $post-toc-margin-left; + padding: 10px; + font-family: $global-serif-font-family; + border-radius: 5px; + background: $post-toc-backgroud; + box-shadow: 1px 1px 2px rgba(0,0,0,0.125); + word-wrap: break-word; + box-sizing: border-box; + + .post-toc-title { + margin: 0 10px; + font-size: $post-toc-title-size; + font-weight: 400; + text-transform: uppercase; + } + + .post-toc-content { + font-size: $post-toc-content; + + &.always-active ul { + display: block; + } + + >nav>ul { + margin: 10px 0; + } + + ul { + padding-left: 20px; + list-style: $post-toc-list-style; + + ul { + padding-left: 15px; + display: none; + } + + .has-active > ul { + display: block; + } + } + + .toc-link.active { + color: $theme-color; + } + } +} + +@include max-screen($toc-max-sreen-width) { + .post-toc { + display: none; + } +} diff --git a/themes/even/src/css/_partial/_slideout.scss b/themes/even/src/css/_partial/_slideout.scss new file mode 100644 index 0000000..2dc757d --- /dev/null +++ b/themes/even/src/css/_partial/_slideout.scss @@ -0,0 +1,33 @@ +// ============================== +// slideout (https://github.com/mango/slideout) +// ============================== + +.slideout-menu { + position: fixed; + top: 0; + left: 0px; + bottom: 0; + width: 180px; + min-height: 100vh; + overflow-y: hidden; + -webkit-overflow-scrolling: touch; + z-index: 0; + display: none; +} + +.slideout-panel { + position: relative; + z-index: 1; + background-color: $white; + min-height: 100vh; +} + +.slideout-open, +.slideout-open body, +.slideout-open .slideout-panel { + overflow: hidden; +} + +.slideout-open .slideout-menu { + display: block; +} diff --git a/themes/even/src/css/_partial/_tags.scss b/themes/even/src/css/_partial/_tags.scss new file mode 100644 index 0000000..e32a90e --- /dev/null +++ b/themes/even/src/css/_partial/_tags.scss @@ -0,0 +1,46 @@ +// ============================== +// Tags +// ============================= + +.tag-cloud { + margin: 2em 0 3em; + text-align: center; + font-family: $global-serif-font-family; + + .tag-cloud-title { + display: inline-block; + font-size: $tag-cloud-title-size; + color: $theme-color; + border-bottom: $tag-cloud-title-border-bottom; + } + + .tag-cloud-tags { + margin: 10px 0; + + a { + display: inline-block; + position: relative; + margin: $tag-cloud-tags-link-margin; + word-wrap: break-word; + transition-duration: 0.2s; + transition-property: transform; + transition-timing-function: ease-out; + + .tag-count { + display: inline-block; + position: relative; + top: -8px; + right: -2px; + color: $theme-color; + font-size: $category-count-font-size; + } + + &:active, + &:focus, + &:hover { + color: $theme-color; + transform: scale(1.1); + } + } + } +}
\ No newline at end of file diff --git a/themes/even/src/css/_variables.scss b/themes/even/src/css/_variables.scss new file mode 100644 index 0000000..06d7507 --- /dev/null +++ b/themes/even/src/css/_variables.scss @@ -0,0 +1,336 @@ +// ============================== +// Variables +// ============================== + +// ========== Theme Color ========== // +// Config here to change theme color +// Default | Mint Green | Cobalt Blue | Hot Pink | Dark Violet +$theme-color-config: 'Default'; + +// Default theme color map +$theme-color-map: ( + 'Default': #c05b4d #f8f5ec, + 'Mint Green': #16982B #f5f5f5, + 'Cobalt Blue': #0047AB #f0f2f5, + 'Hot Pink': #FF69B4 #f8f5f5, + 'Dark Violet': #9932CC #f5f4fa +); + +// Check theme color config. +// if it does not exist, use default theme color. +@if not(map-has-key($theme-color-map, $theme-color-config)) { + $theme-color-config: 'Default'; +} +$theme-color-list: map-get($theme-color-map, $theme-color-config); + +// Default theme color of the site. +$theme-color: nth($theme-color-list, 1) !default; + +// Deputy theme color of the site. +$deputy-color: nth($theme-color-list, 2) !default; + + +// ========== Color ========== // +$black: #0a0a0a !default; +$white: #fefefe !default; +$light-gray: #e6e6e6 !default; +$gray: #cacaca !default; +$dark-gray: #8a8a8a !default; + + +// ========== Global ========== // +// Text color of the body. +$global-font-color: #34495e !default; + +// Font size attribute applied to '<html>' and '<body>'. +$global-font-size: 16px !default; + +// Global width of '<body>'. +$global-body-width: 800px !default; + +// Padding of container main +$global-container-padding: 0 20px !default; + +// Default line height for all type. `$global-lineheight` is 24px while `$global-font-size` is 16px. +$global-lineheight: 1.5 !default; + +// Font family of the site. +$global-font-family: 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif !default; + +// Serif font family of the site. +$global-serif-font-family: Athelas, STHeiti, Microsoft Yahei, serif !default; + +// Background color of the site. +$global-background: $white !default; + +// Headings font size of the site. +$global-headings: ( + h1: 26px, + h2: 24px, + h3: 20px, + h4: 16px, + h5: 14px, + h6: 14px +) !default; + + +// ========== Header ========== // +// Padding of the site header. +$header-padding: 20px 20px !default; + +// Font family: Chancery +@font-face { + font-family: 'Chancery'; + src: url('../fonts/chancery/apple-chancery-webfont.eot'); + src: local('Apple Chancery'), url('../fonts/chancery/apple-chancery-webfont.eot?#iefix') format('embedded-opentype'), + url('../fonts/chancery/apple-chancery-webfont.woff2') format('woff2'), + url('../fonts/chancery/apple-chancery-webfont.woff') format('woff'), + url('../fonts/chancery/apple-chancery-webfont.ttf') format('truetype'), + url('../fonts/chancery/apple-chancery-webfont.svg#apple-chancery') format('svg'); + font-weight: lighter; + font-style: normal; +} + +// Font size of the logo. +$logo-font-size: 48px !default; + +// Font family of the logo. +$logo-font-family: 'Chancery', cursive, LiSu, sans-serif !default; + +// Margin of menu item. +$menu-item-margin-left: 10px !default; + +// Margin of menu item in mobile. +$menu-item-mobile-margin: 5px !default; + +// Font size of menu item link. +$menu-link-font-size: 18px !default; + +// Height of the mobile header. +$mobile-navbar-height: 50px !default; + +// ========== Post ========== // +// Margin bottom of post list. +$post-list-margin-bottom: 20px !default; + +// Padding of the post. +$post-padding: 1.5em 0 !default; + +// Border top of the post + post. +$post-border: 1px solid $light-gray !default; + +// Font size of post title. +$post-title-font-size: 27px !default; + +// Font weight of post title. +$post-title-font-weight: 400 !default; + +// Margin top of the post meta (post time). +$post-meta-margin-top: 5px !default; + +// Font color of the post meta. +$post-meta-font-color: $dark-gray !default; + +// Border bottom of the read more link when hover it. +$post-readMore-border-bottom: 1px solid $theme-color !default; + +// Margin top of the post footer. +$post-footer-margin-top: 20px !default; + +// Border top of post footer. +$post-footer-border-top: 1px solid $light-gray !default; + +// Padding of the post tags. +$post-tags-padding: 15px 0 !default; + +// Font size of post pagination. +$post-nav-font-size: 18px !default; + + +// ========== TOC ========== // +// Width of the post toc. +$post-toc-width: 200px !default; + +// Backgroud color of the post toc. +$post-toc-backgroud: rgba($deputy-color, 0.6) !default; + +// Margin left of the post toc. +$post-toc-margin-left: $global-body-width - 15px !default; + +// Font size of the post toc title. +$post-toc-title-size: 20px !default; + +// Font size of the post toc content. +$post-toc-content: 15px !default; + +// List style of the post toc list. +$post-toc-list-style: square !default; + +// Max screen media of the post toc. +$toc-max-sreen-width: 2 * $post-toc-width + $post-toc-margin-left !default; + +// ========== Content ========== // +// Headings anchor. +$content-headings-anchor: "" !default; + +// Border bottom of the link when hover it. +$content-link-border: 1px solid $theme-color !default; + +// Background color of the blockquote. +$content-blockquote-backgroud: rgba($theme-color, 0.05) !default; + +// Border left of the blockquote. +$content-blockquote-border-left: 3px solid rgba($theme-color, 0.3) !default; + +// Border color of the table. +$content-table-border-color: darken($deputy-color, 3%) !default; + +// ========== Code ========== // +// Color of the code. +$code-color: #c7254e !default; + +// Font size of code. +$code-font-size: 13px !default; + +// Font family of the code. +$code-font-family: Consolas, Monaco, Menlo, Consolas, monospace !default; + +// Color of code highlight, solarized. +$code-highlight-color: ( + comment: #93a1a1, + keyword: #859900, + number: #2aa198, + title: #268bd2, + attribute: #b58900, + symbol: #cb4b16, + built_in: #dc322f, + formula: #eee8d5 +) !default; + +// Code type list. +$code-type-list: ( + // Custom code type + language-bash: "Bash", + language-c: "C", + language-cs: "C#", + language-cpp: "C++", + language-css: "CSS", + language-coffeescript: "CoffeeScript", + language-html: "HTML", + language-xml: "XML", + language-http: "HTTP", + language-json: "JSON", + language-java: "Java", + language-js: "JavaScript", + language-javascript: "JavaScript", + language-makefile: "Makefile", + language-markdown: "Markdown", + language-objectivec: "Objective-C", + language-php: "PHP", + language-perl: "Perl", + language-python: "Python", + language-ruby: "Ruby", + language-sql: "SQL", + language-shell: "Shell", + + language-erlang: "Erlang", + language-go: "Go", + language-groovy: "Groovy", + language-haskell: "Haskell", + language-kotlin: "Kotlin", + language-less: "Less", + language-lisp: "Lisp", + language-lua: "Lua", + language-matlab: "Matlab", + language-rust: "Rust", + language-scss: "Scss", + language-scala: "Scala", + language-swift: "Swift", + language-typescript: "TypeScript", + language-yml: "YAML", + language-yaml: "YAML", + language-toml: "TOML" +) !default; + +// Color of the code background. +$code-background: $deputy-color !default; + + +// ========== Pagination ========== // +// Margin of the pagination. +$pagination-margin: 2em 0 !default; + +// Font size of the pagination (Without post, post pagination see line 140). +$pagination-font-size: 20px !default; + + +// ========== Footer ========== // +// Margin top of the footer. +$footer-margin-top: 2em !default; + +// Margin left of the social link. +$social-link-margin-left: 10px !default; + +// Font size of the social icon. +$social-icon-font-size: 30px !default; + +// Margin of the copyright. +$copyright-margin: 10px 0 !default; + + +// ========== Archive ========== // +// Margin of the archive. +$archive-margin: 2em 0px !default; + +// Max width of the archive. +$archive-max-width: 550px !default; + +// Font size of the archive name. +$archive-name-font-size: 30px !default; + +// Font size of the collection title. +$collection-title-font-size: 28px !default; + +// Padding of the archive post. +$archive-post-padding: 3px 20px !default; + +// Padding of the archive post in mobile. +$archive-post-mobile-padding: 5px 10px !default; + +// Font size of the archive post time in mobile. +$archive-post-mobile-time-font-size: 13px !default; + +// Border left of the archive post, use $archive-post-hover-border-left when hover it. +$archive-post-border-left: 1px solid $gray !default; +$archive-post-hover-border-left: 3px solid $theme-color !default; + +// Transition of the archive post when hover it. +$archive-post-hover-transition: 0.2s ease-out !default; + +// Transform of the archive post when hover it. +$archive-post-hover-transform: translateX(4px) !default; + + +// ========== Tags ========== // +// Font soze of the tag cloud title. +$tag-cloud-title-size: 18px !default; + +// Border bottom of the tag cloud title. +$tag-cloud-title-border-bottom: 2px solid $theme-color !default; + +// Margin of the tag cloud tags link. +$tag-cloud-tags-link-margin: 5px 10px !default; + + +// ========== Categories ========== // +// Font soze of the categories title. +$categories-title-size: 18px !default; + +// Border bottom of the categories title. +$categories-title-border-bottom: 2px solid $theme-color !default; + +// Margin of the categories tags link. +$categories-tags-link-margin: 5px 10px !default; + +// Font size of the category count +$category-count-font-size: 12px !default; diff --git a/themes/even/src/css/style.scss b/themes/even/src/css/style.scss new file mode 100644 index 0000000..50fcf7a --- /dev/null +++ b/themes/even/src/css/style.scss @@ -0,0 +1,19 @@ +@import "_custom/custom"; +@import "_variables"; + +@import "_common/utils"; +@import "_common/animation"; + +@import "_base"; +@import "_iconfont"; +@import "_partial/header"; +@import "_partial/post"; +@import "_partial/pagination"; +@import "_partial/footer"; +@import "_partial/archive"; +@import "_partial/tags"; +@import "_partial/categories"; +@import "_partial/slideout"; +@import "_partial/mobile"; +@import "_partial/back-to-top"; +@import "_partial/404"; diff --git a/themes/even/src/fonts/chancery/apple-chancery-webfont.eot b/themes/even/src/fonts/chancery/apple-chancery-webfont.eot Binary files differnew file mode 100644 index 0000000..39c3936 --- /dev/null +++ b/themes/even/src/fonts/chancery/apple-chancery-webfont.eot diff --git a/themes/even/src/fonts/chancery/apple-chancery-webfont.svg b/themes/even/src/fonts/chancery/apple-chancery-webfont.svg new file mode 100644 index 0000000..2b18b6a --- /dev/null +++ b/themes/even/src/fonts/chancery/apple-chancery-webfont.svg @@ -0,0 +1,228 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" > +<svg xmlns="http://www.w3.org/2000/svg"> +<metadata></metadata> +<defs> +<font id="apple_chancerychancery" horiz-adv-x="1138" > +<font-face units-per-em="2048" ascent="1624" descent="-424" /> +<missing-glyph horiz-adv-x="569" /> +<glyph unicode="
" horiz-adv-x="569" /> +<glyph horiz-adv-x="0" /> +<glyph horiz-adv-x="0" /> +<glyph unicode=" " horiz-adv-x="569" /> +<glyph unicode="	" horiz-adv-x="569" /> +<glyph unicode=" " horiz-adv-x="569" /> +<glyph unicode="!" horiz-adv-x="525" d="M136 103l148 141q66 -49 115 -141l-146 -142q-45 95 -117 142zM237 1352l182 70q12 -87 12 -176q0 -181 -25 -420q-13 -127 -15 -141l-17 -197l-126 -95l12 167q16 215 16 377q0 254 -39 415z" /> +<glyph unicode=""" horiz-adv-x="712" d="M220 771v494l142 105v-504zM556 771v494l142 105v-504z" /> +<glyph unicode="#" d="M73 317l77 77h254l64 207h-312l77 78h259l100 329l111 109l-134 -438h207l101 330l111 108l-135 -438h321l-75 -78h-269l-64 -207h325l-76 -77h-272l-97 -317l-111 -110l130 427h-207l-97 -317l-110 -108l130 425h-308zM482 394h207l63 207h-207z" /> +<glyph unicode="$" horiz-adv-x="794" d="M38 67l106 100q95 -78 238 -100l46 416l-45 30q-172 117 -172 231q0 211 275 264l27 238l72 67l-34 -305l48 1q136 0 230 -31l-94 -96q-71 50 -190 71l-38 -342l53 -38q185 -134 185 -245q0 -102 -92 -194t-212 -111l-29 -264l-72 -69l35 317q-60 -7 -87 -7 q-125 0 -250 67zM324 823q0 -76 124 -162l33 294q-157 0 -157 -132zM446 67q187 25 187 185q0 76 -111 163l-34 26z" /> +<glyph unicode="%" horiz-adv-x="1504" d="M176 595q0 166 123.5 302.5t273.5 136.5q177 0 177 -206q0 -159 -125.5 -294.5t-273.5 -135.5q-75 0 -125 56t-50 141zM284 676q0 -211 164 -211q80 0 136.5 85.5t56.5 204.5q0 95 -41 153.5t-108 58.5q-91 0 -149.5 -81.5t-58.5 -209.5zM345 -155l796 1235l130 84 l-797 -1237zM867 171q0 166 123.5 302.5t273.5 136.5q176 0 176 -206q0 -159 -125 -294.5t-272 -135.5q-76 0 -126 56t-50 141zM975 253q0 -212 164 -212q79 0 136 85.5t57 204.5q0 212 -149 212q-91 0 -149.5 -81.5t-58.5 -208.5z" /> +<glyph unicode="&" horiz-adv-x="1812" d="M117 298q0 291 413 483q-64 162 -64 260q0 148 101.5 246t255.5 98q224 0 224 -198q0 -183 -359 -382q11 -24 13 -29l27 -55q34 -70 51 -100q151 159 467 159h137l72 1q177 0 252 43.5t75 146.5q0 60 -59 120l111 112q42 -56 42 -142q0 -190 -161.5 -303t-431.5 -113h-18 q-51 -235 -240 -425q101 -141 187 -141q69 0 144 104q16 -14 16 -33q0 -52 -85.5 -121.5t-149.5 -69.5q-94 0 -222 159q-209 -159 -442 -159q-159 0 -257.5 94t-98.5 245zM294 362q0 -138 91 -227t231 -89q136 0 272 106l-24 33q-162 229 -292 520l-17 38 q-261 -127 -261 -381zM594 1135q0 -102 79 -294q235 138 235 315q0 69 -48 119t-114 50q-152 0 -152 -190zM798 588q18 -33 21 -39l68 -117q75 -129 109 -176q134 194 150 389h-29q-215 0 -319 -57z" /> +<glyph unicode="'" horiz-adv-x="376" d="M220 771v494l142 105v-504z" /> +<glyph unicode="(" horiz-adv-x="696" d="M201 583q0 763 675 1227l25 -37q-545 -426 -545 -1107q0 -540 340 -964l-127 -129q-368 450 -368 1010z" /> +<glyph unicode=")" horiz-adv-x="696" d="M-63 -390q545 426 545 1107q0 539 -340 965l127 128q368 -451 368 -1009q0 -763 -675 -1228z" /> +<glyph unicode="*" horiz-adv-x="914" d="M115 711l343 258q-149 101 -286 257l121 70q79 -102 210 -211l30 271l111 68l-38 -339l250 183l127 28l-382 -286l34 -20q193 -112 323 -165l-141 -84q-136 63 -234 138l-28 -253l-110 -65l39 360l-230 -175z" /> +<glyph unicode="+" d="M97 446l119 123h359l38 346l130 119l-52 -465h463l-119 -123h-358l-39 -353l-129 -119l52 472h-464z" /> +<glyph unicode="," horiz-adv-x="423" d="M58 -334q153 111 153 243q0 110 -121 189l141 140q122 -91 122 -216q0 -178 -270 -384z" /> +<glyph unicode="-" horiz-adv-x="741" d="M126 420l130 130h467l-129 -130h-468z" /> +<glyph unicode="." horiz-adv-x="423" d="M91 100l148 141q65 -49 116 -141l-147 -142q-44 95 -117 142z" /> +<glyph unicode="/" horiz-adv-x="888" d="M-215 -427l1387 2153l195 84l-1388 -2155z" /> +<glyph unicode="0" horiz-adv-x="1056" d="M143 303q0 276 190 503.5t420 227.5q122 0 197 -94.5t75 -248.5q0 -265 -192.5 -491t-418.5 -226q-118 0 -194.5 93t-76.5 236zM296 441q0 -164 71.5 -263.5t188.5 -99.5q131 0 223.5 144t92.5 349q0 161 -72 260.5t-188 99.5q-131 0 -223.5 -143.5t-92.5 -346.5z" /> +<glyph unicode="1" horiz-adv-x="882" d="M116 0l99 78h182l93 831q-98 -69 -162 -105l-106 -62q-3 -2 -24 -14l11 96q198 71 440 241l-110 -987h251l-97 -78h-577z" /> +<glyph unicode="2" horiz-adv-x="1144" d="M88 0l124 122q271 65 439 220t168 340q0 107 -79 177t-200 70q-146 0 -282 -108q-9 21 -9 27q0 53 157 119.5t281 66.5q123 0 216 -78t93 -181q0 -140 -168.5 -330t-411.5 -323l586 -29l-117 -119z" /> +<glyph unicode="3" horiz-adv-x="944" d="M11 -273l118 127q143 -61 264 -61q131 0 217 74.5t86 188.5q0 136 -122.5 217t-329.5 81q-32 0 -70 -8l119 117h33q16 0 49 -1q318 79 318 300q0 84 -57.5 137t-148.5 53q-144 0 -239 -96q-10 19 -10 28q0 47 114 98.5t217 51.5q126 0 206.5 -62t80.5 -159 q0 -198 -368 -357q332 -54 332 -305q0 -178 -176 -319.5t-396 -141.5q-122 0 -237 37z" /> +<glyph unicode="4" horiz-adv-x="1266" d="M58 138l995 938l-98 -885l249 -20l-114 -119l-149 11l-35 -312l-149 -61l3 28l8 74l8 70l24 213zM280 251l534 -47l67 604z" /> +<glyph unicode="5" horiz-adv-x="989" d="M38 -276l127 130q142 -59 251 -59q140 0 227 77.5t87 200.5q0 145 -121.5 233.5t-320.5 88.5q-38 0 -90 -6l74 466l146 153h556l-120 -122h-450l-59 -343q489 -34 489 -362q0 -200 -164 -345.5t-390 -145.5q-142 0 -242 34z" /> +<glyph unicode="6" horiz-adv-x="1161" d="M189 425q0 343 251 618.5t564 275.5q116 0 234 -35l-133 -128q-117 73 -246 73q-195 0 -326 -163q-78 -97 -133.5 -259.5t-55.5 -294.5v-34q73 130 195 210t249 80q120 0 196 -84t76 -216q0 -190 -150 -342t-337 -152q-168 0 -276 127t-108 324zM357 379 q64 -321 311 -321q110 0 185 80.5t75 198.5q0 138 -73 228.5t-186 90.5q-228 0 -312 -277z" /> +<glyph unicode="7" horiz-adv-x="1042" d="M141 -310q84 440 734 1138l49 53l-714 14l129 128l813 -15l-129 -127q-307 -289 -484.5 -578.5t-202.5 -540.5z" /> +<glyph unicode="8" horiz-adv-x="1058" d="M135 279q0 231 339 424l-21 18q-174 142 -174 261q0 131 124.5 234t282.5 103q124 0 203 -69t79 -176q0 -157 -239 -325l-40 -28l23 -18q238 -182 238 -311q0 -153 -152 -285.5t-327 -132.5q-141 0 -238.5 88.5t-97.5 216.5zM276 366q0 -116 96.5 -202t226.5 -86 q93 0 161.5 62.5t68.5 147.5q0 128 -290 362l-37 29q-226 -162 -226 -313zM384 1077q0 -115 228 -292l44 -34q170 91 170 268q0 101 -68 165t-176 64q-87 0 -142.5 -48t-55.5 -123z" /> +<glyph unicode="9" horiz-adv-x="1161" d="M27 -353l132 128q117 -73 246 -73q195 0 326 162q79 98 134.5 260.5t55.5 294.5l-1 34q-72 -130 -194.5 -210t-249.5 -80q-119 0 -195 84t-76 216q0 190 149.5 342t336.5 152q168 0 276 -127t108 -324q0 -343 -251 -618.5t-564 -275.5q-115 0 -233 35zM337 594 q0 -138 73 -228.5t185 -90.5q228 0 313 277q-65 321 -312 321q-109 0 -184 -80.5t-75 -198.5z" /> +<glyph unicode=":" horiz-adv-x="423" d="M91 100l148 141q65 -49 116 -141l-147 -142q-43 94 -117 142zM170 815l149 142q65 -51 115 -142l-146 -141q-45 95 -118 141z" /> +<glyph unicode=";" horiz-adv-x="423" d="M57 -334q153 111 153 243q0 110 -121 189l141 140q122 -91 122 -216q0 -178 -270 -384zM158 815l149 142q66 -51 115 -142l-147 -141q-44 95 -117 141z" /> +<glyph unicode="<" d="M104 443l106 107l955 484l-158 -163l-735 -356q382 -147 753 -449l-95 -92q-332 279 -826 469z" /> +<glyph unicode="=" d="M86 304l134 109h912l-119 -109h-927zM118 602l119 110h911l-118 -110h-912z" /> +<glyph unicode=">" d="M71 -26l158 163l735 357q-383 146 -753 448l95 92q333 -278 826 -468l-106 -108z" /> +<glyph unicode="?" horiz-adv-x="745" d="M144 103l148 141q65 -49 115 -141l-146 -142q-45 95 -117 142zM209 1304q0 39 113.5 78.5t221.5 39.5q293 0 293 -224q0 -156 -224 -301q-68 -44 -86 -60l-25 -23q-110 -100 -110 -224q0 -27 9 -62l-167 -151q-15 40 -15 88q0 174 179 327l57 47l22 20q168 146 168 281 q0 205 -218 205q-88 0 -208 -64q-10 17 -10 23z" /> +<glyph unicode="@" horiz-adv-x="1418" d="M140 427q0 410 251 684t626 274q441 0 441 -442q0 -244 -123.5 -429t-285.5 -185q-145 0 -145 215q0 20 2 34l4 37q-68 -121 -162 -206.5t-158 -85.5q-107 0 -107 176q0 209 145 366t339 157q46 0 103 -10l-25 -229l-9 -83q-8 -73 -8 -132q0 -88 21 -119t81 -31 q94 0 154.5 118t60.5 301q0 471 -423 471q-295 0 -479 -223t-184 -581q0 -460 317 -460q196 0 294 151q18 -22 18 -36q0 -63 -135.5 -131.5t-261.5 -68.5q-351 0 -351 468zM614 568q0 -109 58 -109q87 0 167.5 125.5t99.5 289.5l4 41q-63 9 -106 9q-98 0 -160.5 -99.5 t-62.5 -256.5z" /> +<glyph unicode="A" horiz-adv-x="1469" d="M121 830q0 248 215 400q180 128 616 128q74 0 130 -3q155 -10 159 -10h70q-78 -122 -78 -494l1 -52l4 -115q0 -207 51 -424q20 -84 39 -108t66 -24q51 0 116 33q7 -17 7 -28q0 -25 -39 -43l-47 -23l-246 -107q-82 253 -99 530l-76 -53h-336q-92 -234 -252 -334l207 -10 l-108 -114l-399 14l133 120l100 -6q68 50 116 140.5t143 350.5l30 83q92 251 175 365.5t226 188.5q-157 29 -331 29q-443 0 -443 -299q0 -102 48 -191l-157 -151q-41 107 -41 207zM715 545h369q-14 174 -14 282q0 55 2 90l8 116q8 119 22 182q-196 -120 -322 -490 q-36 -107 -42 -123z" /> +<glyph unicode="B" horiz-adv-x="1477" d="M121 770q0 270 230.5 442.5t589.5 172.5q463 0 463 -266q0 -227 -299 -363q292 -114 292 -350q0 -192 -195 -306t-522 -114q-201 0 -482 38l127 135l31 -7q60 -15 114 -22q81 50 109.5 120.5t51.5 274.5l84 753q-208 -15 -332 -112t-124 -244q0 -88 44 -166l-161 -142 q-21 77 -21 156zM545 118q198 -32 391 -32q312 0 312 248q0 107 -85.5 206.5t-208.5 135.5l-26 -1l-48 -2l-44 2l-27 1l-15 -134l-9 -84q-17 -149 -59.5 -209.5t-180.5 -130.5zM818 756q59 -5 102 -5q48 0 115 7q213 123 213 296q0 232 -371 232z" /> +<glyph unicode="C" horiz-adv-x="1275" d="M145 522q0 367 235 615t583 248q177 0 367 -67l-67 -147l-19 -43q-24 -51 -59 -51q-7 0 -21 3q14 31 14 51q0 67 -89.5 117t-208.5 50q-244 0 -396.5 -193t-152.5 -502q0 -239 107 -381t286 -142q129 0 257.5 77.5t189.5 191.5q23 -11 23 -32q0 -66 -121 -174 q-205 -183 -466 -183q-211 0 -336.5 152.5t-125.5 409.5z" /> +<glyph unicode="D" horiz-adv-x="1727" d="M121 768q0 300 233.5 458.5t673.5 158.5q726 0 726 -505q0 -302 -204 -557q-271 -337 -826 -337q-233 0 -525 41l139 147q51 -19 142 -34q74 45 101 114.5t50 273.5l83 745q-453 -53 -453 -327q0 -82 44 -171l-162 -152q-22 49 -22 145zM567 130q219 -30 409 -30 q177 0 273.5 49.5t188.5 187.5q129 192 129 431q0 528 -656 528h-33l-84 -751l-10 -94q-15 -131 -56 -191t-161 -130z" /> +<glyph unicode="E" horiz-adv-x="1497" d="M27 31l183 138q99 -17 238 -30q98 38 132 108t57 282l79 708h-35q-194 0 -304 -79.5t-110 -219.5q0 -81 46 -168l-162 -156q-24 80 -24 152q0 280 233 453q170 126 484 126h330q186 0 380 13l-81 -205l-16 -37q-25 -59 -64 -59q-6 0 -14 1q11 50 11 80q0 66 -69.5 82.5 t-346.5 16.5h-97l-53 -484h195q169 0 300 16q-114 -137 -230 -137q-65 0 -184 10q-49 3 -69 3h-24l-10 -87q-21 -190 -66.5 -270t-178.5 -161l219 -17l89 -8q94 -7 225 -7q221 0 368 143q17 -19 17 -36q0 -28 -107 -115q-156 -127 -341 -127q-171 0 -492 29l-373 34 q-19 1 -135 8z" /> +<glyph unicode="F" horiz-adv-x="1436" d="M121 766q0 280 233 453q170 126 483 126h331q186 0 379 13l-80 -205l-16 -37q-25 -59 -64 -59q-7 0 -15 1q12 51 12 80q0 66 -70 82.5t-347 16.5h-96l-59 -531h214q149 0 307 27q-118 -141 -222 -141l-85 2l-97 2l-77 2h-52l-8 -73l-10 -88q-17 -141 -61.5 -204.5 t-171.5 -123.5l277 -15l-120 -116l-474 22l129 124l108 -12q122 77 150 315l11 98l79 712h-34q-194 0 -304.5 -79.5t-110.5 -217.5q0 -83 46 -170l-162 -156q-23 78 -23 152z" /> +<glyph unicode="G" horiz-adv-x="1356" d="M140 516q0 371 234 620t584 249q177 0 367 -67l-67 -147l-19 -43q-24 -51 -59 -51q-7 0 -21 3q14 31 14 51q0 67 -89.5 117t-208.5 50q-249 0 -399 -195.5t-150 -518.5q0 -237 105 -370t292 -133q172 0 333 136l41 361h-170q-173 0 -277 -34q50 102 94.5 128t167.5 26 l101 1h266l-10 -41l-16 -63q-13 -56 -18 -97l-44 -402q-23 -203 -59 -303.5t-118 -185.5q-164 -172 -392 -172q-210 0 -327 144l149 118q92 -177 283 -177q144 0 207.5 90.5t91.5 332.5l19 173q-226 -157 -445 -157q-207 0 -333.5 153t-126.5 404z" /> +<glyph unicode="H" horiz-adv-x="1734" d="M110 775q0 258 192 414t510 156h79q-45 -229 -54 -308l-31 -277h558l4 36q65 581 230 790q202 256 448 256q92 0 171 -32l-148 -145q-84 57 -167 57q-169 0 -235 -167.5t-131 -758.5l-15 -136q-28 -263 -28 -407q0 -85 73 -85q54 0 134 46q4 -18 4 -25q0 -30 -53 -54 l-58 -27l-294 -134q0 185 48 629l4 36h-558l-10 -91l-13 -111q-17 -142 -61.5 -205t-170.5 -123l236 -15l-120 -116l-433 22l128 124l109 -12q79 51 109 127.5t52 284.5l77 700h-31q-416 0 -416 -275q0 -86 47 -173l-163 -156q-23 78 -23 155z" /> +<glyph unicode="I" horiz-adv-x="935" d="M121 775q0 258 192 414t510 156h79q-45 -229 -54 -308l-54 -489l-13 -111q-17 -142 -61.5 -205t-170.5 -123l290 -15l-120 -116l-487 22l128 124l109 -12q122 77 150 315l11 97l77 700h-31q-416 0 -416 -275q0 -86 47 -173l-163 -156q-23 78 -23 155z" /> +<glyph unicode="J" horiz-adv-x="931" d="M-176 -229l160 122q50 -256 281 -256q142 0 214 109t100 369l123 1109h-31q-416 0 -416 -275q0 -86 47 -173l-163 -156q-23 78 -23 155q0 258 192 414t510 156h79q-45 -229 -54 -308l-88 -795q-40 -354 -192 -513q-172 -180 -411 -180q-226 0 -328 222z" /> +<glyph unicode="K" horiz-adv-x="1641" d="M121 775q0 258 192 414t510 156h79q-45 -229 -54 -308l-33 -299q467 603 768 603q75 0 142 -20l-129 -140q-56 33 -125 33q-129 0 -269 -122t-228 -311q94 -182 219 -352l108 -146q108 -147 168 -147q81 0 148 117q27 -23 27 -38q0 -59 -87.5 -143t-148.5 -84 q-110 0 -310 284q-180 257 -283 465l-21 -189l-13 -111q-17 -142 -61.5 -205t-170.5 -123l236 -15l-120 -116l-433 22l128 124l109 -12q122 77 150 315l11 97l77 700h-31q-416 0 -416 -275q0 -86 47 -173l-163 -156q-23 78 -23 155z" /> +<glyph unicode="L" horiz-adv-x="1311" d="M-11 26l168 131q77 -14 130 -17q115 44 162 152.5t47 329.5l4 155q0 299 204 468q170 140 359 140q81 0 166 -37l-148 -145q-91 59 -180 59q-223 0 -223 -365l-4 -138q0 -283 -54 -414.5t-207 -217.5l207 -17l92 -7l111 -7q44 -3 99 -3q248 0 387 144q16 -20 16 -29 q0 -33 -96 -113q-164 -135 -352 -135q-77 0 -189 8l-297 22q-232 17 -402 36z" /> +<glyph unicode="M" horiz-adv-x="2029" d="M121 776q0 248 187.5 411.5t471.5 163.5q47 0 83 -4q24 -2 32 -2h13q-1 -29 -1 -42q0 -154 134 -496l45 -114q9 -24 29 -79l37 -104q30 -82 52 -163l52 86q86 143 154 260l98 169l76 140l92 168q13 23 51 94l193 121q-64 -373 -64 -599l-13 -327l-3 -123 q0 -156 20.5 -204.5t87.5 -48.5q71 0 127 20q9 -12 9 -21q0 -33 -68 -49l-53 -13l-284 -58q-5 94 -5 173q0 510 45 906q-138 -196 -208 -318l-60 -103q-123 -212 -199 -409l-144 -150q-14 189 -149 531l-39 101q-8 18 -36 88q-57 138 -85 264l-81 -495q-36 -223 -75 -303.5 t-138 -132.5l252 -19l-128 -117l-427 22l129 124l113 -10q66 49 94 120t65 287l120 703h-47q-416 0 -416 -275q0 -86 47 -173l-163 -156q-23 78 -23 156z" /> +<glyph unicode="N" horiz-adv-x="1807" d="M121 776q0 246 186.5 410.5t466.5 164.5q39 0 73 -3q38 -3 48 -3h11q-4 -35 -4 -50q0 -206 267 -524l75 -88l66 -79q105 -125 166 -230l67 543q63 497 231 697q192 228 424 228q87 0 172 -32l-148 -147q-91 53 -161 53q-155 0 -235.5 -142.5t-125.5 -496.5l-106 -847 l-126 -260q-46 184 -98 280t-207 282l-77 93q-178 215 -252 385l-50 -450l-12 -108q-16 -134 -51.5 -196.5t-141.5 -141.5l221 -20l-119 -116l-435 22l129 124l111 -10q76 55 105 119t46 212l9 87l77 692h-47q-416 0 -416 -275q0 -86 47 -173l-162 -156q-24 78 -24 156z" /> +<glyph unicode="O" horiz-adv-x="1404" d="M151 511q0 353 238.5 613.5t562.5 260.5q201 0 326 -152.5t125 -398.5q0 -356 -239.5 -615.5t-567.5 -259.5q-196 0 -320.5 154.5t-124.5 397.5zM341 611q0 -248 109 -409.5t277 -161.5q207 0 346.5 199t139.5 494q0 247 -109 409.5t-274 162.5q-209 0 -349 -198.5 t-140 -495.5z" /> +<glyph unicode="P" horiz-adv-x="1370" d="M121 770q0 272 231 443.5t598 171.5q492 0 492 -322q0 -204 -183 -349t-464 -162q-24 -233 -63 -304t-183 -139l264 -15l-120 -116l-461 22l129 124l108 -12q122 77 150 315l11 97l85 758q-455 -86 -455 -343q0 -103 43 -183l-161 -142q-21 77 -21 156zM806 656 q56 -10 98 -10q383 0 383 335q0 313 -410 313z" /> +<glyph unicode="Q" horiz-adv-x="1418" d="M144 511q0 353 238.5 613.5t562.5 260.5q202 0 326 -152t124 -399q0 -492 -420 -766l18 -18q501 -466 848 -466q78 0 129.5 46t51.5 116q0 32 -17 67l175 96q7 -28 7 -46q0 -136 -128.5 -241.5t-294.5 -105.5q-195 0 -464 131.5t-506 342.5q-110 -31 -211 -31 q-191 0 -315 155.5t-124 396.5zM334 611q0 -260 105.5 -409t298.5 -162l137 141q13 -15 17 -19l28 -36q3 -3 14 -16q272 188 272 626q0 244 -109.5 406.5t-273.5 162.5q-209 0 -349 -198.5t-140 -495.5z" /> +<glyph unicode="R" horiz-adv-x="1612" d="M121 770q0 271 231 443t595 172q494 0 494 -314q0 -229 -294 -395q20 -38 29 -57q159 -308 226 -405t124 -100h6q86 0 134 138q33 -19 33 -41q0 -63 -84.5 -157t-141.5 -94q-83 0 -216 182t-264 476q-55 -5 -94 -5q-38 0 -96 5l-8 -66l-13 -115q-17 -143 -61 -205.5 t-171 -122.5l236 -15l-120 -116l-433 22l128 124l109 -12q121 77 150 315l11 97l84 758q-455 -86 -455 -343q0 -103 43 -183l-161 -142q-21 77 -21 156zM813 709q80 -13 146 -13q62 0 135 13q179 128 179 310q0 270 -396 270z" /> +<glyph unicode="S" horiz-adv-x="1076" d="M86 177l170 103q40 -246 295 -246q124 0 203 67.5t79 173.5q0 145 -175 288l-121 98q-146 120 -195 189.5t-49 156.5q0 164 131 271t331 107q159 0 301 -76l-58 -133l-26 -59q-22 -52 -52 -52q-13 0 -27 10q17 52 17 83q0 64 -70.5 107t-174.5 43q-236 0 -236 -195 q0 -70 52.5 -134.5t218.5 -199.5l97 -80q185 -150 185 -315q0 -182 -153.5 -303t-383.5 -121q-280 0 -359 217z" /> +<glyph unicode="T" horiz-adv-x="1560" d="M121 773q0 275 229 445q171 127 471 127h597q371 0 371 229q0 80 -55 148l126 120q44 -60 44 -154q0 -197 -177.5 -330.5t-438.5 -133.5h-278l-75 -676l-12 -111q-17 -142 -61.5 -205t-171.5 -123l291 -15l-120 -116l-488 22l129 124l109 -12q121 77 150 315l10 97 l78 700h-170q-419 0 -419 -277q0 -84 47 -171l-163 -156q-23 78 -23 153z" /> +<glyph unicode="U" horiz-adv-x="1750" d="M121 775q0 258 192 414t510 156h146q-90 -174 -147 -416t-57 -448q0 -414 252 -414q170 0 274 164.5t135 482.5q14 145 19 189l42 377l198 103q-43 -165 -70 -407l-36 -320q-2 -17 -11 -113l-14 -139q-8 -79 -8 -136q0 -100 76 -100q60 0 135 47l3 -12q2 -12 2 -19 q0 -29 -55 -55l-59 -29l-294 -140l37 334q-214 -335 -461 -335q-338 0 -338 516q0 349 168 749h-84q-416 0 -416 -275q0 -86 47 -173l-163 -156q-23 78 -23 155z" /> +<glyph unicode="V" horiz-adv-x="1414" d="M166 1245q88 140 224 140q112 0 174 -101.5t143 -417.5q90 -355 143 -633q437 612 437 853q0 94 -76 137l147 162q100 -56 100 -173q0 -148 -241 -531l-113 -174l-82 -129q-7 -11 -49 -84l-46 -81q-10 -17 -39 -81l-175 -172q-40 318 -141 721q-87 343 -134.5 444.5 t-123.5 101.5q-131 0 -189 -200q-35 8 -35 37q0 60 76 181z" /> +<glyph unicode="W" horiz-adv-x="1839" d="M111 1062q0 102 98.5 212.5t189.5 110.5q92 0 139.5 -70.5t82.5 -259.5q53 -281 53 -648l1 -70l144 280l64 123l93 183q80 156 107 250l153 146q-7 -76 -7 -130q0 -170 69 -543l12 -65l20 -104q20 -107 40 -231q29 54 36 70l81 168l98 199q122 253 122 395q0 96 -79 146 l147 161q102 -67 102 -161q0 -125 -210 -538q-35 -69 -84 -168l-43 -88l-44 -101l-58 -130q-7 -17 -32 -80l-154 -163l-4 44q-20 210 -75 497l-12 60l-17 89q-19 97 -25 142l-19 137q-2 15 -10 70l-135 -268l-55 -109q-151 -296 -231 -493l-170 -165q17 120 17 359 q0 476 -42.5 696t-135.5 220q-60 0 -116 -63t-70 -146q-41 9 -41 36z" /> +<glyph unicode="X" horiz-adv-x="1436" d="M14 -7l147 143q39 -21 84 -21q131 0 272 200q118 166 179 293l20 40l-62 146l-38 94q-20 49 -49 108q-38 81 -45 96q-55 128 -109 128q-98 0 -166 -189q-32 8 -32 42q0 95 92 204t174 109q65 0 117 -75t151 -312l79 -190l34 60l64 113q230 403 461 403q77 0 145 -32 l-144 -144q-42 24 -73 24q-91 0 -181 -100t-236 -363l-31 -56l80 -192l45 -102l43 -101q90 -213 167 -213q112 0 163 172q37 -16 37 -43q0 -44 -60 -137q-90 -139 -204 -139q-82 0 -146.5 90t-181.5 369l-55 133l-22 -43q-287 -549 -582 -549q-63 0 -137 34z" /> +<glyph unicode="Y" horiz-adv-x="1321" d="M140 1170q0 61 81.5 138t146.5 77q135 0 252.5 -205t156.5 -508q82 299 250 506t329 207q63 0 122 -40l-113 -155q-43 27 -93 27q-149 0 -304.5 -243.5t-189.5 -529.5l-2 -21q-15 -125 -57.5 -183.5t-171.5 -131.5l310 -14l-117 -116l-545 22l140 124l122 -10 q74 45 109.5 118t50.5 212l2 21q4 38 4 83q0 247 -102.5 478t-212.5 231q-83 0 -137 -126q-31 10 -31 39z" /> +<glyph unicode="Z" horiz-adv-x="1207" d="M68 3q0 31 48 91l48 59l859 1027q-44 -8 -74 -8q-98 0 -242 53l-46 17l-41 15q-49 18 -106 18q-147 0 -147 -227q0 -31 7 -72l-158 -100q-1 26 -1 37q0 192 133 332t316 140q65 0 164 -27l42 -12q85 -23 156 -23q135 0 194 62q25 -20 25 -42q0 -28 -55 -88 q-12 -13 -52 -61l-854 -1031q64 7 113 7q51 0 149 -14l76 -11l130 -22q102 -18 172 -18q176 0 224 134q37 -11 37 -30q0 -38 -60 -124q-86 -125 -227 -125q-45 0 -166 16l-92 12l-98 13q-90 13 -173 13q-141 0 -276 -54q-25 21 -25 43z" /> +<glyph unicode="[" horiz-adv-x="647" d="M127 -427l235 2116l123 121h479l-119 -116h-353l-223 -2004h467l-118 -117h-491z" /> +<glyph unicode="\" horiz-adv-x="715" d="M27 1743l115 67l530 -2169l-118 -68z" /> +<glyph unicode="]" horiz-adv-x="647" d="M-156 -427l119 117h353l223 2004h-467l117 116h492l-235 -2115l-123 -122h-479z" /> +<glyph unicode="^" d="M154 310l536 955l83 80q42 -246 136 -524t186 -428l-86 -83q-207 342 -313 840l-362 -666z" /> +<glyph unicode="_" d="M40 -103l11 103h1035l-12 -103h-1034z" /> +<glyph unicode="`" horiz-adv-x="914" d="M567 1368l81 81q90 -194 208 -271l-87 -92q-123 79 -202 282z" /> +<glyph unicode="a" horiz-adv-x="1051" d="M107 195q0 304 199.5 526.5t472.5 222.5q104 0 177 -26q-5 -18 -6 -22l-12 -53q-12 -55 -13 -64l-64 -442l-9 -64q-13 -95 -13 -127q0 -43 25 -43q84 0 172 188q27 -16 27 -32q0 -35 -86 -141q-117 -144 -217 -144q-73 0 -73 98q0 30 7 83l10 80l13 88l11 74 q-113 -186 -248.5 -304.5t-235.5 -118.5q-137 0 -137 221zM271 250q0 -130 77 -130q89 0 215 136q170 183 206 430l16 108q-91 51 -184 51q-140 0 -235 -171t-95 -424z" /> +<glyph unicode="b" horiz-adv-x="993" d="M148 0q22 76 31 159l96 863q35 311 230 530t436 219q50 0 96 -11l-147 -144q-57 17 -107 17q-298 0 -349 -464l-71 -636q108 188 239 306t231 118q144 0 144 -245q0 -300 -190.5 -512.5t-459.5 -212.5q-34 0 -60 3l-81 8q-7 0 -38 2zM319 137q93 -51 186 -51 q138 0 224 159.5t86 415.5q0 149 -81 149q-90 0 -211 -135q-164 -183 -192 -430z" /> +<glyph unicode="c" horiz-adv-x="784" d="M103 274q0 259 176 471t391 212q78 0 133 -26l-114 -137q-80 33 -153 33q-131 0 -206.5 -111t-75.5 -304q0 -136 54.5 -219t142.5 -83q149 0 234 195q22 -24 22 -45q0 -83 -129.5 -184.5t-237.5 -101.5q-104 0 -170.5 83.5t-66.5 216.5z" /> +<glyph unicode="d" horiz-adv-x="1051" d="M101 195q0 289 195 519t440 230q12 0 39 -2l10 86q36 320 218.5 532t420.5 212q57 0 98 -10l-142 -145q-47 16 -111 16q-150 0 -224 -105t-102 -358l-93 -833l-7 -64q-9 -85 -9 -121q0 -49 26 -49q83 0 167 188q27 -16 27 -32q0 -36 -81 -141q-113 -144 -212 -144 q-77 0 -77 106q0 39 12 155l10 88l8 74q-68 -150 -220.5 -286.5t-251.5 -136.5q-141 0 -141 221zM265 250q0 -130 76 -130q92 0 216 136q161 175 190 430l12 113q-84 46 -154 46q-148 0 -244 -168t-96 -427z" /> +<glyph unicode="e" horiz-adv-x="761" d="M103 262q0 228 172.5 461.5t341.5 233.5q122 0 122 -131q0 -147 -142.5 -287t-347.5 -195q20 -241 190 -241q168 0 275 215q25 -17 25 -40q0 -31 -64 -106q-171 -198 -338 -198q-102 0 -168 81t-66 207zM253 466q29 -10 53 -10q124 0 217 76t93 178q0 117 -119 117 q-86 0 -155.5 -102.5t-88.5 -258.5z" /> +<glyph unicode="f" horiz-adv-x="639" d="M-457 -816l133 122q85 -28 154 -28q295 0 341 447l26 248l84 842h-181l114 116h79l6 58q36 370 213 576.5t457 206.5q53 0 119 -10l-140 -138q-75 29 -147 29q-172 0 -245 -119t-106 -456l-15 -147h405l-119 -116h-298l-81 -809q-27 -275 -83.5 -419t-182.5 -259 q-185 -169 -415 -169q-46 0 -118 25z" /> +<glyph unicode="g" horiz-adv-x="955" d="M-164 -529q0 269 329 531q-70 55 -70 194q0 302 199 525t470 223q115 0 173 -26q-5 -18 -6 -22l-11 -53q-13 -58 -14 -64l-40 -366q-10 -92 -21 -323q-14 -289 -55 -428t-145 -248q-238 -251 -507 -251q-130 0 -216 88t-86 220zM-32 -434q0 -125 88.5 -209.5t219.5 -84.5 q202 0 310 178q82 137 114 653q12 195 21 290q-270 -412 -489 -412q-9 0 -32 2q-232 -234 -232 -417zM259 250q0 -130 77 -130q88 0 215 136q176 189 202 428l13 110q-72 51 -181 51q-137 0 -231.5 -172t-94.5 -423z" /> +<glyph unicode="h" horiz-adv-x="1090" d="M161 -26l3 28l8 74l8 70l97 876q35 310 230 529.5t436 219.5q50 0 97 -11l-147 -144q-57 17 -108 17q-297 0 -349 -464l-69 -617q117 176 257.5 290.5t240.5 114.5q97 0 97 -135q0 -40 -12 -123l-53 -373q-16 -112 -16 -177q0 -52 28 -52q69 0 169 184q25 -15 25 -31 q0 -65 -111.5 -170.5t-181.5 -105.5q-78 0 -78 112q0 82 21 227l34 242q17 119 17 189q0 77 -55 77q-128 0 -259 -173.5t-154 -372.5l-26 -240z" /> +<glyph unicode="i" horiz-adv-x="606" d="M118 690q0 61 112.5 164t179.5 103q75 0 75 -104q0 -20 -8 -82l-9 -67q-1 -8 -11 -81l-41 -286l-10 -64q-13 -95 -13 -127q0 -43 25 -43q84 0 173 188q27 -16 27 -31q0 -36 -87 -142q-117 -144 -217 -144q-73 0 -73 97q0 41 30 252l39 272l10 69l8 55q5 35 5 59 q0 50 -28 50q-78 0 -168 -172q-19 17 -19 34zM390 1086l84 207q112 46 184 127q10 -14 10 -29q0 -134 -278 -305z" /> +<glyph unicode="j" horiz-adv-x="545" d="M-449 -815q13 12 20 18l47 42q56 50 120 50q21 0 48 -8q10 -3 15 -5l21 -5q36 -8 64 -8q165 0 231 143t112 599l80 802q-49 -38 -101 -82q-67 -56 -117 -88l8 80q166 98 372 285l-100 -997q-43 -428 -185 -606q-196 -245 -476 -245q-97 0 -159 25zM387 1086l45 190 q128 57 191 141q10 -22 10 -35q0 -41 -74.5 -130.5t-171.5 -165.5z" /> +<glyph unicode="k" horiz-adv-x="947" d="M161 -26l3 28l8 74l8 70l98 876q34 311 229 530t437 219q50 0 96 -11l-147 -144q-57 17 -108 17q-297 0 -349 -464l-60 -540q75 140 188.5 234t208.5 94q128 0 128 -132q0 -126 -106.5 -230.5t-281.5 -150.5q190 -341 283 -341q67 0 141 117q23 -17 23 -33 q0 -47 -92 -129t-148 -84h-2q-100 0 -338 425l-25 45l-45 -409zM358 474q161 0 269 72.5t108 179.5q0 108 -76 108q-70 0 -155.5 -102.5t-145.5 -257.5z" /> +<glyph unicode="l" horiz-adv-x="546" d="M170 94q0 73 9 149l11 89l77 696q36 318 218.5 531t420.5 213q58 0 98 -10l-142 -145q-47 16 -110 16q-150 0 -224.5 -105.5t-102.5 -357.5l-93 -838q-11 -97 -11 -139q0 -90 31 -90q37 0 87 59.5t73 131.5q29 -14 29 -36q0 -72 -107.5 -178t-180.5 -106q-83 0 -83 120z " /> +<glyph unicode="m" horiz-adv-x="1616" d="M94 690q0 60 109.5 163.5t173.5 103.5q86 0 86 -110q0 -28 -5 -75l-8 -81l-8 -68l-8 -71l28 44q224 361 417 361q93 0 93 -134q0 -23 -8 -97l-10 -92l-14 -125q93 193 220.5 320.5t227.5 127.5q99 0 99 -128q0 -55 -11 -131l-53 -371q-17 -115 -17 -178q0 -53 29 -53 q34 0 85.5 57t82.5 129q27 -18 27 -33q0 -63 -111.5 -169t-177.5 -106q-85 0 -85 114q0 72 22 223l35 241q2 13 7 57q2 18 7 61t5 66q0 85 -56 85q-94 0 -218.5 -188t-143.5 -358l-27 -240l-148 -61l3 28l8 74l7 70l50 449l7 51q4 40 4 78q0 97 -59 97q-92 0 -214.5 -188 t-141.5 -358l-26 -240l-149 -61l3 28l8 74l8 70l51 464l6 53q7 62 7 100q0 64 -32 64q-75 0 -162 -170q-23 19 -23 33z" /> +<glyph unicode="n" horiz-adv-x="1156" d="M94 690q0 60 109.5 163.5t172.5 103.5q86 0 86 -110q0 -28 -5 -75l-8 -81l-8 -68l-8 -71q118 176 258.5 290.5t239.5 114.5q97 0 97 -135q0 -41 -11 -123l-54 -373q-16 -112 -16 -177q0 -52 28 -52q69 0 170 184q24 -15 24 -31q0 -65 -111.5 -170.5t-181.5 -105.5 q-78 0 -78 112q0 82 21 227l35 242q17 118 17 187q0 79 -55 79q-128 0 -259.5 -173.5t-153.5 -372.5l-27 -240l-149 -61l3 28l8 74l8 70l52 464l6 53q6 62 6 100q0 64 -32 64q-75 0 -161 -170q-23 19 -23 33z" /> +<glyph unicode="o" horiz-adv-x="878" d="M103 272q0 240 176 462.5t365 222.5q228 0 228 -298q0 -241 -176 -463t-368 -222q-225 0 -225 298zM256 398q0 -312 193 -312q115 0 192.5 128t77.5 319q0 312 -194 312q-114 0 -191.5 -128.5t-77.5 -318.5z" /> +<glyph unicode="p" horiz-adv-x="1019" d="M-434 -829l145 144q57 -17 108 -17q298 0 344 464l104 1037q-47 -35 -101 -81q-66 -56 -116 -88l8 80q169 100 371 286l-46 -463q106 186 238 305t232 119q144 0 144 -246q0 -293 -189 -508.5t-446 -215.5l-34 1l-8 -79q-31 -310 -224 -530t-434 -220q-50 0 -96 12z M343 137q81 -51 183 -51q137 0 222.5 160t85.5 415q0 149 -81 149q-89 0 -211 -136q-163 -181 -188 -429z" /> +<glyph unicode="q" horiz-adv-x="993" d="M109 195q0 298 198 523.5t459 225.5q100 0 172 -26q-5 -18 -6 -21l-11 -54q-12 -55 -13 -64l-158 -1420q26 24 103 84l87 69q5 4 37 25l-10 -84q-178 -102 -381 -288l137 1233q-116 -184 -252.5 -304t-229.5 -120q-132 0 -132 221zM273 250q0 -130 68 -130h4 q80 4 222 149q97 99 134 180t54 234l13 120q-67 42 -168 42q-138 0 -232.5 -172t-94.5 -423z" /> +<glyph unicode="r" horiz-adv-x="853" d="M206 856q108 100 172 101q85 0 85 -112q0 -27 -5 -73l-7 -70l-9 -84l-9 -82q222 421 437 421q56 0 112 -26l-141 -154q-32 18 -82 18q-104 0 -219.5 -168.5t-135.5 -350.5l-27 -244l-148 -50l3 30l7 65l8 65l52 476l6 52q7 59 7 96q0 61 -34 61q-80 0 -159 -171 q-24 18 -24 37q-1 60 111 163z" /> +<glyph unicode="s" horiz-adv-x="728" d="M43 28l138 113q78 -83 196 -83q144 0 144 139q0 77 -132 215l-57 59q-125 131 -125 212q0 116 100.5 195t247.5 79q80 0 175 -30l-120 -111q-76 57 -169 57q-109 0 -109 -91q0 -65 121 -191l62 -66q138 -144 138 -232q0 -126 -121 -222.5t-279 -96.5q-112 0 -210 54z" /> +<glyph unicode="t" horiz-adv-x="725" d="M66 815l117 116h107l21 182l147 49l-25 -231h424l-117 -116h-320l-50 -442q-13 -119 -13 -176q0 -113 77 -113q83 0 172 136q15 -19 15 -34q0 -56 -98.5 -134t-169.5 -78q-142 0 -142 182q0 67 17 217l49 442h-211z" /> +<glyph unicode="u" horiz-adv-x="1148" d="M88 689q0 62 110.5 165t175.5 103q83 0 83 -114q0 -27 -4 -63l-9 -77l-9 -84l-32 -286q-8 -73 -8 -148q0 -69 51 -69q113 0 255.5 186t168.5 368l34 237l162 55q-28 -116 -42 -207l-60 -418q-5 -38 -8 -64l-7 -55q-6 -51 -6 -72q0 -43 24 -43q85 0 173 188q27 -16 27 -32 q0 -35 -87 -141q-117 -144 -217 -144q-73 0 -73 98q0 31 7 83l11 80q9 65 12 88l10 70q-114 -175 -257 -297t-233 -122q-99 0 -99 132q0 49 13 161l36 328q1 7 5 58l6 65q3 29 3 52q0 58 -33 58q-76 0 -164 -171q-19 15 -19 32z" /> +<glyph unicode="v" horiz-adv-x="923" d="M25 702q0 76 65.5 164t123.5 91h6q213 0 339 -761q279 390 279 543q0 57 -58 90l125 128q73 -37 73 -118q0 -100 -191 -389q-42 -62 -59 -90l-25 -43l-46 -73q-38 -60 -80 -135l-139 -135q-38 322 -124 584t-154 262q-76 0 -106 -151q-29 10 -29 33z" /> +<glyph unicode="w" horiz-adv-x="1285" d="M27 705q0 76 71.5 164t131.5 88q88 0 138.5 -145t86.5 -498l6 -61q176 323 263 590l119 114q12 -135 23 -209l24 -160l17 -112l44 -256l24 39q231 378 231 485q0 58 -61 99l121 114q74 -41 74 -109q0 -82 -114 -271l-61 -101l-75 -131q-81 -141 -118 -251l-120 -120 q-14 180 -49 379l-17 94l-43 234l-47 -86q-128 -234 -216 -479l-153 -139q0 232 -33 441l-33 212q-28 181 -96 186h-6q-72 0 -100 -151q-32 9 -32 40z" /> +<glyph unicode="x" horiz-adv-x="1026" d="M7 9l116 114q30 -30 70 -30q113 0 254 228l52 84l20 33l-31 82q-34 87 -37 94l-48 107q-51 115 -98 115q-71 0 -112 -133q-30 11 -30 32q0 62 72 142t129 80q112 0 232 -322l20 -53l23 37q213 338 359 338q38 0 89 -22l-121 -127q-24 7 -34 7q-110 0 -262 -253l-29 -48 l23 -62q132 -363 217 -363q78 0 119 112q28 -18 28 -37q0 -50 -80 -120t-138 -70q-116 0 -237 327l-28 74l-29 -51q-204 -350 -390 -350q-70 0 -119 35z" /> +<glyph unicode="y" horiz-adv-x="1110" d="M-60 -811l123 135q94 -42 196 -42q208 0 312 135t174 495l94 486q-101 -184 -211.5 -304t-180.5 -120q-96 0 -106 202l-7 139l-13 283l-3 81q-9 161 -59 161q-78 0 -152 -148q-26 18 -26 39q0 54 97 140t158 86q63 0 89 -56.5t34 -208.5l18 -350q10 -200 64 -200 q81 0 201 185.5t154 364.5l39 204l178 62q-34 -88 -70 -266l-134 -671q-79 -394 -244 -582q-247 -280 -572 -280q-68 0 -153 30z" /> +<glyph unicode="z" horiz-adv-x="843" d="M47 -21l83 160q57 60 110 128l64 79q32 41 49 61l46 56q22 27 70 90l90 116l77 102q8 9 23 28q-20 -2 -29 -2q-70 0 -190 34l-36 10l-30 10q-28 8 -49 8q-70 0 -70 -79q0 -30 16 -61l-117 -101q-4 34 -4 50q0 116 77.5 202.5t181.5 86.5q28 0 71 -8l58 -10l48 -7 q83 -14 116 -14q74 0 157 33l-87 -160q-74 -82 -151 -177l-79 -99l-70 -87l-46 -57l-42 -51q-58 -71 -65 -81l-48 -69q-8 -11 -37 -46q55 6 91 6q64 0 143 -11l65 -9l61 -8q36 -5 73 -5q93 0 136 58q17 -16 17 -29q0 -52 -57 -99.5t-120 -47.5q-29 0 -73 5q-37 4 -65 6 l-59 4q-73 6 -143 6q-145 0 -256 -21z" /> +<glyph unicode="{" horiz-adv-x="713" d="M90 677l103 103l123 1q173 78 173 245l-2 111l-1 125q0 425 367 548l12 -32q-237 -113 -237 -410l3 -92l2 -108q0 -162 -56.5 -250.5t-195.5 -147.5q193 -27 193 -218q0 -113 -31 -281l-35 -189l-13 -91l-12 -79q-6 -37 -6 -75q0 -124 129 -175l-86 -89q-186 59 -186 246 q0 54 8 112l15 102q8 59 11 75l35 189q24 129 24 219q0 89 -57.5 125t-202.5 36h-77z" /> +<glyph unicode="|" horiz-adv-x="418" d="M132 -110l156 1409l147 156l-156 -1410z" /> +<glyph unicode="}" horiz-adv-x="713" d="M3 -394q237 111 237 410l-3 92l-2 108q0 161 56.5 250t195.5 147q-193 28 -193 218q0 112 31 281l34 189l14 91l12 80q6 36 6 74q0 125 -129 176l86 88q186 -58 186 -245q0 -54 -8 -112l-15 -102q-8 -61 -11 -76l-35 -189q-24 -128 -24 -218t57.5 -125.5t202.5 -35.5 l77 -1l-104 -102l-122 -2q-173 -77 -173 -245l2 -110l1 -126q0 -426 -367 -548z" /> +<glyph unicode="~" d="M155 393q0 103 79.5 202t161.5 99q83 0 223 -113l48 -38q136 -110 208 -110q148 0 175 230q43 -19 43 -52q0 -103 -79 -202t-161 -99q-84 0 -223 113l-48 39q-135 109 -208 109q-149 0 -175 -229q-44 18 -44 51z" /> +<glyph unicode="¡" horiz-adv-x="525" d="M195 -328q0 178 26 420q12 123 14 141l17 197l127 95l-12 -167q-16 -215 -16 -376q0 -253 39 -416l-182 -70q-13 87 -13 176zM227 815l146 142q46 -96 118 -142l-149 -141q-65 49 -115 141z" /> +<glyph unicode="¢" horiz-adv-x="1060" d="M213 271q0 173 116 361.5t283 288.5l36 320l72 73l-39 -358q109 40 183 40q72 0 124 -26l-129 -137q-76 33 -145 33q-19 0 -44 -3l-79 -709q129 43 209 190q18 -22 18 -39q0 -43 -70.5 -117.5t-166.5 -131.5l-25 -218l-72 -69l29 262q-64 -19 -102 -19q-198 0 -198 259z M378 391q0 -214 148 -241l78 698q-92 -35 -159 -170.5t-67 -286.5z" /> +<glyph unicode="£" horiz-adv-x="937" d="M4 1l107 122l28 -2q23 -3 60 -5l31 -3q120 107 120 377v27h-238l61 65h177q15 195 152 323.5t329 128.5q83 0 130 -17l-125 -121q-79 32 -153 32q-105 0 -148 -65t-43 -222v-59h281l-59 -65h-222v-18q0 -128 -34 -201t-133 -158q-11 -10 -33 -29l68 -4q32 -1 80 -1 l110 -2q227 0 329 137q11 -15 11 -34q0 -42 -84 -120q-123 -113 -274 -113q-42 0 -109 3q-154 8 -177 8q-62 0 -242 16z" /> +<glyph unicode="¤" horiz-adv-x="1306" d="M16 -26l350 285q-50 79 -50 179q0 133 87 256l-257 243l89 71l251 -218q118 109 273 109q135 0 244 -101l172 142l233 68l-359 -275q41 -83 41 -165q0 -135 -87 -265l258 -243l-93 -86l-247 229q-138 -109 -282 -109q-114 0 -229 105l-187 -155zM421 516q0 -122 90 -215 t209 -93q110 0 188 81t78 195q0 125 -88 213.5t-211 88.5q-113 0 -189.5 -77.5t-76.5 -192.5z" /> +<glyph unicode="¥" horiz-adv-x="1132" d="M128 0l117 115l132 -9q114 69 137 214h-312l49 52h268q3 23 3 44q0 34 -4 75h-295l52 52h230l-6 22q-85 323 -204 323q-80 0 -109 -106q-36 5 -36 30q0 58 73 127t134 69q92 0 176.5 -140.5t102.5 -324.5h20l14 30q201 435 423 435q68 0 127 -36l-118 -123q-31 20 -75 20 q-165 0 -318 -326h290l-53 -52h-256q-13 -48 -25 -119h312l-52 -52h-271q-17 -110 -202 -217l283 -16l-110 -113z" /> +<glyph unicode="§" d="M87 -206l162 91q16 -247 299 -247q120 0 196 68.5t76 174.5q0 131 -157 238l-127 87q-256 176 -256 353q0 168 152 288q-109 89 -109 203q0 148 127.5 241.5t329.5 93.5q148 0 294 -66l-53 -124l-24 -53q-23 -50 -45 -50q-8 0 -23 8q17 52 17 78q0 66 -68.5 107.5 t-178.5 41.5q-116 0 -188 -57t-72 -150q0 -100 188 -232l144 -101q241 -168 241 -351q0 -162 -132 -295q67 -81 67 -178q0 -163 -143.5 -276.5t-350.5 -113.5q-273 0 -366 221zM396 637q0 -87 54 -153.5t214 -179.5l183 -128q57 83 57 184q0 92 -49.5 155.5t-207.5 173.5 l-181 126q-70 -70 -70 -178z" /> +<glyph unicode="¨" horiz-adv-x="914" d="M388 1198l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112zM711 1198l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112z" /> +<glyph unicode="©" horiz-adv-x="1573" d="M144 672q0 296 208.5 504.5t503.5 208.5q296 0 504.5 -209t208.5 -504t-208.5 -503.5t-504.5 -208.5q-295 0 -503.5 208.5t-208.5 503.5zM211 672q0 -268 188.5 -456.5t456.5 -188.5t457 188.5t189 456.5t-189 457t-457 189q-267 0 -456 -189t-189 -457zM479 573 q0 210 154.5 370t357.5 160q115 0 226 -40l-38 -94l-21 -50q-18 -44 -43 -44q-11 0 -27 6q10 23 10 36q0 123 -158 123q-130 0 -222.5 -118t-92.5 -284q0 -139 63 -218t173 -79q140 0 260 100q7 -27 7 -40q0 -53 -118.5 -109t-231.5 -56q-129 0 -214 95.5t-85 241.5z" /> +<glyph unicode="ª" horiz-adv-x="708" d="M166 907q0 186 127 316t310 130q73 0 122 -19q-5 -17 -6 -22l-7 -31q-8 -31 -8 -36l-39 -256l-5 -37l-4 -32q-3 -25 -3 -30l-1 -13q0 -12 8 -12q40 0 91 103l4 11q32 -17 32 -33q0 -44 -72.5 -110.5t-120.5 -66.5q-54 0 -54 68q0 24 17 142q-153 -210 -280 -210 q-111 0 -111 138zM286 941q0 -71 48 -71q75 0 156 103t99 221l8 55q-56 25 -114 25q-88 0 -142.5 -92.5t-54.5 -240.5z" /> +<glyph unicode="«" horiz-adv-x="1166" d="M78 406l92 93l544 387l-64 -147l-430 -260q207 -108 364 -337l-92 -94q-146 243 -414 358zM524 406l92 93l544 387l-64 -147l-430 -260q207 -108 363 -337l-91 -94q-146 243 -414 358z" /> +<glyph unicode="¬" d="M100 472l117 123h880l-41 -368l-131 -129l42 374h-867z" /> +<glyph unicode="­" horiz-adv-x="741" d="M126 420l130 130h467l-129 -130h-468z" /> +<glyph unicode="®" horiz-adv-x="1573" d="M144 672q0 296 208.5 504.5t503.5 208.5q296 0 504.5 -209t208.5 -504t-208.5 -503.5t-504.5 -208.5q-295 0 -503.5 208.5t-208.5 503.5zM211 672q0 -268 188.5 -456.5t456.5 -188.5t457 188.5t189 456.5t-189 457t-457 189q-267 0 -456 -189t-189 -457zM442 249l79 80 l66 -1q24 48 36 149l62 560h-109l68 77h163h114q275 0 275 -190q0 -151 -208 -247q149 -365 238 -365q34 0 55 15q6 -14 6 -23q0 -22 -48 -39l-51 -18q-29 -10 -54 -10q-109 0 -265 392q-24 -3 -39 -3q-12 0 -45 4l-21 3l-21 -189q-10 -90 -65 -105q-13 -3 -38 -11h168 l-78 -79h-288zM770 693q43 -9 102 -9q11 0 40 4q140 74 140 216q0 133 -160 133h-51h-32z" /> +<glyph unicode="¯" horiz-adv-x="914" d="M346 1086l104 104h467l-102 -104h-469z" /> +<glyph unicode="°" horiz-adv-x="548" d="M182 1176q0 110 103.5 210t218.5 100q142 0 142 -142q0 -101 -108 -202t-215 -101q-141 0 -141 135zM276 1266q0 -140 140 -140q56 0 96 41t40 99q0 56 -40 96t-97 40q-58 0 -98.5 -39.5t-40.5 -96.5z" /> +<glyph unicode="±" d="M47 0l119 123h937l-119 -123h-937zM107 543l119 123h358l28 249l130 119l-41 -368h463l-119 -123h-358l-25 -225l-129 -119l38 344h-464z" /> +<glyph unicode="´" horiz-adv-x="914" d="M532 1086l113 207q168 71 259 155q20 -32 20 -53q0 -103 -392 -309z" /> +<glyph unicode="µ" horiz-adv-x="1059" d="M98 -425l3 28l8 74l8 70l128 1152l160 55q-26 -123 -35 -208l-40 -355q-5 -50 -5 -88q0 -168 120 -168q99 0 210.5 171t131.5 355l26 238l161 55q-26 -123 -35 -208l-46 -412l-6 -66l-6 -54q-3 -35 -3 -63q0 -48 30 -48q77 0 169 183q20 -20 20 -36q0 -64 -111 -170 t-178 -106q-78 0 -78 108q0 49 10 153l8 78l9 78q-176 -391 -363 -391q-55 0 -103 38l-45 -402z" /> +<glyph unicode="¶" d="M184 795q0 222 395 350l22 200l101 94l-31 -280q85 16 183 21l19 165l101 94l-29 -259q146 -11 241 -35l-112 -107q-66 31 -140 39l-54 -477q135 15 232 84q7 -15 7 -30q0 -35 -76.5 -79t-172.5 -64l-93 -838l-101 -100l102 920q-59 -4 -91 -4t-90 4l-91 -820l-102 -100 l104 938q-324 90 -324 284zM610 611q84 -19 141 -19q11 0 38 1l54 484q-28 5 -69 5q-68 0 -112 -5z" /> +<glyph unicode="·" d="M493 504l148 142q66 -50 115 -142l-146 -141q-45 95 -117 141z" /> +<glyph unicode="¸" horiz-adv-x="914" d="M214 -414q183 14 183 121q0 87 -135 114l99 179h76l-60 -102q130 -45 130 -154q0 -76 -76.5 -143t-164.5 -67q-36 0 -52 52z" /> +<glyph unicode="º" horiz-adv-x="604" d="M164 949q0 157 110 284.5t245 127.5q154 0 154 -183q0 -152 -110 -280.5t-239 -128.5q-160 0 -160 180zM277 1025q0 -176 116 -176q72 0 119 72.5t47 183.5q0 176 -116 176q-71 0 -118.5 -73t-47.5 -183z" /> +<glyph unicode="»" horiz-adv-x="1166" d="M97 48l64 147l430 260q-206 106 -363 337l91 94q145 -241 414 -358l-92 -93zM543 48l64 147l431 260q-209 107 -364 337l91 94q143 -241 414 -358l-92 -93z" /> +<glyph unicode="¿" horiz-adv-x="745" d="M8 -280q0 156 225 301q68 44 85 60l26 23q110 99 110 223q0 27 -9 63l167 151q15 -39 15 -88q0 -174 -179 -327l-57 -47l-23 -20q-167 -144 -167 -281q0 -205 218 -205q88 0 208 64q9 -17 9 -23q0 -38 -112.5 -78t-220.5 -40q-295 0 -295 224zM439 815l146 142 q45 -96 117 -142l-148 -141q-66 50 -115 141z" /> +<glyph unicode="À" horiz-adv-x="1469" d="M121 830q0 248 215 400q180 128 616 128q74 0 130 -3q155 -10 159 -10h70q-78 -122 -78 -494l1 -52l4 -115q0 -207 51 -424q20 -84 39 -108t66 -24q51 0 116 33q7 -17 7 -28q0 -25 -39 -43l-47 -23l-246 -107q-82 253 -99 530l-76 -53h-336q-92 -234 -252 -334l207 -10 l-108 -114l-399 14l133 120l100 -6q68 50 116 140.5t143 350.5l30 83q92 251 175 365.5t226 188.5q-157 29 -331 29q-443 0 -443 -299q0 -102 48 -191l-157 -151q-41 107 -41 207zM715 545h369q-14 174 -14 282q0 55 2 90l8 116q8 119 22 182q-196 -120 -322 -490 q-36 -107 -42 -123zM1006 1782l81 81q90 -194 208 -271l-87 -92q-123 79 -202 282z" /> +<glyph unicode="Á" horiz-adv-x="1470" d="M121 830q0 248 215 400q180 128 616 128q74 0 130 -3q155 -10 159 -10h70q-78 -122 -78 -494l1 -52l4 -115q0 -207 51 -424q20 -84 39 -108t66 -24q51 0 116 33q7 -17 7 -28q0 -25 -39 -43l-47 -23l-246 -107q-82 253 -99 530l-76 -53h-336q-92 -234 -252 -334l207 -10 l-108 -114l-399 14l133 120l100 -6q68 50 116 140.5t143 350.5l30 83q92 251 175 365.5t226 188.5q-157 29 -331 29q-443 0 -443 -299q0 -102 48 -191l-157 -151q-41 107 -41 207zM715 545h369q-14 174 -14 282q0 55 2 90l8 116q8 119 22 182q-196 -120 -322 -490 q-36 -107 -42 -123zM1149 1500l113 207q168 71 259 155q20 -32 20 -53q0 -103 -392 -309z" /> +<glyph unicode="Â" horiz-adv-x="1469" d="M121 830q0 248 215 400q180 128 616 128q74 0 130 -3q155 -10 159 -10h70q-78 -122 -78 -494l1 -52l4 -115q0 -207 51 -424q20 -84 39 -108t66 -24q51 0 116 33q7 -17 7 -28q0 -25 -39 -43l-47 -23l-246 -107q-82 253 -99 530l-76 -53h-336q-92 -234 -252 -334l207 -10 l-108 -114l-399 14l133 120l100 -6q68 50 116 140.5t143 350.5l30 83q92 251 175 365.5t226 188.5q-157 29 -331 29q-443 0 -443 -299q0 -102 48 -191l-157 -151q-41 107 -41 207zM715 545h369q-14 174 -14 282q0 55 2 90l8 116q8 119 22 182q-196 -120 -322 -490 q-36 -107 -42 -123zM890 1500l53 124q91 49 161 156l80 82q54 -177 153 -272l-84 -90q-91 103 -135 225q-13 -16 -19 -24q-107 -139 -209 -201z" /> +<glyph unicode="Ã" horiz-adv-x="1469" d="M121 830q0 248 215 400q180 128 616 128q74 0 130 -3q155 -10 159 -10h70q-78 -122 -78 -494l1 -52l4 -115q0 -207 51 -424q20 -84 39 -108t66 -24q51 0 116 33q7 -17 7 -28q0 -25 -39 -43l-47 -23l-246 -107q-82 253 -99 530l-76 -53h-336q-92 -234 -252 -334l207 -10 l-108 -114l-399 14l133 120l100 -6q68 50 116 140.5t143 350.5l30 83q92 251 175 365.5t226 188.5q-157 29 -331 29q-443 0 -443 -299q0 -102 48 -191l-157 -151q-41 107 -41 207zM715 545h369q-14 174 -14 282q0 55 2 90l8 116q8 119 22 182q-196 -120 -322 -490 q-36 -107 -42 -123zM871 1530q0 54 58.5 126.5t102.5 72.5q22 0 51 -18l31 -19l59 -35l28 -18q34 -21 56 -21q50 0 104 114q26 -9 26 -31q0 -48 -60.5 -123.5t-98.5 -75.5q-32 0 -61 18l-37 24l-54 33l-22 14q-35 21 -60 21q-54 0 -97 -112q-26 11 -26 30z" /> +<glyph unicode="Ä" horiz-adv-x="1469" d="M121 830q0 248 215 400q180 128 616 128q74 0 130 -3q155 -10 159 -10h70q-78 -122 -78 -494l1 -52l4 -115q0 -207 51 -424q20 -84 39 -108t66 -24q51 0 116 33q7 -17 7 -28q0 -25 -39 -43l-47 -23l-246 -107q-82 253 -99 530l-76 -53h-336q-92 -234 -252 -334l207 -10 l-108 -114l-399 14l133 120l100 -6q68 50 116 140.5t143 350.5l30 83q92 251 175 365.5t226 188.5q-157 29 -331 29q-443 0 -443 -299q0 -102 48 -191l-157 -151q-41 107 -41 207zM715 545h369q-14 174 -14 282q0 55 2 90l8 116q8 119 22 182q-196 -120 -322 -490 q-36 -107 -42 -123zM877 1612l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112zM1200 1612l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112z" /> +<glyph unicode="Å" horiz-adv-x="1469" d="M121 830q0 248 215 400q180 128 616 128q74 0 130 -3q155 -10 159 -10h70q-78 -122 -78 -494l1 -52l4 -115q0 -207 51 -424q20 -84 39 -108t66 -24q51 0 116 33q7 -17 7 -28q0 -25 -39 -43l-47 -23l-246 -107q-82 253 -99 530l-76 -53h-336q-92 -234 -252 -334l207 -10 l-108 -114l-399 14l133 120l100 -6q68 50 116 140.5t143 350.5l30 83q92 251 175 365.5t226 188.5q-157 29 -331 29q-443 0 -443 -299q0 -102 48 -191l-157 -151q-41 107 -41 207zM715 545h369q-14 174 -14 282q0 55 2 90l8 116q8 119 22 182q-196 -120 -322 -490 q-36 -107 -42 -123zM996 1457q0 92 87.5 176.5t183.5 84.5q119 0 119 -116q0 -88 -89.5 -173t-181.5 -85q-119 0 -119 113zM1081 1533q0 -113 112 -113q109 0 109 113q0 108 -110 108q-111 0 -111 -108z" /> +<glyph unicode="Æ" horiz-adv-x="1469" d="M121 830q0 248 215 400q180 128 616 128q74 0 130 -3q155 -10 159 -10h70q-78 -122 -78 -494l1 -52l4 -115q0 -207 51 -424q20 -84 39 -108t66 -24q51 0 116 33q7 -17 7 -28q0 -25 -39 -43l-47 -23l-246 -107q-82 253 -99 530l-76 -53h-336q-92 -234 -252 -334l207 -10 l-108 -114l-399 14l133 120l100 -6q68 50 116 140.5t143 350.5l30 83q92 251 175 365.5t226 188.5q-157 29 -331 29q-443 0 -443 -299q0 -102 48 -191l-157 -151q-41 107 -41 207zM715 545h369q-14 174 -14 282q0 55 2 90l8 116q8 119 22 182q-196 -120 -322 -490 q-36 -107 -42 -123zM983 1739l113 117q-2 -22 -2 -33q-3 -33 -3 -47q0 -166 91 -166q58 0 115.5 69.5t86.5 176.5q34 -10 34 -39q0 -94 -98.5 -205.5t-180.5 -111.5q-156 0 -156 239z" /> +<glyph unicode="Ç" horiz-adv-x="1275" d="M145 522q0 367 235 615t583 248q177 0 367 -67l-67 -147l-19 -43q-24 -51 -59 -51q-7 0 -21 3q14 31 14 51q0 67 -89.5 117t-208.5 50q-244 0 -396.5 -193t-152.5 -502q0 -239 107 -381t286 -142q129 0 257.5 77.5t189.5 191.5q23 -11 23 -32q0 -66 -121 -174 q-205 -183 -466 -183q-211 0 -336.5 152.5t-125.5 409.5zM465 -414q183 14 183 121q0 87 -135 114l99 179h76l-60 -102q130 -45 130 -154q0 -76 -76.5 -143t-164.5 -67q-36 0 -52 52z" /> +<glyph unicode="È" horiz-adv-x="1497" d="M27 31l183 138q99 -17 238 -30q98 38 132 108t57 282l79 708h-35q-194 0 -304 -79.5t-110 -219.5q0 -81 46 -168l-162 -156q-24 80 -24 152q0 280 233 453q170 126 484 126h330q186 0 380 13l-81 -205l-16 -37q-25 -59 -64 -59q-6 0 -14 1q11 50 11 80q0 66 -69.5 82.5 t-346.5 16.5h-97l-53 -484h195q169 0 300 16q-114 -137 -230 -137q-65 0 -184 10q-49 3 -69 3h-24l-10 -87q-21 -190 -66.5 -270t-178.5 -161l219 -17l89 -8q94 -7 225 -7q221 0 368 143q17 -19 17 -36q0 -28 -107 -115q-156 -127 -341 -127q-171 0 -492 29l-373 34 q-19 1 -135 8zM953 1782l81 81q90 -194 208 -271l-87 -92q-123 79 -202 282z" /> +<glyph unicode="É" horiz-adv-x="1497" d="M27 31l183 138q99 -17 238 -30q98 38 132 108t57 282l79 708h-35q-194 0 -304 -79.5t-110 -219.5q0 -81 46 -168l-162 -156q-24 80 -24 152q0 280 233 453q170 126 484 126h330q186 0 380 13l-81 -205l-16 -37q-25 -59 -64 -59q-6 0 -14 1q11 50 11 80q0 66 -69.5 82.5 t-346.5 16.5h-97l-53 -484h195q169 0 300 16q-114 -137 -230 -137q-65 0 -184 10q-49 3 -69 3h-24l-10 -87q-21 -190 -66.5 -270t-178.5 -161l219 -17l89 -8q94 -7 225 -7q221 0 368 143q17 -19 17 -36q0 -28 -107 -115q-156 -127 -341 -127q-171 0 -492 29l-373 34 q-19 1 -135 8zM1054 1500l113 207q168 71 259 155q20 -32 20 -53q0 -103 -392 -309z" /> +<glyph unicode="Ê" horiz-adv-x="1497" d="M27 31l183 138q99 -17 238 -30q98 38 132 108t57 282l79 708h-35q-194 0 -304 -79.5t-110 -219.5q0 -81 46 -168l-162 -156q-24 80 -24 152q0 280 233 453q170 126 484 126h330q186 0 380 13l-81 -205l-16 -37q-25 -59 -64 -59q-6 0 -14 1q11 50 11 80q0 66 -69.5 82.5 t-346.5 16.5h-97l-53 -484h195q169 0 300 16q-114 -137 -230 -137q-65 0 -184 10q-49 3 -69 3h-24l-10 -87q-21 -190 -66.5 -270t-178.5 -161l219 -17l89 -8q94 -7 225 -7q221 0 368 143q17 -19 17 -36q0 -28 -107 -115q-156 -127 -341 -127q-171 0 -492 29l-373 34 q-19 1 -135 8zM914 1500l53 124q91 49 161 156l80 82q54 -177 153 -272l-84 -90q-91 103 -135 225q-13 -16 -19 -24q-107 -139 -209 -201z" /> +<glyph unicode="Ë" horiz-adv-x="1497" d="M27 31l183 138q99 -17 238 -30q98 38 132 108t57 282l79 708h-35q-194 0 -304 -79.5t-110 -219.5q0 -81 46 -168l-162 -156q-24 80 -24 152q0 280 233 453q170 126 484 126h330q186 0 380 13l-81 -205l-16 -37q-25 -59 -64 -59q-6 0 -14 1q11 50 11 80q0 66 -69.5 82.5 t-346.5 16.5h-97l-53 -484h195q169 0 300 16q-114 -137 -230 -137q-65 0 -184 10q-49 3 -69 3h-24l-10 -87q-21 -190 -66.5 -270t-178.5 -161l219 -17l89 -8q94 -7 225 -7q221 0 368 143q17 -19 17 -36q0 -28 -107 -115q-156 -127 -341 -127q-171 0 -492 29l-373 34 q-19 1 -135 8zM880 1612l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112zM1203 1612l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112z" /> +<glyph unicode="Ì" horiz-adv-x="935" d="M121 775q0 258 192 414t510 156h79q-45 -229 -54 -308l-54 -489l-13 -111q-17 -142 -61.5 -205t-170.5 -123l290 -15l-120 -116l-487 22l128 124l109 -12q122 77 150 315l11 97l77 700h-31q-416 0 -416 -275q0 -86 47 -173l-163 -156q-23 78 -23 155zM672 1782l81 81 q90 -194 208 -271l-87 -92q-123 79 -202 282z" /> +<glyph unicode="Í" horiz-adv-x="936" d="M121 775q0 258 192 414t510 156h79q-45 -229 -54 -308l-54 -489l-13 -111q-17 -142 -61.5 -205t-170.5 -123l290 -15l-120 -116l-487 22l128 124l109 -12q122 77 150 315l11 97l77 700h-31q-416 0 -416 -275q0 -86 47 -173l-163 -156q-23 78 -23 155zM748 1500l113 207 q168 71 259 155q20 -32 20 -53q0 -103 -392 -309z" /> +<glyph unicode="Î" horiz-adv-x="936" d="M121 775q0 258 192 414t510 156h79q-45 -229 -54 -308l-54 -489l-13 -111q-17 -142 -61.5 -205t-170.5 -123l290 -15l-120 -116l-487 22l128 124l109 -12q122 77 150 315l11 97l77 700h-31q-416 0 -416 -275q0 -86 47 -173l-163 -156q-23 78 -23 155zM630 1500l53 124 q91 49 161 156l80 82q54 -177 153 -272l-84 -90q-91 103 -135 225q-13 -16 -19 -24q-107 -139 -209 -201z" /> +<glyph unicode="Ï" horiz-adv-x="936" d="M121 775q0 258 192 414t510 156h79q-45 -229 -54 -308l-54 -489l-13 -111q-17 -142 -61.5 -205t-170.5 -123l290 -15l-120 -116l-487 22l128 124l109 -12q122 77 150 315l11 97l77 700h-31q-416 0 -416 -275q0 -86 47 -173l-163 -156q-23 78 -23 155zM547 1612l119 112 q59 -42 89 -112l-114 -112q-33 73 -94 112zM870 1612l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112z" /> +<glyph unicode="Ñ" horiz-adv-x="1807" d="M121 776q0 246 186.5 410.5t466.5 164.5q39 0 73 -3q38 -3 48 -3h11q-4 -35 -4 -50q0 -206 267 -524l75 -88l66 -79q105 -125 166 -230l67 543q63 497 231 697q192 228 424 228q87 0 172 -32l-148 -147q-91 53 -161 53q-155 0 -235.5 -142.5t-125.5 -496.5l-106 -847 l-126 -260q-46 184 -98 280t-207 282l-77 93q-178 215 -252 385l-50 -450l-12 -108q-16 -134 -51.5 -196.5t-141.5 -141.5l221 -20l-119 -116l-435 22l129 124l111 -10q76 55 105 119t46 212l9 87l77 692h-47q-416 0 -416 -275q0 -86 47 -173l-162 -156q-24 78 -24 156z M999 1530q0 54 58.5 126.5t102.5 72.5q22 0 51 -18l31 -19l59 -35l28 -18q34 -21 56 -21q50 0 104 114q26 -9 26 -31q0 -48 -60.5 -123.5t-98.5 -75.5q-32 0 -61 18l-37 24l-54 33l-22 14q-35 21 -60 21q-54 0 -97 -112q-26 11 -26 30z" /> +<glyph unicode="Ò" horiz-adv-x="1404" d="M151 511q0 353 238.5 613.5t562.5 260.5q201 0 326 -152.5t125 -398.5q0 -356 -239.5 -615.5t-567.5 -259.5q-196 0 -320.5 154.5t-124.5 397.5zM341 611q0 -248 109 -409.5t277 -161.5q207 0 346.5 199t139.5 494q0 247 -109 409.5t-274 162.5q-209 0 -349 -198.5 t-140 -495.5zM806 1782l81 81q90 -194 208 -271l-87 -92q-123 79 -202 282z" /> +<glyph unicode="Ó" horiz-adv-x="1404" d="M151 511q0 353 238.5 613.5t562.5 260.5q201 0 326 -152.5t125 -398.5q0 -356 -239.5 -615.5t-567.5 -259.5q-196 0 -320.5 154.5t-124.5 397.5zM341 611q0 -248 109 -409.5t277 -161.5q207 0 346.5 199t139.5 494q0 247 -109 409.5t-274 162.5q-209 0 -349 -198.5 t-140 -495.5zM900 1500l113 207q168 71 259 155q20 -32 20 -53q0 -103 -392 -309z" /> +<glyph unicode="Ô" horiz-adv-x="1404" d="M151 511q0 353 238.5 613.5t562.5 260.5q201 0 326 -152.5t125 -398.5q0 -356 -239.5 -615.5t-567.5 -259.5q-196 0 -320.5 154.5t-124.5 397.5zM341 611q0 -248 109 -409.5t277 -161.5q207 0 346.5 199t139.5 494q0 247 -109 409.5t-274 162.5q-209 0 -349 -198.5 t-140 -495.5zM750 1500l53 124q91 49 161 156l80 82q54 -177 153 -272l-84 -90q-91 103 -135 225q-13 -16 -19 -24q-107 -139 -209 -201z" /> +<glyph unicode="Õ" horiz-adv-x="1404" d="M151 511q0 353 238.5 613.5t562.5 260.5q201 0 326 -152.5t125 -398.5q0 -356 -239.5 -615.5t-567.5 -259.5q-196 0 -320.5 154.5t-124.5 397.5zM341 611q0 -248 109 -409.5t277 -161.5q207 0 346.5 199t139.5 494q0 247 -109 409.5t-274 162.5q-209 0 -349 -198.5 t-140 -495.5zM714 1530q0 54 58.5 126.5t102.5 72.5q22 0 51 -18l31 -19l59 -35l28 -18q34 -21 56 -21q50 0 104 114q26 -9 26 -31q0 -48 -60.5 -123.5t-98.5 -75.5q-32 0 -61 18l-37 24l-54 33l-22 14q-35 21 -60 21q-54 0 -97 -112q-26 11 -26 30z" /> +<glyph unicode="Ö" horiz-adv-x="1404" d="M151 511q0 353 238.5 613.5t562.5 260.5q201 0 326 -152.5t125 -398.5q0 -356 -239.5 -615.5t-567.5 -259.5q-196 0 -320.5 154.5t-124.5 397.5zM341 611q0 -248 109 -409.5t277 -161.5q207 0 346.5 199t139.5 494q0 247 -109 409.5t-274 162.5q-209 0 -349 -198.5 t-140 -495.5zM686 1612l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112zM1009 1612l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112z" /> +<glyph unicode="Ø" horiz-adv-x="1076" d="M86 177l170 103q40 -246 295 -246q124 0 203 67.5t79 173.5q0 145 -175 288l-121 98q-146 120 -195 189.5t-49 156.5q0 164 131 271t331 107q159 0 301 -76l-58 -133l-26 -59q-22 -52 -52 -52q-13 0 -27 10q17 52 17 83q0 64 -70.5 107t-174.5 43q-236 0 -236 -195 q0 -70 52.5 -134.5t218.5 -199.5l97 -80q185 -150 185 -315q0 -182 -153.5 -303t-383.5 -121q-280 0 -359 217zM430 -602q118 84 118 190q0 83 -84 145l113 112q98 -72 98 -173q0 -142 -216 -307z" /> +<glyph unicode="Ù" horiz-adv-x="1750" d="M121 775q0 258 192 414t510 156h146q-90 -174 -147 -416t-57 -448q0 -414 252 -414q170 0 274 164.5t135 482.5q14 145 19 189l42 377l198 103q-43 -165 -70 -407l-36 -320q-2 -17 -11 -113l-14 -139q-8 -79 -8 -136q0 -100 76 -100q60 0 135 47l3 -12q2 -12 2 -19 q0 -29 -55 -55l-59 -29l-294 -140l37 334q-214 -335 -461 -335q-338 0 -338 516q0 349 168 749h-84q-416 0 -416 -275q0 -86 47 -173l-163 -156q-23 78 -23 155zM1104 1782l81 81q90 -194 208 -271l-87 -92q-123 79 -202 282z" /> +<glyph unicode="Ú" horiz-adv-x="1750" d="M121 775q0 258 192 414t510 156h146q-90 -174 -147 -416t-57 -448q0 -414 252 -414q170 0 274 164.5t135 482.5q14 145 19 189l42 377l198 103q-43 -165 -70 -407l-36 -320q-2 -17 -11 -113l-14 -139q-8 -79 -8 -136q0 -100 76 -100q60 0 135 47l3 -12q2 -12 2 -19 q0 -29 -55 -55l-59 -29l-294 -140l37 334q-214 -335 -461 -335q-338 0 -338 516q0 349 168 749h-84q-416 0 -416 -275q0 -86 47 -173l-163 -156q-23 78 -23 155zM1241 1500l113 207q168 71 259 155q20 -32 20 -53q0 -103 -392 -309z" /> +<glyph unicode="Û" horiz-adv-x="1750" d="M121 775q0 258 192 414t510 156h146q-90 -174 -147 -416t-57 -448q0 -414 252 -414q170 0 274 164.5t135 482.5q14 145 19 189l42 377l198 103q-43 -165 -70 -407l-36 -320q-2 -17 -11 -113l-14 -139q-8 -79 -8 -136q0 -100 76 -100q60 0 135 47l3 -12q2 -12 2 -19 q0 -29 -55 -55l-59 -29l-294 -140l37 334q-214 -335 -461 -335q-338 0 -338 516q0 349 168 749h-84q-416 0 -416 -275q0 -86 47 -173l-163 -156q-23 78 -23 155zM1079 1500l53 124q91 49 161 156l80 82q54 -177 153 -272l-84 -90q-91 103 -135 225q-13 -16 -19 -24 q-107 -139 -209 -201z" /> +<glyph unicode="Ü" horiz-adv-x="1750" d="M121 775q0 258 192 414t510 156h146q-90 -174 -147 -416t-57 -448q0 -414 252 -414q170 0 274 164.5t135 482.5q14 145 19 189l42 377l198 103q-43 -165 -70 -407l-36 -320q-2 -17 -11 -113l-14 -139q-8 -79 -8 -136q0 -100 76 -100q60 0 135 47l3 -12q2 -12 2 -19 q0 -29 -55 -55l-59 -29l-294 -140l37 334q-214 -335 -461 -335q-338 0 -338 516q0 349 168 749h-84q-416 0 -416 -275q0 -86 47 -173l-163 -156q-23 78 -23 155zM1046 1612l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112zM1369 1612l119 112q59 -42 89 -112l-114 -112 q-33 73 -94 112z" /> +<glyph unicode="ß" horiz-adv-x="1179" d="M-465 -815l134 121q88 -30 157 -30q292 0 343 443l28 248l115 1029q40 359 211 567t427 208q106 0 176.5 -61t70.5 -155q0 -143 -209 -349q-21 -21 -61 -63l-21 -21q-138 -142 -138 -220q0 -81 149 -259l69 -83q127 -152 127 -274q0 -125 -117.5 -218.5t-274.5 -93.5 q-102 0 -208 51l136 114q74 -79 198 -79q142 0 142 132q0 86 -83 192l-43 54l-58 74l-56 67q-126 149 -126 247q0 100 162 249q50 45 56 52l24 24q171 174 171 314q0 195 -197 195q-160 0 -258 -117q-77 -91 -117 -459l-121 -1085q-30 -275 -88 -418t-185 -257 q-184 -165 -414 -165q-49 0 -121 26z" /> +<glyph unicode="à" horiz-adv-x="1070" d="M107 195q0 304 199.5 526.5t472.5 222.5q104 0 177 -26q-5 -18 -6 -22l-12 -53q-12 -55 -13 -64l-64 -442l-9 -64q-13 -95 -13 -127q0 -43 25 -43q84 0 172 188q27 -16 27 -32q0 -35 -86 -141q-117 -144 -217 -144q-73 0 -73 98q0 30 7 83l10 80l13 88l11 74 q-113 -186 -248.5 -304.5t-235.5 -118.5q-137 0 -137 221zM271 250q0 -130 77 -130q89 0 215 136q170 183 206 430l16 108q-91 51 -184 51q-140 0 -235 -171t-95 -424zM510 1368l81 81q90 -194 208 -271l-87 -92q-123 79 -202 282z" /> +<glyph unicode="á" horiz-adv-x="1070" d="M107 195q0 304 199.5 526.5t472.5 222.5q104 0 177 -26q-5 -18 -6 -22l-12 -53q-12 -55 -13 -64l-64 -442l-9 -64q-13 -95 -13 -127q0 -43 25 -43q84 0 172 188q27 -16 27 -32q0 -35 -86 -141q-117 -144 -217 -144q-73 0 -73 98q0 30 7 83l10 80l13 88l11 74 q-113 -186 -248.5 -304.5t-235.5 -118.5q-137 0 -137 221zM271 250q0 -130 77 -130q89 0 215 136q170 183 206 430l16 108q-91 51 -184 51q-140 0 -235 -171t-95 -424zM617 1086l113 207q168 71 259 155q20 -32 20 -53q0 -103 -392 -309z" /> +<glyph unicode="â" horiz-adv-x="1070" d="M107 195q0 304 199.5 526.5t472.5 222.5q104 0 177 -26q-5 -18 -6 -22l-12 -53q-12 -55 -13 -64l-64 -442l-9 -64q-13 -95 -13 -127q0 -43 25 -43q84 0 172 188q27 -16 27 -32q0 -35 -86 -141q-117 -144 -217 -144q-73 0 -73 98q0 30 7 83l10 80l13 88l11 74 q-113 -186 -248.5 -304.5t-235.5 -118.5q-137 0 -137 221zM271 250q0 -130 77 -130q89 0 215 136q170 183 206 430l16 108q-91 51 -184 51q-140 0 -235 -171t-95 -424zM500 1086l53 124q91 49 161 156l80 82q54 -177 153 -272l-84 -90q-91 103 -135 225q-13 -16 -19 -24 q-107 -139 -209 -201z" /> +<glyph unicode="ã" horiz-adv-x="1070" d="M107 195q0 304 199.5 526.5t472.5 222.5q104 0 177 -26q-5 -18 -6 -22l-12 -53q-12 -55 -13 -64l-64 -442l-9 -64q-13 -95 -13 -127q0 -43 25 -43q84 0 172 188q27 -16 27 -32q0 -35 -86 -141q-117 -144 -217 -144q-73 0 -73 98q0 30 7 83l10 80l13 88l11 74 q-113 -186 -248.5 -304.5t-235.5 -118.5q-137 0 -137 221zM271 250q0 -130 77 -130q89 0 215 136q170 183 206 430l16 108q-91 51 -184 51q-140 0 -235 -171t-95 -424zM461 1116q0 54 58.5 126.5t102.5 72.5q22 0 51 -18l31 -19l59 -35l28 -18q34 -21 56 -21q50 0 104 114 q26 -9 26 -31q0 -48 -60.5 -123.5t-98.5 -75.5q-32 0 -61 18l-37 24l-54 33l-22 14q-35 21 -60 21q-54 0 -97 -112q-26 11 -26 30z" /> +<glyph unicode="ä" horiz-adv-x="1070" d="M107 195q0 304 199.5 526.5t472.5 222.5q104 0 177 -26q-5 -18 -6 -22l-12 -53q-12 -55 -13 -64l-64 -442l-9 -64q-13 -95 -13 -127q0 -43 25 -43q84 0 172 188q27 -16 27 -32q0 -35 -86 -141q-117 -144 -217 -144q-73 0 -73 98q0 30 7 83l10 80l13 88l11 74 q-113 -186 -248.5 -304.5t-235.5 -118.5q-137 0 -137 221zM271 250q0 -130 77 -130q89 0 215 136q170 183 206 430l16 108q-91 51 -184 51q-140 0 -235 -171t-95 -424zM447 1198l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112zM770 1198l119 112q59 -42 89 -112 l-114 -112q-33 73 -94 112z" /> +<glyph unicode="å" horiz-adv-x="1070" d="M107 195q0 304 199.5 526.5t472.5 222.5q104 0 177 -26q-5 -18 -6 -22l-12 -53q-12 -55 -13 -64l-64 -442l-9 -64q-13 -95 -13 -127q0 -43 25 -43q84 0 172 188q27 -16 27 -32q0 -35 -86 -141q-117 -144 -217 -144q-73 0 -73 98q0 30 7 83l10 80l13 88l11 74 q-113 -186 -248.5 -304.5t-235.5 -118.5q-137 0 -137 221zM271 250q0 -130 77 -130q89 0 215 136q170 183 206 430l16 108q-91 51 -184 51q-140 0 -235 -171t-95 -424zM573 1199q0 92 87.5 176.5t183.5 84.5q119 0 119 -116q0 -88 -89.5 -173t-181.5 -85q-119 0 -119 113z M658 1275q0 -113 112 -113q109 0 109 113q0 108 -110 108q-111 0 -111 -108z" /> +<glyph unicode="æ" horiz-adv-x="1051" d="M107 195q0 304 199.5 526.5t472.5 222.5q104 0 177 -26q-5 -18 -6 -22l-12 -53q-12 -55 -13 -64l-64 -442l-9 -64q-13 -95 -13 -127q0 -43 25 -43q84 0 172 188q27 -16 27 -32q0 -35 -86 -141q-117 -144 -217 -144q-73 0 -73 98q0 30 7 83l10 80l13 88l11 74 q-113 -186 -248.5 -304.5t-235.5 -118.5q-137 0 -137 221zM271 250q0 -130 77 -130q89 0 215 136q170 183 206 430l16 108q-91 51 -184 51q-140 0 -235 -171t-95 -424zM532 1325l113 117q-2 -22 -2 -33q-3 -33 -3 -47q0 -166 91 -166q58 0 115.5 69.5t86.5 176.5 q34 -10 34 -39q0 -94 -98.5 -205.5t-180.5 -111.5q-156 0 -156 239z" /> +<glyph unicode="ç" horiz-adv-x="784" d="M103 274q0 259 176 471t391 212q78 0 133 -26l-114 -137q-80 33 -153 33q-131 0 -206.5 -111t-75.5 -304q0 -136 54.5 -219t142.5 -83q149 0 234 195q22 -24 22 -45q0 -83 -129.5 -184.5t-237.5 -101.5q-104 0 -170.5 83.5t-66.5 216.5zM173 -414q183 14 183 121 q0 87 -135 114l99 179h76l-60 -102q130 -45 130 -154q0 -76 -76.5 -143t-164.5 -67q-36 0 -52 52z" /> +<glyph unicode="è" horiz-adv-x="761" d="M103 262q0 228 172.5 461.5t341.5 233.5q122 0 122 -131q0 -147 -142.5 -287t-347.5 -195q20 -241 190 -241q168 0 275 215q25 -17 25 -40q0 -31 -64 -106q-171 -198 -338 -198q-102 0 -168 81t-66 207zM253 466q29 -10 53 -10q124 0 217 76t93 178q0 117 -119 117 q-86 0 -155.5 -102.5t-88.5 -258.5zM418 1368l81 81q90 -194 208 -271l-87 -92q-123 79 -202 282z" /> +<glyph unicode="é" horiz-adv-x="761" d="M103 262q0 228 172.5 461.5t341.5 233.5q122 0 122 -131q0 -147 -142.5 -287t-347.5 -195q20 -241 190 -241q168 0 275 215q25 -17 25 -40q0 -31 -64 -106q-171 -198 -338 -198q-102 0 -168 81t-66 207zM253 466q29 -10 53 -10q124 0 217 76t93 178q0 117 -119 117 q-86 0 -155.5 -102.5t-88.5 -258.5zM472 1086l113 207q168 71 259 155q20 -32 20 -53q0 -103 -392 -309z" /> +<glyph unicode="ê" horiz-adv-x="761" d="M103 262q0 228 172.5 461.5t341.5 233.5q122 0 122 -131q0 -147 -142.5 -287t-347.5 -195q20 -241 190 -241q168 0 275 215q25 -17 25 -40q0 -31 -64 -106q-171 -198 -338 -198q-102 0 -168 81t-66 207zM253 466q29 -10 53 -10q124 0 217 76t93 178q0 117 -119 117 q-86 0 -155.5 -102.5t-88.5 -258.5zM368 1086l53 124q91 49 161 156l80 82q54 -177 153 -272l-84 -90q-91 103 -135 225q-13 -16 -19 -24q-107 -139 -209 -201z" /> +<glyph unicode="ë" horiz-adv-x="761" d="M103 262q0 228 172.5 461.5t341.5 233.5q122 0 122 -131q0 -147 -142.5 -287t-347.5 -195q20 -241 190 -241q168 0 275 215q25 -17 25 -40q0 -31 -64 -106q-171 -198 -338 -198q-102 0 -168 81t-66 207zM253 466q29 -10 53 -10q124 0 217 76t93 178q0 117 -119 117 q-86 0 -155.5 -102.5t-88.5 -258.5zM347 1198l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112zM670 1198l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112z" /> +<glyph unicode="ì" horiz-adv-x="606" d="M118 690q0 61 112.5 164t179.5 103q75 0 75 -104q0 -20 -8 -82l-9 -67q-1 -8 -11 -81l-41 -286l-10 -64q-13 -95 -13 -127q0 -43 25 -43q84 0 173 188q27 -16 27 -31q0 -36 -87 -142q-117 -144 -217 -144q-73 0 -73 97q0 41 30 252l39 272l10 69l8 55q5 35 5 59 q0 50 -28 50q-78 0 -168 -172q-19 17 -19 34zM248 1368l81 81q90 -194 208 -271l-87 -92q-123 79 -202 282z" /> +<glyph unicode="í" horiz-adv-x="606" d="M118 690q0 61 112.5 164t179.5 103q75 0 75 -104q0 -20 -8 -82l-9 -67q-1 -8 -11 -81l-41 -286l-10 -64q-13 -95 -13 -127q0 -43 25 -43q84 0 173 188q27 -16 27 -31q0 -36 -87 -142q-117 -144 -217 -144q-73 0 -73 97q0 41 30 252l39 272l10 69l8 55q5 35 5 59 q0 50 -28 50q-78 0 -168 -172q-19 17 -19 34zM351 1086l113 207q168 71 259 155q20 -32 20 -53q0 -103 -392 -309z" /> +<glyph unicode="î" horiz-adv-x="606" d="M118 690q0 61 112.5 164t179.5 103q75 0 75 -104q0 -20 -8 -82l-9 -67q-1 -8 -11 -81l-41 -286l-10 -64q-13 -95 -13 -127q0 -43 25 -43q84 0 173 188q27 -16 27 -31q0 -36 -87 -142q-117 -144 -217 -144q-73 0 -73 97q0 41 30 252l39 272l10 69l8 55q5 35 5 59 q0 50 -28 50q-78 0 -168 -172q-19 17 -19 34zM211 1086l53 124q91 49 161 156l80 82q54 -177 153 -272l-84 -90q-91 103 -135 225q-13 -16 -19 -24q-107 -139 -209 -201z" /> +<glyph unicode="ï" horiz-adv-x="606" d="M118 690q0 61 112.5 164t179.5 103q75 0 75 -104q0 -20 -8 -82l-9 -67q-1 -8 -11 -81l-41 -286l-10 -64q-13 -95 -13 -127q0 -43 25 -43q84 0 173 188q27 -16 27 -31q0 -36 -87 -142q-117 -144 -217 -144q-73 0 -73 97q0 41 30 252l39 272l10 69l8 55q5 35 5 59 q0 50 -28 50q-78 0 -168 -172q-19 17 -19 34zM186 1198l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112zM509 1198l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112z" /> +<glyph unicode="ñ" horiz-adv-x="1156" d="M94 690q0 60 109.5 163.5t172.5 103.5q86 0 86 -110q0 -28 -5 -75l-8 -81l-8 -68l-8 -71q118 176 258.5 290.5t239.5 114.5q97 0 97 -135q0 -41 -11 -123l-54 -373q-16 -112 -16 -177q0 -52 28 -52q69 0 170 184q24 -15 24 -31q0 -65 -111.5 -170.5t-181.5 -105.5 q-78 0 -78 112q0 82 21 227l35 242q17 118 17 187q0 79 -55 79q-128 0 -259.5 -173.5t-153.5 -372.5l-27 -240l-149 -61l3 28l8 74l8 70l52 464l6 53q6 62 6 100q0 64 -32 64q-75 0 -161 -170q-23 19 -23 33zM462 1116q0 54 58.5 126.5t102.5 72.5q22 0 51 -18l31 -19 l59 -35l28 -18q34 -21 56 -21q50 0 104 114q26 -9 26 -31q0 -48 -60.5 -123.5t-98.5 -75.5q-32 0 -61 18l-37 24l-54 33l-22 14q-35 21 -60 21q-54 0 -97 -112q-26 11 -26 30z" /> +<glyph unicode="ò" horiz-adv-x="878" d="M103 272q0 240 176 462.5t365 222.5q228 0 228 -298q0 -241 -176 -463t-368 -222q-225 0 -225 298zM256 398q0 -312 193 -312q115 0 192.5 128t77.5 319q0 312 -194 312q-114 0 -191.5 -128.5t-77.5 -318.5zM494 1368l81 81q90 -194 208 -271l-87 -92q-123 79 -202 282z " /> +<glyph unicode="ó" horiz-adv-x="878" d="M103 272q0 240 176 462.5t365 222.5q228 0 228 -298q0 -241 -176 -463t-368 -222q-225 0 -225 298zM256 398q0 -312 193 -312q115 0 192.5 128t77.5 319q0 312 -194 312q-114 0 -191.5 -128.5t-77.5 -318.5zM585 1086l113 207q168 71 259 155q20 -32 20 -53 q0 -103 -392 -309z" /> +<glyph unicode="ô" horiz-adv-x="878" d="M103 272q0 240 176 462.5t365 222.5q228 0 228 -298q0 -241 -176 -463t-368 -222q-225 0 -225 298zM256 398q0 -312 193 -312q115 0 192.5 128t77.5 319q0 312 -194 312q-114 0 -191.5 -128.5t-77.5 -318.5zM439 1086l53 124q91 49 161 156l80 82q54 -177 153 -272 l-84 -90q-91 103 -135 225q-13 -16 -19 -24q-107 -139 -209 -201z" /> +<glyph unicode="õ" horiz-adv-x="878" d="M103 272q0 240 176 462.5t365 222.5q228 0 228 -298q0 -241 -176 -463t-368 -222q-225 0 -225 298zM256 398q0 -312 193 -312q115 0 192.5 128t77.5 319q0 312 -194 312q-114 0 -191.5 -128.5t-77.5 -318.5zM414 1116q0 54 58.5 126.5t102.5 72.5q22 0 51 -18l31 -19 l59 -35l28 -18q34 -21 56 -21q50 0 104 114q26 -9 26 -31q0 -48 -60.5 -123.5t-98.5 -75.5q-32 0 -61 18l-37 24l-54 33l-22 14q-35 21 -60 21q-54 0 -97 -112q-26 11 -26 30z" /> +<glyph unicode="ö" horiz-adv-x="878" d="M103 272q0 240 176 462.5t365 222.5q228 0 228 -298q0 -241 -176 -463t-368 -222q-225 0 -225 298zM256 398q0 -312 193 -312q115 0 192.5 128t77.5 319q0 312 -194 312q-114 0 -191.5 -128.5t-77.5 -318.5zM440 1198l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112z M763 1198l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112z" /> +<glyph unicode="÷" d="M97 446l119 123h938l-119 -123h-938zM439 142l147 141q65 -45 117 -141l-147 -142q-45 95 -117 142zM522 867l149 141q65 -49 115 -141l-147 -142q-44 96 -117 142z" /> +<glyph unicode="ø" horiz-adv-x="728" d="M43 28l138 113q78 -83 196 -83q144 0 144 139q0 77 -132 215l-57 59q-125 131 -125 212q0 116 100.5 195t247.5 79q80 0 175 -30l-120 -111q-76 57 -169 57q-109 0 -109 -91q0 -65 121 -191l62 -66q138 -144 138 -232q0 -126 -121 -222.5t-279 -96.5q-112 0 -210 54z M238 -602q118 84 118 190q0 83 -84 145l113 112q98 -72 98 -173q0 -142 -216 -307z" /> +<glyph unicode="ù" horiz-adv-x="1148" d="M88 689q0 62 110.5 165t175.5 103q83 0 83 -114q0 -27 -4 -63l-9 -77l-9 -84l-32 -286q-8 -73 -8 -148q0 -69 51 -69q113 0 255.5 186t168.5 368l34 237l162 55q-28 -116 -42 -207l-60 -418q-5 -38 -8 -64l-7 -55q-6 -51 -6 -72q0 -43 24 -43q85 0 173 188q27 -16 27 -32 q0 -35 -87 -141q-117 -144 -217 -144q-73 0 -73 98q0 31 7 83l11 80q9 65 12 88l10 70q-114 -175 -257 -297t-233 -122q-99 0 -99 132q0 49 13 161l36 328q1 7 5 58l6 65q3 29 3 52q0 58 -33 58q-76 0 -164 -171q-19 15 -19 32zM556 1368l81 81q90 -194 208 -271l-87 -92 q-123 79 -202 282z" /> +<glyph unicode="ú" horiz-adv-x="1148" d="M88 689q0 62 110.5 165t175.5 103q83 0 83 -114q0 -27 -4 -63l-9 -77l-9 -84l-32 -286q-8 -73 -8 -148q0 -69 51 -69q113 0 255.5 186t168.5 368l34 237l162 55q-28 -116 -42 -207l-60 -418q-5 -38 -8 -64l-7 -55q-6 -51 -6 -72q0 -43 24 -43q85 0 173 188q27 -16 27 -32 q0 -35 -87 -141q-117 -144 -217 -144q-73 0 -73 98q0 31 7 83l11 80q9 65 12 88l10 70q-114 -175 -257 -297t-233 -122q-99 0 -99 132q0 49 13 161l36 328q1 7 5 58l6 65q3 29 3 52q0 58 -33 58q-76 0 -164 -171q-19 15 -19 32zM602 1086l113 207q168 71 259 155 q20 -32 20 -53q0 -103 -392 -309z" /> +<glyph unicode="û" horiz-adv-x="1148" d="M88 689q0 62 110.5 165t175.5 103q83 0 83 -114q0 -27 -4 -63l-9 -77l-9 -84l-32 -286q-8 -73 -8 -148q0 -69 51 -69q113 0 255.5 186t168.5 368l34 237l162 55q-28 -116 -42 -207l-60 -418q-5 -38 -8 -64l-7 -55q-6 -51 -6 -72q0 -43 24 -43q85 0 173 188q27 -16 27 -32 q0 -35 -87 -141q-117 -144 -217 -144q-73 0 -73 98q0 31 7 83l11 80q9 65 12 88l10 70q-114 -175 -257 -297t-233 -122q-99 0 -99 132q0 49 13 161l36 328q1 7 5 58l6 65q3 29 3 52q0 58 -33 58q-76 0 -164 -171q-19 15 -19 32zM502 1086l53 124q91 49 161 156l80 82 q54 -177 153 -272l-84 -90q-91 103 -135 225q-13 -16 -19 -24q-107 -139 -209 -201z" /> +<glyph unicode="ü" horiz-adv-x="1148" d="M88 689q0 62 110.5 165t175.5 103q83 0 83 -114q0 -27 -4 -63l-9 -77l-9 -84l-32 -286q-8 -73 -8 -148q0 -69 51 -69q113 0 255.5 186t168.5 368l34 237l162 55q-28 -116 -42 -207l-60 -418q-5 -38 -8 -64l-7 -55q-6 -51 -6 -72q0 -43 24 -43q85 0 173 188q27 -16 27 -32 q0 -35 -87 -141q-117 -144 -217 -144q-73 0 -73 98q0 31 7 83l11 80q9 65 12 88l10 70q-114 -175 -257 -297t-233 -122q-99 0 -99 132q0 49 13 161l36 328q1 7 5 58l6 65q3 29 3 52q0 58 -33 58q-76 0 -164 -171q-19 15 -19 32zM439 1198l119 112q59 -42 89 -112l-114 -112 q-33 73 -94 112zM762 1198l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112z" /> +<glyph unicode="ÿ" horiz-adv-x="1110" d="M-60 -811l123 135q94 -42 196 -42q208 0 312 135t174 495l94 486q-101 -184 -211.5 -304t-180.5 -120q-96 0 -106 202l-7 139l-13 283l-3 81q-9 161 -59 161q-78 0 -152 -148q-26 18 -26 39q0 54 97 140t158 86q63 0 89 -56.5t34 -208.5l18 -350q10 -200 64 -200 q81 0 201 185.5t154 364.5l39 204l178 62q-34 -88 -70 -266l-134 -671q-79 -394 -244 -582q-247 -280 -572 -280q-68 0 -153 30zM480 1198l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112zM803 1198l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112z" /> +<glyph unicode="Œ" horiz-adv-x="2055" d="M151 511q0 351 238 612.5t557 261.5q193 0 335 -154l201 114h254q186 0 379 13l-80 -205l-16 -37q-25 -59 -64 -59q-6 0 -15 1q12 51 12 80q0 66 -70 82.5t-347 16.5h-96l-54 -484h195q170 0 301 16q-119 -144 -220 -144q-36 0 -90 6q-134 14 -173 14h-25l-6 -56 q-15 -138 -79.5 -239.5t-210.5 -216.5l259 -23q165 -15 311 -15q223 0 385 143q8 -11 11 -23l2 -9q0 -31 -119 -119q-172 -127 -357 -127q-110 0 -450 25q-205 15 -250 15q-107 -41 -239 -41q-223 0 -351 148t-128 404zM342 611q0 -262 102 -406.5t301 -164.5l148 114 q16 -1 23 -2l45 -4q3 0 19 -4q233 184 233 587q0 254 -110.5 413.5t-286.5 159.5q-198 0 -336 -201.5t-138 -491.5z" /> +<glyph unicode="œ" horiz-adv-x="1357" d="M103 272q0 240 176 462.5t365 222.5q184 0 225 -236q176 236 344 236q122 0 122 -131q0 -147 -142.5 -287t-347.5 -195q22 -241 190 -241t275 215q25 -17 25 -40q0 -32 -64 -106q-171 -198 -338 -198q-191 0 -229 233q-184 -233 -375 -233q-226 0 -226 298zM256 398 q0 -312 193 -312q115 0 192.5 128t77.5 319q0 312 -194 312q-114 0 -191.5 -128.5t-77.5 -318.5zM849 466q6 -10 53 -10q125 0 217.5 76t92.5 177q0 118 -119 118q-82 0 -153 -99.5t-88 -239.5z" /> +<glyph unicode="Ÿ" horiz-adv-x="1321" d="M140 1170q0 61 81.5 138t146.5 77q135 0 252.5 -205t156.5 -508q82 299 250 506t329 207q63 0 122 -40l-113 -155q-43 27 -93 27q-149 0 -304.5 -243.5t-189.5 -529.5l-2 -21q-15 -125 -57.5 -183.5t-171.5 -131.5l310 -14l-117 -116l-545 22l140 124l122 -10 q74 45 109.5 118t50.5 212l2 21q4 38 4 83q0 247 -102.5 478t-212.5 231q-83 0 -137 -126q-31 10 -31 39zM601 1612l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112zM924 1612l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112z" /> +<glyph unicode="ˆ" horiz-adv-x="914" d="M449 1086l53 124q91 49 161 156l80 82q54 -177 153 -272l-84 -90q-91 103 -135 225q-13 -16 -19 -24q-107 -139 -209 -201z" /> +<glyph unicode="˜" horiz-adv-x="914" d="M391 1116q0 54 58.5 126.5t102.5 72.5q22 0 51 -18l31 -19l59 -35l28 -18q34 -21 56 -21q50 0 104 114q26 -9 26 -31q0 -48 -60.5 -123.5t-98.5 -75.5q-32 0 -61 18l-37 24l-54 33l-22 14q-35 21 -60 21q-54 0 -97 -112q-26 11 -26 30z" /> +<glyph unicode=" " horiz-adv-x="931" /> +<glyph unicode=" " horiz-adv-x="1863" /> +<glyph unicode=" " horiz-adv-x="931" /> +<glyph unicode=" " horiz-adv-x="1863" /> +<glyph unicode=" " horiz-adv-x="621" /> +<glyph unicode=" " horiz-adv-x="465" /> +<glyph unicode=" " horiz-adv-x="310" /> +<glyph unicode=" " horiz-adv-x="310" /> +<glyph unicode=" " horiz-adv-x="232" /> +<glyph unicode=" " horiz-adv-x="372" /> +<glyph unicode=" " horiz-adv-x="103" /> +<glyph unicode="‐" horiz-adv-x="741" d="M126 420l130 130h467l-129 -130h-468z" /> +<glyph unicode="‑" horiz-adv-x="741" d="M126 420l130 130h467l-129 -130h-468z" /> +<glyph unicode="‒" horiz-adv-x="741" d="M126 420l130 130h467l-129 -130h-468z" /> +<glyph unicode="–" horiz-adv-x="879" d="M105 465l10 117h776l-10 -117h-776z" /> +<glyph unicode="—" horiz-adv-x="1758" d="M105 465l10 117h1655l-10 -117h-1655z" /> +<glyph unicode="‘" horiz-adv-x="423" d="M193 1038q0 177 270 384l25 -28q-153 -112 -153 -242q0 -111 121 -190l-141 -140q-122 91 -122 216z" /> +<glyph unicode="’" horiz-adv-x="423" d="M188 850q153 111 153 243q0 110 -120 190l140 139q123 -91 123 -215q0 -178 -270 -385z" /> +<glyph unicode="‚" horiz-adv-x="423" d="M58 -334q153 111 153 243q0 110 -121 189l141 140q122 -91 122 -216q0 -178 -270 -384z" /> +<glyph unicode="“" horiz-adv-x="779" d="M193 1038q0 177 270 384l25 -28q-153 -112 -153 -242q0 -111 120 -190l-140 -140q-122 91 -122 216zM549 1038q0 177 270 384l25 -28q-153 -112 -153 -242q0 -111 121 -190l-141 -140q-122 91 -122 216z" /> +<glyph unicode="”" horiz-adv-x="779" d="M188 850q153 111 153 243q0 110 -120 190l140 139q123 -91 123 -215q0 -178 -270 -385zM544 850q154 111 154 243q0 110 -121 190l140 139q123 -91 123 -215q0 -178 -270 -385z" /> +<glyph unicode="„" horiz-adv-x="779" d="M58 -334q153 111 153 243q0 110 -121 189l141 140q122 -91 122 -216q0 -178 -270 -384zM414 -334q153 111 153 243q0 110 -121 189l141 140q122 -91 122 -216q0 -178 -270 -384z" /> +<glyph unicode="•" d="M270 647l418 397q183 -139 323 -397l-412 -399q-126 269 -329 399z" /> +<glyph unicode="…" horiz-adv-x="1758" d="M173 103l148 141q66 -49 115 -141l-146 -142q-45 95 -117 142zM759 103l148 141q66 -50 116 -141l-147 -142l-15 29q-35 70 -102 113zM1345 103l148 141q66 -49 116 -141l-147 -142q-7 10 -15 29q-9 23 -35 50l-43 47q-4 3 -24 16z" /> +<glyph unicode=" " horiz-adv-x="372" /> +<glyph unicode="‹" horiz-adv-x="720" d="M78 406l92 93l544 387l-64 -147l-430 -260q207 -108 364 -337l-92 -94q-145 242 -414 358z" /> +<glyph unicode="›" horiz-adv-x="720" d="M97 48l64 147l430 260q-206 106 -363 337l91 94q145 -241 414 -358l-92 -93z" /> +<glyph unicode=" " horiz-adv-x="465" /> +<glyph unicode="™" horiz-adv-x="1653" d="M204 1251q0 96 143 96l54 -2h42h211l68 -1q66 0 94 40q14 -6 14 -18q0 -97 -139 -97h-29l-50 2h-55l-46 -420q-6 -51 -14.5 -61.5t-55.5 -24.5h148l-66 -58h-266l68 58h60q17 34 22 76l3 35l44 395h-74h-46q-87 0 -118 -37q-12 3 -12 17zM742 707l38 58h51q22 30 36 108 l72 416h-78l49 56h164l135 -445l207 408l124 55q-15 -104 -26 -277l-8 -142q-4 -58 -4 -86q0 -111 47 -111q15 0 41 10q4 -9 4 -12q0 -17 -53 -37t-97 -20q-39 0 -39 77q0 88 14 315l7 125l-223 -435l-54 -39l-147 494l-64 -372q-13 -79 -57 -86l108 -1l-36 -59h-211z" /> +<glyph unicode="◼" horiz-adv-x="955" d="M0 0v955h955v-955h-955z" /> +<glyph unicode="fi" horiz-adv-x="1560" d="M121 773q0 275 229 445q171 127 471 127h597q371 0 371 229q0 80 -55 148l126 120q44 -60 44 -154q0 -197 -177.5 -330.5t-438.5 -133.5h-278l-75 -676l-12 -111q-17 -142 -61.5 -205t-171.5 -123l291 -15l-120 -116l-488 22l129 124l109 -12q121 77 150 315l10 97 l78 700h-170q-419 0 -419 -277q0 -84 47 -171l-163 -156q-23 78 -23 153zM598 -602q118 84 118 190q0 83 -84 145l113 112q98 -72 98 -173q0 -142 -216 -307z" /> +<glyph unicode="fl" horiz-adv-x="725" d="M66 815l117 116h107l21 182l147 49l-25 -231h424l-117 -116h-320l-50 -442q-13 -119 -13 -176q0 -113 77 -113q83 0 172 136q15 -19 15 -34q0 -56 -98.5 -134t-169.5 -78q-142 0 -142 182q0 67 17 217l49 442h-211zM211 -602q118 84 118 190q0 83 -84 145l113 112 q98 -72 98 -173q0 -142 -216 -307z" /> +</font> +</defs></svg>
\ No newline at end of file diff --git a/themes/even/src/fonts/chancery/apple-chancery-webfont.ttf b/themes/even/src/fonts/chancery/apple-chancery-webfont.ttf Binary files differnew file mode 100644 index 0000000..8238aa4 --- /dev/null +++ b/themes/even/src/fonts/chancery/apple-chancery-webfont.ttf diff --git a/themes/even/src/fonts/chancery/apple-chancery-webfont.woff b/themes/even/src/fonts/chancery/apple-chancery-webfont.woff Binary files differnew file mode 100644 index 0000000..e476776 --- /dev/null +++ b/themes/even/src/fonts/chancery/apple-chancery-webfont.woff diff --git a/themes/even/src/fonts/chancery/apple-chancery-webfont.woff2 b/themes/even/src/fonts/chancery/apple-chancery-webfont.woff2 Binary files differnew file mode 100644 index 0000000..922dfb3 --- /dev/null +++ b/themes/even/src/fonts/chancery/apple-chancery-webfont.woff2 diff --git a/themes/even/src/fonts/iconfont/iconfont.eot b/themes/even/src/fonts/iconfont/iconfont.eot Binary files differnew file mode 100644 index 0000000..912bca3 --- /dev/null +++ b/themes/even/src/fonts/iconfont/iconfont.eot diff --git a/themes/even/src/fonts/iconfont/iconfont.svg b/themes/even/src/fonts/iconfont/iconfont.svg new file mode 100644 index 0000000..a13a862 --- /dev/null +++ b/themes/even/src/fonts/iconfont/iconfont.svg @@ -0,0 +1,93 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" > +<!-- +2013-9-30: Created. +--> +<svg> +<metadata> +Created by iconfont +</metadata> +<defs> + +<font id="iconfont" horiz-adv-x="1024" > + <font-face + font-family="iconfont" + font-weight="500" + font-stretch="normal" + units-per-em="1024" + ascent="896" + descent="-128" + /> + <missing-glyph /> + + <glyph glyph-name="x" unicode="x" horiz-adv-x="1001" +d="M281 543q-27 -1 -53 -1h-83q-18 0 -36.5 -6t-32.5 -18.5t-23 -32t-9 -45.5v-76h912v41q0 16 -0.5 30t-0.5 18q0 13 -5 29t-17 29.5t-31.5 22.5t-49.5 9h-133v-97h-438v97zM955 310v-52q0 -23 0.5 -52t0.5 -58t-10.5 -47.5t-26 -30t-33 -16t-31.5 -4.5q-14 -1 -29.5 -0.5 +t-29.5 0.5h-32l-45 128h-439l-44 -128h-29h-34q-20 0 -45 1q-25 0 -41 9.5t-25.5 23t-13.5 29.5t-4 30v167h911zM163 247q-12 0 -21 -8.5t-9 -21.5t9 -21.5t21 -8.5q13 0 22 8.5t9 21.5t-9 21.5t-22 8.5zM316 123q-8 -26 -14 -48q-5 -19 -10.5 -37t-7.5 -25t-3 -15t1 -14.5 +t9.5 -10.5t21.5 -4h37h67h81h80h64h36q23 0 34 12t2 38q-5 13 -9.5 30.5t-9.5 34.5q-5 19 -11 39h-368zM336 498v228q0 11 2.5 23t10 21.5t20.5 15.5t34 6h188q31 0 51.5 -14.5t20.5 -52.5v-227h-327z" /> + + + + <glyph glyph-name="twitter" unicode="" d="M672.278528 674.119424c71.1168 1.255424 108.962816-24.65792 145.115136-57.61536 30.664704 2.648064 70.530048 19.795968 94.026752 31.700992 7.61856 4.17792 15.223808 8.354816 22.841344 12.506112-13.41952-36.262912-31.620096-64.632832-59.552768-86.177792-6.21056-4.777984-12.36992-11.222016-20.164608-14.27968l0-0.437248c39.824384 0.4096 72.700928 18.376704 103.911424 28.12416l0-0.463872c-16.4096-26.049536-38.583296-52.482048-62.256128-71.431168-9.558016-7.590912-19.115008-15.182848-28.670976-22.772736 0.519168-42.160128-0.601088-82.408448-8.507392-117.851136-45.845504-206.048256-167.315456-345.936896-359.602176-405.87264-69.042176-21.516288-180.627456-30.334976-259.731456-10.703872-39.238656 9.749504-74.68032 20.72576-107.938816 35.253248-18.458624 8.082432-35.579904 16.846848-51.936256 26.81344-5.379072 3.277824-10.758144 6.5536-16.109568 9.803776 17.829888-0.520192 38.706176-5.435392 58.651648-2.21184 18.049024 2.921472 35.743744 2.128896 52.385792 5.787648 41.546752 9.120768 78.408704 21.161984 110.164992 39.757824 15.40096 8.982528 38.774784 19.577856 49.723392 32.575488-20.629504-0.355328-39.319552 4.42368-54.638592 9.831424-59.390976 20.970496-93.959168 59.52512-116.431872 117.413888 17.994752-1.939456 69.82144-6.634496 81.944576 3.575808-22.664192 1.256448-44.42624 14.363648-60.017664 24.111104-47.758336 29.9008-86.72256 80.033792-86.422528 157.145088 6.281216-2.94912 12.547072-5.924864 18.813952-8.901632 12.000256-5.07904 24.192-7.7824 38.501376-10.703872 6.06208-1.256448 18.14528-4.83328 25.094144-2.239488l-0.90112 0c-9.229312 10.730496-24.301568 17.912832-33.586176 29.435904-30.650368 38.1184-59.363328 96.744448-41.1904 166.564864 4.600832 17.693696 11.904 33.340416 19.70176 47.758336 0.28672-0.137216 0.600064-0.301056 0.886784-0.437248 3.56352-7.481344 11.523072-12.94336 16.561152-19.195904 15.673344-19.414016 34.978816-36.862976 54.638592-52.235264 67.035136-52.427776 127.408128-84.647936 224.370688-108.485632 24.576-6.061056 53.02784-10.702848 82.395136-10.730496-8.246272 24.029184-5.610496 62.912512 0.887808 86.176768 16.355328 58.487808 51.825664 100.621312 103.911424 123.230208 12.438528 5.379072 26.254336 9.33888 40.73984 12.479488C657.355776 672.317184 664.809472 673.218304 672.278528 674.119424" horiz-adv-x="1024" /> + + + <glyph glyph-name="weibo" unicode="" d="M-56.57 948.89v0 0zM743.314 420.4q-16.558 3.318-21.501 9.921t-1.659 12.145l3.318 5.508q1.094 1.094 2.224 3.318t4.414 9.391 4.978 14.334 2.753 17.652-0.564 19.877-6.638 20.407-13.805 19.877q-15.463 15.463-40.284 19.877t-49.641 0.564-46.885-9.921-36.4-11.581l-14.334-6.638q-11.050-3.318-18.218-4.414t-11.050 0.564-6.073 3.318-1.659 7.732 1.094 10.485 2.753 13.805 3.318 14.899q0 13.239-1.659 24.819t-7.167 25.914-15.994 23.161-26.48 14.334-41.379 3.318-57.372-13.239q-38.624-13.239-78.342-39.154t-68.951-54.052-53.523-54.618-37.53-43.038l-12.145-17.652q-36.4-47.451-54.052-94.901t-16.558-71.707v-23.161q6.638-52.958 32.551-94.901t61.785-67.857 84.415-44.132 93.242-26.48 94.337-11.581q81.662-6.638 169.36 12.675t163.289 66.763 106.481 113.649q18.747 38.624 19.313 72.836t-11.581 55.712-31.457 38.060-36.4 24.29-30.327 9.921zM406.816 77.265q-119.156-5.508-202.443 46.356t-83.285 131.301q0 78.342 82.756 135.15t203.007 62.35 203.007-39.718 82.756-123.569q0-79.438-84.415-142.882t-201.348-68.951zM374.83 382.906q-31.986-3.318-57.372-14.899t-39.718-26.48-24.29-31.986-13.805-33.646-4.978-30.327-1.094-21.501l1.094-8.827v-4.414q0-3.318 2.224-13.239t6.073-18.218 12.675-18.218 20.972-16.558q72.836-35.306 135.714-21.501t101.503 63.443q15.463 18.747 20.407 46.356t-2.224 55.712-24.819 51.299-52.394 35.871-80.003 7.167zM335.11 174.355q-6.638-1.094-12.675-0.564t-11.050 2.224-9.921 3.847-8.261 6.073-6.073 7.732-4.414 8.827-1.659 10.485q0 12.145 6.638 23.725t18.218 19.877 25.914 9.391q9.921 1.094 19.313-0.564t15.994-5.508 11.581-8.827 7.167-11.581 2.224-14.334q0-12.145-7.167-23.161t-19.313-18.747-26.48-8.827zM428.882 253.793q-7.732-5.508-15.994-4.978t-11.581 7.167l-2.224 4.414q-1.094 2.224-1.094 4.414v4.414q0 3.318 1.094 5.508l2.224 4.414q1.094 2.224 3.318 3.318l3.318 4.414q8.827 6.638 17.088 5.508t11.581-8.827q3.318-4.414 2.753-9.921t-3.318-10.485-7.167-9.391zM820.562 484.409q6.638 0 12.145 3.318t8.827 8.261 4.414 10.485q1.094 1.094 1.094 3.318 13.239 125.794-88.265 143.446-29.798 5.508-55.182 1.094-7.732 0-13.239-3.847t-9.391-9.921-3.847-12.675q0-11.050 7.732-18.747t18.747-7.732q86.075 19.877 92.677-55.182 2.224-18.747-2.224-35.306 0-11.050 7.732-18.747t18.747-7.732zM801.815 795.522q-48.545 11.050-130.207-4.414-1.094 0-2.224-1.094l-1.094-2.224-1.094-1.094q-12.145-3.318-19.877-13.805t-7.732-22.63q0-16.558 11.050-27.574t26.48-11.050h3.318q1.094 0 4.978 1.094t8.261 1.659 9.391 2.224 8.827 3.318 14.899 1.659 27.044-1.659 35.306-8.261 38.624-16.558 38.624-27.574 33.646-40.813q28.704-65.104 11.050-125.794 0-1.094-0.564-2.224t-1.659-5.508-2.224-8.261-2.224-9.921-1.094-10.485q0-9.921 5.508-16.558t13.805-9.391 19.313-2.753q30.893 0 36.4 37.53 13.239 43.038 14.899 82.192t-5.508 68.951-21.501 55.712-33.116 44.132-41.943 33.116-44.697 23.725-44.697 14.334z" horiz-adv-x="1024" /> + + + <glyph glyph-name="close" unicode="" d="M734.668 138.618l-141.21 161.382 141.21 161.382c24.014 24.012 24.014 62.926 0 86.886s-62.924 23.962-86.886 0l-135.782-155.188-135.73 155.136c-24.012 24.014-62.926 24.014-86.886 0s-23.962-62.926 0-86.886l141.158-161.332-141.21-161.382c-23.962-24.014-23.962-62.822 0-86.784 24.012-24.014 62.926-24.014 86.886 0l135.782 155.086 135.73-155.086c24.014-24.014 62.924-24.014 86.886 0s24.014 62.77 0.052 86.784z" horiz-adv-x="1024" /> + + + <glyph glyph-name="search" unicode="" d="M941.427376-98.59516c-16.080234-16.010649-69.712735-18.382673-85.792968-2.378164L631.709429 127.555509c61.748343 50.087768 70.796416 148.074454 70.796416 199.626573 0 148.759045-109.305475 260.410961-257.868045 260.410961-148.56871 0-256.612449-109.908202-256.612449-258.673387 0-148.752906 102.096283-261.730003 250.664993-261.730003 30.759561 0 44.760436-0.037862 72.293513 9.466606l0.38681-1.483794c7.000438 3.544733 77.435627 12.098549 77.435627-60.962443 0-20.455891-15.623839-41.425482-34.932604-48.178279-32.66905-11.420097-75.431993-16.936741-108.60144-16.936741-211.592093 0-381.180536 169.367409-381.180536 380.807029 0 211.370035 169.589466 382.79122 381.180536 382.79122 211.667817 0 381.180536-171.421184 381.180536-382.79122 0-65.812915-12.979616-127.682008-40.201607-179.176822l157.154249-159.189605C959.423239-24.475046 957.439048-82.660236 941.427376-98.59516L941.427376-98.59516zM941.427376-98.59516" horiz-adv-x="1024" /> + + + <glyph glyph-name="stack-overflow" unicode="" d="M640-0.585v-86.272l-404.005-0.585v86.272zM777.728 197.157v-400.567l-0.585-20.005v-0.585l-667.429 0.585v420.571h69.157v-353.134h530.286v353.134h68.571zM247.442 146.871l402.286-37.157-7.424-85.723-402.871 37.157zM286.281 327.424l390.29-104.558-22.272-83.419-390.29 104.558zM379.429 526.848l348.014-205.714-43.995-74.277-348.014 205.714zM585.143 715.995l227.438-334.299-70.839-48.567-227.986 333.714zM843.995 800l69.157-398.299-85.138-14.848-69.157 398.299z" horiz-adv-x="1024" /> + + + <glyph glyph-name="email" unicode="" d="M512.576 209.76l-447.744 265.6 0-416.928c0-42.592 37.6-77.12 83.936-77.12l727.648 0c46.336 0 83.936 34.528 83.936 77.12l0 416.928L512.576 209.76 512.576 209.76zM148.736 620.96c-43.328 0-78.944-30.144-83.424-68.864-0.32-2.72-0.512-5.408-0.512-8.256l447.744-265.568 447.776 265.568c0 2.912-0.16 5.792-0.512 8.608-4.64 38.528-40.256 68.544-83.424 68.544L148.736 620.992 148.736 620.96z" horiz-adv-x="1024" /> + + + <glyph glyph-name="heart" unicode="" d="M512-138.857143q-14.848 0-25.161143 10.276571l-356.571429 343.990857q-5.705143 4.571429-15.725714 14.848t-31.707429 37.412571-38.838857 55.698286-30.573714 69.156571-13.421714 78.848q0 125.696 72.557714 196.571429t200.557714 70.838857q35.437714 0 72.301714-12.288t68.571429-33.133714 54.564571-39.131429 43.446857-38.838857q20.553143 20.553143 43.446857 38.838857t54.564571 39.131429 68.571429 33.133714 72.301714 12.288q128 0 200.557714-70.838857t72.557714-196.571429q0-126.281143-130.852571-257.133714l-355.986286-342.857143q-10.276571-10.276571-25.161143-10.276571z" horiz-adv-x="1024" /> + + + <glyph glyph-name="github" unicode="" d="M64 288C64 92.398 189.356-73.926 364.113-135.017 387.65799-141 384-124.115 384-112.767L384-35.107C248.118-51.007 242.674 38.948 233.5 53.999 215 85.499 171.5 93.499 184.5 108.499 215.5 124.499 247 104.499 283.5 50.499 309.956 11.358 361.366 17.925 387.658 24.503 393.403 48.003 405.637 68.958 422.353 85.362 281.774 110.391 223 196.33 223 298.5 223 347.947 239.322 393.594 271.465 430.373 251.142 491.072 273.421 542.81 276.337 550.585 334.458 555.869 394.888 509.007 399.549 505.315 432.663 514.165 470.341 519 512.5 519 554.924 519 592.81 514.104 626.075 505.147 637.426 513.781 693.46 553.946 747.5 549.034 750.382 541.348 772.185 490.708 753.058 430.917 785.516 394.044 802 348.191 802 298.5 802 196.126 742.99 110.047 601.803 85.214 625.381 61.997 640 29.705 640-6.008L640-118.653C640.752-127.626 640-136.664978 655.086-136.665 832.344-76.962 960 90.611 960 288 960 535.424 759.424 736 512 736 264.577 736 64 535.424 64 288Z" horiz-adv-x="1024" /> + + + <glyph glyph-name="right" unicode="" d="M577.192791 300.195451l-318.04766-318.04766c-29.457916-29.457916-29.459962-77.222779-0.002047-106.681718 29.399587-29.399587 77.221756-29.459962 106.681718 0l421.710624 421.710624-0.044002 0.044002 1.904373 1.90335-427.312202 427.314249c-28.942169 28.942169-76.379575 29.116131-105.531522-0.035816-29.355585-29.355585-29.169343-76.399017-0.035816-105.531522L577.192791 300.195451z" horiz-adv-x="1024" /> + + + <glyph glyph-name="left" unicode="" d="M767.481695 620.871985c29.133527 29.131481 29.319769 76.175937-0.035816 105.531522-29.151947 29.151947-76.589352 28.977985-105.531522 0.035816l-427.312202-427.314249 1.904373-1.90335-0.044002-0.044002 421.710624-421.710624c29.459962-29.459962 77.282131-29.399587 106.681718 0 29.457916 29.457916 29.455869 77.223802-0.002047 106.681718l-318.04766 318.04766L767.481695 620.871985z" horiz-adv-x="1024" /> + + + <glyph glyph-name="linkedin" unicode="" d="M743.838206 427.266545c-87.422072 0-146.035004-43.980677-170.026418-85.654822l-2.403746 0 0 72.467475L399.064858 414.079198l0-530.393929 179.524746 0 0 262.396175c0 69.170382 14.360056 136.185682 107.859543 136.185682 92.142583 0 93.368504-79.127152 93.368504-140.646274l0-257.935584 179.566702 0 0 290.925952C959.385377 317.413602 925.795351 427.266545 743.838206 427.266545zM101.006462-116.271752l149.266605 0L250.273067 427.546931 101.006462 427.546931 101.006462-116.271752zM175.636183 717.568281c-61.827137 0-111.952768-48.678676-111.952768-108.754936 0-60.078307 50.125631-108.777449 111.952768-108.777449 61.829184 0 111.954815 48.699142 111.954815 108.777449C287.590997 668.889605 237.465366 717.568281 175.636183 717.568281z" horiz-adv-x="1024" /> + + + <glyph glyph-name="facebook" unicode="" d="M870.4 748.8h-716.8c-56.32 0-102.4-46.080-102.4-102.4v-716.8c0-56.371 46.080-102.4 102.4-102.4h358.4v358.4h-102.4v126.72h102.4v104.96c0 110.797 62.054 188.621 192.819 188.621l92.314-0.102v-133.376h-61.286c-50.893 0-70.246-38.195-70.246-73.626v-86.528h131.482l-29.082-126.669h-102.4v-358.4h204.8c56.32 0 102.4 46.029 102.4 102.4v716.8c0 56.32-46.080 102.4-102.4 102.4z" horiz-adv-x="1024" /> + + + <glyph glyph-name="rss" unicode="" d="M329.143 128q0-45.714-32-77.714t-77.714-32-77.714 32-32 77.714 32 77.714 77.714 32 77.714-32 32-77.714zM621.714 57.714q1.143-16-9.714-27.429-10.286-12-26.857-12h-77.143q-14.286 0-24.571 9.429t-11.429 23.714q-12.571 130.857-105.429 223.714t-223.714 105.429q-14.286 1.143-23.714 11.429t-9.429 24.571v77.143q0 16.571 12 26.857 9.714 9.714 24.571 9.714h2.857q91.429-7.429 174.857-46t148-103.714q65.143-64.571 103.714-148t46-174.857zM914.286 56.571q1.143-15.429-10.286-26.857-10.286-11.429-26.286-11.429h-81.714q-14.857 0-25.429 10t-11.143 24.286q-6.857 122.857-57.714 233.429t-132.286 192-192 132.286-233.429 58.286q-14.286 0.571-24.286 11.143t-10 24.857v81.714q0 16 11.429 26.286 10.286 10.286 25.143 10.286h1.714q149.714-7.429 286.571-68.571t243.143-168q106.857-106.286 168-243.143t68.571-286.571z" horiz-adv-x="1024" /> + + + <glyph glyph-name="google" unicode="" d="M637.828288 832.450638l-235.350193 0c-31.202653 0-64.665789-3.629667-100.376105-10.901281-36.050054-8.472975-70.820975-26.435069-104.259552-53.955866-48.764634-47.095621-73.109088-99.482759-73.109088-157.311839 0-47.805796 17.210987-89.696882 51.627844-125.715213 32.857339-38.629809 80.596619-58.349943 143.271054-59.122539 11.805884 0 24.444738 0.772596 37.795814 2.288113-2.189875-6.184863-4.607948-12.859889-7.195889-20.201088-2.940982-6.889921-4.394077-15.603373-4.394077-25.989931 0-17.272385 3.843538-32.107255 11.589966-44.417629 6.644327-12.700253 14.199397-24.612561 22.688745-35.789111-27.466562-0.75827-61.945841-4.217045-103.506399-10.304693-41.960671-7.257288-82.006735-21.815865-120.082936-43.551912-33.960463-20.240997-57.415664-43.74327-70.329788-70.451562-13.413498-26.741038-20.057825-51.04763-20.057825-72.795956 0-44.691875 20.546965-83.068927 61.534472-115.191532 40.665165-34.332946 102.199637-51.918463 184.641277-52.682873 98.469686 1.547239 173.860746 25.049512 226.025826 70.605058 50.355875 44.072775 75.573209 94.560656 75.573209 151.600767-0.780783 40.158628-9.951653 72.672136-27.559683 97.575316-18.693758 24.50409-40.450271 46.803979-65.246003 67.14526l-39.939641 32.713053c-5.764284 5.732561-11.711739 12.438287-17.805528 20.10899-7.195889 8.021697-10.793834 18.128893-10.793834 30.445406 0 12.630668 3.514033 23.701818 10.517541 33.270754 5.955642 9.200546 12.416797 17.430998 19.453051 24.696472 12.249999 10.709923 23.793916 21.265326 34.68701 31.561833 9.812483 10.336416 19.107173 21.626553 27.850301 33.868365 17.912975 25.278733 27.221991 58.954717 27.89635 101.043301 0 22.967084-2.573615 43.076074-7.748475 60.278875-6.306636 17.253966-13.518898 32.145118-21.665439 44.774763-8.497535 13.359262-17.170055 24.698518-26.027793 33.884738-9.231245 8.810666-17.515932 15.493879-24.932856 20.079314l72.54934 0L637.828288 832.450638zM508.834402 190.628898c19.461237-22.184255 29.197996-48.184419 29.197996-78.069053 0-36.761252-14.231119-66.786079-42.739407-90.165556-29.184693-23.724331-71.547523-35.972283-127.010719-36.761252-61.84044 0.788969-110.521163 14.566764-146.158824 41.352827-37.47245 26.787086-56.152904 60.854996-56.152904 102.201683 0 21.036106 4.256954 39.034015 12.916171 53.977355 7.471159 14.177907 16.642029 26.03598 27.520797 35.597753 11.268648 9.18622 22.316262 16.275685 33.194006 21.243837 10.847046 4.593622 19.252483 8.054443 25.247011 10.357905 25.492604 7.662517 50.441832 13.19758 74.7781 16.657378 24.728194 2.281973 40.107463 3.016707 46.092781 2.281973 10.112312 0 18.901489-0.360204 26.426883-1.133823C455.99701 237.511671 488.203526 211.675236 508.834402 190.628898zM470.620056 536.951531c-2.834558-15.731286-9.232269-31.064506-19.215644-46.00887-20.646226-21.097504-46.452985-32.250518-77.441766-33.406854-24.527626 0-46.314839 7.471159-65.37801 22.467711-19.11536 14.95255-34.624589 33.163307-46.711881 54.614875-24.919553 46.054919-37.328164 90.303702-37.328164 132.858914-0.818645 32.220842 7.716752 61.364603 25.545816 87.448678 21.159926 24.917506 47.662533 37.771255 79.562057 38.543851 24.092721-0.772596 45.412282-7.892761 63.98529-21.267373 18.158568-14.175861 32.80208-32.610722 43.957141-55.217602 23.731494-47.14167 35.604916-93.955882 35.604916-140.330072C473.199811 565.882444 472.318744 552.698167 470.620056 536.951531zM833.194838 703.90803 833.194838 827.421089 773.361101 827.421089 773.361101 703.90803 649.894092 703.90803 649.894092 644.074294 773.361101 644.074294 773.361101 520.607284 833.194838 520.607284 833.194838 644.074294 956.676174 644.074294 956.676174 703.90803Z" horiz-adv-x="1024" /> + + + <glyph glyph-name="zhihu" unicode="" d="M351.791182 333.530538l192.945407 0c0 45.367257-21.3871 71.939449-21.3871 71.939449L355.897709 405.469987c3.977591 82.182744 7.541767 187.659007 8.816806 226.835262l159.282726 0c0 0-0.86367 67.402109-18.578124 67.402109s-279.979646 0-279.979646 0 16.850783 88.141456 39.318494 127.053698c0 0-83.60514 4.510734-112.121614-106.962104S81.344656 540.922982 76.80834 528.609539c-4.536316-12.313443 24.62791-5.832845 36.941354 0 12.313443 5.832845 68.050885 25.924439 84.252893 103.69571l86.570681 0c1.165546-49.28652 4.596691-200.335724 3.515057-226.835262L109.86113 405.469987c-25.275663-18.147312-33.701566-71.939449-33.701566-71.939449L279.868105 333.530538c-8.497535-56.255235-23.417339-128.763642-44.275389-167.210279-33.05279-60.921511-50.55235-116.65793-169.802314-212.576513 0 0-19.442818-14.257725 40.829917-9.073656 60.273758 5.185093 117.305683 20.739347 156.840094 99.807147 20.553105 41.107233 41.805128 93.250824 58.386782 146.138358l-0.055259-0.185218 167.855986-193.263655c0 0 22.035876 51.847855 5.832845 108.880803L371.045711 245.389082l-42.1244-31.157627-0.045025-0.151449c11.69946 41.020252 20.11206 81.5749 22.726607 116.858498C351.665315 331.787848 351.72876 332.654588 351.791182 333.530538zM584.918753 713.966107l0-668.840094 70.318532 0 28.807093-80.512708 121.875768 80.512708 153.600307 0L959.520453 713.966107 584.918753 713.966107zM887.150192 117.065462l-79.837326 0-99.578949-65.782216-23.537066 65.782216-24.855084 0L659.341766 639.326153l227.807403 0L887.149169 117.065462z" horiz-adv-x="1024" /> + + + <glyph glyph-name="up" unicode="" d="M120.081067 329.796267 498.7392 725.691733 877.226667 329.796267c10.9568-11.4688 28.8256-11.4688 39.816533 0 11.025067 11.537067 11.025067 30.1568 0 41.710933L518.621867 788.155733c-11.042133 11.554133-28.8256 11.554133-39.816533 0L80.2304 371.524267c-10.990933-11.5712-10.990933-30.190933 0-41.710933C91.306667 318.327467 109.090133 318.327467 120.081067 329.796267M120.081067-47.940267 498.7392 347.989333 877.226667-47.940267c10.9568-11.451733 28.8256-11.451733 39.816533 0 11.025067 11.5712 11.025067 30.1568 0 41.728L518.621867 410.436267c-11.042133 11.554133-28.8256 11.554133-39.816533 0L80.2304-6.1952c-10.990933-11.588267-10.990933-30.173867 0-41.728C91.306667-59.374933 109.090133-59.374933 120.081067-47.940267" horiz-adv-x="1024" /> + + + <glyph glyph-name="iconinstagram2" unicode="" d="M720.989 874.386h-421.236c-155.828 0-282.148-126.321-282.148-282.148v-421.235c0-155.828 126.321-282.148 282.148-282.148h421.235c155.828 0 282.148 126.321 282.148 282.148v421.234c0.001 155.828-126.321 282.149-282.147 282.149zM511.934 129.236c-140.701 0-254.764 114.063-254.764 254.761 0 140.702 114.062 254.764 254.764 254.764 140.7 0 254.761-114.061 254.761-254.764 0-140.699-114.062-254.761-254.761-254.761zM773.321 587.605c-32.917 0-59.602 26.685-59.602 59.602s26.687 59.602 59.602 59.602 59.602-26.685 59.602-59.602-26.685-59.602-59.602-59.602zM511.934 547.357c-90.219 0-163.357-73.137-163.357-163.357 0-90.218 73.137-163.356 163.357-163.356 90.218 0 163.356 73.137 163.356 163.356 0 90.219-73.135 163.357-163.356 163.357z" horiz-adv-x="1024" /> + + + <glyph glyph-name="douban" unicode="" d="M370.63168 468.81792 649.9072 468.81792 649.9072 366.50496 370.63168 366.50496 370.63168 468.81792ZM757.632 836.36224 262.26176 836.36224C151.36768 836.36224 61.44 745.98912 61.44 634.50112l0-497.87904c0-111.47776 89.9328-201.8304 200.82176-201.8304l495.36512 0c110.91968 0 200.84224 90.34752 200.84224 201.8304L958.46912 634.50112C958.46912 745.984 868.53632 836.36224 757.632 836.36224L757.632 836.36224zM272.37376 631.68l475.19744 0 0-53.5296L272.37376 578.1504 272.37376 631.68 272.37376 631.68zM313.63072 313.08288l0 209.2032 392.61696 0 0-209.2032L313.63072 313.08288 313.63072 313.08288zM761.0368 139.49952 258.93888 139.49952l0 52.92032 146.304 0c-13.39392 28.14464-30.86848 58.42432-52.52096 90.91072l52.52096 20.75648c20.84864-30.8736 39.45472-68.11136 55.94112-111.7184l99.41504 0c19.71712 33.67424 36.95616 70.94784 51.8144 111.7184l57.07264-20.75648c-14.88384-34.44224-31.03232-64.7424-48.11264-90.91072l139.68896 0 0-52.92032L761.0368 139.49952 761.0368 139.49952z" horiz-adv-x="1024" /> + + + <glyph glyph-name="pocket" unicode="" d="M938.666667 384a426.666667 426.666667 0 0 0-426.666667-426.666667A426.666667 426.666667 0 0 0 85.333333 384V704A106.666667 106.666667 0 0 0 192 810.666667h640A106.666667 106.666667 0 0 0 938.666667 704V384m-261.12 160L512 378.453333 346.453333 544.426667a63.573333 63.573333 0 0 1-90.453333 0 63.573333 63.573333 0 0 1 0-90.453334l210.346667-211.626666c24.32-24.746667 65.706667-24.746667 90.88 0L768 453.546667c25.173333 25.173333 25.173333 65.706667 0 90.453333a63.573333 63.573333 0 0 1-90.453333 0z" horiz-adv-x="1024" /> + + + <glyph glyph-name="tumblr" unicode="" d="M678.466363 38.690237c-29.039665 0-54.753201 6.84415-77.300519 20.388531-16.982447 10.058342-32.605659 27.472547-38.82616 44.247111-6.268474 16.774564-5.500906 51.011306-5.500906 110.41789V476.348054h235.531514V659.077269H556.886751V896h-144.910488c-6.476357-52.898245-18.389656-96.361796-35.675932-130.486601a279.762634 279.762634 0 0 0-68.761322-87.98251c-28.463989-24.386283-74.853895-43.159723-114.87938-56.176401v-145.006434h138.386158V117.270036c0-46.917609 4.877257-82.625523 14.631769-107.267662 9.818477-24.578175 27.280655-47.925042 52.626398-69.84871 25.217815-21.731776 55.760635-38.698232 91.548504-50.563558 35.787869-11.737398 63.244425-17.606097 109.842214-17.606097 41.016928 0 79.171466 4.125679 114.495596 12.441002 35.292148 8.331314 74.741958 22.851146 118.253482 43.351615V89.301768c-51.091261-33.709039-102.374414-50.611531-153.977387-50.611531z" horiz-adv-x="1024" /> + + + + + </font> +</defs></svg> diff --git a/themes/even/src/fonts/iconfont/iconfont.ttf b/themes/even/src/fonts/iconfont/iconfont.ttf Binary files differnew file mode 100644 index 0000000..f6765c5 --- /dev/null +++ b/themes/even/src/fonts/iconfont/iconfont.ttf diff --git a/themes/even/src/fonts/iconfont/iconfont.woff b/themes/even/src/fonts/iconfont/iconfont.woff Binary files differnew file mode 100644 index 0000000..526da66 --- /dev/null +++ b/themes/even/src/fonts/iconfont/iconfont.woff diff --git a/themes/even/src/js/even.js b/themes/even/src/js/even.js new file mode 100644 index 0000000..6b544a4 --- /dev/null +++ b/themes/even/src/js/even.js @@ -0,0 +1,246 @@ +'use strict' + +const Even = {} + +Even.backToTop = function () { + const $backToTop = $('#back-to-top') + + $(window).scroll(function () { + if ($(window).scrollTop() > 100) { + $backToTop.fadeIn(1000) + } else { + $backToTop.fadeOut(1000) + } + }) + + $backToTop.click(function () { + $('body,html').animate({ scrollTop: 0 }) + }) +} + +Even.mobileNavbar = function () { + const $mobileNav = $('#mobile-navbar') + const $mobileNavIcon = $('.mobile-navbar-icon') + const slideout = new Slideout({ + 'panel': document.getElementById('mobile-panel'), + 'menu': document.getElementById('mobile-menu'), + 'padding': 180, + 'tolerance': 70 + }) + slideout.disableTouch() + + $mobileNavIcon.click(function () { + slideout.toggle() + }) + + slideout.on('beforeopen', function () { + $mobileNav.addClass('fixed-open') + $mobileNavIcon.addClass('icon-click').removeClass('icon-out') + }) + + slideout.on('beforeclose', function () { + $mobileNav.removeClass('fixed-open') + $mobileNavIcon.addClass('icon-out').removeClass('icon-click') + }) + + $('#mobile-panel').on('touchend', function () { + slideout.isOpen() && $mobileNavIcon.click() + }) +} + +Even._initToc = function () { + const SPACING = 20 + const $toc = $('.post-toc') + const $footer = $('.post-footer') + + if ($toc.length) { + const minScrollTop = $toc.offset().top - SPACING + const maxScrollTop = $footer.offset().top - $toc.height() - SPACING + + const tocState = { + start: { + 'position': 'absolute', + 'top': minScrollTop + }, + process: { + 'position': 'fixed', + 'top': SPACING + }, + end: { + 'position': 'absolute', + 'top': maxScrollTop + } + } + + $(window).scroll(function () { + const scrollTop = $(window).scrollTop() + + if (scrollTop < minScrollTop) { + $toc.css(tocState.start) + } else if (scrollTop > maxScrollTop) { + $toc.css(tocState.end) + } else { + $toc.css(tocState.process) + } + }) + } + + const HEADERFIX = 30 + const $toclink = $('.toc-link') + const $headerlink = $('.headerlink') + const $tocLinkLis = $('.post-toc-content li') + + const headerlinkTop = $.map($headerlink, function (link) { + return $(link).offset().top + }) + + const headerLinksOffsetForSearch = $.map(headerlinkTop, function (offset) { + return offset - HEADERFIX + }) + + const searchActiveTocIndex = function (array, target) { + for (let i = 0; i < array.length - 1; i++) { + if (target > array[i] && target <= array[i + 1]) return i + } + if (target > array[array.length - 1]) return array.length - 1 + return -1 + } + + $(window).scroll(function () { + const scrollTop = $(window).scrollTop() + const activeTocIndex = searchActiveTocIndex(headerLinksOffsetForSearch, scrollTop) + + $($toclink).removeClass('active') + $($tocLinkLis).removeClass('has-active') + + if (activeTocIndex !== -1) { + $($toclink[activeTocIndex]).addClass('active') + let ancestor = $toclink[activeTocIndex].parentNode + while (ancestor.tagName !== 'NAV') { + $(ancestor).addClass('has-active') + ancestor = ancestor.parentNode.parentNode + } + } + }) +} + +Even.fancybox = function () { + if ($.fancybox) { + $('.post-content').each(function () { + $(this).find('img').each(function () { + $(this).wrap(`<a class="fancybox" href="${this.src}" data-fancybox="gallery" data-caption="${this.title}"></a>`) + }) + }) + + $('.fancybox').fancybox({ + selector: '.fancybox', + protect: true + }) + } +} + +Even.highlight = function () { + const blocks = document.querySelectorAll('pre code') + for (let i = 0; i < blocks.length; i++) { + const block = blocks[i] + const rootElement = block.parentElement + const lineCodes = block.innerHTML.split(/\n/) + if (lineCodes[lineCodes.length - 1] === '') lineCodes.pop() + const lineLength = lineCodes.length + + let codeLineHtml = '' + for (let i = 0; i < lineLength; i++) { + codeLineHtml += `<div class="line">${i + 1}</div>` + } + + let codeHtml = '' + for (let i = 0; i < lineLength; i++) { + codeHtml += `<div class="line">${lineCodes[i]}</div>` + } + + block.className += ' highlight' + const figure = document.createElement('figure') + figure.className = block.className + figure.innerHTML = `<table><tbody><tr><td class="gutter"><pre>${codeLineHtml}</pre></td><td class="code"><pre>${codeHtml}</pre></td></tr></tbody></table>` + + rootElement.parentElement.replaceChild(figure, rootElement) + } +} + +Even.toc = function () { + const tocContainer = document.getElementById('post-toc') + if (tocContainer !== null) { + const toc = document.getElementById('TableOfContents') + if (toc === null) { + // toc = true, but there are no headings + tocContainer.parentNode.removeChild(tocContainer) + } else { + this._refactorToc(toc) + this._linkToc() + this._initToc() + } + } +} + +Even._refactorToc = function (toc) { + // when headings do not start with `h1` + const oldTocList = toc.children[0] + let newTocList = oldTocList + let temp + while (newTocList.children.length === 1 && (temp = newTocList.children[0].children[0]).tagName === 'UL') newTocList = temp + + if (newTocList !== oldTocList) toc.replaceChild(newTocList, oldTocList) +} + +Even._linkToc = function () { + const links = document.querySelectorAll('#TableOfContents a:first-child') + for (let i = 0; i < links.length; i++) links[i].className += ' toc-link' + + for (let num = 1; num <= 6; num++) { + const headers = document.querySelectorAll('.post-content>h' + num) + for (let i = 0; i < headers.length; i++) { + const header = headers[i] + header.innerHTML = `<a href="#${header.id}" class="headerlink"></a>${header.innerHTML}` + } + } +} + +Even.flowchart = function () { + if (!window.flowchart) return + + const blocks = document.querySelectorAll('pre code.language-flowchart') + for (let i = 0; i < blocks.length; i++) { + const block = blocks[i] + const rootElement = block.parentElement + + const container = document.createElement('div') + const id = `js-flowchart-diagrams-${i}` + container.id = id + container.className = 'align-center' + rootElement.parentElement.replaceChild(container, rootElement) + + const diagram = flowchart.parse(block.childNodes[0].nodeValue) + diagram.drawSVG(id, window.flowchartDiagramsOptions ? window.flowchartDiagramsOptions : {}) + } +} + +Even.sequence = function () { + if (!window.Diagram) return + + const blocks = document.querySelectorAll('pre code.language-sequence') + for (let i = 0; i < blocks.length; i++) { + const block = blocks[i] + const rootElement = block.parentElement + + const container = document.createElement('div') + const id = `js-sequence-diagrams-${i}` + container.id = id + container.className = 'align-center' + rootElement.parentElement.replaceChild(container, rootElement) + + const diagram = Diagram.parse(block.childNodes[0].nodeValue) + diagram.drawSVG(id, window.sequenceDiagramsOptions ? window.sequenceDiagramsOptions : {theme: 'simple'}) + } +} + +export {Even} diff --git a/themes/even/src/js/main.js b/themes/even/src/js/main.js new file mode 100644 index 0000000..289b8dc --- /dev/null +++ b/themes/even/src/js/main.js @@ -0,0 +1,16 @@ +import {Even} from './even.js' + +import '../css/style.scss' + +$(document).ready(function () { + Even.backToTop() + Even.mobileNavbar() + Even.toc() + Even.fancybox() +}) + +Even.flowchart() +Even.sequence() + +hljs.initHighlighting() +Even.highlight() diff --git a/themes/even/src/package.json b/themes/even/src/package.json new file mode 100644 index 0000000..2f436b7 --- /dev/null +++ b/themes/even/src/package.json @@ -0,0 +1,31 @@ +{ + "name": "even-src", + "version": "1.0.0", + "description": "even source file", + "main": "index.js", + "scripts": { + "start": "webpack", + "build": "webpack" + }, + "author": "ahonn, olOwOlo", + "license": "MIT", + "devDependencies": { + "autoprefixer": "^7.2.4", + "babel-core": "^6.26.0", + "babel-loader": "^7.1.2", + "babel-plugin-transform-runtime": "^6.23.0", + "babel-preset-es2015": "^6.24.1", + "babel-preset-stage-2": "^6.24.1", + "css-loader": "^0.28.8", + "expose-loader": "^0.7.4", + "extract-text-webpack-plugin": "^3.0.2", + "file-loader": "^1.1.6", + "node-sass": "^4.7.2", + "postcss-loader": "^2.0.10", + "sass-loader": "^6.0.6", + "style-loader": "^0.19.1", + "uglifyjs-webpack-plugin": "^1.1.6", + "url-loader": "^0.6.2", + "webpack": "^3.10.0" + } +} diff --git a/themes/even/src/postcss.config.js b/themes/even/src/postcss.config.js new file mode 100644 index 0000000..7c5b1be --- /dev/null +++ b/themes/even/src/postcss.config.js @@ -0,0 +1,7 @@ +module.exports = { + plugins: [ + require('autoprefixer')({ + browsers: ['> 1%', 'last 2 versions', 'ie >= 9'] + }) + ] +}
\ No newline at end of file diff --git a/themes/even/src/webpack.config.js b/themes/even/src/webpack.config.js new file mode 100644 index 0000000..f2218be --- /dev/null +++ b/themes/even/src/webpack.config.js @@ -0,0 +1,54 @@ +const path = require('path') +const ExtractTextPlugin = require('extract-text-webpack-plugin') +const UglifyJSPlugin = require('uglifyjs-webpack-plugin') + +const extractSass = new ExtractTextPlugin({ + filename: `even.min.css` +}) + +module.exports = { + devtool: 'source-map', + entry: { + even: './js/main.js' + }, + output: { + path: path.join(__dirname, '../static/dist'), + filename: `[name].min.js` + }, + module: { + rules: [ + { + test: /\.js$/, + exclude: /node_modules/, + loader: 'babel-loader' + }, + { + test: /\.scss$/, + use: extractSass.extract({ + use: [{ + loader: 'css-loader', options: {minimize: true, sourceMap: true} + }, { + loader: 'postcss-loader', options: {sourceMap: true} + }, { + loader: 'sass-loader', options: {sourceMap: true} + }], + fallback: 'style-loader' + }) + }, + { + test: /iconfont\.(woff|woff2|eot|ttf|otf|svg)$/, + use: ['file-loader?name=[path][name].[ext]?hash=[hash:7]'] + }, + { + test: /apple-chancery-webfont\.(woff|woff2|eot|ttf|otf|svg)$/, + use: ['file-loader?name=[path][name].[ext]'] + } + ] + }, + plugins: [ + extractSass, + new UglifyJSPlugin({ + sourceMap: true + }) + ] +} diff --git a/themes/even/static/android-chrome-192x192.png b/themes/even/static/android-chrome-192x192.png Binary files differnew file mode 100644 index 0000000..939d110 --- /dev/null +++ b/themes/even/static/android-chrome-192x192.png diff --git a/themes/even/static/android-chrome-512x512.png b/themes/even/static/android-chrome-512x512.png Binary files differnew file mode 100644 index 0000000..5d0adb6 --- /dev/null +++ b/themes/even/static/android-chrome-512x512.png diff --git a/themes/even/static/apple-touch-icon.png b/themes/even/static/apple-touch-icon.png Binary files differnew file mode 100644 index 0000000..140d7f6 --- /dev/null +++ b/themes/even/static/apple-touch-icon.png diff --git a/themes/even/static/browserconfig.xml b/themes/even/static/browserconfig.xml new file mode 100644 index 0000000..e8b57e5 --- /dev/null +++ b/themes/even/static/browserconfig.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?> +<browserconfig> + <msapplication> + <tile> + <square150x150logo src="/mstile-150x150.png"/> + <TileColor>#b91d47</TileColor> + </tile> + </msapplication> +</browserconfig> diff --git a/themes/even/static/dist/even.min.css b/themes/even/static/dist/even.min.css new file mode 100644 index 0000000..53b3a8f --- /dev/null +++ b/themes/even/static/dist/even.min.css @@ -0,0 +1,4 @@ +@font-face{font-family:Chancery;src:url(fonts/chancery/apple-chancery-webfont.eot);src:local("Apple Chancery"),url(fonts/chancery/apple-chancery-webfont.eot?#iefix) format("embedded-opentype"),url(fonts/chancery/apple-chancery-webfont.woff2) format("woff2"),url(fonts/chancery/apple-chancery-webfont.woff) format("woff"),url(fonts/chancery/apple-chancery-webfont.ttf) format("truetype"),url(fonts/chancery/apple-chancery-webfont.svg#apple-chancery) format("svg");font-weight:lighter;font-style:normal} + +/*! normalize.css v3.0.2 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.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:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-webkit-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}html{font-size:16px;-webkit-box-sizing:border-box;box-sizing:border-box}body{padding:0;margin:0;font-family:Source Sans Pro,Helvetica Neue,Arial,sans-serif;font-weight:400;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.5;color:#34495e;background:#fefefe;scroll-behavior:smooth;border-top:3px solid #c05b4d}@media screen and (max-width:800px){body{border-top:0}}::-moz-selection{background:#c05b4d;color:#fff}::selection{background:#c05b4d;color:#fff}img{max-width:100%;height:auto;display:inline-block;vertical-align:middle}a{color:#34495e;text-decoration:none}h1{font-size:26px}h1,h2{font-family:Athelas,STHeiti,Microsoft Yahei,serif}h2{font-size:24px}h3{font-size:20px}h3,h4{font-family:Athelas,STHeiti,Microsoft Yahei,serif}h4{font-size:16px}h5,h6{font-size:14px;font-family:Athelas,STHeiti,Microsoft Yahei,serif}.container{margin:0 auto;width:800px}@media screen and (max-width:800px){.container{width:100%;-webkit-box-shadow:-1px -5px 5px #cacaca;box-shadow:-1px -5px 5px #cacaca}}.content-wrapper{padding:0 20px}.video-container{position:relative;padding-bottom:56.25%;padding-top:25px;height:0}.video-container iframe{position:absolute;top:0;left:0;width:100%;height:100%}@font-face{font-family:iconfont;src:url(fonts/iconfont/iconfont.eot?hash=c2af3bb);src:url(fonts/iconfont/iconfont.eot?hash=c2af3bb#iefix) format("embedded-opentype"),url(fonts/iconfont/iconfont.woff?hash=5d21a10) format("woff"),url(fonts/iconfont/iconfont.ttf?hash=0e6028a) format("truetype"),url(fonts/iconfont/iconfont.svg?hash=568ae3a#iconfont) format("svg")}.iconfont{font-family:iconfont!important;font-style:normal;-webkit-font-smoothing:antialiased;-webkit-text-stroke-width:.2px;-moz-osx-font-smoothing:grayscale;cursor:pointer}.icon-instagram:before{font-size:.95em;content:"\E611";position:relative;top:-1px}.icon-douban:before{content:"\E610"}.icon-tumblr:before{content:"\E69F";font-size:.85em;position:relative;top:-4px}.icon-linkedin:before{content:"\E60D";position:relative;top:-4px}.icon-twitter:before{content:"\E600"}.icon-weibo:before{content:"\E602"}.icon-stack-overflow:before{content:"\E603";font-size:.85em;position:relative;top:-4px}.icon-email:before{content:"\E605";position:relative;top:-2px}.icon-facebook:before{content:"\E601";font-size:.95em;position:relative;top:-2px}.icon-github:before{content:"\E606";position:relative;top:-3px}.icon-rss:before{content:"\E604"}.icon-google:before{content:"\E609"}.icon-zhihu:before{content:"\E607";font-size:.9em;position:relative;top:-2px}.icon-pocket:before{content:"\E856"}.icon-heart:before{content:"\E608"}.icon-right:before{content:"\E60A"}.icon-left:before{content:"\E60B"}.icon-up:before{content:"\E60C"}.icon-close:before{content:"\E60F"}.header{padding:20px}.header:after,.header:before{content:" ";display:table}.header:after{clear:both}.header .logo-wrapper{float:left}.header .logo-wrapper .logo{font-size:48px;font-family:Chancery,cursive}@media screen and (max-width:800px){.header .logo-wrapper{display:none}}.header .site-navbar{float:right}.header .site-navbar .menu{display:inline-block;position:relative;padding-left:0;padding-right:25px;font-family:Athelas,STHeiti,Microsoft Yahei,serif}.header .site-navbar .menu .menu-item{display:inline-block;vertical-align:middle;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-box-shadow:0 0 1px transparent;box-shadow:0 0 1px transparent;position:relative;overflow:hidden}.header .site-navbar .menu .menu-item+.menu-item{margin-left:10px}.header .site-navbar .menu .menu-item:before{content:"";position:absolute;z-index:-1;height:2px;bottom:0;left:51%;right:51%;background:#c05b4d;-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:right,left;transition-property:right,left;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.header .site-navbar .menu .menu-item.active:before,.header .site-navbar .menu .menu-item:active:before,.header .site-navbar .menu .menu-item:focus:before,.header .site-navbar .menu .menu-item:hover:before{right:0;left:0}.header .site-navbar .menu .menu-item-link{font-size:18px}@media screen and (max-width:800px){.header .site-navbar{display:none}}@media screen and (max-width:800px){.header{padding:50px 0 0;text-align:center}}.posts{margin-bottom:20px;border-bottom:1px solid #e6e6e6}.post{padding:1.5em 0}.post+.post{border-top:1px solid #e6e6e6}.post .post-header{margin-bottom:20px}.post .post-header .post-title{margin:0;font-size:27px;font-weight:400;font-family:Athelas,STHeiti,Microsoft Yahei,serif}.post .post-header .post-link{display:inline-block;vertical-align:middle;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-box-shadow:0 0 1px transparent;box-shadow:0 0 1px transparent;position:relative;overflow:hidden}.post .post-header .post-link:before{content:"";position:absolute;z-index:-1;height:2px;bottom:0;left:51%;right:51%;background:#c05b4d;-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:right,left;transition-property:right,left;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.post .post-header .post-link.active:before,.post .post-header .post-link:active:before,.post .post-header .post-link:focus:before,.post .post-header .post-link:hover:before{right:0;left:0}.post .post-header .post-meta{font-size:14px;color:#8a8a8a}.post .post-header .post-meta .post-time{font-size:15px}.post .post-header .post-meta .post-category{display:inline}.post .post-header .post-meta .post-category a{color:inherit}.post .post-header .post-meta .post-category a:before{content:"\B7"}.post .post-header .post-meta .post-category a:hover{color:#c05b4d}.post .post-header .post-meta .more-meta:before{content:"\B7"}.post .post-toc{position:absolute;width:200px;margin-left:785px;padding:10px;font-family:Athelas,STHeiti,Microsoft Yahei,serif;border-radius:5px;background:hsla(45,46%,95%,.6);-webkit-box-shadow:1px 1px 2px rgba(0,0,0,.125);box-shadow:1px 1px 2px rgba(0,0,0,.125);word-wrap:break-word;-webkit-box-sizing:border-box;box-sizing:border-box}.post .post-toc .post-toc-title{margin:0 10px;font-size:20px;font-weight:400;text-transform:uppercase}.post .post-toc .post-toc-content{font-size:15px}.post .post-toc .post-toc-content.always-active ul{display:block}.post .post-toc .post-toc-content>nav>ul{margin:10px 0}.post .post-toc .post-toc-content ul{padding-left:20px;list-style:square}.post .post-toc .post-toc-content ul ul{padding-left:15px;display:none}.post .post-toc .post-toc-content ul .has-active>ul{display:block}.post .post-toc .post-toc-content .toc-link.active{color:#c05b4d}@media screen and (max-width:1185px){.post .post-toc{display:none}}.post .post-content{word-wrap:break-word}.post .post-content h1,.post .post-content h2,.post .post-content h3,.post .post-content h4,.post .post-content h5,.post .post-content h6{font-weight:400;font-family:Athelas,STHeiti,Microsoft Yahei,serif}.post .post-content a{color:#c05b4d;word-break:break-all}.post .post-content a:hover{border-bottom:1px solid #c05b4d}.post .post-content a.fancybox{border:0}.post .post-content blockquote{margin:2em 0;padding:10px 20px;position:relative;color:rgba(52,73,94,.8);background-color:rgba(192,91,77,.05);border-left:3px solid rgba(192,91,77,.3);-webkit-box-shadow:1px 1px 2px rgba(0,0,0,.125);box-shadow:1px 1px 2px rgba(0,0,0,.125)}.post .post-content blockquote p{margin:0}.post .post-content img{display:inline-block;max-width:100%}.post .post-content>table{max-width:100%;margin:10px 0;border-spacing:0;-webkit-box-shadow:2px 2px 3px rgba(0,0,0,.125);box-shadow:2px 2px 3px rgba(0,0,0,.125)}.post .post-content>table thead{background:#f8f5ec}.post .post-content>table td,.post .post-content>table th{padding:5px 15px;border:1px double #f4efe1}.post .post-content>table tr:hover{background-color:#f8f5ec}.post .post-content code,.post .post-content pre{padding:7px;font-size:13px;font-family:Consolas,Monaco,Menlo,monospace;background:#f8f5ec}.post .post-content code{padding:3px 5px;border-radius:4px;color:#c7254e}.post .post-content figure.highlight{margin:1em 0;border-radius:5px;overflow-x:auto;-webkit-box-shadow:1px 1px 2px rgba(0,0,0,.125);box-shadow:1px 1px 2px rgba(0,0,0,.125);position:relative}.post .post-content figure.highlight table{position:relative}.post .post-content figure.highlight table:after{position:absolute;top:0;right:0;left:0;padding:2px 7px;font-size:13px;font-weight:700;color:#b1b1b1;background:#f4efe1;content:"Code"}.post .post-content figure.highlight.language-bash>table:after{content:"Bash"}.post .post-content figure.highlight.language-c>table:after{content:"C"}.post .post-content figure.highlight.language-cs>table:after{content:"C#"}.post .post-content figure.highlight.language-cpp>table:after{content:"C++"}.post .post-content figure.highlight.language-css>table:after{content:"CSS"}.post .post-content figure.highlight.language-coffeescript>table:after{content:"CoffeeScript"}.post .post-content figure.highlight.language-html>table:after{content:"HTML"}.post .post-content figure.highlight.language-xml>table:after{content:"XML"}.post .post-content figure.highlight.language-http>table:after{content:"HTTP"}.post .post-content figure.highlight.language-json>table:after{content:"JSON"}.post .post-content figure.highlight.language-java>table:after{content:"Java"}.post .post-content figure.highlight.language-javascript>table:after,.post .post-content figure.highlight.language-js>table:after{content:"JavaScript"}.post .post-content figure.highlight.language-makefile>table:after{content:"Makefile"}.post .post-content figure.highlight.language-markdown>table:after{content:"Markdown"}.post .post-content figure.highlight.language-objectivec>table:after{content:"Objective-C"}.post .post-content figure.highlight.language-php>table:after{content:"PHP"}.post .post-content figure.highlight.language-perl>table:after{content:"Perl"}.post .post-content figure.highlight.language-python>table:after{content:"Python"}.post .post-content figure.highlight.language-ruby>table:after{content:"Ruby"}.post .post-content figure.highlight.language-sql>table:after{content:"SQL"}.post .post-content figure.highlight.language-shell>table:after{content:"Shell"}.post .post-content figure.highlight.language-erlang>table:after{content:"Erlang"}.post .post-content figure.highlight.language-go>table:after{content:"Go"}.post .post-content figure.highlight.language-groovy>table:after{content:"Groovy"}.post .post-content figure.highlight.language-haskell>table:after{content:"Haskell"}.post .post-content figure.highlight.language-kotlin>table:after{content:"Kotlin"}.post .post-content figure.highlight.language-less>table:after{content:"Less"}.post .post-content figure.highlight.language-lisp>table:after{content:"Lisp"}.post .post-content figure.highlight.language-lua>table:after{content:"Lua"}.post .post-content figure.highlight.language-matlab>table:after{content:"Matlab"}.post .post-content figure.highlight.language-rust>table:after{content:"Rust"}.post .post-content figure.highlight.language-scss>table:after{content:"Scss"}.post .post-content figure.highlight.language-scala>table:after{content:"Scala"}.post .post-content figure.highlight.language-swift>table:after{content:"Swift"}.post .post-content figure.highlight.language-typescript>table:after{content:"TypeScript"}.post .post-content figure.highlight.language-yaml>table:after,.post .post-content figure.highlight.language-yml>table:after{content:"YAML"}.post .post-content figure.highlight.language-toml>table:after{content:"TOML"}.post .post-content figure.highlight .code pre{margin:0;padding:30px 10px 10px}.post .post-content figure.highlight .gutter{width:10px;color:#cacaca}.post .post-content figure.highlight .gutter pre{margin:0;padding:30px 7px 10px}.post .post-content figure.highlight .line{height:20px}.post .post-content figure.highlight table,.post .post-content figure.highlight td,.post .post-content figure.highlight tr{margin:0;padding:0;width:100%;border-collapse:collapse}.post .post-content figure.highlight .code .hljs-comment,.post .post-content figure.highlight .code .hljs-quote{color:#93a1a1}.post .post-content figure.highlight .code .hljs-addition,.post .post-content figure.highlight .code .hljs-keyword,.post .post-content figure.highlight .code .hljs-selector-tag{color:#859900}.post .post-content figure.highlight .code .hljs-doctag,.post .post-content figure.highlight .code .hljs-literal,.post .post-content figure.highlight .code .hljs-meta .hljs-meta-string,.post .post-content figure.highlight .code .hljs-number,.post .post-content figure.highlight .code .hljs-regexp,.post .post-content figure.highlight .code .hljs-string{color:#2aa198}.post .post-content figure.highlight .code .hljs-name,.post .post-content figure.highlight .code .hljs-section,.post .post-content figure.highlight .code .hljs-selector-class,.post .post-content figure.highlight .code .hljs-selector-id,.post .post-content figure.highlight .code .hljs-title{color:#268bd2}.post .post-content figure.highlight .code .hljs-attr,.post .post-content figure.highlight .code .hljs-attribute,.post .post-content figure.highlight .code .hljs-class .hljs-title,.post .post-content figure.highlight .code .hljs-template-variable,.post .post-content figure.highlight .code .hljs-type,.post .post-content figure.highlight .code .hljs-variable{color:#b58900}.post .post-content figure.highlight .code .hljs-bullet,.post .post-content figure.highlight .code .hljs-link,.post .post-content figure.highlight .code .hljs-meta,.post .post-content figure.highlight .code .hljs-meta .hljs-keyword,.post .post-content figure.highlight .code .hljs-selector-attr,.post .post-content figure.highlight .code .hljs-selector-pseudo,.post .post-content figure.highlight .code .hljs-subst,.post .post-content figure.highlight .code .hljs-symbol{color:#cb4b16}.post .post-content figure.highlight .code .hljs-built_in,.post .post-content figure.highlight .code .hljs-deletion{color:#dc322f}.post .post-content figure.highlight .code .hljs-formula{background:#eee8d5}.post .post-content figure.highlight .code .hljs-emphasis{font-style:italic}.post .post-content figure.highlight .code .hljs-strong{font-weight:700}.post .post-content .post-summary{margin-bottom:1em}.post .post-content .read-more .read-more-link{color:#c05b4d;font-size:1.1em;font-family:Athelas,STHeiti,Microsoft Yahei,serif}.post .post-content .read-more .read-more-link:hover{border-bottom:1px solid #c05b4d}.post .post-content kbd{display:inline-block;padding:.25em;background-color:#fafafa;border:1px solid #dbdbdb;border-bottom-color:#b5b5b5;border-radius:3px;-webkit-box-shadow:inset 0 -1px 0 #b5b5b5;box-shadow:inset 0 -1px 0 #b5b5b5;font-size:.8em;line-height:1.25;font-family:SFMono-Regular,Liberation Mono,Roboto Mono,Menlo,Monaco,Consolas,Courier New,Courier,monospace;color:#4a4a4a}.post .post-content dl dt:after{content:":"}.post .post-content figure.center{text-align:center}.post .post-content figure.right{text-align:right}.post .post-content figure.left{text-align:left}.post .post-content figure figcaption h4{color:#b5b5b5;font-size:.9rem}.post .post-content .task-list{list-style:none;padding-left:1.5rem}.post .post-content .align-center{text-align:center}.post .post-content .align-right{text-align:right}.post .post-content .align-left{text-align:left}.post .post-content .MJXc-display{overflow-x:auto;overflow-y:hidden}.post .post-copyright{margin-top:20px;padding-top:10px;border-top:1px dashed #e6e6e6}.post .post-copyright .copyright-item{margin:5px 0}.post .post-copyright .copyright-item a{color:#c05b4d;word-wrap:break-word}.post .post-copyright .copyright-item a:hover{border-bottom:1px solid #c05b4d}.post .post-copyright .copyright-item .item-title{display:inline-block;min-width:5rem;margin-right:.5rem;text-align:right}.post .post-copyright .copyright-item .item-title:after{content:" :"}.post .post-reward{margin-top:20px;padding-top:10px;text-align:center;border-top:1px dashed #e6e6e6}.post .post-reward .reward-button{margin:15px 0;padding:3px 7px;display:inline-block;color:#c05b4d;border:1px solid #c05b4d;border-radius:5px;cursor:pointer}.post .post-reward .reward-button:hover{color:#fefefe;background-color:#c05b4d;-webkit-transition:.5s;transition:.5s}.post .post-reward #reward:checked~.qr-code{display:block}.post .post-reward #reward:checked~.reward-button,.post .post-reward .qr-code{display:none}.post .post-reward .qr-code .qr-code-image{display:inline-block;min-width:200px;width:40%;margin-top:15px}.post .post-reward .qr-code .qr-code-image span{display:inline-block;width:100%;margin:8px 0}.post .post-reward .qr-code .image{width:200px;height:200px}.post .post-footer{margin-top:20px;border-top:1px solid #e6e6e6;font-family:Athelas,STHeiti,Microsoft Yahei,serif}.post .post-footer .post-tags{padding:15px 0}.post .post-footer .post-tags a{margin-right:5px;color:#c05b4d;word-break:break-all}.post .post-footer .post-tags a:before{content:"#"}.post .post-footer .post-nav{margin:1em 0}.post .post-footer .post-nav:after,.post .post-footer .post-nav:before{content:" ";display:table}.post .post-footer .post-nav:after{clear:both}.post .post-footer .post-nav .next,.post .post-footer .post-nav .prev{font-weight:600;font-size:18px;font-family:Athelas,STHeiti,Microsoft Yahei,serif;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;-webkit-transition-duration:.3s;transition-duration:.3s}.post .post-footer .post-nav .prev{float:left}.post .post-footer .post-nav .prev:hover{color:#c05b4d;-webkit-transform:translateX(-4px);-ms-transform:translateX(-4px);transform:translateX(-4px)}.post .post-footer .post-nav .next{float:right}.post .post-footer .post-nav .next:hover{color:#c05b4d;-webkit-transform:translateX(4px);-ms-transform:translateX(4px);transform:translateX(4px)}.post .post-footer .post-nav .nav-mobile{display:none}@media screen and (max-width:800px){.post .post-footer .post-nav .nav-default{display:none}.post .post-footer .post-nav .nav-mobile{display:inline}}.post .post-outdated .hint{border-left:4px solid #42acf3;background-color:#eff5ff;border-color:#42acf3}.post .post-outdated .hint,.post .post-outdated .warn{position:relative;margin-top:20px;margin-bottom:20px;padding:5px 10px}.post .post-outdated .warn{border-left:4px solid #f9cf63;background-color:#ffffc0;border-color:#f9cf63}.pagination{margin:2em 0}.pagination:after,.pagination:before{content:" ";display:table}.pagination:after{clear:both}.pagination .next,.pagination .prev{font-weight:600;font-size:20px;font-family:Athelas,STHeiti,Microsoft Yahei,serif;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;-webkit-transition-duration:.3s;transition-duration:.3s}.pagination .prev{float:left}.pagination .prev:hover{color:#c05b4d;-webkit-transform:translateX(-4px);-ms-transform:translateX(-4px);transform:translateX(-4px)}.pagination .next{float:right}.pagination .next:hover{color:#c05b4d;-webkit-transform:translateX(4px);-ms-transform:translateX(4px);transform:translateX(4px)}.footer{margin-top:2em}.footer .social-links{text-align:center}.footer .social-links .iconfont{font-size:30px}.footer .social-links .iconfont+.iconfont{margin-left:10px}.footer .social-links .iconfont:hover{color:#c05b4d}.footer .copyright{margin:10px 0;color:#8a8a8a;text-align:center;font-family:Athelas,STHeiti,Microsoft Yahei,serif}.footer .copyright .hexo-link,.footer .copyright .theme-link{color:#c05b4d}.footer .copyright .copyright-year{display:block}.footer .copyright .copyright-year .heart{font-size:14px}.archive{margin:2em 0;max-width:550px}.archive .archive-title{font-family:Athelas,STHeiti,Microsoft Yahei,serif}.archive .archive-title.category,.archive .archive-title.tag{margin:15px 0}.archive .archive-title .archive-name{margin:0;display:inline-block;font-weight:400;font-size:30px;line-height:32px}.archive .archive-title .archive-post-counter{color:#8a8a8a}.archive .collection-title{font-family:Athelas,STHeiti,Microsoft Yahei,serif}.archive .collection-title .archive-year{margin:15px 0;font-weight:400;font-size:28px;line-height:30px}.archive .archive-post{padding:3px 20px;border-left:1px solid #cacaca}.archive .archive-post .archive-post-time{margin-right:10px;color:#8a8a8a}.archive .archive-post .archive-post-title .archive-post-link{color:#c05b4d}.archive .archive-post::first-child{margin-top:10px}.archive .archive-post:hover{border-left:3px solid #c05b4d;-webkit-transition:.2s ease-out;transition:.2s ease-out;-webkit-transform:translateX(4px);-ms-transform:translateX(4px);transform:translateX(4px)}.archive .archive-post:hover .archive-post-time{color:#717171}.archive .archive-post:hover .archive-post-title .archive-post-link{color:#a14639}@media screen and (max-width:800px){.archive{margin-left:auto;margin-right:auto}.archive .archive-title .archive-name{font-size:26px}.archive .collection-title .archive-year{margin:10px 0;font-size:24px}.archive .archive-post{padding:5px 10px}.archive .archive-post .archive-post-time{font-size:13px;display:block}}.tag-cloud{margin:2em 0 3em;text-align:center;font-family:Athelas,STHeiti,Microsoft Yahei,serif}.tag-cloud .tag-cloud-title{display:inline-block;font-size:18px;color:#c05b4d;border-bottom:2px solid #c05b4d}.tag-cloud .tag-cloud-tags{margin:10px 0}.tag-cloud .tag-cloud-tags a{display:inline-block;position:relative;margin:5px 10px;word-wrap:break-word;-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.tag-cloud .tag-cloud-tags a .tag-count{display:inline-block;position:relative;top:-8px;right:-2px;color:#c05b4d;font-size:12px}.tag-cloud .tag-cloud-tags a:active,.tag-cloud .tag-cloud-tags a:focus,.tag-cloud .tag-cloud-tags a:hover{color:#c05b4d;-webkit-transform:scale(1.1);-ms-transform:scale(1.1);transform:scale(1.1)}.categories{margin:2em 0 3em;text-align:center;font-family:Athelas,STHeiti,Microsoft Yahei,serif}.categories .categories-title{display:inline-block;font-size:18px;color:#c05b4d;border-bottom:2px solid #c05b4d}.categories .categories-tags{margin:10px 0}.categories .categories-tags .category-link{display:inline-block;position:relative;margin:5px 10px;word-wrap:break-word;-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.categories .categories-tags .category-link .category-count{display:inline-block;position:relative;top:-8px;right:-2px;color:#c05b4d;font-size:12px}.categories .categories-tags .category-link:active,.categories .categories-tags .category-link:focus,.categories .categories-tags .category-link:hover{color:#c05b4d;-webkit-transform:scale(1.1);-ms-transform:scale(1.1);transform:scale(1.1)}.slideout-menu{position:fixed;top:0;left:0;bottom:0;width:180px;min-height:100vh;overflow-y:hidden;-webkit-overflow-scrolling:touch;z-index:0;display:none}.slideout-panel{position:relative;z-index:1;background-color:#fefefe;min-height:100vh}.slideout-open,.slideout-open .slideout-panel,.slideout-open body{overflow:hidden}.slideout-open .slideout-menu{display:block}.mobile-navbar{display:none;position:fixed;top:0;left:0;width:100%;height:50px;background:#fefefe;-webkit-box-shadow:0 2px 2px #cacaca;box-shadow:0 2px 2px #cacaca;text-align:center;-webkit-transition:-webkit-transform .3s ease;transition:-webkit-transform .3s ease;transition:transform .3s ease;transition:transform .3s ease,-webkit-transform .3s ease;z-index:99}.mobile-navbar.fixed-open{-webkit-transform:translate3d(180px,0,0);transform:translate3d(180px,0,0)}.mobile-navbar .mobile-header-logo{display:inline-block;margin-right:50px}.mobile-navbar .mobile-header-logo .logo{font-size:22px;line-height:50px;font-family:Chancery,cursive}.mobile-navbar .mobile-navbar-icon{color:#c05b4d;height:50px;width:50px;font-size:24px;text-align:center;float:left;position:relative;-webkit-transition:background .5s;transition:background .5s}@-webkit-keyframes clickfirst{0%{-webkit-transform:translateY(6px) rotate(0deg);transform:translateY(6px) rotate(0deg)}to{-webkit-transform:translateY(0) rotate(45deg);transform:translateY(0) rotate(45deg)}}@keyframes clickfirst{0%{-webkit-transform:translateY(6px) rotate(0deg);transform:translateY(6px) rotate(0deg)}to{-webkit-transform:translateY(0) rotate(45deg);transform:translateY(0) rotate(45deg)}}@-webkit-keyframes clickmid{0%{opacity:1}to{opacity:0}}@keyframes clickmid{0%{opacity:1}to{opacity:0}}@-webkit-keyframes clicklast{0%{-webkit-transform:translateY(-6px) rotate(0deg);transform:translateY(-6px) rotate(0deg)}to{-webkit-transform:translateY(0) rotate(-45deg);transform:translateY(0) rotate(-45deg)}}@keyframes clicklast{0%{-webkit-transform:translateY(-6px) rotate(0deg);transform:translateY(-6px) rotate(0deg)}to{-webkit-transform:translateY(0) rotate(-45deg);transform:translateY(0) rotate(-45deg)}}@-webkit-keyframes outfirst{0%{-webkit-transform:translateY(0) rotate(-45deg);transform:translateY(0) rotate(-45deg)}to{-webkit-transform:translateY(-6px) rotate(0deg);transform:translateY(-6px) rotate(0deg)}}@keyframes outfirst{0%{-webkit-transform:translateY(0) rotate(-45deg);transform:translateY(0) rotate(-45deg)}to{-webkit-transform:translateY(-6px) rotate(0deg);transform:translateY(-6px) rotate(0deg)}}@-webkit-keyframes outmid{0%{opacity:0}to{opacity:1}}@keyframes outmid{0%{opacity:0}to{opacity:1}}@-webkit-keyframes outlast{0%{-webkit-transform:translateY(0) rotate(45deg);transform:translateY(0) rotate(45deg)}to{-webkit-transform:translateY(6px) rotate(0deg);transform:translateY(6px) rotate(0deg)}}@keyframes outlast{0%{-webkit-transform:translateY(0) rotate(45deg);transform:translateY(0) rotate(45deg)}to{-webkit-transform:translateY(6px) rotate(0deg);transform:translateY(6px) rotate(0deg)}}.mobile-navbar .mobile-navbar-icon span{position:absolute;left:15px;top:25px;left:calc((100% - 20px) / 2);top:calc((100% - 1px) / 2);width:20px;height:1px;background-color:#c05b4d}.mobile-navbar .mobile-navbar-icon span:first-child{-webkit-transform:translateY(6px) rotate(0deg);-ms-transform:translateY(6px) rotate(0deg);transform:translateY(6px) rotate(0deg)}.mobile-navbar .mobile-navbar-icon span:nth-child(3){-webkit-transform:translateY(-6px) rotate(0deg);-ms-transform:translateY(-6px) rotate(0deg);transform:translateY(-6px) rotate(0deg)}.mobile-navbar .mobile-navbar-icon.icon-click span:first-child{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-name:clickfirst;animation-name:clickfirst}.mobile-navbar .mobile-navbar-icon.icon-click span:nth-child(2){-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-name:clickmid;animation-name:clickmid}.mobile-navbar .mobile-navbar-icon.icon-click span:nth-child(3){-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-name:clicklast;animation-name:clicklast}.mobile-navbar .mobile-navbar-icon.icon-out span:first-child{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-name:outfirst;animation-name:outfirst}.mobile-navbar .mobile-navbar-icon.icon-out span:nth-child(2){-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-name:outmid;animation-name:outmid}.mobile-navbar .mobile-navbar-icon.icon-out span:nth-child(3){-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-name:outlast;animation-name:outlast}.mobile-menu{background-color:hsla(45,46%,95%,.5)}.mobile-menu .mobile-menu-list{position:relative;list-style:none;margin-top:50px;padding:0;border-top:1px solid #f8f5ec}.mobile-menu .mobile-menu-list .mobile-menu-item{padding:10px 30px;border-bottom:1px solid #f8f5ec}.mobile-menu .mobile-menu-list a{font-size:18px;font-family:Athelas,STHeiti,Microsoft Yahei,serif}.mobile-menu .mobile-menu-list a:hover{color:#c05b4d}@media screen and (max-width:800px){.mobile-navbar{display:block}}.back-to-top{display:none;position:fixed;right:20px;bottom:20px;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;-webkit-transition-duration:.3s;transition-duration:.3s;z-index:10}.back-to-top:hover{-webkit-transform:translateY(-5px);-ms-transform:translateY(-5px);transform:translateY(-5px)}@media screen and (max-width:800px){.back-to-top{display:none!important}}.not-found{text-align:center}.not-found .error-emoji{color:#363636;font-size:3rem}.not-found .error-text{color:#797979;font-size:1.25rem}.not-found .error-link{margin-top:2rem}.not-found .error-link a{color:#c05b4d} +/*# sourceMappingURL=even.min.css.map*/
\ No newline at end of file diff --git a/themes/even/static/dist/even.min.css.map b/themes/even/static/dist/even.min.css.map new file mode 100644 index 0000000..65448b7 --- /dev/null +++ b/themes/even/static/dist/even.min.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_variables.scss","webpack:///./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_common/_normalize.scss","webpack:///./css/E:/C/blog/hugo/olowolo/themes/even/src/style.scss","webpack:///./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_base.scss","webpack:///./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_common/_utils.scss","webpack:///./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_iconfont.scss","webpack:///./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_header.scss","webpack:///./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_header/_logo.scss","webpack:///./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_header/_menu.scss","webpack:///./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_common/_animation.scss","webpack:///./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_post.scss","webpack:///./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_post/_header.scss","webpack:///./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_post/_toc.scss","webpack:///./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_post/_content.scss","webpack:///./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_post/_code.scss","webpack:///./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_post/_copyright.scss","webpack:///./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_post/_reward.scss","webpack:///./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_post/_footer.scss","webpack:///./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_post/_outdated.scss","webpack:///./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_pagination.scss","webpack:///./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_footer.scss","webpack:///./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_footer/_social.scss","webpack:///./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_footer/_copyright.scss","webpack:///./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_archive.scss","webpack:///./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_tags.scss","webpack:///./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_categories.scss","webpack:///./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_slideout.scss","webpack:///./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_mobile.scss","webpack:///./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_back-to-top.scss","webpack:///./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_404.scss"],"names":[],"mappings":"AAiFA,WACE,qBACA,kCACA,8QAKA,oBACA,iBAAkB;;AC1FpB,4DAQA,KACE,uBACA,0BACA,6BAA8B,CAqBhC,2FAaE,aAAc,CAQhB,4BAIE,qBACA,uBAAwB,CAQ1B,sBACE,aACA,QAAS,CCQX,kBDEE,YAAa,CAUf,EACE,4BAA6B,CAO/B,iBAEE,SAAU,CAUZ,YACE,wBAAyB,CAO3B,SAEE,eAAiB,CAOnB,IACE,iBAAkB,CAQpB,GACE,cACA,cAAgB,CAOlB,KACE,gBACA,UAAW,CAOb,MACE,aAAc,CAOhB,QAEE,cACA,cACA,kBACA,uBAAwB,CAG1B,IACE,SAAW,CAGb,IACE,aAAe,CAUjB,IACE,QAAS,CAOX,eACE,eAAgB,CAUlB,OACE,eAAgB,CAOlB,GAEE,+BAAuB,uBACvB,QAAS,CAOX,IACE,aAAc,CAOhB,kBAIE,gCACA,aAAc,CAkBhB,sCAKE,cACA,aACA,QAAS,CAOX,OACE,gBAAiB,CAUnB,cAEE,mBAAoB,CAWtB,oEAIE,0BACA,cAAe,CAOjB,sCAEE,cAAe,CAOjB,iDAEE,SACA,SAAU,CAQZ,MACE,kBAAmB,CAWrB,uCAEE,8BAAsB,sBACtB,SAAU,CASZ,4FAEE,WAAY,CASd,mBACE,6BAEA,+BACA,sBAAuB,CASzB,+FAEE,uBAAwB,CAO1B,SACE,wBACA,aACA,0BAA8B,CAQhC,OACE,SACA,SAAU,CAOZ,SACE,aAAc,CAQhB,SACE,eAAiB,CAUnB,MACE,yBACA,gBAAiB,CAGnB,MAEE,SAAU,CEvaZ,KACE,eACA,8BAAsB,sBAGxB,KACE,UACA,SACA,4DACA,gBACA,mCACA,kCACA,gBACA,cACA,mBACA,uBACA,4BHPkB,CIQjB,oCDGD,KACE,YAAa,CACd,CAGH,iBACE,mBACA,UAAW,CACZ,YAFC,mBACA,UAAW,CAkBb,IACE,eACA,YACA,qBACA,qBAAsB,CAGxB,EACE,cACA,oBAAqB,CAIrB,GACE,cHMM,CGJP,MADC,iDHF+D,CGGhE,GAFC,cHOM,CGLP,GAFC,cHQM,CGNP,MADC,iDHF+D,CGGhE,GAFC,cHSM,CGPP,MAFC,eACA,iDHF+D,CGMnE,WACE,cACA,WHpBuB,CI7BtB,oCDqDD,WACE,WACA,yEHtCU,CGuCX,CAGH,iBACE,cH5B+B,CGkCjC,iBACC,kBACA,sBACA,iBACA,QAAS,CAEV,wBACC,kBACA,MACA,OACA,WACA,WAAY,CE5Fb,WACE,qBAEA,kCACA,wMAG4D,CAU9D,UACE,+BACA,kBACA,mCACA,+BACA,kCACA,cAAe,CAGjB,uBACE,gBACA,gBACA,kBACA,QAAS,CAEX,oBACE,eAAgB,CAElB,oBACE,gBACA,gBACA,kBACA,QAAS,CAEX,sBACE,gBACA,kBACA,QAAS,CAEX,qBACE,eAAgB,CAElB,mBACE,eAAgB,CAElB,4BACE,gBACA,gBACA,kBACA,QAAS,CAEX,mBACE,gBACA,kBACA,QAAS,CAEX,sBACE,gBACA,gBACA,kBACA,QAAS,CAEX,oBACE,gBACA,kBACA,QAAS,CAEX,iBACE,eAAgB,CAElB,oBACE,eAAgB,CAElB,mBACE,gBACA,eACA,kBACA,QAAS,CAEX,oBACE,eAAgB,CAIlB,mBACE,eAAgB,CAElB,mBACE,eAAgB,CAElB,kBACE,eAAgB,CAElB,gBACE,eAAgB,CAElB,mBACE,eAAgB,CCxGlB,QAEE,YNwEwB,CMpEzB,6BFPG,YACA,aAAc,CAGhB,cACE,UAAW,CEJf,sBCCE,UAAW,CAMZ,4BAHG,eACA,4BPwFoD,COvFrD,oCDNH,sBCWI,YAAa,CACd,sBCXD,WAAY,CAuBb,2BApBG,qBACA,kBACA,eACA,mBACA,iDRgD+D,CQjChE,sCC1BD,qBACA,sBACA,gCAAwB,wBACxB,mCAA2B,2BAC3B,uCAA+B,+BAC/B,kBACA,eAAgB,CDeb,iDAJG,gBRkFoB,CQjFrB,6CCTH,WACA,kBACA,WACA,WACA,SACA,SACA,UACA,mBACA,gCAAyB,wBACzB,uCAAgC,+BAChC,4CAAoC,oCACrC,8MAOG,QACA,MAAO,CACR,2CDLC,cRiFoB,CQhFrB,oCFtBL,qBE4BI,YAAa,CACd,qCFnBD,QACE,iBACA,iBAAkB,CACnB,CIbH,OACE,mBACA,+BV6BkB,CU1BpB,MACE,eV0GoB,CU7FrB,YAVG,4BVsBgB,CUrBjB,mBCbD,kBAAmB,CA4CpB,+BAzCG,SACA,eACA,gBACA,iDXqD+D,CWpDhE,8BFPD,qBACA,sBACA,gCAAwB,wBACxB,mCAA2B,2BAC3B,uCAA+B,+BAC/B,kBACA,eAAgB,CEKf,qCFFC,WACA,kBACA,WACA,WACA,SACA,SACA,UACA,mBACA,gCAAyB,wBACzB,uCAAgC,+BAChC,4CAAoC,oCCXxC,8KDmBM,QACA,MAAO,CCpBb,8BCMI,eACA,aXqBe,CWOhB,yCAzBG,cAAe,CAChB,6CAGC,cAAe,CAahB,+CAVG,aAAc,CASf,sDANG,aAAa,sDAIb,aXtBU,CWuBX,gDAMD,aAAa,iBCvCnB,kBACA,YACA,kBACA,aACA,kDACA,kBACA,+BACA,gDAAyC,wCACzC,qBACA,8BAAsB,sBAsCvB,gCAnCG,cACA,eACA,gBACA,wBAAyB,CAC1B,kCAGC,cZ+ImB,CYpHpB,mDAxBG,aAAc,CACf,yCAGC,aAAc,CACf,qCAGC,kBACA,iBZsIsB,CY5HvB,wCAPG,kBACA,YAAa,CACd,oDAGC,aAAc,CACf,mDAID,aZlCc,CYmCf,qCFrCL,gBE2CI,YAAa,CACd,qBChDD,oBAAqB,CAyItB,0IArIK,gBACA,iDbkD6D,CajD9D,sBAID,cACA,oBAAqB,CAStB,4BANG,+BbRc,CaSf,+BAGC,QAAS,CACV,+BAID,aACA,kBACA,kBACA,wBACA,qCACA,yCACA,gDAAyC,wCAK1C,iCAFG,QAAS,CACV,wBAID,qBACA,cAAe,CAChB,0BAGC,eACA,cACA,iBACA,gDAAwC,wCAczC,gCAXG,kBb1CsB,Ca2CvB,0DAGC,iBACA,yBb+HgD,Ca9HjD,mCAGC,wBbnDsB,CaoDvB,iDC9DH,YACA,eACA,4CACA,kBdO0B,CcN3B,yBAGC,gBACA,kBACA,admLkB,CclLnB,qCAGC,aACA,kBACA,gBACA,gDAAyC,wCACzC,iBAAkB,CAyHnB,2CAtHG,iBAAkB,CAcnB,iDAXG,kBACA,MACA,QACA,OACA,gBACA,eACA,gBACA,cACA,mBACA,cAAe,CAChB,+DAKC,cd6KiB,Cc5KlB,4DADC,Wd8KW,Cc7KZ,6DADC,Yd+Ka,Cc9Kd,8DADC,adgLe,Cc/KhB,8DADC,adiLe,CchLhB,uEADC,sBdkLiC,CcjLlC,+DADC,cdmLiB,CclLlB,8DADC,adoLe,CcnLhB,+DADC,cdqLiB,CcpLlB,+DADC,cdsLiB,CcrLlB,+DADC,cduLiB,CctLlB,kIADC,oBdyL6B,CcxL9B,mEADC,kBd0LyB,CczL1B,mEADC,kBd2LyB,Cc1L1B,qEADC,qBd4L8B,Cc3L/B,8DADC,ad6Le,Cc5LhB,+DADC,cd8LiB,Cc7LlB,iEADC,gBd+LqB,Cc9LtB,+DADC,cdgMiB,Cc/LlB,8DADC,adiMe,CchMhB,gEADC,edkMmB,CcjMpB,iEADC,gBdoMqB,CcnMtB,6DADC,YdqMa,CcpMd,iEADC,gBdsMqB,CcrMtB,kEADC,iBduMuB,CctMxB,iEADC,gBdwMqB,CcvMtB,+DADC,cdyMiB,CcxMlB,+DADC,cd0MiB,CczMlB,8DADC,ad2Me,Cc1MhB,iEADC,gBd4MqB,Cc3MtB,+DADC,cd6MiB,Cc5MlB,+DADC,cd8MiB,Cc7MlB,gEADC,ed+MmB,Cc9MpB,gEADC,edgNmB,Cc/MpB,qEADC,oBdiN6B,CchN9B,6HADC,cdmNiB,CclNlB,+DADC,cdoNiB,CcnNlB,+CAKC,SACA,sBAAuB,CACxB,6CAID,WACA,adhBU,CcsBX,iDAHG,SACA,qBAAsB,CACvB,2CAMD,WAAoC,CACrC,2HAGC,SACA,UACA,WACA,wBAAyB,CAC1B,gHAKG,ad2HY,Cc1Hb,iLAKC,adsHY,CcrHb,iWAQC,ad8GW,Cc7GZ,mSAOC,aduGU,CctGX,uWAQC,ad+Fc,Cc9Ff,udAUC,adqFW,CcpFZ,oHAIC,adiFa,CchFd,yDAGC,kBd8EY,Cc7Eb,0DAGC,iBAAkB,CACnB,wDAGC,eAAiB,CAClB,kCDpED,iBAAkB,CACnB,+CAIG,cACA,gBACA,iDbhB6D,CaqB9D,qDAFG,+BbpEY,CaqEb,wBAKH,qBACA,cACA,yBACA,yBACA,4BACA,kBACA,0CAAkC,kCAClC,eACA,iBACA,2GACA,aAAc,CACf,gCAGC,WAAY,CACb,kCAIG,iBAAkB,CACnB,iCAGC,gBAAiB,CAClB,gCAGC,eAAgB,CACjB,yCAGC,cACA,eAAiB,CAClB,+BAID,gBACA,mBAAoB,CACrB,kCAGC,iBAAkB,CACnB,iCAGC,gBAAiB,CAClB,gCAGC,eAAgB,CACjB,kCAGC,gBACA,iBAAkB,CACnB,sBE5ID,gBACA,iBACA,6BfgCkB,CePnB,sCAtBG,YAAa,CAqBd,wCAlBG,cACA,oBAAqB,CAKtB,8CAFG,+BfFY,CeGb,kDAID,qBACA,eACA,mBACA,gBAAiB,CAKlB,wDAFG,YAAa,CACd,mBCxBL,gBACA,iBACA,kBACA,6BhB+BkB,CgBkBnB,kCA9CG,cACA,gBACA,qBACA,cACA,yBACA,kBACA,cAAe,CAOhB,wCAJG,cACA,yBACA,uBAAgB,eACjB,4CAKC,aAAc,CACf,8EAQD,YAAa,CAmBd,2CAhBG,qBACA,gBACA,UACA,eAAgB,CAOjB,gDAJG,qBACA,WACA,YAAa,CACd,mCAID,YACA,YAAa,CACd,mBC9CH,gBACA,6BACA,iDjBqDiE,CiBDlE,8BAjDG,cjBqIsB,CiB1HvB,gCARG,iBACA,cACA,oBAAqB,CAKtB,uCAFG,WAAY,CACb,6BAKH,YAAa,CAkCd,uEbvDC,YACA,aAAc,CMKlB,mCNDI,UAAW,CMCf,sEOoBM,gBACA,eACA,kDACA,8CAA8B,oHAC9B,4CAAoC,oCACpC,gCAAyB,wBAC1B,mCAGC,UAAW,CAMZ,yCAHG,cACA,mCAA2B,0DAC5B,mCAID,WAAY,CAMb,yCAHG,cACA,kCAA0B,wDAC3B,yCAID,YAAa,CACd,oCPhDL,0COwDQ,YAAa,CACd,yCAGC,cAAe,CAChB,4BChEH,8BACA,yBACA,oBAA+B,CAChC,sDAPC,kBACA,gBACA,mBACA,gBAAiB,CAclB,2BAHC,8BACA,yBACA,oBAAqB,CCdzB,YACE,YnB+PuB,CmBjOxB,qCfhCG,YACA,aAAc,CAGhB,kBACE,UAAW,CeJf,oCAMI,gBACA,eACA,kDACA,8CAA8B,oHAC9B,4CAAoC,oCACpC,gCAAyB,wBAC1B,kBAGC,UAAW,CAMZ,wBAHG,cACA,mCAA2B,0DAC5B,kBAID,WAAY,CAMb,wBAHG,cACA,kCAA0B,wDC5BhC,QACE,cpBuQqB,CoBnQtB,sBCJC,iBAAkB,CAanB,gCAVG,crB0QwB,CqBjQzB,0CANG,gBrBoQwB,CqBnQzB,sCAGC,arBJc,CqBKf,mBCXH,cACA,cACA,kBACA,iDtBoDiE,CsBtClE,6DAVG,atBDgB,CsBEjB,mCAGC,aAAc,CAKf,0CAFG,cAAe,CCfrB,SACE,aACA,evBuRuB,CuBnNxB,wBAjEG,iDvBmD+D,CuBjChE,6DAdG,aAAc,CACf,sCAGC,SACA,qBACA,gBACA,eACA,gBAA0C,CAC3C,8CAGC,avBYa,CuBXd,2BAID,iDvB8B+D,CuBtBhE,yCALG,cACA,gBACA,eACA,gBAA8C,CAC/C,uBAID,iBACA,6BvBNU,CuBqCX,0CA5BG,kBACA,avBTa,CuBUd,8DAKG,avBzCY,CuB0Cb,oCAID,eAAgB,CACjB,6BAGC,8BACA,wDACA,yFvBuPwC,CuB9OzC,gDANG,aAA8B,CAC/B,oEAGC,aAAgC,CACjC,oCAML,SACE,iBACA,iBAAkB,CAmBnB,sCAhBG,cAAwC,CACzC,yCAGC,cACA,cAA4C,CAC7C,uBAGC,gBvB8MgC,CuBxMjC,0CAHG,eACA,aAAc,CACf,CC5FP,WACE,iBACA,kBACA,iDxBqDiE,CwBflE,4BAnCG,qBACA,eACA,cACA,+BxBFgB,CwBGjB,2BAGC,aAAc,CA2Bf,6BAxBG,qBACA,kBACA,gBACA,qBACA,gCAAyB,wBACzB,8CAA8B,oHAC9B,4CAAoC,oCAiBrC,wCAdG,qBACA,kBACA,SACA,WACA,cACA,cxB6SuB,CwB5SxB,0GAKC,cACA,6BAAqB,8CCxC7B,YACE,iBACA,kBACA,iDzBwDiE,CyBlBlE,8BAnCG,qBACA,eACA,cACA,+BzBCgB,CyBAjB,6BAGC,aAAc,CA2Bf,4CAxBG,qBACA,kBACA,gBACA,qBACA,gCAAyB,wBACzB,8CAA8B,oHAC9B,4CAAoC,oCAiBrC,4DAdG,qBACA,kBACA,SACA,WACA,cACA,czBgTuB,CyB/SxB,uJAKC,cACA,6BAAqB,8CClC7B,eACE,eACA,MACA,OACA,SACA,YACA,iBACA,kBACA,iCACA,UACA,YAAa,CAGf,gBACE,kBACA,UACA,yBACA,gBAAiB,CAGnB,kEAGE,eAAgB,CAGlB,8BACE,aAAc,CC3BhB,eACE,aACA,eACA,MACA,OACA,WACA,YACA,mBACA,kEACA,kBACA,8CAAgC,6HAChC,UAAW,CA6BZ,0BA1BG,yCAAuC,iCACxC,mCAGC,qBACA,iBAAkB,CAOnB,yCAJG,eACA,iBACA,4B3BqEkD,C2BpEnD,mCAID,cACA,YACA,WACA,eACA,kBACA,WACA,kBACA,kCAA2B,0BAG5B,8BlBPC,GACE,+CAAuC,uCAIzC,GACE,8CAAsC,6DANxC,GACE,+CAAuC,uCAIzC,GACE,8CAAsC,uCAI1C,4BACE,GACE,SAAU,CAGZ,GACE,SAAU,sBALZ,GACE,SAAU,CAGZ,GACE,SAAU,EAId,6BACE,GACE,gDAAwC,wCAG1C,GACE,+CAAuC,6DALzC,GACE,gDAAwC,wCAG1C,GACE,+CAAuC,wCAI3C,4BACE,GACE,+CAAuC,uCAGzC,GACE,gDAAwC,6DAL1C,GACE,+CAAuC,uCAGzC,GACE,gDAAwC,yCAI5C,0BACE,GACE,SAAU,CAGZ,GACE,SAAU,oBALZ,GACE,SAAU,CAGZ,GACE,SAAU,EAId,2BACE,GACE,8CAAsC,sCAGxC,GACE,+CAAuC,2DALzC,GACE,8CAAsC,sCAGxC,GACE,+CAAuC,wCAI3C,wCACE,kBAEA,UACA,SACA,6BACA,2BACA,WACA,WACA,wBT9FgB,CSuGjB,oDANG,+CAAuC,kFACxC,qDAGC,gDAAwC,oFAK1C,+DACE,+BAAwB,uBACxB,iCAAyB,yBACzB,kCAA0B,0BAG5B,gEACE,+BAAwB,uBACxB,iCAAyB,yBACzB,gCAAwB,wBAG1B,gEACE,+BAAwB,uBACxB,iCAAyB,yBACzB,iCAAyB,yBAK3B,6DACE,+BAAwB,uBACxB,iCAAyB,yBACzB,gCAAwB,wBAG1B,8DACE,+BAAwB,uBACxB,iCAAyB,yBACzB,8BAAsB,sBAGxB,8DACE,+BAAwB,uBACxB,iCAAyB,yBACzB,+BAAuB,uBkB1G7B,aACE,oC3BpC0B,C2B2D3B,+BApBG,kBACA,gBACA,gBACA,UACA,4B3B3CwB,C2B0DzB,iDAZG,kBACA,+B3B/CsB,C2BgDvB,iCAGC,eACA,iD3BH6D,C2BQ9D,uCAFG,a3BvDY,C2BwDb,oCAML,eACE,aAAc,CACf,CCvEH,aACE,aACA,eACA,WACA,YACA,8CAA8B,oHAC9B,4CAAoC,oCACpC,gCAAyB,wBACzB,UAAW,CAKZ,mBAFG,mCAA2B,0DAC5B,oCAID,aACE,sBAAwB,CACzB,CClBH,WACE,iBAAkB,CAmBnB,wBAhBG,cACA,cAAe,CAChB,uBAGC,cACA,iBAAkB,CACnB,uBAGC,eAAgB,CAKjB,yBAFG,a7BVc,C6BWf","file":"even.min.css","sourcesContent":["// ==============================\r\n// Variables\r\n// ==============================\r\n\r\n// ========== Theme Color ========== //\r\n// Config here to change theme color\r\n// Default | Mint Green | Cobalt Blue | Hot Pink | Dark Violet\r\n$theme-color-config: 'Default';\r\n\r\n// Default theme color map\r\n$theme-color-map: (\r\n 'Default': #c05b4d #f8f5ec,\r\n 'Mint Green': #16982B #f5f5f5,\r\n 'Cobalt Blue': #0047AB #f0f2f5,\r\n 'Hot Pink': #FF69B4 #f8f5f5,\r\n 'Dark Violet': #9932CC #f5f4fa\r\n);\r\n\r\n// Check theme color config.\r\n// if it does not exist, use default theme color.\r\n@if not(map-has-key($theme-color-map, $theme-color-config)) {\r\n $theme-color-config: 'Default';\r\n}\r\n$theme-color-list: map-get($theme-color-map, $theme-color-config);\r\n\r\n// Default theme color of the site.\r\n$theme-color: nth($theme-color-list, 1) !default;\r\n\r\n// Deputy theme color of the site.\r\n$deputy-color: nth($theme-color-list, 2) !default;\r\n\r\n\r\n// ========== Color ========== //\r\n$black: #0a0a0a !default;\r\n$white: #fefefe !default;\r\n$light-gray: #e6e6e6 !default;\r\n$gray: #cacaca !default;\r\n$dark-gray: #8a8a8a !default;\r\n\r\n\r\n// ========== Global ========== //\r\n// Text color of the body.\r\n$global-font-color: #34495e !default;\r\n\r\n// Font size attribute applied to '<html>' and '<body>'.\r\n$global-font-size: 16px !default;\r\n\r\n// Global width of '<body>'.\r\n$global-body-width: 800px !default;\r\n\r\n// Padding of container main\r\n$global-container-padding: 0 20px !default;\r\n\r\n// Default line height for all type. `$global-lineheight` is 24px while `$global-font-size` is 16px.\r\n$global-lineheight: 1.5 !default;\r\n\r\n// Font family of the site.\r\n$global-font-family: 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif !default;\r\n\r\n// Serif font family of the site.\r\n$global-serif-font-family: Athelas, STHeiti, Microsoft Yahei, serif !default;\r\n\r\n// Background color of the site.\r\n$global-background: $white !default;\r\n\r\n// Headings font size of the site.\r\n$global-headings: (\r\n h1: 26px,\r\n h2: 24px,\r\n h3: 20px,\r\n h4: 16px,\r\n h5: 14px,\r\n h6: 14px\r\n) !default;\r\n\r\n\r\n// ========== Header ========== //\r\n// Padding of the site header.\r\n$header-padding: 20px 20px !default;\r\n\r\n// Font family: Chancery\r\n@font-face {\r\n font-family: 'Chancery';\r\n src: url('../fonts/chancery/apple-chancery-webfont.eot');\r\n src: local('Apple Chancery'), url('../fonts/chancery/apple-chancery-webfont.eot?#iefix') format('embedded-opentype'),\r\n url('../fonts/chancery/apple-chancery-webfont.woff2') format('woff2'),\r\n url('../fonts/chancery/apple-chancery-webfont.woff') format('woff'),\r\n url('../fonts/chancery/apple-chancery-webfont.ttf') format('truetype'),\r\n url('../fonts/chancery/apple-chancery-webfont.svg#apple-chancery') format('svg');\r\n font-weight: lighter;\r\n font-style: normal;\r\n}\r\n\r\n// Font size of the logo.\r\n$logo-font-size: 48px !default;\r\n\r\n// Font family of the logo.\r\n$logo-font-family: 'Chancery', cursive, LiSu, sans-serif !default;\r\n\r\n// Margin of menu item.\r\n$menu-item-margin-left: 10px !default;\r\n\r\n// Margin of menu item in mobile.\r\n$menu-item-mobile-margin: 5px !default;\r\n\r\n// Font size of menu item link.\r\n$menu-link-font-size: 18px !default;\r\n\r\n// Height of the mobile header.\r\n$mobile-navbar-height: 50px !default;\r\n\r\n// ========== Post ========== //\r\n// Margin bottom of post list.\r\n$post-list-margin-bottom: 20px !default;\r\n\r\n// Padding of the post.\r\n$post-padding: 1.5em 0 !default;\r\n\r\n// Border top of the post + post.\r\n$post-border: 1px solid $light-gray !default;\r\n\r\n// Font size of post title.\r\n$post-title-font-size: 27px !default;\r\n\r\n// Font weight of post title.\r\n$post-title-font-weight: 400 !default;\r\n\r\n// Margin top of the post meta (post time).\r\n$post-meta-margin-top: 5px !default;\r\n\r\n// Font color of the post meta.\r\n$post-meta-font-color: $dark-gray !default;\r\n\r\n// Border bottom of the read more link when hover it.\r\n$post-readMore-border-bottom: 1px solid $theme-color !default;\r\n\r\n// Margin top of the post footer.\r\n$post-footer-margin-top: 20px !default;\r\n\r\n// Border top of post footer.\r\n$post-footer-border-top: 1px solid $light-gray !default;\r\n\r\n// Padding of the post tags.\r\n$post-tags-padding: 15px 0 !default;\r\n\r\n// Font size of post pagination.\r\n$post-nav-font-size: 18px !default;\r\n\r\n\r\n// ========== TOC ========== //\r\n// Width of the post toc.\r\n$post-toc-width: 200px !default;\r\n\r\n// Backgroud color of the post toc.\r\n$post-toc-backgroud: rgba($deputy-color, 0.6) !default;\r\n\r\n// Margin left of the post toc.\r\n$post-toc-margin-left: $global-body-width - 15px !default;\r\n\r\n// Font size of the post toc title.\r\n$post-toc-title-size: 20px !default;\r\n\r\n// Font size of the post toc content.\r\n$post-toc-content: 15px !default;\r\n\r\n// List style of the post toc list.\r\n$post-toc-list-style: square !default;\r\n\r\n// Max screen media of the post toc.\r\n$toc-max-sreen-width: 2 * $post-toc-width + $post-toc-margin-left !default;\r\n\r\n// ========== Content ========== //\r\n// Headings anchor.\r\n$content-headings-anchor: \"\" !default;\r\n\r\n// Border bottom of the link when hover it.\r\n$content-link-border: 1px solid $theme-color !default;\r\n\r\n// Background color of the blockquote.\r\n$content-blockquote-backgroud: rgba($theme-color, 0.05) !default;\r\n\r\n// Border left of the blockquote.\r\n$content-blockquote-border-left: 3px solid rgba($theme-color, 0.3) !default;\r\n\r\n// Border color of the table.\r\n$content-table-border-color: darken($deputy-color, 3%) !default;\r\n\r\n// ========== Code ========== //\r\n// Color of the code.\r\n$code-color: #c7254e !default;\r\n\r\n// Font size of code.\r\n$code-font-size: 13px !default;\r\n\r\n// Font family of the code.\r\n$code-font-family: Consolas, Monaco, Menlo, Consolas, monospace !default;\r\n\r\n// Color of code highlight, solarized.\r\n$code-highlight-color: (\r\n comment: #93a1a1,\r\n keyword: #859900,\r\n number: #2aa198,\r\n title: #268bd2,\r\n attribute: #b58900,\r\n symbol: #cb4b16,\r\n built_in: #dc322f,\r\n formula: #eee8d5\r\n) !default;\r\n\r\n// Code type list.\r\n$code-type-list: (\r\n // Custom code type\r\n language-bash: \"Bash\",\r\n language-c: \"C\",\r\n language-cs: \"C#\",\r\n language-cpp: \"C++\",\r\n language-css: \"CSS\",\r\n language-coffeescript: \"CoffeeScript\",\r\n language-html: \"HTML\",\r\n language-xml: \"XML\",\r\n language-http: \"HTTP\",\r\n language-json: \"JSON\",\r\n language-java: \"Java\",\r\n language-js: \"JavaScript\",\r\n language-javascript: \"JavaScript\",\r\n language-makefile: \"Makefile\",\r\n language-markdown: \"Markdown\",\r\n language-objectivec: \"Objective-C\",\r\n language-php: \"PHP\",\r\n language-perl: \"Perl\",\r\n language-python: \"Python\",\r\n language-ruby: \"Ruby\",\r\n language-sql: \"SQL\",\r\n language-shell: \"Shell\",\r\n\r\n language-erlang: \"Erlang\",\r\n language-go: \"Go\",\r\n language-groovy: \"Groovy\",\r\n language-haskell: \"Haskell\",\r\n language-kotlin: \"Kotlin\",\r\n language-less: \"Less\",\r\n language-lisp: \"Lisp\",\r\n language-lua: \"Lua\",\r\n language-matlab: \"Matlab\",\r\n language-rust: \"Rust\",\r\n language-scss: \"Scss\",\r\n language-scala: \"Scala\",\r\n language-swift: \"Swift\",\r\n language-typescript: \"TypeScript\",\r\n language-yml: \"YAML\",\r\n language-yaml: \"YAML\",\r\n language-toml: \"TOML\"\r\n) !default;\r\n\r\n// Color of the code background.\r\n$code-background: $deputy-color !default;\r\n\r\n\r\n// ========== Pagination ========== //\r\n// Margin of the pagination.\r\n$pagination-margin: 2em 0 !default;\r\n\r\n// Font size of the pagination (Without post, post pagination see line 140).\r\n$pagination-font-size: 20px !default;\r\n\r\n\r\n// ========== Footer ========== //\r\n// Margin top of the footer.\r\n$footer-margin-top: 2em !default;\r\n\r\n// Margin left of the social link.\r\n$social-link-margin-left: 10px !default;\r\n\r\n// Font size of the social icon.\r\n$social-icon-font-size: 30px !default;\r\n\r\n// Margin of the copyright.\r\n$copyright-margin: 10px 0 !default;\r\n\r\n\r\n// ========== Archive ========== //\r\n// Margin of the archive.\r\n$archive-margin: 2em 0px !default;\r\n\r\n// Max width of the archive.\r\n$archive-max-width: 550px !default;\r\n\r\n// Font size of the archive name.\r\n$archive-name-font-size: 30px !default;\r\n\r\n// Font size of the collection title.\r\n$collection-title-font-size: 28px !default;\r\n\r\n// Padding of the archive post.\r\n$archive-post-padding: 3px 20px !default;\r\n\r\n// Padding of the archive post in mobile.\r\n$archive-post-mobile-padding: 5px 10px !default;\r\n\r\n// Font size of the archive post time in mobile.\r\n$archive-post-mobile-time-font-size: 13px !default;\r\n\r\n// Border left of the archive post, use $archive-post-hover-border-left when hover it.\r\n$archive-post-border-left: 1px solid $gray !default;\r\n$archive-post-hover-border-left: 3px solid $theme-color !default;\r\n\r\n// Transition of the archive post when hover it.\r\n$archive-post-hover-transition: 0.2s ease-out !default;\r\n\r\n// Transform of the archive post when hover it.\r\n$archive-post-hover-transform: translateX(4px) !default;\r\n\r\n\r\n// ========== Tags ========== //\r\n// Font soze of the tag cloud title.\r\n$tag-cloud-title-size: 18px !default;\r\n\r\n// Border bottom of the tag cloud title.\r\n$tag-cloud-title-border-bottom: 2px solid $theme-color !default;\r\n\r\n// Margin of the tag cloud tags link.\r\n$tag-cloud-tags-link-margin: 5px 10px !default;\r\n\r\n\r\n// ========== Categories ========== //\r\n// Font soze of the categories title.\r\n$categories-title-size: 18px !default;\r\n\r\n// Border bottom of the categories title.\r\n$categories-title-border-bottom: 2px solid $theme-color !default;\r\n\r\n// Margin of the categories tags link.\r\n$categories-tags-link-margin: 5px 10px !default;\r\n\r\n// Font size of the category count\r\n$category-count-font-size: 12px !default;\r\n\n\n\n// WEBPACK FOOTER //\n// ./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_variables.scss","/*! normalize.css v3.0.2 | MIT License | git.io/normalize */\r\n\r\n/**\r\n * 1. Set default font family to sans-serif.\r\n * 2. Prevent iOS text size adjust after orientation change, without disabling\r\n * user zoom.\r\n */\r\n\r\nhtml {\r\n font-family: sans-serif; /* 1 */\r\n -ms-text-size-adjust: 100%; /* 2 */\r\n -webkit-text-size-adjust: 100%; /* 2 */\r\n}\r\n\r\n/**\r\n * Remove default margin.\r\n */\r\n\r\nbody {\r\n margin: 0;\r\n}\r\n\r\n/* HTML5 display definitions\r\n ========================================================================== */\r\n\r\n/**\r\n * Correct `block` display not defined for any HTML5 element in IE 8/9.\r\n * Correct `block` display not defined for `details` or `summary` in IE 10/11\r\n * and Firefox.\r\n * Correct `block` display not defined for `main` in IE 11.\r\n */\r\n\r\narticle,\r\naside,\r\ndetails,\r\nfigcaption,\r\nfigure,\r\nfooter,\r\nheader,\r\nhgroup,\r\nmain,\r\nmenu,\r\nnav,\r\nsection,\r\nsummary {\r\n display: block;\r\n}\r\n\r\n/**\r\n * 1. Correct `inline-block` display not defined in IE 8/9.\r\n * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.\r\n */\r\n\r\naudio,\r\ncanvas,\r\nprogress,\r\nvideo {\r\n display: inline-block; /* 1 */\r\n vertical-align: baseline; /* 2 */\r\n}\r\n\r\n/**\r\n * Prevent modern browsers from displaying `audio` without controls.\r\n * Remove excess height in iOS 5 devices.\r\n */\r\n\r\naudio:not([controls]) {\r\n display: none;\r\n height: 0;\r\n}\r\n\r\n/**\r\n * Address `[hidden]` styling not present in IE 8/9/10.\r\n * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.\r\n */\r\n\r\n[hidden],\r\ntemplate {\r\n display: none;\r\n}\r\n\r\n/* Links\r\n ========================================================================== */\r\n\r\n/**\r\n * Remove the gray background color from active links in IE 10.\r\n */\r\n\r\na {\r\n background-color: transparent;\r\n}\r\n\r\n/**\r\n * Improve readability when focused and also mouse hovered in all browsers.\r\n */\r\n\r\na:active,\r\na:hover {\r\n outline: 0;\r\n}\r\n\r\n/* Text-level semantics\r\n ========================================================================== */\r\n\r\n/**\r\n * Address styling not present in IE 8/9/10/11, Safari, and Chrome.\r\n */\r\n\r\nabbr[title] {\r\n border-bottom: 1px dotted;\r\n}\r\n\r\n/**\r\n * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.\r\n */\r\n\r\nb,\r\nstrong {\r\n font-weight: bold;\r\n}\r\n\r\n/**\r\n * Address styling not present in Safari and Chrome.\r\n */\r\n\r\ndfn {\r\n font-style: italic;\r\n}\r\n\r\n/**\r\n * Address variable `h1` font-size and margin within `section` and `article`\r\n * contexts in Firefox 4+, Safari, and Chrome.\r\n */\r\n\r\nh1 {\r\n font-size: 2em;\r\n margin: 0.67em 0;\r\n}\r\n\r\n/**\r\n * Address styling not present in IE 8/9.\r\n */\r\n\r\nmark {\r\n background: #ff0;\r\n color: #000;\r\n}\r\n\r\n/**\r\n * Address inconsistent and variable font size in all browsers.\r\n */\r\n\r\nsmall {\r\n font-size: 80%;\r\n}\r\n\r\n/**\r\n * Prevent `sub` and `sup` affecting `line-height` in all browsers.\r\n */\r\n\r\nsub,\r\nsup {\r\n font-size: 75%;\r\n line-height: 0;\r\n position: relative;\r\n vertical-align: baseline;\r\n}\r\n\r\nsup {\r\n top: -0.5em;\r\n}\r\n\r\nsub {\r\n bottom: -0.25em;\r\n}\r\n\r\n/* Embedded content\r\n ========================================================================== */\r\n\r\n/**\r\n * Remove border when inside `a` element in IE 8/9/10.\r\n */\r\n\r\nimg {\r\n border: 0;\r\n}\r\n\r\n/**\r\n * Correct overflow not hidden in IE 9/10/11.\r\n */\r\n\r\nsvg:not(:root) {\r\n overflow: hidden;\r\n}\r\n\r\n/* Grouping content\r\n ========================================================================== */\r\n\r\n/**\r\n * Address margin not present in IE 8/9 and Safari.\r\n */\r\n\r\nfigure {\r\n margin: 1em 40px;\r\n}\r\n\r\n/**\r\n * Address differences between Firefox and other browsers.\r\n */\r\n\r\nhr {\r\n -moz-box-sizing: content-box;\r\n box-sizing: content-box;\r\n height: 0;\r\n}\r\n\r\n/**\r\n * Contain overflow in all browsers.\r\n */\r\n\r\npre {\r\n overflow: auto;\r\n}\r\n\r\n/**\r\n * Address odd `em`-unit font size rendering in all browsers.\r\n */\r\n\r\ncode,\r\nkbd,\r\npre,\r\nsamp {\r\n font-family: monospace, monospace;\r\n font-size: 1em;\r\n}\r\n\r\n/* Forms\r\n ========================================================================== */\r\n\r\n/**\r\n * Known limitation: by default, Chrome and Safari on OS X allow very limited\r\n * styling of `select`, unless a `border` property is set.\r\n */\r\n\r\n/**\r\n * 1. Correct color not being inherited.\r\n * Known issue: affects color of disabled elements.\r\n * 2. Correct font properties not being inherited.\r\n * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.\r\n */\r\n\r\nbutton,\r\ninput,\r\noptgroup,\r\nselect,\r\ntextarea {\r\n color: inherit; /* 1 */\r\n font: inherit; /* 2 */\r\n margin: 0; /* 3 */\r\n}\r\n\r\n/**\r\n * Address `overflow` set to `hidden` in IE 8/9/10/11.\r\n */\r\n\r\nbutton {\r\n overflow: visible;\r\n}\r\n\r\n/**\r\n * Address inconsistent `text-transform` inheritance for `button` and `select`.\r\n * All other form control elements do not inherit `text-transform` values.\r\n * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.\r\n * Correct `select` style inheritance in Firefox.\r\n */\r\n\r\nbutton,\r\nselect {\r\n text-transform: none;\r\n}\r\n\r\n/**\r\n * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`\r\n * and `video` controls.\r\n * 2. Correct inability to style clickable `input` types in iOS.\r\n * 3. Improve usability and consistency of cursor style between image-type\r\n * `input` and others.\r\n */\r\n\r\nbutton,\r\nhtml input[type=\"button\"], /* 1 */\r\ninput[type=\"reset\"],\r\ninput[type=\"submit\"] {\r\n -webkit-appearance: button; /* 2 */\r\n cursor: pointer; /* 3 */\r\n}\r\n\r\n/**\r\n * Re-set default cursor for disabled elements.\r\n */\r\n\r\nbutton[disabled],\r\nhtml input[disabled] {\r\n cursor: default;\r\n}\r\n\r\n/**\r\n * Remove inner padding and border in Firefox 4+.\r\n */\r\n\r\nbutton::-moz-focus-inner,\r\ninput::-moz-focus-inner {\r\n border: 0;\r\n padding: 0;\r\n}\r\n\r\n/**\r\n * Address Firefox 4+ setting `line-height` on `input` using `!important` in\r\n * the UA stylesheet.\r\n */\r\n\r\ninput {\r\n line-height: normal;\r\n}\r\n\r\n/**\r\n * It's recommended that you don't attempt to style these elements.\r\n * Firefox's implementation doesn't respect box-sizing, padding, or width.\r\n *\r\n * 1. Address box sizing set to `content-box` in IE 8/9/10.\r\n * 2. Remove excess padding in IE 8/9/10.\r\n */\r\n\r\ninput[type=\"checkbox\"],\r\ninput[type=\"radio\"] {\r\n box-sizing: border-box; /* 1 */\r\n padding: 0; /* 2 */\r\n}\r\n\r\n/**\r\n * Fix the cursor style for Chrome's increment/decrement buttons. For certain\r\n * `font-size` values of the `input`, it causes the cursor style of the\r\n * decrement button to change from `default` to `text`.\r\n */\r\n\r\ninput[type=\"number\"]::-webkit-inner-spin-button,\r\ninput[type=\"number\"]::-webkit-outer-spin-button {\r\n height: auto;\r\n}\r\n\r\n/**\r\n * 1. Address `appearance` set to `searchfield` in Safari and Chrome.\r\n * 2. Address `box-sizing` set to `border-box` in Safari and Chrome\r\n * (include `-moz` to future-proof).\r\n */\r\n\r\ninput[type=\"search\"] {\r\n -webkit-appearance: textfield; /* 1 */\r\n -moz-box-sizing: content-box;\r\n -webkit-box-sizing: content-box; /* 2 */\r\n box-sizing: content-box;\r\n}\r\n\r\n/**\r\n * Remove inner padding and search cancel button in Safari and Chrome on OS X.\r\n * Safari (but not Chrome) clips the cancel button when the search input has\r\n * padding (and `textfield` appearance).\r\n */\r\n\r\ninput[type=\"search\"]::-webkit-search-cancel-button,\r\ninput[type=\"search\"]::-webkit-search-decoration {\r\n -webkit-appearance: none;\r\n}\r\n\r\n/**\r\n * Define consistent border, margin, and padding.\r\n */\r\n\r\nfieldset {\r\n border: 1px solid #c0c0c0;\r\n margin: 0 2px;\r\n padding: 0.35em 0.625em 0.75em;\r\n}\r\n\r\n/**\r\n * 1. Correct `color` not being inherited in IE 8/9/10/11.\r\n * 2. Remove padding so people aren't caught out if they zero out fieldsets.\r\n */\r\n\r\nlegend {\r\n border: 0; /* 1 */\r\n padding: 0; /* 2 */\r\n}\r\n\r\n/**\r\n * Remove default vertical scrollbar in IE 8/9/10/11.\r\n */\r\n\r\ntextarea {\r\n overflow: auto;\r\n}\r\n\r\n/**\r\n * Don't inherit the `font-weight` (applied by a rule above).\r\n * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.\r\n */\r\n\r\noptgroup {\r\n font-weight: bold;\r\n}\r\n\r\n/* Tables\r\n ========================================================================== */\r\n\r\n/**\r\n * Remove most spacing between table cells.\r\n */\r\n\r\ntable {\r\n border-collapse: collapse;\r\n border-spacing: 0;\r\n}\r\n\r\ntd,\r\nth {\r\n padding: 0;\r\n}\n\n\n// WEBPACK FOOTER //\n// ./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_common/_normalize.scss","@charset \"UTF-8\";\n@font-face {\n font-family: 'Chancery';\n src: url(\"../fonts/chancery/apple-chancery-webfont.eot\");\n src: local(\"Apple Chancery\"), url(\"../fonts/chancery/apple-chancery-webfont.eot?#iefix\") format(\"embedded-opentype\"), url(\"../fonts/chancery/apple-chancery-webfont.woff2\") format(\"woff2\"), url(\"../fonts/chancery/apple-chancery-webfont.woff\") format(\"woff\"), url(\"../fonts/chancery/apple-chancery-webfont.ttf\") format(\"truetype\"), url(\"../fonts/chancery/apple-chancery-webfont.svg#apple-chancery\") format(\"svg\");\n font-weight: lighter;\n font-style: normal; }\n\n/*! normalize.css v3.0.2 | MIT License | git.io/normalize */\n/**\r\n * 1. Set default font family to sans-serif.\r\n * 2. Prevent iOS text size adjust after orientation change, without disabling\r\n * user zoom.\r\n */\nhtml {\n font-family: sans-serif;\n /* 1 */\n -ms-text-size-adjust: 100%;\n /* 2 */\n -webkit-text-size-adjust: 100%;\n /* 2 */ }\n\n/**\r\n * Remove default margin.\r\n */\nbody {\n margin: 0; }\n\n/* HTML5 display definitions\r\n ========================================================================== */\n/**\r\n * Correct `block` display not defined for any HTML5 element in IE 8/9.\r\n * Correct `block` display not defined for `details` or `summary` in IE 10/11\r\n * and Firefox.\r\n * Correct `block` display not defined for `main` in IE 11.\r\n */\narticle,\naside,\ndetails,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmain,\nmenu,\nnav,\nsection,\nsummary {\n display: block; }\n\n/**\r\n * 1. Correct `inline-block` display not defined in IE 8/9.\r\n * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.\r\n */\naudio,\ncanvas,\nprogress,\nvideo {\n display: inline-block;\n /* 1 */\n vertical-align: baseline;\n /* 2 */ }\n\n/**\r\n * Prevent modern browsers from displaying `audio` without controls.\r\n * Remove excess height in iOS 5 devices.\r\n */\naudio:not([controls]) {\n display: none;\n height: 0; }\n\n/**\r\n * Address `[hidden]` styling not present in IE 8/9/10.\r\n * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.\r\n */\n[hidden],\ntemplate {\n display: none; }\n\n/* Links\r\n ========================================================================== */\n/**\r\n * Remove the gray background color from active links in IE 10.\r\n */\na {\n background-color: transparent; }\n\n/**\r\n * Improve readability when focused and also mouse hovered in all browsers.\r\n */\na:active,\na:hover {\n outline: 0; }\n\n/* Text-level semantics\r\n ========================================================================== */\n/**\r\n * Address styling not present in IE 8/9/10/11, Safari, and Chrome.\r\n */\nabbr[title] {\n border-bottom: 1px dotted; }\n\n/**\r\n * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.\r\n */\nb,\nstrong {\n font-weight: bold; }\n\n/**\r\n * Address styling not present in Safari and Chrome.\r\n */\ndfn {\n font-style: italic; }\n\n/**\r\n * Address variable `h1` font-size and margin within `section` and `article`\r\n * contexts in Firefox 4+, Safari, and Chrome.\r\n */\nh1 {\n font-size: 2em;\n margin: 0.67em 0; }\n\n/**\r\n * Address styling not present in IE 8/9.\r\n */\nmark {\n background: #ff0;\n color: #000; }\n\n/**\r\n * Address inconsistent and variable font size in all browsers.\r\n */\nsmall {\n font-size: 80%; }\n\n/**\r\n * Prevent `sub` and `sup` affecting `line-height` in all browsers.\r\n */\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline; }\n\nsup {\n top: -0.5em; }\n\nsub {\n bottom: -0.25em; }\n\n/* Embedded content\r\n ========================================================================== */\n/**\r\n * Remove border when inside `a` element in IE 8/9/10.\r\n */\nimg {\n border: 0; }\n\n/**\r\n * Correct overflow not hidden in IE 9/10/11.\r\n */\nsvg:not(:root) {\n overflow: hidden; }\n\n/* Grouping content\r\n ========================================================================== */\n/**\r\n * Address margin not present in IE 8/9 and Safari.\r\n */\nfigure {\n margin: 1em 40px; }\n\n/**\r\n * Address differences between Firefox and other browsers.\r\n */\nhr {\n -moz-box-sizing: content-box;\n box-sizing: content-box;\n height: 0; }\n\n/**\r\n * Contain overflow in all browsers.\r\n */\npre {\n overflow: auto; }\n\n/**\r\n * Address odd `em`-unit font size rendering in all browsers.\r\n */\ncode,\nkbd,\npre,\nsamp {\n font-family: monospace, monospace;\n font-size: 1em; }\n\n/* Forms\r\n ========================================================================== */\n/**\r\n * Known limitation: by default, Chrome and Safari on OS X allow very limited\r\n * styling of `select`, unless a `border` property is set.\r\n */\n/**\r\n * 1. Correct color not being inherited.\r\n * Known issue: affects color of disabled elements.\r\n * 2. Correct font properties not being inherited.\r\n * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.\r\n */\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n color: inherit;\n /* 1 */\n font: inherit;\n /* 2 */\n margin: 0;\n /* 3 */ }\n\n/**\r\n * Address `overflow` set to `hidden` in IE 8/9/10/11.\r\n */\nbutton {\n overflow: visible; }\n\n/**\r\n * Address inconsistent `text-transform` inheritance for `button` and `select`.\r\n * All other form control elements do not inherit `text-transform` values.\r\n * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.\r\n * Correct `select` style inheritance in Firefox.\r\n */\nbutton,\nselect {\n text-transform: none; }\n\n/**\r\n * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`\r\n * and `video` controls.\r\n * 2. Correct inability to style clickable `input` types in iOS.\r\n * 3. Improve usability and consistency of cursor style between image-type\r\n * `input` and others.\r\n */\nbutton,\nhtml input[type=\"button\"],\ninput[type=\"reset\"],\ninput[type=\"submit\"] {\n -webkit-appearance: button;\n /* 2 */\n cursor: pointer;\n /* 3 */ }\n\n/**\r\n * Re-set default cursor for disabled elements.\r\n */\nbutton[disabled],\nhtml input[disabled] {\n cursor: default; }\n\n/**\r\n * Remove inner padding and border in Firefox 4+.\r\n */\nbutton::-moz-focus-inner,\ninput::-moz-focus-inner {\n border: 0;\n padding: 0; }\n\n/**\r\n * Address Firefox 4+ setting `line-height` on `input` using `!important` in\r\n * the UA stylesheet.\r\n */\ninput {\n line-height: normal; }\n\n/**\r\n * It's recommended that you don't attempt to style these elements.\r\n * Firefox's implementation doesn't respect box-sizing, padding, or width.\r\n *\r\n * 1. Address box sizing set to `content-box` in IE 8/9/10.\r\n * 2. Remove excess padding in IE 8/9/10.\r\n */\ninput[type=\"checkbox\"],\ninput[type=\"radio\"] {\n box-sizing: border-box;\n /* 1 */\n padding: 0;\n /* 2 */ }\n\n/**\r\n * Fix the cursor style for Chrome's increment/decrement buttons. For certain\r\n * `font-size` values of the `input`, it causes the cursor style of the\r\n * decrement button to change from `default` to `text`.\r\n */\ninput[type=\"number\"]::-webkit-inner-spin-button,\ninput[type=\"number\"]::-webkit-outer-spin-button {\n height: auto; }\n\n/**\r\n * 1. Address `appearance` set to `searchfield` in Safari and Chrome.\r\n * 2. Address `box-sizing` set to `border-box` in Safari and Chrome\r\n * (include `-moz` to future-proof).\r\n */\ninput[type=\"search\"] {\n -webkit-appearance: textfield;\n /* 1 */\n -moz-box-sizing: content-box;\n -webkit-box-sizing: content-box;\n /* 2 */\n box-sizing: content-box; }\n\n/**\r\n * Remove inner padding and search cancel button in Safari and Chrome on OS X.\r\n * Safari (but not Chrome) clips the cancel button when the search input has\r\n * padding (and `textfield` appearance).\r\n */\ninput[type=\"search\"]::-webkit-search-cancel-button,\ninput[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none; }\n\n/**\r\n * Define consistent border, margin, and padding.\r\n */\nfieldset {\n border: 1px solid #c0c0c0;\n margin: 0 2px;\n padding: 0.35em 0.625em 0.75em; }\n\n/**\r\n * 1. Correct `color` not being inherited in IE 8/9/10/11.\r\n * 2. Remove padding so people aren't caught out if they zero out fieldsets.\r\n */\nlegend {\n border: 0;\n /* 1 */\n padding: 0;\n /* 2 */ }\n\n/**\r\n * Remove default vertical scrollbar in IE 8/9/10/11.\r\n */\ntextarea {\n overflow: auto; }\n\n/**\r\n * Don't inherit the `font-weight` (applied by a rule above).\r\n * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.\r\n */\noptgroup {\n font-weight: bold; }\n\n/* Tables\r\n ========================================================================== */\n/**\r\n * Remove most spacing between table cells.\r\n */\ntable {\n border-collapse: collapse;\n border-spacing: 0; }\n\ntd,\nth {\n padding: 0; }\n\nhtml {\n font-size: 16px;\n box-sizing: border-box; }\n\nbody {\n padding: 0;\n margin: 0;\n font-family: \"Source Sans Pro\", \"Helvetica Neue\", Arial, sans-serif;\n font-weight: normal;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n line-height: 1.5;\n color: #34495e;\n background: #fefefe;\n scroll-behavior: smooth;\n border-top: 3px solid #c05b4d; }\n\n@media screen and (max-width: 800px) {\n body {\n border-top: 0; } }\n\n::selection {\n background: #c05b4d;\n color: #fff; }\n\nimg {\n max-width: 100%;\n height: auto;\n display: inline-block;\n vertical-align: middle; }\n\na {\n color: #34495e;\n text-decoration: none; }\n\nh1 {\n font-size: 26px;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n\nh2 {\n font-size: 24px;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n\nh3 {\n font-size: 20px;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n\nh4 {\n font-size: 16px;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n\nh5 {\n font-size: 14px;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n\nh6 {\n font-size: 14px;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n\n.container {\n margin: 0 auto;\n width: 800px; }\n\n@media screen and (max-width: 800px) {\n .container {\n width: 100%;\n box-shadow: -1px -5px 5px #cacaca; } }\n\n.content-wrapper {\n padding: 0 20px; }\n\n.video-container {\n position: relative;\n padding-bottom: 56.25%;\n /* 16:9 */\n padding-top: 25px;\n height: 0; }\n\n.video-container iframe {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%; }\n\n@font-face {\n font-family: 'iconfont';\n /* project id 96542 */\n src: url(\"../fonts/iconfont/iconfont.eot\");\n src: url(\"../fonts/iconfont/iconfont.eot#iefix\") format(\"embedded-opentype\"), url(\"../fonts/iconfont/iconfont.woff\") format(\"woff\"), url(\"../fonts/iconfont/iconfont.ttf\") format(\"truetype\"), url(\"../fonts/iconfont/iconfont.svg#iconfont\") format(\"svg\"); }\n\n.iconfont {\n font-family: \"iconfont\" !important;\n font-style: normal;\n -webkit-font-smoothing: antialiased;\n -webkit-text-stroke-width: 0.2px;\n -moz-osx-font-smoothing: grayscale;\n cursor: pointer; }\n\n.icon-instagram:before {\n font-size: .95em;\n content: \"\\e611\";\n position: relative;\n top: -1px; }\n\n.icon-douban:before {\n content: \"\\e610\"; }\n\n.icon-tumblr:before {\n content: \"\\e69f\";\n font-size: .85em;\n position: relative;\n top: -4px; }\n\n.icon-linkedin:before {\n content: \"\\e60d\";\n position: relative;\n top: -4px; }\n\n.icon-twitter:before {\n content: \"\\e600\"; }\n\n.icon-weibo:before {\n content: \"\\e602\"; }\n\n.icon-stack-overflow:before {\n content: \"\\e603\";\n font-size: .85em;\n position: relative;\n top: -4px; }\n\n.icon-email:before {\n content: \"\\e605\";\n position: relative;\n top: -2px; }\n\n.icon-facebook:before {\n content: \"\\e601\";\n font-size: .95em;\n position: relative;\n top: -2px; }\n\n.icon-github:before {\n content: \"\\e606\";\n position: relative;\n top: -3px; }\n\n.icon-rss:before {\n content: \"\\e604\"; }\n\n.icon-google:before {\n content: \"\\e609\"; }\n\n.icon-zhihu:before {\n content: \"\\e607\";\n font-size: .9em;\n position: relative;\n top: -2px; }\n\n.icon-pocket:before {\n content: \"\\e856\"; }\n\n/* Generic Icon */\n.icon-heart:before {\n content: \"\\e608\"; }\n\n.icon-right:before {\n content: \"\\e60a\"; }\n\n.icon-left:before {\n content: \"\\e60b\"; }\n\n.icon-up:before {\n content: \"\\e60c\"; }\n\n.icon-close:before {\n content: \"\\e60f\"; }\n\n.header {\n padding: 20px 20px; }\n .header:before, .header:after {\n content: \" \";\n display: table; }\n .header:after {\n clear: both; }\n .header .logo-wrapper {\n float: left; }\n .header .logo-wrapper .logo {\n font-size: 48px;\n font-family: \"Chancery\", cursive, LiSu, sans-serif; }\n @media screen and (max-width: 800px) {\n .header .logo-wrapper {\n display: none; } }\n .header .site-navbar {\n float: right; }\n .header .site-navbar .menu {\n display: inline-block;\n position: relative;\n padding-left: 0;\n padding-right: 25px;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n .header .site-navbar .menu .menu-item {\n display: inline-block;\n display: inline-block;\n vertical-align: middle;\n transform: translateZ(0);\n backface-visibility: hidden;\n box-shadow: 0 0 1px transparent;\n position: relative;\n overflow: hidden; }\n .header .site-navbar .menu .menu-item + .menu-item {\n margin-left: 10px; }\n .header .site-navbar .menu .menu-item:before {\n content: '';\n position: absolute;\n z-index: -1;\n height: 2px;\n bottom: 0;\n left: 51%;\n right: 51%;\n background: #c05b4d;\n transition-duration: 0.2s;\n transition-property: right, left;\n transition-timing-function: ease-out; }\n .header .site-navbar .menu .menu-item.active:before, .header .site-navbar .menu .menu-item:active:before, .header .site-navbar .menu .menu-item:focus:before, .header .site-navbar .menu .menu-item:hover:before {\n right: 0;\n left: 0; }\n .header .site-navbar .menu .menu-item-link {\n font-size: 18px; }\n @media screen and (max-width: 800px) {\n .header .site-navbar {\n display: none; } }\n\n@media screen and (max-width: 800px) {\n .header {\n padding: 50px 0 0;\n text-align: center; } }\n\n.posts {\n margin-bottom: 20px;\n border-bottom: 1px solid #e6e6e6; }\n\n.post {\n padding: 1.5em 0; }\n .post + .post {\n border-top: 1px solid #e6e6e6; }\n .post .post-header {\n margin-bottom: 20px; }\n .post .post-header .post-title {\n margin: 0;\n font-size: 27px;\n font-weight: 400;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n .post .post-header .post-link {\n display: inline-block;\n vertical-align: middle;\n transform: translateZ(0);\n backface-visibility: hidden;\n box-shadow: 0 0 1px transparent;\n position: relative;\n overflow: hidden; }\n .post .post-header .post-link:before {\n content: '';\n position: absolute;\n z-index: -1;\n height: 2px;\n bottom: 0;\n left: 51%;\n right: 51%;\n background: #c05b4d;\n transition-duration: 0.2s;\n transition-property: right, left;\n transition-timing-function: ease-out; }\n .post .post-header .post-link.active:before, .post .post-header .post-link:active:before, .post .post-header .post-link:focus:before, .post .post-header .post-link:hover:before {\n right: 0;\n left: 0; }\n .post .post-header .post-meta {\n font-size: 14px;\n color: #8a8a8a; }\n .post .post-header .post-meta .post-time {\n font-size: 15px; }\n .post .post-header .post-meta .post-category {\n display: inline; }\n .post .post-header .post-meta .post-category a {\n color: inherit; }\n .post .post-header .post-meta .post-category a::before {\n content: '·'; }\n .post .post-header .post-meta .post-category a:hover {\n color: #c05b4d; }\n .post .post-header .post-meta .more-meta::before {\n content: '·'; }\n .post .post-toc {\n position: absolute;\n width: 200px;\n margin-left: 785px;\n padding: 10px;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif;\n border-radius: 5px;\n background: rgba(248, 245, 236, 0.6);\n box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.125);\n word-wrap: break-word;\n box-sizing: border-box; }\n .post .post-toc .post-toc-title {\n margin: 0 10px;\n font-size: 20px;\n font-weight: 400;\n text-transform: uppercase; }\n .post .post-toc .post-toc-content {\n font-size: 15px; }\n .post .post-toc .post-toc-content.always-active ul {\n display: block; }\n .post .post-toc .post-toc-content > nav > ul {\n margin: 10px 0; }\n .post .post-toc .post-toc-content ul {\n padding-left: 20px;\n list-style: square; }\n .post .post-toc .post-toc-content ul ul {\n padding-left: 15px;\n display: none; }\n .post .post-toc .post-toc-content ul .has-active > ul {\n display: block; }\n .post .post-toc .post-toc-content .toc-link.active {\n color: #c05b4d; }\n @media screen and (max-width: 1185px) {\n .post .post-toc {\n display: none; } }\n .post .post-content {\n word-wrap: break-word; }\n .post .post-content h1 {\n font-weight: 400;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n .post .post-content h2 {\n font-weight: 400;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n .post .post-content h3 {\n font-weight: 400;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n .post .post-content h4 {\n font-weight: 400;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n .post .post-content h5 {\n font-weight: 400;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n .post .post-content h6 {\n font-weight: 400;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n .post .post-content a {\n color: #c05b4d;\n word-break: break-all; }\n .post .post-content a:hover {\n border-bottom: 1px solid #c05b4d; }\n .post .post-content a.fancybox {\n border: 0; }\n .post .post-content blockquote {\n margin: 2em 0;\n padding: 10px 20px;\n position: relative;\n color: rgba(52, 73, 94, 0.8);\n background-color: rgba(192, 91, 77, 0.05);\n border-left: 3px solid rgba(192, 91, 77, 0.3);\n box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.125); }\n .post .post-content blockquote p {\n margin: 0; }\n .post .post-content img {\n display: inline-block;\n max-width: 100%; }\n .post .post-content > table {\n max-width: 100%;\n margin: 10px 0;\n border-spacing: 0;\n box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.125); }\n .post .post-content > table thead {\n background: #f8f5ec; }\n .post .post-content > table th, .post .post-content > table td {\n padding: 5px 15px;\n border: 1px double #f4efe1; }\n .post .post-content > table tr:hover {\n background-color: #f8f5ec; }\n .post .post-content code, .post .post-content pre {\n padding: 7px;\n font-size: 13px;\n font-family: Consolas, Monaco, Menlo, Consolas, monospace;\n background: #f8f5ec; }\n .post .post-content code {\n padding: 3px 5px;\n border-radius: 4px;\n color: #c7254e; }\n .post .post-content figure.highlight {\n margin: 1em 0;\n border-radius: 5px;\n overflow-x: auto;\n box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.125);\n position: relative; }\n .post .post-content figure.highlight table {\n position: relative; }\n .post .post-content figure.highlight table::after {\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n padding: 2px 7px;\n font-size: 13px;\n font-weight: bold;\n color: #b1b1b1;\n background: #f4efe1;\n content: 'Code'; }\n .post .post-content figure.highlight.language-bash > table::after {\n content: \"Bash\"; }\n .post .post-content figure.highlight.language-c > table::after {\n content: \"C\"; }\n .post .post-content figure.highlight.language-cs > table::after {\n content: \"C#\"; }\n .post .post-content figure.highlight.language-cpp > table::after {\n content: \"C++\"; }\n .post .post-content figure.highlight.language-css > table::after {\n content: \"CSS\"; }\n .post .post-content figure.highlight.language-coffeescript > table::after {\n content: \"CoffeeScript\"; }\n .post .post-content figure.highlight.language-html > table::after {\n content: \"HTML\"; }\n .post .post-content figure.highlight.language-xml > table::after {\n content: \"XML\"; }\n .post .post-content figure.highlight.language-http > table::after {\n content: \"HTTP\"; }\n .post .post-content figure.highlight.language-json > table::after {\n content: \"JSON\"; }\n .post .post-content figure.highlight.language-java > table::after {\n content: \"Java\"; }\n .post .post-content figure.highlight.language-js > table::after {\n content: \"JavaScript\"; }\n .post .post-content figure.highlight.language-javascript > table::after {\n content: \"JavaScript\"; }\n .post .post-content figure.highlight.language-makefile > table::after {\n content: \"Makefile\"; }\n .post .post-content figure.highlight.language-markdown > table::after {\n content: \"Markdown\"; }\n .post .post-content figure.highlight.language-objectivec > table::after {\n content: \"Objective-C\"; }\n .post .post-content figure.highlight.language-php > table::after {\n content: \"PHP\"; }\n .post .post-content figure.highlight.language-perl > table::after {\n content: \"Perl\"; }\n .post .post-content figure.highlight.language-python > table::after {\n content: \"Python\"; }\n .post .post-content figure.highlight.language-ruby > table::after {\n content: \"Ruby\"; }\n .post .post-content figure.highlight.language-sql > table::after {\n content: \"SQL\"; }\n .post .post-content figure.highlight.language-shell > table::after {\n content: \"Shell\"; }\n .post .post-content figure.highlight.language-erlang > table::after {\n content: \"Erlang\"; }\n .post .post-content figure.highlight.language-go > table::after {\n content: \"Go\"; }\n .post .post-content figure.highlight.language-groovy > table::after {\n content: \"Groovy\"; }\n .post .post-content figure.highlight.language-haskell > table::after {\n content: \"Haskell\"; }\n .post .post-content figure.highlight.language-kotlin > table::after {\n content: \"Kotlin\"; }\n .post .post-content figure.highlight.language-less > table::after {\n content: \"Less\"; }\n .post .post-content figure.highlight.language-lisp > table::after {\n content: \"Lisp\"; }\n .post .post-content figure.highlight.language-lua > table::after {\n content: \"Lua\"; }\n .post .post-content figure.highlight.language-matlab > table::after {\n content: \"Matlab\"; }\n .post .post-content figure.highlight.language-rust > table::after {\n content: \"Rust\"; }\n .post .post-content figure.highlight.language-scss > table::after {\n content: \"Scss\"; }\n .post .post-content figure.highlight.language-scala > table::after {\n content: \"Scala\"; }\n .post .post-content figure.highlight.language-swift > table::after {\n content: \"Swift\"; }\n .post .post-content figure.highlight.language-typescript > table::after {\n content: \"TypeScript\"; }\n .post .post-content figure.highlight.language-yml > table::after {\n content: \"YAML\"; }\n .post .post-content figure.highlight.language-yaml > table::after {\n content: \"YAML\"; }\n .post .post-content figure.highlight.language-toml > table::after {\n content: \"TOML\"; }\n .post .post-content figure.highlight .code pre {\n margin: 0;\n padding: 30px 10px 10px; }\n .post .post-content figure.highlight .gutter {\n width: 10px;\n color: #cacaca; }\n .post .post-content figure.highlight .gutter pre {\n margin: 0;\n padding: 30px 7px 10px; }\n .post .post-content figure.highlight .line {\n height: 20px; }\n .post .post-content figure.highlight table, .post .post-content figure.highlight tr, .post .post-content figure.highlight td {\n margin: 0;\n padding: 0;\n width: 100%;\n border-collapse: collapse; }\n .post .post-content figure.highlight .code .hljs-comment,\n .post .post-content figure.highlight .code .hljs-quote {\n color: #93a1a1; }\n .post .post-content figure.highlight .code .hljs-keyword,\n .post .post-content figure.highlight .code .hljs-selector-tag,\n .post .post-content figure.highlight .code .hljs-addition {\n color: #859900; }\n .post .post-content figure.highlight .code .hljs-number,\n .post .post-content figure.highlight .code .hljs-string,\n .post .post-content figure.highlight .code .hljs-meta .hljs-meta-string,\n .post .post-content figure.highlight .code .hljs-literal,\n .post .post-content figure.highlight .code .hljs-doctag,\n .post .post-content figure.highlight .code .hljs-regexp {\n color: #2aa198; }\n .post .post-content figure.highlight .code .hljs-title,\n .post .post-content figure.highlight .code .hljs-section,\n .post .post-content figure.highlight .code .hljs-name,\n .post .post-content figure.highlight .code .hljs-selector-id,\n .post .post-content figure.highlight .code .hljs-selector-class {\n color: #268bd2; }\n .post .post-content figure.highlight .code .hljs-attribute,\n .post .post-content figure.highlight .code .hljs-attr,\n .post .post-content figure.highlight .code .hljs-variable,\n .post .post-content figure.highlight .code .hljs-template-variable,\n .post .post-content figure.highlight .code .hljs-class .hljs-title,\n .post .post-content figure.highlight .code .hljs-type {\n color: #b58900; }\n .post .post-content figure.highlight .code .hljs-symbol,\n .post .post-content figure.highlight .code .hljs-bullet,\n .post .post-content figure.highlight .code .hljs-subst,\n .post .post-content figure.highlight .code .hljs-meta,\n .post .post-content figure.highlight .code .hljs-meta .hljs-keyword,\n .post .post-content figure.highlight .code .hljs-selector-attr,\n .post .post-content figure.highlight .code .hljs-selector-pseudo,\n .post .post-content figure.highlight .code .hljs-link {\n color: #cb4b16; }\n .post .post-content figure.highlight .code .hljs-built_in,\n .post .post-content figure.highlight .code .hljs-deletion {\n color: #dc322f; }\n .post .post-content figure.highlight .code .hljs-formula {\n background: #eee8d5; }\n .post .post-content figure.highlight .code .hljs-emphasis {\n font-style: italic; }\n .post .post-content figure.highlight .code .hljs-strong {\n font-weight: bold; }\n .post .post-content .post-summary {\n margin-bottom: 1em; }\n .post .post-content .read-more .read-more-link {\n color: #c05b4d;\n font-size: 1.1em;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n .post .post-content .read-more .read-more-link:hover {\n border-bottom: 1px solid #c05b4d; }\n .post .post-content kbd {\n display: inline-block;\n padding: 0.25em;\n background-color: #fafafa;\n border: 1px solid #dbdbdb;\n border-bottom-color: #b5b5b5;\n border-radius: 3px;\n box-shadow: inset 0 -1px 0 #b5b5b5;\n font-size: 0.8em;\n line-height: 1.25;\n font-family: \"SFMono-Regular\",\"Liberation Mono\",\"Roboto Mono\",Menlo,Monaco,Consolas,\"Courier New\",Courier,monospace;\n color: #4a4a4a; }\n .post .post-content dl dt::after {\n content: ':'; }\n .post .post-content figure.center {\n text-align: center; }\n .post .post-content figure.right {\n text-align: right; }\n .post .post-content figure.left {\n text-align: left; }\n .post .post-content figure figcaption h4 {\n color: #b5b5b5;\n font-size: 0.9rem; }\n .post .post-content .task-list {\n list-style: none;\n padding-left: 1.5rem; }\n .post .post-content .align-center {\n text-align: center; }\n .post .post-content .align-right {\n text-align: right; }\n .post .post-content .align-left {\n text-align: left; }\n .post .post-content .MJXc-display {\n overflow-x: auto;\n overflow-y: hidden; }\n .post .post-copyright {\n margin-top: 20px;\n padding-top: 10px;\n border-top: 1px dashed #e6e6e6; }\n .post .post-copyright .copyright-item {\n margin: 5px 0; }\n .post .post-copyright .copyright-item a {\n color: #c05b4d;\n word-wrap: break-word; }\n .post .post-copyright .copyright-item a:hover {\n border-bottom: 1px solid #c05b4d; }\n .post .post-copyright .copyright-item .item-title {\n display: inline-block;\n min-width: 5rem;\n margin-right: .5rem;\n text-align: right; }\n .post .post-copyright .copyright-item .item-title:after {\n content: \" :\"; }\n .post .post-reward {\n margin-top: 20px;\n padding-top: 10px;\n text-align: center;\n border-top: 1px dashed #e6e6e6; }\n .post .post-reward .reward-button {\n margin: 15px 0;\n padding: 3px 7px;\n display: inline-block;\n color: #c05b4d;\n border: 1px solid #c05b4d;\n border-radius: 5px;\n cursor: pointer; }\n .post .post-reward .reward-button:hover {\n color: #fefefe;\n background-color: #c05b4d;\n transition: 0.5s; }\n .post .post-reward #reward:checked ~ .qr-code {\n display: block; }\n .post .post-reward #reward:checked ~ .reward-button {\n display: none; }\n .post .post-reward .qr-code {\n display: none; }\n .post .post-reward .qr-code .qr-code-image {\n display: inline-block;\n min-width: 200px;\n width: 40%;\n margin-top: 15px; }\n .post .post-reward .qr-code .qr-code-image span {\n display: inline-block;\n width: 100%;\n margin: 8px 0; }\n .post .post-reward .qr-code .image {\n width: 200px;\n height: 200px; }\n .post .post-footer {\n margin-top: 20px;\n border-top: 1px solid #e6e6e6;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n .post .post-footer .post-tags {\n padding: 15px 0; }\n .post .post-footer .post-tags a {\n margin-right: 5px;\n color: #c05b4d;\n word-break: break-all; }\n .post .post-footer .post-tags a::before {\n content: '#'; }\n .post .post-footer .post-nav {\n margin: 1em 0; }\n .post .post-footer .post-nav:before, .post .post-footer .post-nav:after {\n content: \" \";\n display: table; }\n .post .post-footer .post-nav:after {\n clear: both; }\n .post .post-footer .post-nav .prev,\n .post .post-footer .post-nav .next {\n font-weight: 600;\n font-size: 18px;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif;\n transition-property: transform;\n transition-timing-function: ease-out;\n transition-duration: 0.3s; }\n .post .post-footer .post-nav .prev {\n float: left; }\n .post .post-footer .post-nav .prev:hover {\n color: #c05b4d;\n transform: translateX(-4px); }\n .post .post-footer .post-nav .next {\n float: right; }\n .post .post-footer .post-nav .next:hover {\n color: #c05b4d;\n transform: translateX(4px); }\n .post .post-footer .post-nav .nav-mobile {\n display: none; }\n @media screen and (max-width: 800px) {\n .post .post-footer .post-nav .nav-default {\n display: none; }\n .post .post-footer .post-nav .nav-mobile {\n display: inline; } }\n .post .post-outdated .hint {\n position: relative;\n margin-top: 20px;\n margin-bottom: 20px;\n padding: 5px 10px;\n border-left: 4px solid #42acf3;\n background-color: #eff5ff;\n border-color: #42acf3; }\n .post .post-outdated .warn {\n position: relative;\n margin-top: 20px;\n margin-bottom: 20px;\n padding: 5px 10px;\n border-left: 4px solid #f9cf63;\n background-color: #ffffc0;\n border-color: #f9cf63; }\n\n.pagination {\n margin: 2em 0; }\n .pagination:before, .pagination:after {\n content: \" \";\n display: table; }\n .pagination:after {\n clear: both; }\n .pagination .prev,\n .pagination .next {\n font-weight: 600;\n font-size: 20px;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif;\n transition-property: transform;\n transition-timing-function: ease-out;\n transition-duration: 0.3s; }\n .pagination .prev {\n float: left; }\n .pagination .prev:hover {\n color: #c05b4d;\n transform: translateX(-4px); }\n .pagination .next {\n float: right; }\n .pagination .next:hover {\n color: #c05b4d;\n transform: translateX(4px); }\n\n.footer {\n margin-top: 2em; }\n .footer .social-links {\n text-align: center; }\n .footer .social-links .iconfont {\n font-size: 30px; }\n .footer .social-links .iconfont + .iconfont {\n margin-left: 10px; }\n .footer .social-links .iconfont:hover {\n color: #c05b4d; }\n .footer .copyright {\n margin: 10px 0;\n color: #8a8a8a;\n text-align: center;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n .footer .copyright .hexo-link,\n .footer .copyright .theme-link {\n color: #c05b4d; }\n .footer .copyright .copyright-year {\n display: block; }\n .footer .copyright .copyright-year .heart {\n font-size: 14px; }\n\n.archive {\n margin: 2em 0px;\n max-width: 550px; }\n .archive .archive-title {\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n .archive .archive-title.tag, .archive .archive-title.category {\n margin: 15px 0; }\n .archive .archive-title .archive-name {\n margin: 0;\n display: inline-block;\n font-weight: 400;\n font-size: 30px;\n line-height: 32px; }\n .archive .archive-title .archive-post-counter {\n color: #8a8a8a; }\n .archive .collection-title {\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n .archive .collection-title .archive-year {\n margin: 15px 0;\n font-weight: 400;\n font-size: 28px;\n line-height: 30px; }\n .archive .archive-post {\n padding: 3px 20px;\n border-left: 1px solid #cacaca; }\n .archive .archive-post .archive-post-time {\n margin-right: 10px;\n color: #8a8a8a; }\n .archive .archive-post .archive-post-title .archive-post-link {\n color: #c05b4d; }\n .archive .archive-post::first-child {\n margin-top: 10px; }\n .archive .archive-post:hover {\n border-left: 3px solid #c05b4d;\n transition: 0.2s ease-out;\n transform: translateX(4px); }\n .archive .archive-post:hover .archive-post-time {\n color: #717171; }\n .archive .archive-post:hover .archive-post-title .archive-post-link {\n color: #a14639; }\n\n@media screen and (max-width: 800px) {\n .archive {\n margin-left: auto;\n margin-right: auto; }\n .archive .archive-title .archive-name {\n font-size: 26px; }\n .archive .collection-title .archive-year {\n margin: 10px 0;\n font-size: 24px; }\n .archive .archive-post {\n padding: 5px 10px; }\n .archive .archive-post .archive-post-time {\n font-size: 13px;\n display: block; } }\n\n.tag-cloud {\n margin: 2em 0 3em;\n text-align: center;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n .tag-cloud .tag-cloud-title {\n display: inline-block;\n font-size: 18px;\n color: #c05b4d;\n border-bottom: 2px solid #c05b4d; }\n .tag-cloud .tag-cloud-tags {\n margin: 10px 0; }\n .tag-cloud .tag-cloud-tags a {\n display: inline-block;\n position: relative;\n margin: 5px 10px;\n word-wrap: break-word;\n transition-duration: 0.2s;\n transition-property: transform;\n transition-timing-function: ease-out; }\n .tag-cloud .tag-cloud-tags a .tag-count {\n display: inline-block;\n position: relative;\n top: -8px;\n right: -2px;\n color: #c05b4d;\n font-size: 12px; }\n .tag-cloud .tag-cloud-tags a:active, .tag-cloud .tag-cloud-tags a:focus, .tag-cloud .tag-cloud-tags a:hover {\n color: #c05b4d;\n transform: scale(1.1); }\n\n.categories {\n margin: 2em 0 3em;\n text-align: center;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n .categories .categories-title {\n display: inline-block;\n font-size: 18px;\n color: #c05b4d;\n border-bottom: 2px solid #c05b4d; }\n .categories .categories-tags {\n margin: 10px 0; }\n .categories .categories-tags .category-link {\n display: inline-block;\n position: relative;\n margin: 5px 10px;\n word-wrap: break-word;\n transition-duration: 0.2s;\n transition-property: transform;\n transition-timing-function: ease-out; }\n .categories .categories-tags .category-link .category-count {\n display: inline-block;\n position: relative;\n top: -8px;\n right: -2px;\n color: #c05b4d;\n font-size: 12px; }\n .categories .categories-tags .category-link:active, .categories .categories-tags .category-link:focus, .categories .categories-tags .category-link:hover {\n color: #c05b4d;\n transform: scale(1.1); }\n\n.slideout-menu {\n position: fixed;\n top: 0;\n left: 0px;\n bottom: 0;\n width: 180px;\n min-height: 100vh;\n overflow-y: hidden;\n -webkit-overflow-scrolling: touch;\n z-index: 0;\n display: none; }\n\n.slideout-panel {\n position: relative;\n z-index: 1;\n background-color: #fefefe;\n min-height: 100vh; }\n\n.slideout-open,\n.slideout-open body,\n.slideout-open .slideout-panel {\n overflow: hidden; }\n\n.slideout-open .slideout-menu {\n display: block; }\n\n.mobile-navbar {\n display: none;\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 50px;\n background: #fefefe;\n box-shadow: 0px 2px 2px #cacaca;\n text-align: center;\n transition: transform 300ms ease;\n z-index: 99; }\n .mobile-navbar.fixed-open {\n transform: translate3d(180px, 0px, 0px); }\n .mobile-navbar .mobile-header-logo {\n display: inline-block;\n margin-right: 50px; }\n .mobile-navbar .mobile-header-logo .logo {\n font-size: 22px;\n line-height: 50px;\n font-family: \"Chancery\", cursive, LiSu, sans-serif; }\n .mobile-navbar .mobile-navbar-icon {\n color: #c05b4d;\n height: 50px;\n width: 50px;\n font-size: 24px;\n text-align: center;\n float: left;\n position: relative;\n transition: background 0.5s; }\n\n@keyframes clickfirst {\n 0% {\n transform: translateY(6px) rotate(0deg); }\n 100% {\n transform: translateY(0) rotate(45deg); } }\n\n@keyframes clickmid {\n 0% {\n opacity: 1; }\n 100% {\n opacity: 0; } }\n\n@keyframes clicklast {\n 0% {\n transform: translateY(-6px) rotate(0deg); }\n 100% {\n transform: translateY(0) rotate(-45deg); } }\n\n@keyframes outfirst {\n 0% {\n transform: translateY(0) rotate(-45deg); }\n 100% {\n transform: translateY(-6px) rotate(0deg); } }\n\n@keyframes outmid {\n 0% {\n opacity: 0; }\n 100% {\n opacity: 1; } }\n\n@keyframes outlast {\n 0% {\n transform: translateY(0) rotate(45deg); }\n 100% {\n transform: translateY(6px) rotate(0deg); } }\n .mobile-navbar .mobile-navbar-icon span {\n position: absolute;\n /* fallback for browsers which still doesn't support for `calc()` */\n left: 15px;\n top: 25px;\n left: calc((100% - 20px) / 2);\n top: calc((100% - 1px) / 2);\n width: 20px;\n height: 1px;\n background-color: #c05b4d; }\n .mobile-navbar .mobile-navbar-icon span:nth-child(1) {\n transform: translateY(6px) rotate(0deg); }\n .mobile-navbar .mobile-navbar-icon span:nth-child(3) {\n transform: translateY(-6px) rotate(0deg); }\n .mobile-navbar .mobile-navbar-icon.icon-click span:nth-child(1) {\n animation-duration: 0.5s;\n animation-fill-mode: both;\n animation-name: clickfirst; }\n .mobile-navbar .mobile-navbar-icon.icon-click span:nth-child(2) {\n animation-duration: 0.2s;\n animation-fill-mode: both;\n animation-name: clickmid; }\n .mobile-navbar .mobile-navbar-icon.icon-click span:nth-child(3) {\n animation-duration: 0.5s;\n animation-fill-mode: both;\n animation-name: clicklast; }\n .mobile-navbar .mobile-navbar-icon.icon-out span:nth-child(1) {\n animation-duration: 0.5s;\n animation-fill-mode: both;\n animation-name: outfirst; }\n .mobile-navbar .mobile-navbar-icon.icon-out span:nth-child(2) {\n animation-duration: 0.2s;\n animation-fill-mode: both;\n animation-name: outmid; }\n .mobile-navbar .mobile-navbar-icon.icon-out span:nth-child(3) {\n animation-duration: 0.5s;\n animation-fill-mode: both;\n animation-name: outlast; }\n\n.mobile-menu {\n background-color: rgba(248, 245, 236, 0.5); }\n .mobile-menu .mobile-menu-list {\n position: relative;\n list-style: none;\n margin-top: 50px;\n padding: 0;\n border-top: 1px solid #f8f5ec; }\n .mobile-menu .mobile-menu-list .mobile-menu-item {\n padding: 10px 30px;\n border-bottom: 1px solid #f8f5ec; }\n .mobile-menu .mobile-menu-list a {\n font-size: 18px;\n font-family: Athelas, STHeiti, Microsoft Yahei, serif; }\n .mobile-menu .mobile-menu-list a:hover {\n color: #c05b4d; }\n\n@media screen and (max-width: 800px) {\n .mobile-navbar {\n display: block; } }\n\n.back-to-top {\n display: none;\n position: fixed;\n right: 20px;\n bottom: 20px;\n transition-property: transform;\n transition-timing-function: ease-out;\n transition-duration: 0.3s;\n z-index: 10; }\n .back-to-top:hover {\n transform: translateY(-5px); }\n\n@media screen and (max-width: 800px) {\n .back-to-top {\n display: none !important; } }\n\n.not-found {\n text-align: center; }\n .not-found .error-emoji {\n color: #363636;\n font-size: 3rem; }\n .not-found .error-text {\n color: #797979;\n font-size: 1.25rem; }\n .not-found .error-link {\n margin-top: 2rem; }\n .not-found .error-link a {\n color: #c05b4d; }\n\n\n\n// WEBPACK FOOTER //\n// ./css/E:/C/blog/hugo/olowolo/themes/even/src/style.scss","@import '_common/normalize';\r\n\r\nhtml {\r\n font-size: $global-font-size;\r\n box-sizing: border-box;\r\n}\r\n\r\nbody {\r\n padding: 0;\r\n margin: 0;\r\n font-family: $global-font-family;\r\n font-weight: normal;\r\n -webkit-font-smoothing: antialiased;\r\n -moz-osx-font-smoothing: grayscale;\r\n line-height: $global-lineheight;\r\n color: $global-font-color;\r\n background: $global-background;\r\n scroll-behavior: smooth;\r\n border-top: 3px solid $theme-color;\r\n}\r\n\r\n@include max-screen() {\r\n body {\r\n border-top: 0;\r\n }\r\n}\r\n\r\n::selection {\r\n background: $theme-color;\r\n color: #fff; \r\n}\r\n\r\n// ::-webkit-scrollbar {\r\n// width: 8px;\r\n// height: 6px; \r\n// }\r\n\r\n// ::-webkit-scrollbar-thumb {\r\n// background: lighten($theme-color, 10%);\r\n// border-radius: 5px;\r\n// }\r\n\r\n// ::-webkit-scrollbar-track {\r\n// background: rgba(211, 211, 211, 0.4);\r\n// border-radius: 5px;\r\n// }\r\n\r\nimg {\r\n max-width: 100%;\r\n height: auto;\r\n display: inline-block;\r\n vertical-align: middle;\r\n}\r\n\r\na {\r\n color: $global-font-color;\r\n text-decoration: none;\r\n}\r\n\r\n@each $header, $size in $global-headings {\r\n #{$header} {\r\n font-size: $size;\r\n font-family: $global-serif-font-family;\r\n }\r\n}\r\n\r\n.container {\r\n margin: 0 auto;\r\n width: $global-body-width;\r\n}\r\n\r\n@include max-screen() {\r\n .container {\r\n width: 100%;\r\n box-shadow: -1px -5px 5px $gray;\r\n }\r\n}\r\n\r\n.content-wrapper {\r\n padding: $global-container-padding;\r\n}\r\n\r\n// make video fluid:\r\n// https://css-tricks.com/NetMag/FluidWidthVideo/Article-FluidWidthVideo.php\r\n// class video-container is the wrapper used by hexo youtube tag plugin\r\n.video-container {\r\n\tposition: relative;\r\n\tpadding-bottom: 56.25%; /* 16:9 */\r\n\tpadding-top: 25px;\r\n\theight: 0;\r\n}\r\n.video-container iframe {\r\n\tposition: absolute;\r\n\ttop: 0;\r\n\tleft: 0;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n}\n\n\n// WEBPACK FOOTER //\n// ./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_base.scss","@mixin clearfix() {\r\n &:before,\r\n &:after {\r\n content: \" \";\r\n display: table;\r\n }\r\n \r\n &:after {\r\n clear: both;\r\n }\r\n}\r\n\r\n@mixin min-screen($min-width: $global-body-width) {\r\n @media screen and (min-width: $min-width) {\r\n @content;\r\n }\r\n}\r\n\r\n@mixin max-screen($max-width: $global-body-width) {\r\n @media screen and (max-width: $max-width) {\r\n @content;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_common/_utils.scss","// ==============================\r\n// Iconfont\r\n// ==============================\r\n\r\n@font-face {\r\n font-family: 'iconfont'; /* project id 96542 */\r\n\r\n src: url('../fonts/iconfont/iconfont.eot');\r\n src: url('../fonts/iconfont/iconfont.eot#iefix') format('embedded-opentype'), // not '?#iefix', because webpack will add '?hash=[hash]'\r\n url('../fonts/iconfont/iconfont.woff') format('woff'),\r\n url('../fonts/iconfont/iconfont.ttf') format('truetype'),\r\n url('../fonts/iconfont/iconfont.svg#iconfont') format('svg');\r\n\r\n // Uncomment these code and comment upper code if you want to use alicdn\r\n // src: url('//at.alicdn.com/t/font_96542_ixz9jngnf1sb57b9.eot');\r\n // src: url('//at.alicdn.com/t/font_96542_ixz9jngnf1sb57b9.eot?#iefix') format('embedded-opentype'),\r\n // url('//at.alicdn.com/t/font_96542_ixz9jngnf1sb57b9.woff') format('woff'),\r\n // url('//at.alicdn.com/t/font_96542_ixz9jngnf1sb57b9.ttf') format('truetype'),\r\n // url('//at.alicdn.com/t/font_96542_ixz9jngnf1sb57b9.svg#iconfont') format('svg');\r\n}\r\n\r\n.iconfont {\r\n font-family: \"iconfont\" !important;\r\n font-style: normal;\r\n -webkit-font-smoothing: antialiased;\r\n -webkit-text-stroke-width: 0.2px;\r\n -moz-osx-font-smoothing: grayscale;\r\n cursor: pointer;\r\n}\r\n\r\n.icon-instagram:before {\r\n font-size: .95em;\r\n content: \"\\e611\";\r\n position: relative;\r\n top: -1px;\r\n}\r\n.icon-douban:before {\r\n content: \"\\e610\";\r\n}\r\n.icon-tumblr:before {\r\n content: \"\\e69f\";\r\n font-size: .85em;\r\n position: relative;\r\n top: -4px;\r\n}\r\n.icon-linkedin:before {\r\n content: \"\\e60d\";\r\n position: relative;\r\n top: -4px;\r\n}\r\n.icon-twitter:before {\r\n content: \"\\e600\";\r\n}\r\n.icon-weibo:before {\r\n content: \"\\e602\";\r\n}\r\n.icon-stack-overflow:before {\r\n content: \"\\e603\";\r\n font-size: .85em;\r\n position: relative;\r\n top: -4px;\r\n}\r\n.icon-email:before {\r\n content: \"\\e605\";\r\n position: relative;\r\n top: -2px;\r\n}\r\n.icon-facebook:before {\r\n content: \"\\e601\";\r\n font-size: .95em;\r\n position: relative;\r\n top: -2px;\r\n}\r\n.icon-github:before {\r\n content: \"\\e606\";\r\n position: relative;\r\n top: -3px;\r\n}\r\n.icon-rss:before {\r\n content: \"\\e604\";\r\n}\r\n.icon-google:before {\r\n content: \"\\e609\";\r\n}\r\n.icon-zhihu:before {\r\n content: \"\\e607\";\r\n font-size: .9em;\r\n position: relative;\r\n top: -2px;\r\n}\r\n.icon-pocket:before {\r\n content: \"\\e856\";\r\n}\r\n\r\n/* Generic Icon */\r\n.icon-heart:before {\r\n content: \"\\e608\";\r\n}\r\n.icon-right:before {\r\n content: \"\\e60a\";\r\n}\r\n.icon-left:before {\r\n content: \"\\e60b\";\r\n}\r\n.icon-up:before {\r\n content: \"\\e60c\";\r\n}\r\n.icon-close:before {\r\n content: \"\\e60f\";\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_iconfont.scss","// ==============================\r\n// Header\r\n// ==============================\r\n\r\n.header {\r\n @include clearfix; \r\n padding: $header-padding;\r\n\r\n @import '_header/logo';\r\n @import '_header/menu';\r\n}\r\n\r\n\r\n@include max-screen() {\r\n .header {\r\n padding: 50px 0 0;\r\n text-align: center;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_header.scss","// ==============================\r\n// Logo\r\n// =============================\r\n\r\n.logo-wrapper {\r\n float: left;\r\n\r\n .logo {\r\n font-size: $logo-font-size;\r\n font-family: $logo-font-family;\r\n }\r\n}\r\n\r\n@include max-screen() {\r\n .logo-wrapper {\r\n display: none;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_header/_logo.scss","// ==============================\r\n// Menu\r\n// =============================\r\n\r\n.site-navbar {\r\n float: right;\r\n\r\n .menu {\r\n display: inline-block;\r\n position: relative;\r\n padding-left: 0;\r\n padding-right: 25px;\r\n font-family: $global-serif-font-family;\r\n\r\n .menu-item {\r\n display: inline-block;\r\n\r\n & + .menu-item {\r\n margin-left: $menu-item-margin-left;;\r\n }\r\n\r\n @include underline-from-center;\r\n }\r\n\r\n .menu-item-link {\r\n font-size: $menu-link-font-size;\r\n }\r\n }\r\n}\r\n\r\n@include max-screen() {\r\n .site-navbar {\r\n display: none;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_header/_menu.scss","@mixin underline-from-center() {\r\n display: inline-block;\r\n vertical-align: middle;\r\n transform: translateZ(0);\r\n backface-visibility: hidden;\r\n box-shadow: 0 0 1px transparent;\r\n position: relative;\r\n overflow: hidden;\r\n\r\n &:before {\r\n content: '';\r\n position: absolute;\r\n z-index: -1;\r\n height: 2px;\r\n bottom: 0;\r\n left: 51%;\r\n right: 51%;\r\n background: $theme-color;\r\n transition-duration: 0.2s;\r\n transition-property: right, left;\r\n transition-timing-function: ease-out;\r\n }\r\n\r\n &.active,\r\n &:active,\r\n &:focus,\r\n &:hover {\r\n &:before {\r\n right: 0;\r\n left: 0;\r\n }\r\n }\r\n}\r\n\r\n@mixin mobile-menu-icon() {\r\n @keyframes clickfirst {\r\n 0% {\r\n transform: translateY(6px) rotate(0deg);\r\n \r\n }\r\n\r\n 100% {\r\n transform: translateY(0) rotate(45deg);\r\n }\r\n }\t\r\n\r\n @keyframes clickmid {\r\n 0% {\r\n opacity: 1;\r\n }\r\n\r\n 100% {\r\n opacity: 0;\r\n }\r\n }\r\n\r\n @keyframes clicklast {\r\n 0% {\r\n transform: translateY(-6px) rotate(0deg);\r\n }\r\n\r\n 100% {\r\n transform: translateY(0) rotate(-45deg);\r\n }\r\n }\r\n \r\n @keyframes outfirst {\r\n 0% {\r\n transform: translateY(0) rotate(-45deg);\r\n }\r\n\r\n 100% {\r\n transform: translateY(-6px) rotate(0deg);\r\n }\r\n }\t\r\n\r\n @keyframes outmid {\r\n 0% {\r\n opacity: 0;\r\n }\r\n\r\n 100% {\r\n opacity: 1;\r\n }\r\n }\r\n\r\n @keyframes outlast {\r\n 0% {\r\n transform: translateY(0) rotate(45deg);\r\n }\r\n\r\n 100% {\r\n transform: translateY(6px) rotate(0deg);\r\n }\r\n }\r\n\r\n span {\r\n position: absolute;\r\n /* fallback for browsers which still doesn't support for `calc()` */\r\n left: 15px;\r\n top: 25px;\r\n left: calc((100% - 20px) / 2);\r\n top: calc((100% - 1px) / 2);\r\n width: 20px;\r\n height: 1px;\r\n background-color: $theme-color;\r\n \r\n &:nth-child(1) {\r\n transform: translateY(6px) rotate(0deg);\r\n }\r\n\r\n &:nth-child(3) {\r\n transform: translateY(-6px) rotate(0deg);\r\n }\r\n }\r\n\r\n &.icon-click {\r\n span:nth-child(1) {\r\n animation-duration: 0.5s;\r\n animation-fill-mode: both;\r\n animation-name: clickfirst;\r\n }\r\n\r\n span:nth-child(2) {\r\n animation-duration: 0.2s;\r\n animation-fill-mode: both;\r\n animation-name: clickmid;\r\n }\r\n\r\n span:nth-child(3) {\r\n animation-duration: 0.5s;\r\n animation-fill-mode: both;\r\n animation-name: clicklast;\r\n }\r\n }\r\n\r\n &.icon-out {\r\n span:nth-child(1) {\r\n animation-duration: 0.5s;\r\n animation-fill-mode: both;\r\n animation-name: outfirst;\r\n }\r\n\r\n span:nth-child(2) {\r\n animation-duration: 0.2s;\r\n animation-fill-mode: both;\r\n animation-name: outmid;\r\n }\r\n\r\n span:nth-child(3) {\r\n animation-duration: 0.5s;\r\n animation-fill-mode: both;\r\n animation-name: outlast;\r\n }\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_common/_animation.scss","// ==============================\r\n// Post\r\n// ==============================\r\n\r\n.posts {\r\n margin-bottom: $post-list-margin-bottom;\r\n border-bottom: $post-border;\r\n}\r\n\r\n.post {\r\n padding: $post-padding;\r\n\r\n & + .post {\r\n border-top: $post-border;\r\n }\r\n\r\n @import '_post/header';\r\n @import '_post/toc';\r\n @import '_post/content';\r\n @import '_post/copyright';\r\n @import '_post/reward';\r\n @import '_post/footer';\r\n @import '_post/outdated';\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_post.scss",".post-header {\r\n margin-bottom: 20px;\r\n\r\n .post-title {\r\n margin: 0;\r\n font-size: $post-title-font-size;\r\n font-weight: $post-title-font-weight;\r\n font-family: $global-serif-font-family;\r\n }\r\n\r\n .post-link {\r\n @include underline-from-center;\r\n }\r\n\r\n .post-meta {\r\n font-size: 14px;\r\n color: $post-meta-font-color;\r\n\r\n .post-time {\r\n font-size: 15px;\r\n }\r\n\r\n .post-category {\r\n display: inline;\r\n\r\n a {\r\n color: inherit;\r\n\r\n &::before {\r\n content: '·';\r\n }\r\n\r\n &:hover {\r\n color: $theme-color;\r\n }\r\n }\r\n }\r\n\r\n .more-meta {\r\n &::before {\r\n content: '·';\r\n }\r\n }\r\n\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_post/_header.scss",".post-toc {\r\n position: absolute;\r\n width: $post-toc-width;\r\n margin-left: $post-toc-margin-left;\r\n padding: 10px;\r\n font-family: $global-serif-font-family;\r\n border-radius: 5px;\r\n background: $post-toc-backgroud;\r\n box-shadow: 1px 1px 2px rgba(0,0,0,0.125);\r\n word-wrap: break-word;\r\n box-sizing: border-box;\r\n\r\n .post-toc-title {\r\n margin: 0 10px;\r\n font-size: $post-toc-title-size;\r\n font-weight: 400;\r\n text-transform: uppercase;\r\n }\r\n\r\n .post-toc-content {\r\n font-size: $post-toc-content;\r\n\r\n &.always-active ul {\r\n display: block;\r\n }\r\n\r\n >nav>ul {\r\n margin: 10px 0;\r\n }\r\n\r\n ul {\r\n padding-left: 20px;\r\n list-style: $post-toc-list-style;\r\n\r\n ul {\r\n padding-left: 15px;\r\n display: none;\r\n }\r\n\r\n .has-active > ul {\r\n display: block;\r\n }\r\n }\r\n\r\n .toc-link.active {\r\n color: $theme-color;\r\n }\r\n }\r\n}\r\n\r\n@include max-screen($toc-max-sreen-width) {\r\n .post-toc {\r\n display: none;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_post/_toc.scss","// ==============================\r\n// Post content\r\n// ==============================\r\n\r\n.post-content {\r\n word-wrap: break-word;\r\n\r\n @for $i from 1 through 6 {\r\n h#{$i} {\r\n font-weight: 400;\r\n font-family: $global-serif-font-family;\r\n }\r\n }\r\n\r\n a {\r\n color: $theme-color;\r\n word-break: break-all;\r\n\r\n &:hover {\r\n border-bottom: $content-link-border;\r\n }\r\n\r\n &.fancybox {\r\n border: 0;\r\n }\r\n }\r\n\r\n blockquote {\r\n margin: 2em 0;\r\n padding: 10px 20px;\r\n position: relative;\r\n color: rgba(#34495e, 0.8);\r\n background-color: $content-blockquote-backgroud;\r\n border-left: $content-blockquote-border-left;\r\n box-shadow: 1px 1px 2px rgba(0,0,0,0.125);\r\n\r\n p {\r\n margin: 0;\r\n }\r\n }\r\n\r\n img {\r\n display: inline-block;\r\n max-width: 100%;\r\n }\r\n\r\n > table {\r\n max-width: 100%;\r\n margin: 10px 0;\r\n border-spacing: 0;\r\n box-shadow: 2px 2px 3px rgba(0,0,0,.125);\r\n\r\n thead {\r\n background: $deputy-color;\r\n }\r\n\r\n th, td {\r\n padding: 5px 15px;\r\n border: 1px double $content-table-border-color;\r\n }\r\n\r\n tr:hover {\r\n background-color: $deputy-color;\r\n }\r\n }\r\n\r\n @import 'code';\r\n\r\n .post-summary {\r\n margin-bottom: 1em;\r\n }\r\n\r\n .read-more {\r\n .read-more-link {\r\n color: $theme-color;\r\n font-size: 1.1em;\r\n font-family: $global-serif-font-family;\r\n \r\n &:hover {\r\n border-bottom: $post-readMore-border-bottom;\r\n }\r\n }\r\n }\r\n\r\n kbd {\r\n display: inline-block;\r\n padding: 0.25em;\r\n background-color: #fafafa;\r\n border: 1px solid #dbdbdb;\r\n border-bottom-color: #b5b5b5;\r\n border-radius: 3px;\r\n box-shadow: inset 0 -1px 0 #b5b5b5;\r\n font-size: 0.8em;\r\n line-height: 1.25;\r\n font-family: \"SFMono-Regular\",\"Liberation Mono\",\"Roboto Mono\",Menlo,Monaco,Consolas,\"Courier New\",Courier,monospace;\r\n color: #4a4a4a;\r\n }\r\n\r\n dl dt::after {\r\n content: ':';\r\n }\r\n\r\n figure {\r\n &.center {\r\n text-align: center;\r\n }\r\n\r\n &.right {\r\n text-align: right;\r\n }\r\n\r\n &.left {\r\n text-align: left;\r\n }\r\n\r\n figcaption h4 {\r\n color: #b5b5b5;\r\n font-size: 0.9rem;\r\n }\r\n }\r\n\r\n .task-list {\r\n list-style: none;\r\n padding-left: 1.5rem;\r\n }\r\n\r\n .align-center {\r\n text-align: center;\r\n }\r\n\r\n .align-right {\r\n text-align: right;\r\n }\r\n\r\n .align-left {\r\n text-align: left;\r\n }\r\n\r\n .MJXc-display {\r\n overflow-x: auto;\r\n overflow-y: hidden;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_post/_content.scss","code, pre {\r\n padding: 7px;\r\n font-size: $code-font-size;\r\n font-family: $code-font-family;\r\n background: $code-background;\r\n}\r\n\r\ncode {\r\n padding: 3px 5px;\r\n border-radius: 4px;\r\n color: $code-color;\r\n}\r\n\r\nfigure.highlight {\r\n margin: 1em 0;\r\n border-radius: 5px;\r\n overflow-x: auto;\r\n box-shadow: 1px 1px 2px rgba(0,0,0,0.125);\r\n position: relative;\r\n\r\n table {\r\n position: relative;\r\n\r\n &::after {\r\n position: absolute;\r\n top: 0;\r\n right: 0;\r\n left: 0;\r\n padding: 2px 7px;\r\n font-size: $code-font-size;\r\n font-weight: bold;\r\n color: darken($gray, 10%);\r\n background: darken($code-background, 3%);\r\n content: 'Code';\r\n }\r\n }\r\n\r\n @each $sign, $text in $code-type-list {\r\n &.#{$sign} > table::after {\r\n content: $text;\r\n }\r\n }\r\n\r\n .code {\r\n pre {\r\n margin: 0;\r\n padding: 30px 10px 10px;\r\n }\r\n }\r\n\r\n .gutter {\r\n width: 10px;\r\n color: $gray;\r\n\r\n pre {\r\n margin: 0;\r\n padding: 30px 7px 10px;\r\n }\r\n }\r\n\r\n .line {\r\n // Fix code block null line height and\r\n // Synchronous gutter and code line highly.\r\n height: round($code-font-size * 1.5);\r\n }\r\n\r\n table, tr, td {\r\n margin: 0;\r\n padding: 0;\r\n width: 100%;\r\n border-collapse: collapse;\r\n }\r\n\r\n .code {\r\n .hljs-comment,\r\n .hljs-quote {\r\n color: map-get($code-highlight-color, comment);\r\n }\r\n\r\n .hljs-keyword,\r\n .hljs-selector-tag,\r\n .hljs-addition {\r\n color: map-get($code-highlight-color, keyword);\r\n }\r\n\r\n .hljs-number,\r\n .hljs-string,\r\n .hljs-meta .hljs-meta-string,\r\n .hljs-literal,\r\n .hljs-doctag,\r\n .hljs-regexp {\r\n color: map-get($code-highlight-color, number);\r\n }\r\n\r\n .hljs-title,\r\n .hljs-section,\r\n .hljs-name,\r\n .hljs-selector-id,\r\n .hljs-selector-class {\r\n color: map-get($code-highlight-color, title);\r\n }\r\n\r\n .hljs-attribute,\r\n .hljs-attr,\r\n .hljs-variable,\r\n .hljs-template-variable,\r\n .hljs-class .hljs-title,\r\n .hljs-type {\r\n color: map-get($code-highlight-color, attribute);\r\n }\r\n\r\n .hljs-symbol,\r\n .hljs-bullet,\r\n .hljs-subst,\r\n .hljs-meta,\r\n .hljs-meta .hljs-keyword,\r\n .hljs-selector-attr,\r\n .hljs-selector-pseudo,\r\n .hljs-link {\r\n color: map-get($code-highlight-color, symbol);\r\n }\r\n\r\n .hljs-built_in,\r\n .hljs-deletion {\r\n color: map-get($code-highlight-color, built_in);\r\n }\r\n\r\n .hljs-formula {\r\n background: map-get($code-highlight-color, formula);\r\n }\r\n \r\n .hljs-emphasis {\r\n font-style: italic;\r\n }\r\n \r\n .hljs-strong {\r\n font-weight: bold;\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_post/_code.scss",".post-copyright {\r\n margin-top: 20px;\r\n padding-top: 10px;\r\n border-top: 1px dashed $light-gray;\r\n\r\n .copyright-item {\r\n margin: 5px 0;\r\n\r\n a {\r\n color: $theme-color;\r\n word-wrap: break-word;\r\n\r\n &:hover {\r\n border-bottom: $content-link-border;\r\n }\r\n }\r\n\r\n .item-title {\r\n display: inline-block;\r\n min-width: 5rem;\r\n margin-right: .5rem;\r\n text-align: right;\r\n\r\n &:after {\r\n content: \" :\";\r\n }\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_post/_copyright.scss",".post-reward {\r\n margin-top: 20px;\r\n padding-top: 10px;\r\n text-align: center;\r\n border-top: 1px dashed $light-gray;\r\n\r\n .reward-button {\r\n margin: 15px 0;\r\n padding: 3px 7px;\r\n display: inline-block;\r\n color: $theme-color;\r\n border: 1px solid $theme-color;\r\n border-radius: 5px;\r\n cursor: pointer;\r\n\r\n &:hover {\r\n color: $white;\r\n background-color: $theme-color;\r\n transition: 0.5s;\r\n }\r\n }\r\n\r\n #reward:checked {\r\n & ~ .qr-code {\r\n display: block;\r\n }\r\n\r\n & ~ .reward-button {\r\n display: none;\r\n }\r\n }\r\n\r\n .qr-code {\r\n display: none;\r\n\r\n .qr-code-image {\r\n display: inline-block;\r\n min-width: 200px;\r\n width: 40%;\r\n margin-top: 15px;\r\n\r\n span {\r\n display: inline-block;\r\n width: 100%;\r\n margin: 8px 0;\r\n }\r\n }\r\n\r\n .image {\r\n width: 200px;\r\n height: 200px;\r\n }\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_post/_reward.scss","// ==============================\r\n// Post footer\r\n// ==============================\r\n\r\n.post-footer {\r\n margin-top: $post-footer-margin-top;\r\n border-top: $post-footer-border-top;\r\n font-family: $global-serif-font-family;\r\n\r\n .post-tags {\r\n padding: $post-tags-padding;\r\n\r\n a {\r\n margin-right: 5px;\r\n color: $theme-color;\r\n word-break: break-all;\r\n\r\n &::before {\r\n content: '#';\r\n }\r\n }\r\n }\r\n\r\n .post-nav {\r\n margin: 1em 0;\r\n @include clearfix;\r\n\r\n .prev,\r\n .next {\r\n font-weight: 600;\r\n font-size: $post-nav-font-size;\r\n font-family: $global-serif-font-family;\r\n transition-property: transform;\r\n transition-timing-function: ease-out;\r\n transition-duration: 0.3s;\r\n }\r\n\r\n .prev {\r\n float: left;\r\n\r\n &:hover {\r\n color: $theme-color;\r\n transform: translateX(-4px); \r\n }\r\n }\r\n\r\n .next {\r\n float: right;\r\n\r\n &:hover {\r\n color: $theme-color;\r\n transform: translateX(4px); \r\n }\r\n }\r\n\r\n .nav-mobile {\r\n display: none;\r\n }\r\n }\r\n}\r\n\r\n@include max-screen() {\r\n .post-footer {\r\n .post-nav {\r\n .nav-default {\r\n display: none;\r\n }\r\n\r\n .nav-mobile {\r\n display: inline;\r\n }\r\n }\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_post/_footer.scss",".post-outdated {\r\n .hint {\r\n position: relative;\r\n margin-top: 20px;\r\n margin-bottom: 20px;\r\n padding: 5px 10px;\r\n border-left: 4px solid rgb(66, 172, 243);\r\n background-color: rgb(239, 245, 255);\r\n border-color: rgb(66, 172, 243);\r\n }\r\n\r\n .warn {\r\n position: relative;\r\n margin-top: 20px;\r\n margin-bottom: 20px;\r\n padding: 5px 10px;\r\n border-left: 4px solid #f9cf63;\r\n background-color: #ffffc0;\r\n border-color: #f9cf63;\r\n }\r\n}\r\n\r\n\r\n\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_post/_outdated.scss","// ==============================\r\n// Pagination\r\n// ==============================\r\n\r\n.pagination {\r\n margin: $pagination-margin;\r\n @include clearfix;\r\n\r\n .prev,\r\n .next {\r\n font-weight: 600;\r\n font-size: $pagination-font-size;\r\n font-family: $global-serif-font-family;\r\n transition-property: transform;\r\n transition-timing-function: ease-out;\r\n transition-duration: 0.3s;\r\n }\r\n\r\n .prev {\r\n float: left;\r\n\r\n &:hover {\r\n color: $theme-color;\r\n transform: translateX(-4px); \r\n }\r\n }\r\n\r\n .next {\r\n float: right;\r\n\r\n &:hover {\r\n color: $theme-color;\r\n transform: translateX(4px); \r\n }\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_pagination.scss","// ==============================\r\n// Post footer\r\n// =============================\r\n\r\n.footer {\r\n margin-top: $footer-margin-top;\r\n\r\n @import \"_footer/social\";\r\n @import \"_footer/copyright\";\r\n}\n\n\n// WEBPACK FOOTER //\n// ./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_footer.scss","// ==============================\r\n// Social\r\n// =============================\r\n\r\n.social-links {\r\n text-align: center;\r\n\r\n .iconfont {\r\n font-size: $social-icon-font-size;\r\n\r\n & + .iconfont {\r\n margin-left: $social-link-margin-left;\r\n } \r\n\r\n &:hover {\r\n color: $theme-color;\r\n }\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_footer/_social.scss","// ==============================\r\n// Copyright\r\n// =============================\r\n\r\n.copyright {\r\n margin: $copyright-margin;\r\n color: $dark-gray;\r\n text-align: center;\r\n font-family: $global-serif-font-family;\r\n\r\n .hexo-link,\r\n .theme-link {\r\n color: $theme-color;\r\n }\r\n\r\n .copyright-year {\r\n display: block;\r\n\r\n .heart {\r\n font-size: 14px;\r\n }\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_footer/_copyright.scss","// ==============================\r\n// Archive\r\n// =============================\r\n\r\n.archive {\r\n margin: $archive-margin;\r\n max-width: $archive-max-width;\r\n\r\n .archive-title {\r\n font-family: $global-serif-font-family;\r\n\r\n &.tag,\r\n &.category {\r\n margin: 15px 0;\r\n }\r\n\r\n .archive-name {\r\n margin: 0;\r\n display: inline-block;\r\n font-weight: 400;\r\n font-size: $archive-name-font-size;\r\n line-height: $archive-name-font-size + 2px;\r\n }\r\n\r\n .archive-post-counter {\r\n color: $dark-gray;\r\n }\r\n }\r\n\r\n .collection-title {\r\n font-family: $global-serif-font-family;\r\n \r\n .archive-year {\r\n margin: 15px 0;\r\n font-weight: 400;\r\n font-size: $collection-title-font-size;\r\n line-height: $collection-title-font-size + 2px;\r\n }\r\n }\r\n\r\n .archive-post {\r\n padding: $archive-post-padding;\r\n border-left: $archive-post-border-left;\r\n\r\n .archive-post-time {\r\n margin-right: 10px;\r\n color: $dark-gray;\r\n }\r\n\r\n .archive-post-title {\r\n \r\n .archive-post-link {\r\n color: $theme-color;\r\n }\r\n }\r\n\r\n &::first-child {\r\n margin-top: 10px;\r\n }\r\n\r\n &:hover {\r\n border-left: $archive-post-hover-border-left;\r\n transition: $archive-post-hover-transition;\r\n transform: $archive-post-hover-transform;\r\n\r\n .archive-post-time {\r\n color: darken($dark-gray, 10%);\r\n }\r\n\r\n .archive-post-title .archive-post-link {\r\n color: darken($theme-color, 10%);\r\n }\r\n }\r\n }\r\n}\r\n\r\n@include max-screen() {\r\n .archive {\r\n margin-left: auto;\r\n margin-right: auto;\r\n\r\n .archive-title .archive-name {\r\n font-size: $archive-name-font-size - 4px;\r\n }\r\n\r\n .collection-title .archive-year {\r\n margin: 10px 0;\r\n font-size: $collection-title-font-size - 4px;\r\n }\r\n\r\n .archive-post {\r\n padding: $archive-post-mobile-padding;\r\n\r\n .archive-post-time {\r\n font-size: $archive-post-mobile-time-font-size;\r\n display: block;\r\n }\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_archive.scss","// ==============================\r\n// Tags\r\n// =============================\r\n\r\n.tag-cloud {\r\n margin: 2em 0 3em;\r\n text-align: center;\r\n font-family: $global-serif-font-family;\r\n\r\n .tag-cloud-title {\r\n display: inline-block;\r\n font-size: $tag-cloud-title-size;\r\n color: $theme-color;\r\n border-bottom: $tag-cloud-title-border-bottom;\r\n }\r\n\r\n .tag-cloud-tags {\r\n margin: 10px 0;\r\n\r\n a {\r\n display: inline-block;\r\n position: relative;\r\n margin: $tag-cloud-tags-link-margin;\r\n word-wrap: break-word;\r\n transition-duration: 0.2s;\r\n transition-property: transform;\r\n transition-timing-function: ease-out;\r\n\r\n .tag-count {\r\n display: inline-block;\r\n position: relative;\r\n top: -8px;\r\n right: -2px;\r\n color: $theme-color;\r\n font-size: $category-count-font-size;\r\n }\r\n\r\n &:active,\r\n &:focus,\r\n &:hover {\r\n color: $theme-color;\r\n transform: scale(1.1);\r\n }\r\n }\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_tags.scss","\r\n.categories {\r\n margin: 2em 0 3em;\r\n text-align: center;\r\n font-family: $global-serif-font-family;\r\n\r\n .categories-title {\r\n display: inline-block;\r\n font-size: $categories-title-size;\r\n color: $theme-color;\r\n border-bottom: $categories-title-border-bottom;\r\n }\r\n\r\n .categories-tags {\r\n margin: 10px 0;\r\n\r\n .category-link {\r\n display: inline-block;\r\n position: relative;\r\n margin: $categories-tags-link-margin;\r\n word-wrap: break-word;\r\n transition-duration: 0.2s;\r\n transition-property: transform;\r\n transition-timing-function: ease-out;\r\n\r\n .category-count {\r\n display: inline-block;\r\n position: relative;\r\n top: -8px;\r\n right: -2px;\r\n color: $theme-color;\r\n font-size: $category-count-font-size;\r\n }\r\n\r\n &:active,\r\n &:focus,\r\n &:hover {\r\n color: $theme-color;\r\n transform: scale(1.1);\r\n }\r\n }\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_categories.scss","// ==============================\r\n// slideout (https://github.com/mango/slideout)\r\n// ==============================\r\n\r\n.slideout-menu {\r\n position: fixed;\r\n top: 0;\r\n left: 0px;\r\n bottom: 0;\r\n width: 180px;\r\n min-height: 100vh;\r\n overflow-y: hidden;\r\n -webkit-overflow-scrolling: touch;\r\n z-index: 0;\r\n display: none;\r\n}\r\n\r\n.slideout-panel {\r\n position: relative;\r\n z-index: 1;\r\n background-color: $white;\r\n min-height: 100vh;\r\n}\r\n\r\n.slideout-open,\r\n.slideout-open body,\r\n.slideout-open .slideout-panel {\r\n overflow: hidden;\r\n}\r\n\r\n.slideout-open .slideout-menu {\r\n display: block;\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_slideout.scss","// ==============================\r\n// Mobile Navbar\r\n// ==============================\r\n\r\n.mobile-navbar {\r\n display: none;\r\n position: fixed;\r\n top: 0;\r\n left: 0;\r\n width: 100%;\r\n height: $mobile-navbar-height;\r\n background: $white;\r\n box-shadow: 0px 2px 2px $gray;\r\n text-align: center;\r\n transition: transform 300ms ease;\r\n z-index: 99;\r\n\r\n &.fixed-open {\r\n transform: translate3d(180px, 0px, 0px);\r\n }\r\n\r\n .mobile-header-logo {\r\n display: inline-block;\r\n margin-right: 50px;\r\n\r\n .logo {\r\n font-size: 22px;\r\n line-height: $mobile-navbar-height;\r\n font-family: $logo-font-family;\r\n }\r\n }\r\n\r\n .mobile-navbar-icon {\r\n color: $theme-color;\r\n height: $mobile-navbar-height;\r\n width: $mobile-navbar-height;\r\n font-size: 24px;\r\n text-align: center;\r\n float: left;\r\n position: relative;\r\n transition: background 0.5s;\r\n\r\n @include mobile-menu-icon();\r\n }\r\n}\r\n\r\n.mobile-menu {\r\n background-color: rgba($deputy-color, 0.5);\r\n\r\n .mobile-menu-list {\r\n position: relative;\r\n list-style: none;\r\n margin-top: 50px;\r\n padding: 0;\r\n border-top: 1px solid $deputy-color;\r\n\r\n .mobile-menu-item {\r\n padding: 10px 30px;\r\n border-bottom: 1px solid $deputy-color;\r\n }\r\n\r\n a {\r\n font-size: 18px;\r\n font-family: $global-serif-font-family;\r\n\r\n &:hover {\r\n color: $theme-color;\r\n }\r\n }\r\n }\r\n}\r\n\r\n@include max-screen() {\r\n .mobile-navbar {\r\n display: block;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_mobile.scss","// ==============================\r\n// Back to top\r\n// =============================\r\n\r\n.back-to-top {\r\n display: none;\r\n position: fixed;\r\n right: 20px;\r\n bottom: 20px;\r\n transition-property: transform;\r\n transition-timing-function: ease-out;\r\n transition-duration: 0.3s;\r\n z-index: 10;\r\n\r\n &:hover {\r\n transform: translateY(-5px); \r\n }\r\n}\r\n\r\n@include max-screen() {\r\n .back-to-top {\r\n display: none !important;\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_back-to-top.scss","// ==============================\r\n// Archive\r\n// =============================\r\n\r\n.not-found {\r\n text-align: center;\r\n\r\n .error-emoji {\r\n color: #363636;\r\n font-size: 3rem;\r\n }\r\n\r\n .error-text {\r\n color: #797979;\r\n font-size: 1.25rem;\r\n }\r\n\r\n .error-link {\r\n margin-top: 2rem;\r\n\r\n a {\r\n color: $theme-color;\r\n }\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./css/E:/C/blog/hugo/olowolo/themes/even/src/css/_partial/_404.scss"],"sourceRoot":""}
\ No newline at end of file diff --git a/themes/even/static/dist/even.min.js b/themes/even/static/dist/even.min.js new file mode 100644 index 0000000..548a4e4 --- /dev/null +++ b/themes/even/static/dist/even.min.js @@ -0,0 +1,2 @@ +!function(e){var n={};function t(o){if(n[o])return n[o].exports;var a=n[o]={i:o,l:!1,exports:{}};return e[o].call(a.exports,a,a.exports,t),a.l=!0,a.exports}t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=0)}([function(e,n,t){"use strict";var o=t(1);t(2),$(document).ready(function(){o.Even.backToTop(),o.Even.mobileNavbar(),o.Even.toc(),o.Even.fancybox()}),o.Even.flowchart(),o.Even.sequence(),hljs.initHighlighting(),o.Even.highlight()},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o={};o.backToTop=function(){var e=$("#back-to-top");$(window).scroll(function(){$(window).scrollTop()>100?e.fadeIn(1e3):e.fadeOut(1e3)}),e.click(function(){$("body,html").animate({scrollTop:0})})},o.mobileNavbar=function(){var e=$("#mobile-navbar"),n=$(".mobile-navbar-icon"),t=new Slideout({panel:document.getElementById("mobile-panel"),menu:document.getElementById("mobile-menu"),padding:180,tolerance:70});t.disableTouch(),n.click(function(){t.toggle()}),t.on("beforeopen",function(){e.addClass("fixed-open"),n.addClass("icon-click").removeClass("icon-out")}),t.on("beforeclose",function(){e.removeClass("fixed-open"),n.addClass("icon-out").removeClass("icon-click")}),$("#mobile-panel").on("touchend",function(){t.isOpen()&&n.click()})},o._initToc=function(){var e=$(".post-toc"),n=$(".post-footer");if(e.length){var t=e.offset().top-20,o=n.offset().top-e.height()-20,a={start:{position:"absolute",top:t},process:{position:"fixed",top:20},end:{position:"absolute",top:o}};$(window).scroll(function(){var n=$(window).scrollTop();n<t?e.css(a.start):n>o?e.css(a.end):e.css(a.process)})}var r=$(".toc-link"),c=$(".headerlink"),i=$(".post-toc-content li"),l=$.map(c,function(e){return $(e).offset().top}),s=$.map(l,function(e){return e-30});$(window).scroll(function(){var e=$(window).scrollTop(),n=function(e,n){for(var t=0;t<e.length-1;t++)if(n>e[t]&&n<=e[t+1])return t;return n>e[e.length-1]?e.length-1:-1}(s,e);if($(r).removeClass("active"),$(i).removeClass("has-active"),-1!==n){$(r[n]).addClass("active");for(var t=r[n].parentNode;"NAV"!==t.tagName;)$(t).addClass("has-active"),t=t.parentNode.parentNode}})},o.fancybox=function(){$.fancybox&&($(".post-content").each(function(){$(this).find("img").each(function(){$(this).wrap('<a class="fancybox" href="'+this.src+'" data-fancybox="gallery" data-caption="'+this.title+'"></a>')})}),$(".fancybox").fancybox({selector:".fancybox",protect:!0}))},o.highlight=function(){for(var e=document.querySelectorAll("pre code"),n=0;n<e.length;n++){var t=e[n],o=t.parentElement,a=t.innerHTML.split(/\n/);""===a[a.length-1]&&a.pop();for(var r=a.length,c="",i=0;i<r;i++)c+='<div class="line">'+(i+1)+"</div>";for(var l="",s=0;s<r;s++)l+='<div class="line">'+a[s]+"</div>";t.className+=" highlight";var d=document.createElement("figure");d.className=t.className,d.innerHTML='<table><tbody><tr><td class="gutter"><pre>'+c+'</pre></td><td class="code"><pre>'+l+"</pre></td></tr></tbody></table>",o.parentElement.replaceChild(d,o)}},o.toc=function(){var e=document.getElementById("post-toc");if(null!==e){var n=document.getElementById("TableOfContents");null===n?e.parentNode.removeChild(e):(this._refactorToc(n),this._linkToc(),this._initToc())}},o._refactorToc=function(e){for(var n=e.children[0],t=n,o=void 0;1===t.children.length&&"UL"===(o=t.children[0].children[0]).tagName;)t=o;t!==n&&e.replaceChild(t,n)},o._linkToc=function(){for(var e=document.querySelectorAll("#TableOfContents a:first-child"),n=0;n<e.length;n++)e[n].className+=" toc-link";for(var t=1;t<=6;t++)for(var o=document.querySelectorAll(".post-content>h"+t),a=0;a<o.length;a++){var r=o[a];r.innerHTML='<a href="#'+r.id+'" class="headerlink"></a>'+r.innerHTML}},o.flowchart=function(){if(window.flowchart)for(var e=document.querySelectorAll("pre code.language-flowchart"),n=0;n<e.length;n++){var t=e[n],o=t.parentElement,a=document.createElement("div"),r="js-flowchart-diagrams-"+n;a.id=r,a.className="align-center",o.parentElement.replaceChild(a,o),flowchart.parse(t.childNodes[0].nodeValue).drawSVG(r,window.flowchartDiagramsOptions?window.flowchartDiagramsOptions:{})}},o.sequence=function(){if(window.Diagram)for(var e=document.querySelectorAll("pre code.language-sequence"),n=0;n<e.length;n++){var t=e[n],o=t.parentElement,a=document.createElement("div"),r="js-sequence-diagrams-"+n;a.id=r,a.className="align-center",o.parentElement.replaceChild(a,o),Diagram.parse(t.childNodes[0].nodeValue).drawSVG(r,window.sequenceDiagramsOptions?window.sequenceDiagramsOptions:{theme:"simple"})}},n.Even=o},function(e,n){}]); +//# sourceMappingURL=even.min.js.map
\ No newline at end of file diff --git a/themes/even/static/dist/even.min.js.map b/themes/even/static/dist/even.min.js.map new file mode 100644 index 0000000..529b3c2 --- /dev/null +++ b/themes/even/static/dist/even.min.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///webpack/bootstrap 48484a6346e81e67fcd1","webpack:///./js/main.js","webpack:///./js/even.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","n","__esModule","object","property","prototype","hasOwnProperty","p","s","_even","$","document","ready","Even","backToTop","mobileNavbar","toc","fancybox","flowchart","sequence","hljs","initHighlighting","highlight","$backToTop","window","scroll","scrollTop","fadeIn","fadeOut","click","animate","$mobileNav","$mobileNavIcon","slideout","Slideout","panel","getElementById","menu","padding","tolerance","disableTouch","toggle","on","addClass","removeClass","isOpen","_initToc","$toc","$footer","length","minScrollTop","offset","top","maxScrollTop","height","tocState","start","position","process","end","css","$toclink","$headerlink","$tocLinkLis","headerlinkTop","map","link","headerLinksOffsetForSearch","activeTocIndex","array","target","searchActiveTocIndex","ancestor","parentNode","tagName","each","this","find","wrap","src","title","selector","protect","blocks","querySelectorAll","block","rootElement","parentElement","lineCodes","innerHTML","split","pop","lineLength","codeLineHtml","codeHtml","className","figure","createElement","replaceChild","tocContainer","removeChild","_refactorToc","_linkToc","oldTocList","children","newTocList","temp","links","num","headers","header","id","container","parse","childNodes","nodeValue","drawSVG","flowchartDiagramsOptions","Diagram","sequenceDiagramsOptions","theme"],"mappings":"aACA,IAAAA,KAGA,SAAAC,EAAAC,GAGA,GAAAF,EAAAE,GACA,OAAAF,EAAAE,GAAAC,QAGA,IAAAC,EAAAJ,EAAAE,IACAG,EAAAH,EACAI,GAAA,EACAH,YAUA,OANAI,EAAAL,GAAAM,KAAAJ,EAAAD,QAAAC,IAAAD,QAAAF,GAGAG,EAAAE,GAAA,EAGAF,EAAAD,QAKAF,EAAAQ,EAAAF,EAGAN,EAAAS,EAAAV,EAGAC,EAAAU,EAAA,SAAAR,EAAAS,EAAAC,GACAZ,EAAAa,EAAAX,EAAAS,IACAG,OAAAC,eAAAb,EAAAS,GACAK,cAAA,EACAC,YAAA,EACAC,IAAAN,KAMAZ,EAAAmB,EAAA,SAAAhB,GACA,IAAAS,EAAAT,KAAAiB,WACA,WAA2B,OAAAjB,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAH,EAAAU,EAAAE,EAAA,IAAAA,GACAA,GAIAZ,EAAAa,EAAA,SAAAQ,EAAAC,GAAsD,OAAAR,OAAAS,UAAAC,eAAAjB,KAAAc,EAAAC,IAGtDtB,EAAAyB,EAAA,GAGAzB,IAAA0B,EAAA,kCC7DA,IAAAC,EAAA3B,EAAA,GAEAA,EAAA,GAEA4B,EAAEC,UAAUC,MAAM,WAChBH,EAAAI,KAAKC,YACLL,EAAAI,KAAKE,eACLN,EAAAI,KAAKG,MACLP,EAAAI,KAAKI,aAGPR,EAAAI,KAAKK,YACLT,EAAAI,KAAKM,WAELC,KAAKC,mBACLZ,EAAAI,KAAKS,2FCbL,IAAMT,KAENA,EAAKC,UAAY,WACf,IAAMS,EAAab,EAAE,gBAErBA,EAAEc,QAAQC,OAAO,WACXf,EAAEc,QAAQE,YAAc,IAC1BH,EAAWI,OAAO,KAElBJ,EAAWK,QAAQ,OAIvBL,EAAWM,MAAM,WACfnB,EAAE,aAAaoB,SAAUJ,UAAW,OAIxCb,EAAKE,aAAe,WAClB,IAAMgB,EAAarB,EAAE,kBACfsB,EAAiBtB,EAAE,uBACnBuB,EAAW,IAAIC,UACnBC,MAASxB,SAASyB,eAAe,gBACjCC,KAAQ1B,SAASyB,eAAe,eAChCE,QAAW,IACXC,UAAa,KAEfN,EAASO,eAETR,EAAeH,MAAM,WACnBI,EAASQ,WAGXR,EAASS,GAAG,aAAc,WACxBX,EAAWY,SAAS,cACpBX,EAAeW,SAAS,cAAcC,YAAY,cAGpDX,EAASS,GAAG,cAAe,WACzBX,EAAWa,YAAY,cACvBZ,EAAeW,SAAS,YAAYC,YAAY,gBAGlDlC,EAAE,iBAAiBgC,GAAG,WAAY,WAChCT,EAASY,UAAYb,EAAeH,WAIxChB,EAAKiC,SAAW,WACd,IACMC,EAAOrC,EAAE,aACTsC,EAAUtC,EAAE,gBAElB,GAAIqC,EAAKE,OAAQ,CACf,IAAMC,EAAeH,EAAKI,SAASC,IALrB,GAMRC,EAAeL,EAAQG,SAASC,IAAML,EAAKO,SANnC,GAQRC,GACJC,OACEC,SAAY,WACZL,IAAOF,GAETQ,SACED,SAAY,QACZL,IAfU,IAiBZO,KACEF,SAAY,WACZL,IAAOC,IAIX3C,EAAEc,QAAQC,OAAO,WACf,IAAMC,EAAYhB,EAAEc,QAAQE,YAExBA,EAAYwB,EACdH,EAAKa,IAAIL,EAASC,OACT9B,EAAY2B,EACrBN,EAAKa,IAAIL,EAASI,KAElBZ,EAAKa,IAAIL,EAASG,WAKxB,IACMG,EAAWnD,EAAE,aACboD,EAAcpD,EAAE,eAChBqD,EAAcrD,EAAE,wBAEhBsD,EAAgBtD,EAAEuD,IAAIH,EAAa,SAAUI,GACjD,OAAOxD,EAAEwD,GAAMf,SAASC,MAGpBe,EAA6BzD,EAAEuD,IAAID,EAAe,SAAUb,GAChE,OAAOA,EAVS,KAqBlBzC,EAAEc,QAAQC,OAAO,WACf,IAAMC,EAAYhB,EAAEc,QAAQE,YACtB0C,EAVqB,SAAUC,EAAOC,GAC5C,IAAK,IAAIpF,EAAI,EAAGA,EAAImF,EAAMpB,OAAS,EAAG/D,IACpC,GAAIoF,EAASD,EAAMnF,IAAMoF,GAAUD,EAAMnF,EAAI,GAAI,OAAOA,EAE1D,OAAIoF,EAASD,EAAMA,EAAMpB,OAAS,GAAWoB,EAAMpB,OAAS,GACpD,EAKesB,CAAqBJ,EAA4BzC,GAKxE,GAHAhB,EAAEmD,GAAUjB,YAAY,UACxBlC,EAAEqD,GAAanB,YAAY,eAEH,IAApBwB,EAAuB,CACzB1D,EAAEmD,EAASO,IAAiBzB,SAAS,UAErC,IADA,IAAI6B,EAAWX,EAASO,GAAgBK,WACZ,QAArBD,EAASE,SACdhE,EAAE8D,GAAU7B,SAAS,cACrB6B,EAAWA,EAASC,WAAWA,eAMvC5D,EAAKI,SAAW,WACVP,EAAEO,WACJP,EAAE,iBAAiBiE,KAAK,WACtBjE,EAAEkE,MAAMC,KAAK,OAAOF,KAAK,WACvBjE,EAAEkE,MAAME,KAAR,6BAA0CF,KAAKG,IAA/C,2CAA6FH,KAAKI,MAAlG,cAIJtE,EAAE,aAAaO,UACbgE,SAAU,YACVC,SAAS,MAKfrE,EAAKS,UAAY,WAEf,IADA,IAAM6D,EAASxE,SAASyE,iBAAiB,YAChClG,EAAI,EAAGA,EAAIiG,EAAOlC,OAAQ/D,IAAK,CACtC,IAAMmG,EAAQF,EAAOjG,GACfoG,EAAcD,EAAME,cACpBC,EAAYH,EAAMI,UAAUC,MAAM,MACA,KAApCF,EAAUA,EAAUvC,OAAS,IAAWuC,EAAUG,MAItD,IAHA,IAAMC,EAAaJ,EAAUvC,OAEzB4C,EAAe,GACV3G,EAAI,EAAGA,EAAI0G,EAAY1G,IAC9B2G,yBAAqC3G,EAAI,GAAzC,SAIF,IADA,IAAI4G,EAAW,GACN5G,EAAI,EAAGA,EAAI0G,EAAY1G,IAC9B4G,wBAAiCN,EAAUtG,GAA3C,SAGFmG,EAAMU,WAAa,aACnB,IAAMC,EAASrF,SAASsF,cAAc,UACtCD,EAAOD,UAAYV,EAAMU,UACzBC,EAAOP,UAAP,6CAAgEI,EAAhE,oCAAgHC,EAAhH,mCAEAR,EAAYC,cAAcW,aAAaF,EAAQV,KAInDzE,EAAKG,IAAM,WACT,IAAMmF,EAAexF,SAASyB,eAAe,YAC7C,GAAqB,OAAjB+D,EAAuB,CACzB,IAAMnF,EAAML,SAASyB,eAAe,mBACxB,OAARpB,EAEFmF,EAAa1B,WAAW2B,YAAYD,IAEpCvB,KAAKyB,aAAarF,GAClB4D,KAAK0B,WACL1B,KAAK9B,cAKXjC,EAAKwF,aAAe,SAAUrF,GAK5B,IAHA,IAAMuF,EAAavF,EAAIwF,SAAS,GAC5BC,EAAaF,EACbG,SACkC,IAA/BD,EAAWD,SAASvD,QAAwE,QAAvDyD,EAAOD,EAAWD,SAAS,GAAGA,SAAS,IAAI9B,SAAkB+B,EAAaC,EAElHD,IAAeF,GAAYvF,EAAIkF,aAAaO,EAAYF,IAG9D1F,EAAKyF,SAAW,WAEd,IADA,IAAMK,EAAQhG,SAASyE,iBAAiB,kCAC/BlG,EAAI,EAAGA,EAAIyH,EAAM1D,OAAQ/D,IAAKyH,EAAMzH,GAAG6G,WAAa,YAE7D,IAAK,IAAIa,EAAM,EAAGA,GAAO,EAAGA,IAE1B,IADA,IAAMC,EAAUlG,SAASyE,iBAAiB,kBAAoBwB,GACrD1H,EAAI,EAAGA,EAAI2H,EAAQ5D,OAAQ/D,IAAK,CACvC,IAAM4H,EAASD,EAAQ3H,GACvB4H,EAAOrB,UAAP,aAAgCqB,EAAOC,GAAvC,4BAAqED,EAAOrB,YAKlF5E,EAAKK,UAAY,WACf,GAAKM,OAAON,UAGZ,IADA,IAAMiE,EAASxE,SAASyE,iBAAiB,+BAChClG,EAAI,EAAGA,EAAIiG,EAAOlC,OAAQ/D,IAAK,CACtC,IAAMmG,EAAQF,EAAOjG,GACfoG,EAAcD,EAAME,cAEpByB,EAAYrG,SAASsF,cAAc,OACnCc,2BAA8B7H,EACpC8H,EAAUD,GAAKA,EACfC,EAAUjB,UAAY,eACtBT,EAAYC,cAAcW,aAAac,EAAW1B,GAElCpE,UAAU+F,MAAM5B,EAAM6B,WAAW,GAAGC,WAC5CC,QAAQL,EAAIvF,OAAO6F,yBAA2B7F,OAAO6F,+BAIjExG,EAAKM,SAAW,WACd,GAAKK,OAAO8F,QAGZ,IADA,IAAMnC,EAASxE,SAASyE,iBAAiB,8BAChClG,EAAI,EAAGA,EAAIiG,EAAOlC,OAAQ/D,IAAK,CACtC,IAAMmG,EAAQF,EAAOjG,GACfoG,EAAcD,EAAME,cAEpByB,EAAYrG,SAASsF,cAAc,OACnCc,0BAA6B7H,EACnC8H,EAAUD,GAAKA,EACfC,EAAUjB,UAAY,eACtBT,EAAYC,cAAcW,aAAac,EAAW1B,GAElCgC,QAAQL,MAAM5B,EAAM6B,WAAW,GAAGC,WAC1CC,QAAQL,EAAIvF,OAAO+F,wBAA0B/F,OAAO+F,yBAA2BC,MAAO,eAI1F3G","file":"even.min.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 0);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 48484a6346e81e67fcd1","import {Even} from './even.js'\r\n\r\nimport '../css/style.scss'\r\n\r\n$(document).ready(function () {\r\n Even.backToTop()\r\n Even.mobileNavbar()\r\n Even.toc()\r\n Even.fancybox()\r\n})\r\n\r\nEven.flowchart()\r\nEven.sequence()\r\n\r\nhljs.initHighlighting()\r\nEven.highlight()\r\n\n\n\n// WEBPACK FOOTER //\n// ./js/main.js","'use strict'\r\n\r\nconst Even = {}\r\n\r\nEven.backToTop = function () {\r\n const $backToTop = $('#back-to-top')\r\n\r\n $(window).scroll(function () {\r\n if ($(window).scrollTop() > 100) {\r\n $backToTop.fadeIn(1000)\r\n } else {\r\n $backToTop.fadeOut(1000)\r\n }\r\n })\r\n\r\n $backToTop.click(function () {\r\n $('body,html').animate({ scrollTop: 0 })\r\n })\r\n}\r\n\r\nEven.mobileNavbar = function () {\r\n const $mobileNav = $('#mobile-navbar')\r\n const $mobileNavIcon = $('.mobile-navbar-icon')\r\n const slideout = new Slideout({\r\n 'panel': document.getElementById('mobile-panel'),\r\n 'menu': document.getElementById('mobile-menu'),\r\n 'padding': 180,\r\n 'tolerance': 70\r\n })\r\n slideout.disableTouch()\r\n\r\n $mobileNavIcon.click(function () {\r\n slideout.toggle()\r\n })\r\n\r\n slideout.on('beforeopen', function () {\r\n $mobileNav.addClass('fixed-open')\r\n $mobileNavIcon.addClass('icon-click').removeClass('icon-out')\r\n })\r\n\r\n slideout.on('beforeclose', function () {\r\n $mobileNav.removeClass('fixed-open')\r\n $mobileNavIcon.addClass('icon-out').removeClass('icon-click')\r\n })\r\n\r\n $('#mobile-panel').on('touchend', function () {\r\n slideout.isOpen() && $mobileNavIcon.click()\r\n })\r\n}\r\n\r\nEven._initToc = function () {\r\n const SPACING = 20\r\n const $toc = $('.post-toc')\r\n const $footer = $('.post-footer')\r\n\r\n if ($toc.length) {\r\n const minScrollTop = $toc.offset().top - SPACING\r\n const maxScrollTop = $footer.offset().top - $toc.height() - SPACING\r\n\r\n const tocState = {\r\n start: {\r\n 'position': 'absolute',\r\n 'top': minScrollTop\r\n },\r\n process: {\r\n 'position': 'fixed',\r\n 'top': SPACING\r\n },\r\n end: {\r\n 'position': 'absolute',\r\n 'top': maxScrollTop\r\n }\r\n }\r\n\r\n $(window).scroll(function () {\r\n const scrollTop = $(window).scrollTop()\r\n\r\n if (scrollTop < minScrollTop) {\r\n $toc.css(tocState.start)\r\n } else if (scrollTop > maxScrollTop) {\r\n $toc.css(tocState.end)\r\n } else {\r\n $toc.css(tocState.process)\r\n }\r\n })\r\n }\r\n\r\n const HEADERFIX = 30\r\n const $toclink = $('.toc-link')\r\n const $headerlink = $('.headerlink')\r\n const $tocLinkLis = $('.post-toc-content li')\r\n\r\n const headerlinkTop = $.map($headerlink, function (link) {\r\n return $(link).offset().top\r\n })\r\n\r\n const headerLinksOffsetForSearch = $.map(headerlinkTop, function (offset) {\r\n return offset - HEADERFIX\r\n })\r\n\r\n const searchActiveTocIndex = function (array, target) {\r\n for (let i = 0; i < array.length - 1; i++) {\r\n if (target > array[i] && target <= array[i + 1]) return i\r\n }\r\n if (target > array[array.length - 1]) return array.length - 1\r\n return -1\r\n }\r\n\r\n $(window).scroll(function () {\r\n const scrollTop = $(window).scrollTop()\r\n const activeTocIndex = searchActiveTocIndex(headerLinksOffsetForSearch, scrollTop)\r\n\r\n $($toclink).removeClass('active')\r\n $($tocLinkLis).removeClass('has-active')\r\n\r\n if (activeTocIndex !== -1) {\r\n $($toclink[activeTocIndex]).addClass('active')\r\n let ancestor = $toclink[activeTocIndex].parentNode\r\n while (ancestor.tagName !== 'NAV') {\r\n $(ancestor).addClass('has-active')\r\n ancestor = ancestor.parentNode.parentNode\r\n }\r\n }\r\n })\r\n}\r\n\r\nEven.fancybox = function () {\r\n if ($.fancybox) {\r\n $('.post-content').each(function () {\r\n $(this).find('img').each(function () {\r\n $(this).wrap(`<a class=\"fancybox\" href=\"${this.src}\" data-fancybox=\"gallery\" data-caption=\"${this.title}\"></a>`)\r\n })\r\n })\r\n\r\n $('.fancybox').fancybox({\r\n selector: '.fancybox',\r\n protect: true\r\n })\r\n }\r\n}\r\n\r\nEven.highlight = function () {\r\n const blocks = document.querySelectorAll('pre code')\r\n for (let i = 0; i < blocks.length; i++) {\r\n const block = blocks[i]\r\n const rootElement = block.parentElement\r\n const lineCodes = block.innerHTML.split(/\\n/)\r\n if (lineCodes[lineCodes.length - 1] === '') lineCodes.pop()\r\n const lineLength = lineCodes.length\r\n\r\n let codeLineHtml = ''\r\n for (let i = 0; i < lineLength; i++) {\r\n codeLineHtml += `<div class=\"line\">${i + 1}</div>`\r\n }\r\n\r\n let codeHtml = ''\r\n for (let i = 0; i < lineLength; i++) {\r\n codeHtml += `<div class=\"line\">${lineCodes[i]}</div>`\r\n }\r\n\r\n block.className += ' highlight'\r\n const figure = document.createElement('figure')\r\n figure.className = block.className\r\n figure.innerHTML = `<table><tbody><tr><td class=\"gutter\"><pre>${codeLineHtml}</pre></td><td class=\"code\"><pre>${codeHtml}</pre></td></tr></tbody></table>`\r\n\r\n rootElement.parentElement.replaceChild(figure, rootElement)\r\n }\r\n}\r\n\r\nEven.toc = function () {\r\n const tocContainer = document.getElementById('post-toc')\r\n if (tocContainer !== null) {\r\n const toc = document.getElementById('TableOfContents')\r\n if (toc === null) {\r\n // toc = true, but there are no headings\r\n tocContainer.parentNode.removeChild(tocContainer)\r\n } else {\r\n this._refactorToc(toc)\r\n this._linkToc()\r\n this._initToc()\r\n }\r\n }\r\n}\r\n\r\nEven._refactorToc = function (toc) {\r\n // when headings do not start with `h1`\r\n const oldTocList = toc.children[0]\r\n let newTocList = oldTocList\r\n let temp\r\n while (newTocList.children.length === 1 && (temp = newTocList.children[0].children[0]).tagName === 'UL') newTocList = temp\r\n\r\n if (newTocList !== oldTocList) toc.replaceChild(newTocList, oldTocList)\r\n}\r\n\r\nEven._linkToc = function () {\r\n const links = document.querySelectorAll('#TableOfContents a:first-child')\r\n for (let i = 0; i < links.length; i++) links[i].className += ' toc-link'\r\n\r\n for (let num = 1; num <= 6; num++) {\r\n const headers = document.querySelectorAll('.post-content>h' + num)\r\n for (let i = 0; i < headers.length; i++) {\r\n const header = headers[i]\r\n header.innerHTML = `<a href=\"#${header.id}\" class=\"headerlink\"></a>${header.innerHTML}`\r\n }\r\n }\r\n}\r\n\r\nEven.flowchart = function () {\r\n if (!window.flowchart) return\r\n\r\n const blocks = document.querySelectorAll('pre code.language-flowchart')\r\n for (let i = 0; i < blocks.length; i++) {\r\n const block = blocks[i]\r\n const rootElement = block.parentElement\r\n\r\n const container = document.createElement('div')\r\n const id = `js-flowchart-diagrams-${i}`\r\n container.id = id\r\n container.className = 'align-center'\r\n rootElement.parentElement.replaceChild(container, rootElement)\r\n\r\n const diagram = flowchart.parse(block.childNodes[0].nodeValue)\r\n diagram.drawSVG(id, window.flowchartDiagramsOptions ? window.flowchartDiagramsOptions : {})\r\n }\r\n}\r\n\r\nEven.sequence = function () {\r\n if (!window.Diagram) return\r\n\r\n const blocks = document.querySelectorAll('pre code.language-sequence')\r\n for (let i = 0; i < blocks.length; i++) {\r\n const block = blocks[i]\r\n const rootElement = block.parentElement\r\n\r\n const container = document.createElement('div')\r\n const id = `js-sequence-diagrams-${i}`\r\n container.id = id\r\n container.className = 'align-center'\r\n rootElement.parentElement.replaceChild(container, rootElement)\r\n\r\n const diagram = Diagram.parse(block.childNodes[0].nodeValue)\r\n diagram.drawSVG(id, window.sequenceDiagramsOptions ? window.sequenceDiagramsOptions : {theme: 'simple'})\r\n }\r\n}\r\n\r\nexport {Even}\r\n\n\n\n// WEBPACK FOOTER //\n// ./js/even.js"],"sourceRoot":""}
\ No newline at end of file diff --git a/themes/even/static/dist/fonts/chancery/apple-chancery-webfont.eot b/themes/even/static/dist/fonts/chancery/apple-chancery-webfont.eot Binary files differnew file mode 100644 index 0000000..39c3936 --- /dev/null +++ b/themes/even/static/dist/fonts/chancery/apple-chancery-webfont.eot diff --git a/themes/even/static/dist/fonts/chancery/apple-chancery-webfont.svg b/themes/even/static/dist/fonts/chancery/apple-chancery-webfont.svg new file mode 100644 index 0000000..2b18b6a --- /dev/null +++ b/themes/even/static/dist/fonts/chancery/apple-chancery-webfont.svg @@ -0,0 +1,228 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" > +<svg xmlns="http://www.w3.org/2000/svg"> +<metadata></metadata> +<defs> +<font id="apple_chancerychancery" horiz-adv-x="1138" > +<font-face units-per-em="2048" ascent="1624" descent="-424" /> +<missing-glyph horiz-adv-x="569" /> +<glyph unicode="
" horiz-adv-x="569" /> +<glyph horiz-adv-x="0" /> +<glyph horiz-adv-x="0" /> +<glyph unicode=" " horiz-adv-x="569" /> +<glyph unicode="	" horiz-adv-x="569" /> +<glyph unicode=" " horiz-adv-x="569" /> +<glyph unicode="!" horiz-adv-x="525" d="M136 103l148 141q66 -49 115 -141l-146 -142q-45 95 -117 142zM237 1352l182 70q12 -87 12 -176q0 -181 -25 -420q-13 -127 -15 -141l-17 -197l-126 -95l12 167q16 215 16 377q0 254 -39 415z" /> +<glyph unicode=""" horiz-adv-x="712" d="M220 771v494l142 105v-504zM556 771v494l142 105v-504z" /> +<glyph unicode="#" d="M73 317l77 77h254l64 207h-312l77 78h259l100 329l111 109l-134 -438h207l101 330l111 108l-135 -438h321l-75 -78h-269l-64 -207h325l-76 -77h-272l-97 -317l-111 -110l130 427h-207l-97 -317l-110 -108l130 425h-308zM482 394h207l63 207h-207z" /> +<glyph unicode="$" horiz-adv-x="794" d="M38 67l106 100q95 -78 238 -100l46 416l-45 30q-172 117 -172 231q0 211 275 264l27 238l72 67l-34 -305l48 1q136 0 230 -31l-94 -96q-71 50 -190 71l-38 -342l53 -38q185 -134 185 -245q0 -102 -92 -194t-212 -111l-29 -264l-72 -69l35 317q-60 -7 -87 -7 q-125 0 -250 67zM324 823q0 -76 124 -162l33 294q-157 0 -157 -132zM446 67q187 25 187 185q0 76 -111 163l-34 26z" /> +<glyph unicode="%" horiz-adv-x="1504" d="M176 595q0 166 123.5 302.5t273.5 136.5q177 0 177 -206q0 -159 -125.5 -294.5t-273.5 -135.5q-75 0 -125 56t-50 141zM284 676q0 -211 164 -211q80 0 136.5 85.5t56.5 204.5q0 95 -41 153.5t-108 58.5q-91 0 -149.5 -81.5t-58.5 -209.5zM345 -155l796 1235l130 84 l-797 -1237zM867 171q0 166 123.5 302.5t273.5 136.5q176 0 176 -206q0 -159 -125 -294.5t-272 -135.5q-76 0 -126 56t-50 141zM975 253q0 -212 164 -212q79 0 136 85.5t57 204.5q0 212 -149 212q-91 0 -149.5 -81.5t-58.5 -208.5z" /> +<glyph unicode="&" horiz-adv-x="1812" d="M117 298q0 291 413 483q-64 162 -64 260q0 148 101.5 246t255.5 98q224 0 224 -198q0 -183 -359 -382q11 -24 13 -29l27 -55q34 -70 51 -100q151 159 467 159h137l72 1q177 0 252 43.5t75 146.5q0 60 -59 120l111 112q42 -56 42 -142q0 -190 -161.5 -303t-431.5 -113h-18 q-51 -235 -240 -425q101 -141 187 -141q69 0 144 104q16 -14 16 -33q0 -52 -85.5 -121.5t-149.5 -69.5q-94 0 -222 159q-209 -159 -442 -159q-159 0 -257.5 94t-98.5 245zM294 362q0 -138 91 -227t231 -89q136 0 272 106l-24 33q-162 229 -292 520l-17 38 q-261 -127 -261 -381zM594 1135q0 -102 79 -294q235 138 235 315q0 69 -48 119t-114 50q-152 0 -152 -190zM798 588q18 -33 21 -39l68 -117q75 -129 109 -176q134 194 150 389h-29q-215 0 -319 -57z" /> +<glyph unicode="'" horiz-adv-x="376" d="M220 771v494l142 105v-504z" /> +<glyph unicode="(" horiz-adv-x="696" d="M201 583q0 763 675 1227l25 -37q-545 -426 -545 -1107q0 -540 340 -964l-127 -129q-368 450 -368 1010z" /> +<glyph unicode=")" horiz-adv-x="696" d="M-63 -390q545 426 545 1107q0 539 -340 965l127 128q368 -451 368 -1009q0 -763 -675 -1228z" /> +<glyph unicode="*" horiz-adv-x="914" d="M115 711l343 258q-149 101 -286 257l121 70q79 -102 210 -211l30 271l111 68l-38 -339l250 183l127 28l-382 -286l34 -20q193 -112 323 -165l-141 -84q-136 63 -234 138l-28 -253l-110 -65l39 360l-230 -175z" /> +<glyph unicode="+" d="M97 446l119 123h359l38 346l130 119l-52 -465h463l-119 -123h-358l-39 -353l-129 -119l52 472h-464z" /> +<glyph unicode="," horiz-adv-x="423" d="M58 -334q153 111 153 243q0 110 -121 189l141 140q122 -91 122 -216q0 -178 -270 -384z" /> +<glyph unicode="-" horiz-adv-x="741" d="M126 420l130 130h467l-129 -130h-468z" /> +<glyph unicode="." horiz-adv-x="423" d="M91 100l148 141q65 -49 116 -141l-147 -142q-44 95 -117 142z" /> +<glyph unicode="/" horiz-adv-x="888" d="M-215 -427l1387 2153l195 84l-1388 -2155z" /> +<glyph unicode="0" horiz-adv-x="1056" d="M143 303q0 276 190 503.5t420 227.5q122 0 197 -94.5t75 -248.5q0 -265 -192.5 -491t-418.5 -226q-118 0 -194.5 93t-76.5 236zM296 441q0 -164 71.5 -263.5t188.5 -99.5q131 0 223.5 144t92.5 349q0 161 -72 260.5t-188 99.5q-131 0 -223.5 -143.5t-92.5 -346.5z" /> +<glyph unicode="1" horiz-adv-x="882" d="M116 0l99 78h182l93 831q-98 -69 -162 -105l-106 -62q-3 -2 -24 -14l11 96q198 71 440 241l-110 -987h251l-97 -78h-577z" /> +<glyph unicode="2" horiz-adv-x="1144" d="M88 0l124 122q271 65 439 220t168 340q0 107 -79 177t-200 70q-146 0 -282 -108q-9 21 -9 27q0 53 157 119.5t281 66.5q123 0 216 -78t93 -181q0 -140 -168.5 -330t-411.5 -323l586 -29l-117 -119z" /> +<glyph unicode="3" horiz-adv-x="944" d="M11 -273l118 127q143 -61 264 -61q131 0 217 74.5t86 188.5q0 136 -122.5 217t-329.5 81q-32 0 -70 -8l119 117h33q16 0 49 -1q318 79 318 300q0 84 -57.5 137t-148.5 53q-144 0 -239 -96q-10 19 -10 28q0 47 114 98.5t217 51.5q126 0 206.5 -62t80.5 -159 q0 -198 -368 -357q332 -54 332 -305q0 -178 -176 -319.5t-396 -141.5q-122 0 -237 37z" /> +<glyph unicode="4" horiz-adv-x="1266" d="M58 138l995 938l-98 -885l249 -20l-114 -119l-149 11l-35 -312l-149 -61l3 28l8 74l8 70l24 213zM280 251l534 -47l67 604z" /> +<glyph unicode="5" horiz-adv-x="989" d="M38 -276l127 130q142 -59 251 -59q140 0 227 77.5t87 200.5q0 145 -121.5 233.5t-320.5 88.5q-38 0 -90 -6l74 466l146 153h556l-120 -122h-450l-59 -343q489 -34 489 -362q0 -200 -164 -345.5t-390 -145.5q-142 0 -242 34z" /> +<glyph unicode="6" horiz-adv-x="1161" d="M189 425q0 343 251 618.5t564 275.5q116 0 234 -35l-133 -128q-117 73 -246 73q-195 0 -326 -163q-78 -97 -133.5 -259.5t-55.5 -294.5v-34q73 130 195 210t249 80q120 0 196 -84t76 -216q0 -190 -150 -342t-337 -152q-168 0 -276 127t-108 324zM357 379 q64 -321 311 -321q110 0 185 80.5t75 198.5q0 138 -73 228.5t-186 90.5q-228 0 -312 -277z" /> +<glyph unicode="7" horiz-adv-x="1042" d="M141 -310q84 440 734 1138l49 53l-714 14l129 128l813 -15l-129 -127q-307 -289 -484.5 -578.5t-202.5 -540.5z" /> +<glyph unicode="8" horiz-adv-x="1058" d="M135 279q0 231 339 424l-21 18q-174 142 -174 261q0 131 124.5 234t282.5 103q124 0 203 -69t79 -176q0 -157 -239 -325l-40 -28l23 -18q238 -182 238 -311q0 -153 -152 -285.5t-327 -132.5q-141 0 -238.5 88.5t-97.5 216.5zM276 366q0 -116 96.5 -202t226.5 -86 q93 0 161.5 62.5t68.5 147.5q0 128 -290 362l-37 29q-226 -162 -226 -313zM384 1077q0 -115 228 -292l44 -34q170 91 170 268q0 101 -68 165t-176 64q-87 0 -142.5 -48t-55.5 -123z" /> +<glyph unicode="9" horiz-adv-x="1161" d="M27 -353l132 128q117 -73 246 -73q195 0 326 162q79 98 134.5 260.5t55.5 294.5l-1 34q-72 -130 -194.5 -210t-249.5 -80q-119 0 -195 84t-76 216q0 190 149.5 342t336.5 152q168 0 276 -127t108 -324q0 -343 -251 -618.5t-564 -275.5q-115 0 -233 35zM337 594 q0 -138 73 -228.5t185 -90.5q228 0 313 277q-65 321 -312 321q-109 0 -184 -80.5t-75 -198.5z" /> +<glyph unicode=":" horiz-adv-x="423" d="M91 100l148 141q65 -49 116 -141l-147 -142q-43 94 -117 142zM170 815l149 142q65 -51 115 -142l-146 -141q-45 95 -118 141z" /> +<glyph unicode=";" horiz-adv-x="423" d="M57 -334q153 111 153 243q0 110 -121 189l141 140q122 -91 122 -216q0 -178 -270 -384zM158 815l149 142q66 -51 115 -142l-147 -141q-44 95 -117 141z" /> +<glyph unicode="<" d="M104 443l106 107l955 484l-158 -163l-735 -356q382 -147 753 -449l-95 -92q-332 279 -826 469z" /> +<glyph unicode="=" d="M86 304l134 109h912l-119 -109h-927zM118 602l119 110h911l-118 -110h-912z" /> +<glyph unicode=">" d="M71 -26l158 163l735 357q-383 146 -753 448l95 92q333 -278 826 -468l-106 -108z" /> +<glyph unicode="?" horiz-adv-x="745" d="M144 103l148 141q65 -49 115 -141l-146 -142q-45 95 -117 142zM209 1304q0 39 113.5 78.5t221.5 39.5q293 0 293 -224q0 -156 -224 -301q-68 -44 -86 -60l-25 -23q-110 -100 -110 -224q0 -27 9 -62l-167 -151q-15 40 -15 88q0 174 179 327l57 47l22 20q168 146 168 281 q0 205 -218 205q-88 0 -208 -64q-10 17 -10 23z" /> +<glyph unicode="@" horiz-adv-x="1418" d="M140 427q0 410 251 684t626 274q441 0 441 -442q0 -244 -123.5 -429t-285.5 -185q-145 0 -145 215q0 20 2 34l4 37q-68 -121 -162 -206.5t-158 -85.5q-107 0 -107 176q0 209 145 366t339 157q46 0 103 -10l-25 -229l-9 -83q-8 -73 -8 -132q0 -88 21 -119t81 -31 q94 0 154.5 118t60.5 301q0 471 -423 471q-295 0 -479 -223t-184 -581q0 -460 317 -460q196 0 294 151q18 -22 18 -36q0 -63 -135.5 -131.5t-261.5 -68.5q-351 0 -351 468zM614 568q0 -109 58 -109q87 0 167.5 125.5t99.5 289.5l4 41q-63 9 -106 9q-98 0 -160.5 -99.5 t-62.5 -256.5z" /> +<glyph unicode="A" horiz-adv-x="1469" d="M121 830q0 248 215 400q180 128 616 128q74 0 130 -3q155 -10 159 -10h70q-78 -122 -78 -494l1 -52l4 -115q0 -207 51 -424q20 -84 39 -108t66 -24q51 0 116 33q7 -17 7 -28q0 -25 -39 -43l-47 -23l-246 -107q-82 253 -99 530l-76 -53h-336q-92 -234 -252 -334l207 -10 l-108 -114l-399 14l133 120l100 -6q68 50 116 140.5t143 350.5l30 83q92 251 175 365.5t226 188.5q-157 29 -331 29q-443 0 -443 -299q0 -102 48 -191l-157 -151q-41 107 -41 207zM715 545h369q-14 174 -14 282q0 55 2 90l8 116q8 119 22 182q-196 -120 -322 -490 q-36 -107 -42 -123z" /> +<glyph unicode="B" horiz-adv-x="1477" d="M121 770q0 270 230.5 442.5t589.5 172.5q463 0 463 -266q0 -227 -299 -363q292 -114 292 -350q0 -192 -195 -306t-522 -114q-201 0 -482 38l127 135l31 -7q60 -15 114 -22q81 50 109.5 120.5t51.5 274.5l84 753q-208 -15 -332 -112t-124 -244q0 -88 44 -166l-161 -142 q-21 77 -21 156zM545 118q198 -32 391 -32q312 0 312 248q0 107 -85.5 206.5t-208.5 135.5l-26 -1l-48 -2l-44 2l-27 1l-15 -134l-9 -84q-17 -149 -59.5 -209.5t-180.5 -130.5zM818 756q59 -5 102 -5q48 0 115 7q213 123 213 296q0 232 -371 232z" /> +<glyph unicode="C" horiz-adv-x="1275" d="M145 522q0 367 235 615t583 248q177 0 367 -67l-67 -147l-19 -43q-24 -51 -59 -51q-7 0 -21 3q14 31 14 51q0 67 -89.5 117t-208.5 50q-244 0 -396.5 -193t-152.5 -502q0 -239 107 -381t286 -142q129 0 257.5 77.5t189.5 191.5q23 -11 23 -32q0 -66 -121 -174 q-205 -183 -466 -183q-211 0 -336.5 152.5t-125.5 409.5z" /> +<glyph unicode="D" horiz-adv-x="1727" d="M121 768q0 300 233.5 458.5t673.5 158.5q726 0 726 -505q0 -302 -204 -557q-271 -337 -826 -337q-233 0 -525 41l139 147q51 -19 142 -34q74 45 101 114.5t50 273.5l83 745q-453 -53 -453 -327q0 -82 44 -171l-162 -152q-22 49 -22 145zM567 130q219 -30 409 -30 q177 0 273.5 49.5t188.5 187.5q129 192 129 431q0 528 -656 528h-33l-84 -751l-10 -94q-15 -131 -56 -191t-161 -130z" /> +<glyph unicode="E" horiz-adv-x="1497" d="M27 31l183 138q99 -17 238 -30q98 38 132 108t57 282l79 708h-35q-194 0 -304 -79.5t-110 -219.5q0 -81 46 -168l-162 -156q-24 80 -24 152q0 280 233 453q170 126 484 126h330q186 0 380 13l-81 -205l-16 -37q-25 -59 -64 -59q-6 0 -14 1q11 50 11 80q0 66 -69.5 82.5 t-346.5 16.5h-97l-53 -484h195q169 0 300 16q-114 -137 -230 -137q-65 0 -184 10q-49 3 -69 3h-24l-10 -87q-21 -190 -66.5 -270t-178.5 -161l219 -17l89 -8q94 -7 225 -7q221 0 368 143q17 -19 17 -36q0 -28 -107 -115q-156 -127 -341 -127q-171 0 -492 29l-373 34 q-19 1 -135 8z" /> +<glyph unicode="F" horiz-adv-x="1436" d="M121 766q0 280 233 453q170 126 483 126h331q186 0 379 13l-80 -205l-16 -37q-25 -59 -64 -59q-7 0 -15 1q12 51 12 80q0 66 -70 82.5t-347 16.5h-96l-59 -531h214q149 0 307 27q-118 -141 -222 -141l-85 2l-97 2l-77 2h-52l-8 -73l-10 -88q-17 -141 -61.5 -204.5 t-171.5 -123.5l277 -15l-120 -116l-474 22l129 124l108 -12q122 77 150 315l11 98l79 712h-34q-194 0 -304.5 -79.5t-110.5 -217.5q0 -83 46 -170l-162 -156q-23 78 -23 152z" /> +<glyph unicode="G" horiz-adv-x="1356" d="M140 516q0 371 234 620t584 249q177 0 367 -67l-67 -147l-19 -43q-24 -51 -59 -51q-7 0 -21 3q14 31 14 51q0 67 -89.5 117t-208.5 50q-249 0 -399 -195.5t-150 -518.5q0 -237 105 -370t292 -133q172 0 333 136l41 361h-170q-173 0 -277 -34q50 102 94.5 128t167.5 26 l101 1h266l-10 -41l-16 -63q-13 -56 -18 -97l-44 -402q-23 -203 -59 -303.5t-118 -185.5q-164 -172 -392 -172q-210 0 -327 144l149 118q92 -177 283 -177q144 0 207.5 90.5t91.5 332.5l19 173q-226 -157 -445 -157q-207 0 -333.5 153t-126.5 404z" /> +<glyph unicode="H" horiz-adv-x="1734" d="M110 775q0 258 192 414t510 156h79q-45 -229 -54 -308l-31 -277h558l4 36q65 581 230 790q202 256 448 256q92 0 171 -32l-148 -145q-84 57 -167 57q-169 0 -235 -167.5t-131 -758.5l-15 -136q-28 -263 -28 -407q0 -85 73 -85q54 0 134 46q4 -18 4 -25q0 -30 -53 -54 l-58 -27l-294 -134q0 185 48 629l4 36h-558l-10 -91l-13 -111q-17 -142 -61.5 -205t-170.5 -123l236 -15l-120 -116l-433 22l128 124l109 -12q79 51 109 127.5t52 284.5l77 700h-31q-416 0 -416 -275q0 -86 47 -173l-163 -156q-23 78 -23 155z" /> +<glyph unicode="I" horiz-adv-x="935" d="M121 775q0 258 192 414t510 156h79q-45 -229 -54 -308l-54 -489l-13 -111q-17 -142 -61.5 -205t-170.5 -123l290 -15l-120 -116l-487 22l128 124l109 -12q122 77 150 315l11 97l77 700h-31q-416 0 -416 -275q0 -86 47 -173l-163 -156q-23 78 -23 155z" /> +<glyph unicode="J" horiz-adv-x="931" d="M-176 -229l160 122q50 -256 281 -256q142 0 214 109t100 369l123 1109h-31q-416 0 -416 -275q0 -86 47 -173l-163 -156q-23 78 -23 155q0 258 192 414t510 156h79q-45 -229 -54 -308l-88 -795q-40 -354 -192 -513q-172 -180 -411 -180q-226 0 -328 222z" /> +<glyph unicode="K" horiz-adv-x="1641" d="M121 775q0 258 192 414t510 156h79q-45 -229 -54 -308l-33 -299q467 603 768 603q75 0 142 -20l-129 -140q-56 33 -125 33q-129 0 -269 -122t-228 -311q94 -182 219 -352l108 -146q108 -147 168 -147q81 0 148 117q27 -23 27 -38q0 -59 -87.5 -143t-148.5 -84 q-110 0 -310 284q-180 257 -283 465l-21 -189l-13 -111q-17 -142 -61.5 -205t-170.5 -123l236 -15l-120 -116l-433 22l128 124l109 -12q122 77 150 315l11 97l77 700h-31q-416 0 -416 -275q0 -86 47 -173l-163 -156q-23 78 -23 155z" /> +<glyph unicode="L" horiz-adv-x="1311" d="M-11 26l168 131q77 -14 130 -17q115 44 162 152.5t47 329.5l4 155q0 299 204 468q170 140 359 140q81 0 166 -37l-148 -145q-91 59 -180 59q-223 0 -223 -365l-4 -138q0 -283 -54 -414.5t-207 -217.5l207 -17l92 -7l111 -7q44 -3 99 -3q248 0 387 144q16 -20 16 -29 q0 -33 -96 -113q-164 -135 -352 -135q-77 0 -189 8l-297 22q-232 17 -402 36z" /> +<glyph unicode="M" horiz-adv-x="2029" d="M121 776q0 248 187.5 411.5t471.5 163.5q47 0 83 -4q24 -2 32 -2h13q-1 -29 -1 -42q0 -154 134 -496l45 -114q9 -24 29 -79l37 -104q30 -82 52 -163l52 86q86 143 154 260l98 169l76 140l92 168q13 23 51 94l193 121q-64 -373 -64 -599l-13 -327l-3 -123 q0 -156 20.5 -204.5t87.5 -48.5q71 0 127 20q9 -12 9 -21q0 -33 -68 -49l-53 -13l-284 -58q-5 94 -5 173q0 510 45 906q-138 -196 -208 -318l-60 -103q-123 -212 -199 -409l-144 -150q-14 189 -149 531l-39 101q-8 18 -36 88q-57 138 -85 264l-81 -495q-36 -223 -75 -303.5 t-138 -132.5l252 -19l-128 -117l-427 22l129 124l113 -10q66 49 94 120t65 287l120 703h-47q-416 0 -416 -275q0 -86 47 -173l-163 -156q-23 78 -23 156z" /> +<glyph unicode="N" horiz-adv-x="1807" d="M121 776q0 246 186.5 410.5t466.5 164.5q39 0 73 -3q38 -3 48 -3h11q-4 -35 -4 -50q0 -206 267 -524l75 -88l66 -79q105 -125 166 -230l67 543q63 497 231 697q192 228 424 228q87 0 172 -32l-148 -147q-91 53 -161 53q-155 0 -235.5 -142.5t-125.5 -496.5l-106 -847 l-126 -260q-46 184 -98 280t-207 282l-77 93q-178 215 -252 385l-50 -450l-12 -108q-16 -134 -51.5 -196.5t-141.5 -141.5l221 -20l-119 -116l-435 22l129 124l111 -10q76 55 105 119t46 212l9 87l77 692h-47q-416 0 -416 -275q0 -86 47 -173l-162 -156q-24 78 -24 156z" /> +<glyph unicode="O" horiz-adv-x="1404" d="M151 511q0 353 238.5 613.5t562.5 260.5q201 0 326 -152.5t125 -398.5q0 -356 -239.5 -615.5t-567.5 -259.5q-196 0 -320.5 154.5t-124.5 397.5zM341 611q0 -248 109 -409.5t277 -161.5q207 0 346.5 199t139.5 494q0 247 -109 409.5t-274 162.5q-209 0 -349 -198.5 t-140 -495.5z" /> +<glyph unicode="P" horiz-adv-x="1370" d="M121 770q0 272 231 443.5t598 171.5q492 0 492 -322q0 -204 -183 -349t-464 -162q-24 -233 -63 -304t-183 -139l264 -15l-120 -116l-461 22l129 124l108 -12q122 77 150 315l11 97l85 758q-455 -86 -455 -343q0 -103 43 -183l-161 -142q-21 77 -21 156zM806 656 q56 -10 98 -10q383 0 383 335q0 313 -410 313z" /> +<glyph unicode="Q" horiz-adv-x="1418" d="M144 511q0 353 238.5 613.5t562.5 260.5q202 0 326 -152t124 -399q0 -492 -420 -766l18 -18q501 -466 848 -466q78 0 129.5 46t51.5 116q0 32 -17 67l175 96q7 -28 7 -46q0 -136 -128.5 -241.5t-294.5 -105.5q-195 0 -464 131.5t-506 342.5q-110 -31 -211 -31 q-191 0 -315 155.5t-124 396.5zM334 611q0 -260 105.5 -409t298.5 -162l137 141q13 -15 17 -19l28 -36q3 -3 14 -16q272 188 272 626q0 244 -109.5 406.5t-273.5 162.5q-209 0 -349 -198.5t-140 -495.5z" /> +<glyph unicode="R" horiz-adv-x="1612" d="M121 770q0 271 231 443t595 172q494 0 494 -314q0 -229 -294 -395q20 -38 29 -57q159 -308 226 -405t124 -100h6q86 0 134 138q33 -19 33 -41q0 -63 -84.5 -157t-141.5 -94q-83 0 -216 182t-264 476q-55 -5 -94 -5q-38 0 -96 5l-8 -66l-13 -115q-17 -143 -61 -205.5 t-171 -122.5l236 -15l-120 -116l-433 22l128 124l109 -12q121 77 150 315l11 97l84 758q-455 -86 -455 -343q0 -103 43 -183l-161 -142q-21 77 -21 156zM813 709q80 -13 146 -13q62 0 135 13q179 128 179 310q0 270 -396 270z" /> +<glyph unicode="S" horiz-adv-x="1076" d="M86 177l170 103q40 -246 295 -246q124 0 203 67.5t79 173.5q0 145 -175 288l-121 98q-146 120 -195 189.5t-49 156.5q0 164 131 271t331 107q159 0 301 -76l-58 -133l-26 -59q-22 -52 -52 -52q-13 0 -27 10q17 52 17 83q0 64 -70.5 107t-174.5 43q-236 0 -236 -195 q0 -70 52.5 -134.5t218.5 -199.5l97 -80q185 -150 185 -315q0 -182 -153.5 -303t-383.5 -121q-280 0 -359 217z" /> +<glyph unicode="T" horiz-adv-x="1560" d="M121 773q0 275 229 445q171 127 471 127h597q371 0 371 229q0 80 -55 148l126 120q44 -60 44 -154q0 -197 -177.5 -330.5t-438.5 -133.5h-278l-75 -676l-12 -111q-17 -142 -61.5 -205t-171.5 -123l291 -15l-120 -116l-488 22l129 124l109 -12q121 77 150 315l10 97 l78 700h-170q-419 0 -419 -277q0 -84 47 -171l-163 -156q-23 78 -23 153z" /> +<glyph unicode="U" horiz-adv-x="1750" d="M121 775q0 258 192 414t510 156h146q-90 -174 -147 -416t-57 -448q0 -414 252 -414q170 0 274 164.5t135 482.5q14 145 19 189l42 377l198 103q-43 -165 -70 -407l-36 -320q-2 -17 -11 -113l-14 -139q-8 -79 -8 -136q0 -100 76 -100q60 0 135 47l3 -12q2 -12 2 -19 q0 -29 -55 -55l-59 -29l-294 -140l37 334q-214 -335 -461 -335q-338 0 -338 516q0 349 168 749h-84q-416 0 -416 -275q0 -86 47 -173l-163 -156q-23 78 -23 155z" /> +<glyph unicode="V" horiz-adv-x="1414" d="M166 1245q88 140 224 140q112 0 174 -101.5t143 -417.5q90 -355 143 -633q437 612 437 853q0 94 -76 137l147 162q100 -56 100 -173q0 -148 -241 -531l-113 -174l-82 -129q-7 -11 -49 -84l-46 -81q-10 -17 -39 -81l-175 -172q-40 318 -141 721q-87 343 -134.5 444.5 t-123.5 101.5q-131 0 -189 -200q-35 8 -35 37q0 60 76 181z" /> +<glyph unicode="W" horiz-adv-x="1839" d="M111 1062q0 102 98.5 212.5t189.5 110.5q92 0 139.5 -70.5t82.5 -259.5q53 -281 53 -648l1 -70l144 280l64 123l93 183q80 156 107 250l153 146q-7 -76 -7 -130q0 -170 69 -543l12 -65l20 -104q20 -107 40 -231q29 54 36 70l81 168l98 199q122 253 122 395q0 96 -79 146 l147 161q102 -67 102 -161q0 -125 -210 -538q-35 -69 -84 -168l-43 -88l-44 -101l-58 -130q-7 -17 -32 -80l-154 -163l-4 44q-20 210 -75 497l-12 60l-17 89q-19 97 -25 142l-19 137q-2 15 -10 70l-135 -268l-55 -109q-151 -296 -231 -493l-170 -165q17 120 17 359 q0 476 -42.5 696t-135.5 220q-60 0 -116 -63t-70 -146q-41 9 -41 36z" /> +<glyph unicode="X" horiz-adv-x="1436" d="M14 -7l147 143q39 -21 84 -21q131 0 272 200q118 166 179 293l20 40l-62 146l-38 94q-20 49 -49 108q-38 81 -45 96q-55 128 -109 128q-98 0 -166 -189q-32 8 -32 42q0 95 92 204t174 109q65 0 117 -75t151 -312l79 -190l34 60l64 113q230 403 461 403q77 0 145 -32 l-144 -144q-42 24 -73 24q-91 0 -181 -100t-236 -363l-31 -56l80 -192l45 -102l43 -101q90 -213 167 -213q112 0 163 172q37 -16 37 -43q0 -44 -60 -137q-90 -139 -204 -139q-82 0 -146.5 90t-181.5 369l-55 133l-22 -43q-287 -549 -582 -549q-63 0 -137 34z" /> +<glyph unicode="Y" horiz-adv-x="1321" d="M140 1170q0 61 81.5 138t146.5 77q135 0 252.5 -205t156.5 -508q82 299 250 506t329 207q63 0 122 -40l-113 -155q-43 27 -93 27q-149 0 -304.5 -243.5t-189.5 -529.5l-2 -21q-15 -125 -57.5 -183.5t-171.5 -131.5l310 -14l-117 -116l-545 22l140 124l122 -10 q74 45 109.5 118t50.5 212l2 21q4 38 4 83q0 247 -102.5 478t-212.5 231q-83 0 -137 -126q-31 10 -31 39z" /> +<glyph unicode="Z" horiz-adv-x="1207" d="M68 3q0 31 48 91l48 59l859 1027q-44 -8 -74 -8q-98 0 -242 53l-46 17l-41 15q-49 18 -106 18q-147 0 -147 -227q0 -31 7 -72l-158 -100q-1 26 -1 37q0 192 133 332t316 140q65 0 164 -27l42 -12q85 -23 156 -23q135 0 194 62q25 -20 25 -42q0 -28 -55 -88 q-12 -13 -52 -61l-854 -1031q64 7 113 7q51 0 149 -14l76 -11l130 -22q102 -18 172 -18q176 0 224 134q37 -11 37 -30q0 -38 -60 -124q-86 -125 -227 -125q-45 0 -166 16l-92 12l-98 13q-90 13 -173 13q-141 0 -276 -54q-25 21 -25 43z" /> +<glyph unicode="[" horiz-adv-x="647" d="M127 -427l235 2116l123 121h479l-119 -116h-353l-223 -2004h467l-118 -117h-491z" /> +<glyph unicode="\" horiz-adv-x="715" d="M27 1743l115 67l530 -2169l-118 -68z" /> +<glyph unicode="]" horiz-adv-x="647" d="M-156 -427l119 117h353l223 2004h-467l117 116h492l-235 -2115l-123 -122h-479z" /> +<glyph unicode="^" d="M154 310l536 955l83 80q42 -246 136 -524t186 -428l-86 -83q-207 342 -313 840l-362 -666z" /> +<glyph unicode="_" d="M40 -103l11 103h1035l-12 -103h-1034z" /> +<glyph unicode="`" horiz-adv-x="914" d="M567 1368l81 81q90 -194 208 -271l-87 -92q-123 79 -202 282z" /> +<glyph unicode="a" horiz-adv-x="1051" d="M107 195q0 304 199.5 526.5t472.5 222.5q104 0 177 -26q-5 -18 -6 -22l-12 -53q-12 -55 -13 -64l-64 -442l-9 -64q-13 -95 -13 -127q0 -43 25 -43q84 0 172 188q27 -16 27 -32q0 -35 -86 -141q-117 -144 -217 -144q-73 0 -73 98q0 30 7 83l10 80l13 88l11 74 q-113 -186 -248.5 -304.5t-235.5 -118.5q-137 0 -137 221zM271 250q0 -130 77 -130q89 0 215 136q170 183 206 430l16 108q-91 51 -184 51q-140 0 -235 -171t-95 -424z" /> +<glyph unicode="b" horiz-adv-x="993" d="M148 0q22 76 31 159l96 863q35 311 230 530t436 219q50 0 96 -11l-147 -144q-57 17 -107 17q-298 0 -349 -464l-71 -636q108 188 239 306t231 118q144 0 144 -245q0 -300 -190.5 -512.5t-459.5 -212.5q-34 0 -60 3l-81 8q-7 0 -38 2zM319 137q93 -51 186 -51 q138 0 224 159.5t86 415.5q0 149 -81 149q-90 0 -211 -135q-164 -183 -192 -430z" /> +<glyph unicode="c" horiz-adv-x="784" d="M103 274q0 259 176 471t391 212q78 0 133 -26l-114 -137q-80 33 -153 33q-131 0 -206.5 -111t-75.5 -304q0 -136 54.5 -219t142.5 -83q149 0 234 195q22 -24 22 -45q0 -83 -129.5 -184.5t-237.5 -101.5q-104 0 -170.5 83.5t-66.5 216.5z" /> +<glyph unicode="d" horiz-adv-x="1051" d="M101 195q0 289 195 519t440 230q12 0 39 -2l10 86q36 320 218.5 532t420.5 212q57 0 98 -10l-142 -145q-47 16 -111 16q-150 0 -224 -105t-102 -358l-93 -833l-7 -64q-9 -85 -9 -121q0 -49 26 -49q83 0 167 188q27 -16 27 -32q0 -36 -81 -141q-113 -144 -212 -144 q-77 0 -77 106q0 39 12 155l10 88l8 74q-68 -150 -220.5 -286.5t-251.5 -136.5q-141 0 -141 221zM265 250q0 -130 76 -130q92 0 216 136q161 175 190 430l12 113q-84 46 -154 46q-148 0 -244 -168t-96 -427z" /> +<glyph unicode="e" horiz-adv-x="761" d="M103 262q0 228 172.5 461.5t341.5 233.5q122 0 122 -131q0 -147 -142.5 -287t-347.5 -195q20 -241 190 -241q168 0 275 215q25 -17 25 -40q0 -31 -64 -106q-171 -198 -338 -198q-102 0 -168 81t-66 207zM253 466q29 -10 53 -10q124 0 217 76t93 178q0 117 -119 117 q-86 0 -155.5 -102.5t-88.5 -258.5z" /> +<glyph unicode="f" horiz-adv-x="639" d="M-457 -816l133 122q85 -28 154 -28q295 0 341 447l26 248l84 842h-181l114 116h79l6 58q36 370 213 576.5t457 206.5q53 0 119 -10l-140 -138q-75 29 -147 29q-172 0 -245 -119t-106 -456l-15 -147h405l-119 -116h-298l-81 -809q-27 -275 -83.5 -419t-182.5 -259 q-185 -169 -415 -169q-46 0 -118 25z" /> +<glyph unicode="g" horiz-adv-x="955" d="M-164 -529q0 269 329 531q-70 55 -70 194q0 302 199 525t470 223q115 0 173 -26q-5 -18 -6 -22l-11 -53q-13 -58 -14 -64l-40 -366q-10 -92 -21 -323q-14 -289 -55 -428t-145 -248q-238 -251 -507 -251q-130 0 -216 88t-86 220zM-32 -434q0 -125 88.5 -209.5t219.5 -84.5 q202 0 310 178q82 137 114 653q12 195 21 290q-270 -412 -489 -412q-9 0 -32 2q-232 -234 -232 -417zM259 250q0 -130 77 -130q88 0 215 136q176 189 202 428l13 110q-72 51 -181 51q-137 0 -231.5 -172t-94.5 -423z" /> +<glyph unicode="h" horiz-adv-x="1090" d="M161 -26l3 28l8 74l8 70l97 876q35 310 230 529.5t436 219.5q50 0 97 -11l-147 -144q-57 17 -108 17q-297 0 -349 -464l-69 -617q117 176 257.5 290.5t240.5 114.5q97 0 97 -135q0 -40 -12 -123l-53 -373q-16 -112 -16 -177q0 -52 28 -52q69 0 169 184q25 -15 25 -31 q0 -65 -111.5 -170.5t-181.5 -105.5q-78 0 -78 112q0 82 21 227l34 242q17 119 17 189q0 77 -55 77q-128 0 -259 -173.5t-154 -372.5l-26 -240z" /> +<glyph unicode="i" horiz-adv-x="606" d="M118 690q0 61 112.5 164t179.5 103q75 0 75 -104q0 -20 -8 -82l-9 -67q-1 -8 -11 -81l-41 -286l-10 -64q-13 -95 -13 -127q0 -43 25 -43q84 0 173 188q27 -16 27 -31q0 -36 -87 -142q-117 -144 -217 -144q-73 0 -73 97q0 41 30 252l39 272l10 69l8 55q5 35 5 59 q0 50 -28 50q-78 0 -168 -172q-19 17 -19 34zM390 1086l84 207q112 46 184 127q10 -14 10 -29q0 -134 -278 -305z" /> +<glyph unicode="j" horiz-adv-x="545" d="M-449 -815q13 12 20 18l47 42q56 50 120 50q21 0 48 -8q10 -3 15 -5l21 -5q36 -8 64 -8q165 0 231 143t112 599l80 802q-49 -38 -101 -82q-67 -56 -117 -88l8 80q166 98 372 285l-100 -997q-43 -428 -185 -606q-196 -245 -476 -245q-97 0 -159 25zM387 1086l45 190 q128 57 191 141q10 -22 10 -35q0 -41 -74.5 -130.5t-171.5 -165.5z" /> +<glyph unicode="k" horiz-adv-x="947" d="M161 -26l3 28l8 74l8 70l98 876q34 311 229 530t437 219q50 0 96 -11l-147 -144q-57 17 -108 17q-297 0 -349 -464l-60 -540q75 140 188.5 234t208.5 94q128 0 128 -132q0 -126 -106.5 -230.5t-281.5 -150.5q190 -341 283 -341q67 0 141 117q23 -17 23 -33 q0 -47 -92 -129t-148 -84h-2q-100 0 -338 425l-25 45l-45 -409zM358 474q161 0 269 72.5t108 179.5q0 108 -76 108q-70 0 -155.5 -102.5t-145.5 -257.5z" /> +<glyph unicode="l" horiz-adv-x="546" d="M170 94q0 73 9 149l11 89l77 696q36 318 218.5 531t420.5 213q58 0 98 -10l-142 -145q-47 16 -110 16q-150 0 -224.5 -105.5t-102.5 -357.5l-93 -838q-11 -97 -11 -139q0 -90 31 -90q37 0 87 59.5t73 131.5q29 -14 29 -36q0 -72 -107.5 -178t-180.5 -106q-83 0 -83 120z " /> +<glyph unicode="m" horiz-adv-x="1616" d="M94 690q0 60 109.5 163.5t173.5 103.5q86 0 86 -110q0 -28 -5 -75l-8 -81l-8 -68l-8 -71l28 44q224 361 417 361q93 0 93 -134q0 -23 -8 -97l-10 -92l-14 -125q93 193 220.5 320.5t227.5 127.5q99 0 99 -128q0 -55 -11 -131l-53 -371q-17 -115 -17 -178q0 -53 29 -53 q34 0 85.5 57t82.5 129q27 -18 27 -33q0 -63 -111.5 -169t-177.5 -106q-85 0 -85 114q0 72 22 223l35 241q2 13 7 57q2 18 7 61t5 66q0 85 -56 85q-94 0 -218.5 -188t-143.5 -358l-27 -240l-148 -61l3 28l8 74l7 70l50 449l7 51q4 40 4 78q0 97 -59 97q-92 0 -214.5 -188 t-141.5 -358l-26 -240l-149 -61l3 28l8 74l8 70l51 464l6 53q7 62 7 100q0 64 -32 64q-75 0 -162 -170q-23 19 -23 33z" /> +<glyph unicode="n" horiz-adv-x="1156" d="M94 690q0 60 109.5 163.5t172.5 103.5q86 0 86 -110q0 -28 -5 -75l-8 -81l-8 -68l-8 -71q118 176 258.5 290.5t239.5 114.5q97 0 97 -135q0 -41 -11 -123l-54 -373q-16 -112 -16 -177q0 -52 28 -52q69 0 170 184q24 -15 24 -31q0 -65 -111.5 -170.5t-181.5 -105.5 q-78 0 -78 112q0 82 21 227l35 242q17 118 17 187q0 79 -55 79q-128 0 -259.5 -173.5t-153.5 -372.5l-27 -240l-149 -61l3 28l8 74l8 70l52 464l6 53q6 62 6 100q0 64 -32 64q-75 0 -161 -170q-23 19 -23 33z" /> +<glyph unicode="o" horiz-adv-x="878" d="M103 272q0 240 176 462.5t365 222.5q228 0 228 -298q0 -241 -176 -463t-368 -222q-225 0 -225 298zM256 398q0 -312 193 -312q115 0 192.5 128t77.5 319q0 312 -194 312q-114 0 -191.5 -128.5t-77.5 -318.5z" /> +<glyph unicode="p" horiz-adv-x="1019" d="M-434 -829l145 144q57 -17 108 -17q298 0 344 464l104 1037q-47 -35 -101 -81q-66 -56 -116 -88l8 80q169 100 371 286l-46 -463q106 186 238 305t232 119q144 0 144 -246q0 -293 -189 -508.5t-446 -215.5l-34 1l-8 -79q-31 -310 -224 -530t-434 -220q-50 0 -96 12z M343 137q81 -51 183 -51q137 0 222.5 160t85.5 415q0 149 -81 149q-89 0 -211 -136q-163 -181 -188 -429z" /> +<glyph unicode="q" horiz-adv-x="993" d="M109 195q0 298 198 523.5t459 225.5q100 0 172 -26q-5 -18 -6 -21l-11 -54q-12 -55 -13 -64l-158 -1420q26 24 103 84l87 69q5 4 37 25l-10 -84q-178 -102 -381 -288l137 1233q-116 -184 -252.5 -304t-229.5 -120q-132 0 -132 221zM273 250q0 -130 68 -130h4 q80 4 222 149q97 99 134 180t54 234l13 120q-67 42 -168 42q-138 0 -232.5 -172t-94.5 -423z" /> +<glyph unicode="r" horiz-adv-x="853" d="M206 856q108 100 172 101q85 0 85 -112q0 -27 -5 -73l-7 -70l-9 -84l-9 -82q222 421 437 421q56 0 112 -26l-141 -154q-32 18 -82 18q-104 0 -219.5 -168.5t-135.5 -350.5l-27 -244l-148 -50l3 30l7 65l8 65l52 476l6 52q7 59 7 96q0 61 -34 61q-80 0 -159 -171 q-24 18 -24 37q-1 60 111 163z" /> +<glyph unicode="s" horiz-adv-x="728" d="M43 28l138 113q78 -83 196 -83q144 0 144 139q0 77 -132 215l-57 59q-125 131 -125 212q0 116 100.5 195t247.5 79q80 0 175 -30l-120 -111q-76 57 -169 57q-109 0 -109 -91q0 -65 121 -191l62 -66q138 -144 138 -232q0 -126 -121 -222.5t-279 -96.5q-112 0 -210 54z" /> +<glyph unicode="t" horiz-adv-x="725" d="M66 815l117 116h107l21 182l147 49l-25 -231h424l-117 -116h-320l-50 -442q-13 -119 -13 -176q0 -113 77 -113q83 0 172 136q15 -19 15 -34q0 -56 -98.5 -134t-169.5 -78q-142 0 -142 182q0 67 17 217l49 442h-211z" /> +<glyph unicode="u" horiz-adv-x="1148" d="M88 689q0 62 110.5 165t175.5 103q83 0 83 -114q0 -27 -4 -63l-9 -77l-9 -84l-32 -286q-8 -73 -8 -148q0 -69 51 -69q113 0 255.5 186t168.5 368l34 237l162 55q-28 -116 -42 -207l-60 -418q-5 -38 -8 -64l-7 -55q-6 -51 -6 -72q0 -43 24 -43q85 0 173 188q27 -16 27 -32 q0 -35 -87 -141q-117 -144 -217 -144q-73 0 -73 98q0 31 7 83l11 80q9 65 12 88l10 70q-114 -175 -257 -297t-233 -122q-99 0 -99 132q0 49 13 161l36 328q1 7 5 58l6 65q3 29 3 52q0 58 -33 58q-76 0 -164 -171q-19 15 -19 32z" /> +<glyph unicode="v" horiz-adv-x="923" d="M25 702q0 76 65.5 164t123.5 91h6q213 0 339 -761q279 390 279 543q0 57 -58 90l125 128q73 -37 73 -118q0 -100 -191 -389q-42 -62 -59 -90l-25 -43l-46 -73q-38 -60 -80 -135l-139 -135q-38 322 -124 584t-154 262q-76 0 -106 -151q-29 10 -29 33z" /> +<glyph unicode="w" horiz-adv-x="1285" d="M27 705q0 76 71.5 164t131.5 88q88 0 138.5 -145t86.5 -498l6 -61q176 323 263 590l119 114q12 -135 23 -209l24 -160l17 -112l44 -256l24 39q231 378 231 485q0 58 -61 99l121 114q74 -41 74 -109q0 -82 -114 -271l-61 -101l-75 -131q-81 -141 -118 -251l-120 -120 q-14 180 -49 379l-17 94l-43 234l-47 -86q-128 -234 -216 -479l-153 -139q0 232 -33 441l-33 212q-28 181 -96 186h-6q-72 0 -100 -151q-32 9 -32 40z" /> +<glyph unicode="x" horiz-adv-x="1026" d="M7 9l116 114q30 -30 70 -30q113 0 254 228l52 84l20 33l-31 82q-34 87 -37 94l-48 107q-51 115 -98 115q-71 0 -112 -133q-30 11 -30 32q0 62 72 142t129 80q112 0 232 -322l20 -53l23 37q213 338 359 338q38 0 89 -22l-121 -127q-24 7 -34 7q-110 0 -262 -253l-29 -48 l23 -62q132 -363 217 -363q78 0 119 112q28 -18 28 -37q0 -50 -80 -120t-138 -70q-116 0 -237 327l-28 74l-29 -51q-204 -350 -390 -350q-70 0 -119 35z" /> +<glyph unicode="y" horiz-adv-x="1110" d="M-60 -811l123 135q94 -42 196 -42q208 0 312 135t174 495l94 486q-101 -184 -211.5 -304t-180.5 -120q-96 0 -106 202l-7 139l-13 283l-3 81q-9 161 -59 161q-78 0 -152 -148q-26 18 -26 39q0 54 97 140t158 86q63 0 89 -56.5t34 -208.5l18 -350q10 -200 64 -200 q81 0 201 185.5t154 364.5l39 204l178 62q-34 -88 -70 -266l-134 -671q-79 -394 -244 -582q-247 -280 -572 -280q-68 0 -153 30z" /> +<glyph unicode="z" horiz-adv-x="843" d="M47 -21l83 160q57 60 110 128l64 79q32 41 49 61l46 56q22 27 70 90l90 116l77 102q8 9 23 28q-20 -2 -29 -2q-70 0 -190 34l-36 10l-30 10q-28 8 -49 8q-70 0 -70 -79q0 -30 16 -61l-117 -101q-4 34 -4 50q0 116 77.5 202.5t181.5 86.5q28 0 71 -8l58 -10l48 -7 q83 -14 116 -14q74 0 157 33l-87 -160q-74 -82 -151 -177l-79 -99l-70 -87l-46 -57l-42 -51q-58 -71 -65 -81l-48 -69q-8 -11 -37 -46q55 6 91 6q64 0 143 -11l65 -9l61 -8q36 -5 73 -5q93 0 136 58q17 -16 17 -29q0 -52 -57 -99.5t-120 -47.5q-29 0 -73 5q-37 4 -65 6 l-59 4q-73 6 -143 6q-145 0 -256 -21z" /> +<glyph unicode="{" horiz-adv-x="713" d="M90 677l103 103l123 1q173 78 173 245l-2 111l-1 125q0 425 367 548l12 -32q-237 -113 -237 -410l3 -92l2 -108q0 -162 -56.5 -250.5t-195.5 -147.5q193 -27 193 -218q0 -113 -31 -281l-35 -189l-13 -91l-12 -79q-6 -37 -6 -75q0 -124 129 -175l-86 -89q-186 59 -186 246 q0 54 8 112l15 102q8 59 11 75l35 189q24 129 24 219q0 89 -57.5 125t-202.5 36h-77z" /> +<glyph unicode="|" horiz-adv-x="418" d="M132 -110l156 1409l147 156l-156 -1410z" /> +<glyph unicode="}" horiz-adv-x="713" d="M3 -394q237 111 237 410l-3 92l-2 108q0 161 56.5 250t195.5 147q-193 28 -193 218q0 112 31 281l34 189l14 91l12 80q6 36 6 74q0 125 -129 176l86 88q186 -58 186 -245q0 -54 -8 -112l-15 -102q-8 -61 -11 -76l-35 -189q-24 -128 -24 -218t57.5 -125.5t202.5 -35.5 l77 -1l-104 -102l-122 -2q-173 -77 -173 -245l2 -110l1 -126q0 -426 -367 -548z" /> +<glyph unicode="~" d="M155 393q0 103 79.5 202t161.5 99q83 0 223 -113l48 -38q136 -110 208 -110q148 0 175 230q43 -19 43 -52q0 -103 -79 -202t-161 -99q-84 0 -223 113l-48 39q-135 109 -208 109q-149 0 -175 -229q-44 18 -44 51z" /> +<glyph unicode="¡" horiz-adv-x="525" d="M195 -328q0 178 26 420q12 123 14 141l17 197l127 95l-12 -167q-16 -215 -16 -376q0 -253 39 -416l-182 -70q-13 87 -13 176zM227 815l146 142q46 -96 118 -142l-149 -141q-65 49 -115 141z" /> +<glyph unicode="¢" horiz-adv-x="1060" d="M213 271q0 173 116 361.5t283 288.5l36 320l72 73l-39 -358q109 40 183 40q72 0 124 -26l-129 -137q-76 33 -145 33q-19 0 -44 -3l-79 -709q129 43 209 190q18 -22 18 -39q0 -43 -70.5 -117.5t-166.5 -131.5l-25 -218l-72 -69l29 262q-64 -19 -102 -19q-198 0 -198 259z M378 391q0 -214 148 -241l78 698q-92 -35 -159 -170.5t-67 -286.5z" /> +<glyph unicode="£" horiz-adv-x="937" d="M4 1l107 122l28 -2q23 -3 60 -5l31 -3q120 107 120 377v27h-238l61 65h177q15 195 152 323.5t329 128.5q83 0 130 -17l-125 -121q-79 32 -153 32q-105 0 -148 -65t-43 -222v-59h281l-59 -65h-222v-18q0 -128 -34 -201t-133 -158q-11 -10 -33 -29l68 -4q32 -1 80 -1 l110 -2q227 0 329 137q11 -15 11 -34q0 -42 -84 -120q-123 -113 -274 -113q-42 0 -109 3q-154 8 -177 8q-62 0 -242 16z" /> +<glyph unicode="¤" horiz-adv-x="1306" d="M16 -26l350 285q-50 79 -50 179q0 133 87 256l-257 243l89 71l251 -218q118 109 273 109q135 0 244 -101l172 142l233 68l-359 -275q41 -83 41 -165q0 -135 -87 -265l258 -243l-93 -86l-247 229q-138 -109 -282 -109q-114 0 -229 105l-187 -155zM421 516q0 -122 90 -215 t209 -93q110 0 188 81t78 195q0 125 -88 213.5t-211 88.5q-113 0 -189.5 -77.5t-76.5 -192.5z" /> +<glyph unicode="¥" horiz-adv-x="1132" d="M128 0l117 115l132 -9q114 69 137 214h-312l49 52h268q3 23 3 44q0 34 -4 75h-295l52 52h230l-6 22q-85 323 -204 323q-80 0 -109 -106q-36 5 -36 30q0 58 73 127t134 69q92 0 176.5 -140.5t102.5 -324.5h20l14 30q201 435 423 435q68 0 127 -36l-118 -123q-31 20 -75 20 q-165 0 -318 -326h290l-53 -52h-256q-13 -48 -25 -119h312l-52 -52h-271q-17 -110 -202 -217l283 -16l-110 -113z" /> +<glyph unicode="§" d="M87 -206l162 91q16 -247 299 -247q120 0 196 68.5t76 174.5q0 131 -157 238l-127 87q-256 176 -256 353q0 168 152 288q-109 89 -109 203q0 148 127.5 241.5t329.5 93.5q148 0 294 -66l-53 -124l-24 -53q-23 -50 -45 -50q-8 0 -23 8q17 52 17 78q0 66 -68.5 107.5 t-178.5 41.5q-116 0 -188 -57t-72 -150q0 -100 188 -232l144 -101q241 -168 241 -351q0 -162 -132 -295q67 -81 67 -178q0 -163 -143.5 -276.5t-350.5 -113.5q-273 0 -366 221zM396 637q0 -87 54 -153.5t214 -179.5l183 -128q57 83 57 184q0 92 -49.5 155.5t-207.5 173.5 l-181 126q-70 -70 -70 -178z" /> +<glyph unicode="¨" horiz-adv-x="914" d="M388 1198l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112zM711 1198l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112z" /> +<glyph unicode="©" horiz-adv-x="1573" d="M144 672q0 296 208.5 504.5t503.5 208.5q296 0 504.5 -209t208.5 -504t-208.5 -503.5t-504.5 -208.5q-295 0 -503.5 208.5t-208.5 503.5zM211 672q0 -268 188.5 -456.5t456.5 -188.5t457 188.5t189 456.5t-189 457t-457 189q-267 0 -456 -189t-189 -457zM479 573 q0 210 154.5 370t357.5 160q115 0 226 -40l-38 -94l-21 -50q-18 -44 -43 -44q-11 0 -27 6q10 23 10 36q0 123 -158 123q-130 0 -222.5 -118t-92.5 -284q0 -139 63 -218t173 -79q140 0 260 100q7 -27 7 -40q0 -53 -118.5 -109t-231.5 -56q-129 0 -214 95.5t-85 241.5z" /> +<glyph unicode="ª" horiz-adv-x="708" d="M166 907q0 186 127 316t310 130q73 0 122 -19q-5 -17 -6 -22l-7 -31q-8 -31 -8 -36l-39 -256l-5 -37l-4 -32q-3 -25 -3 -30l-1 -13q0 -12 8 -12q40 0 91 103l4 11q32 -17 32 -33q0 -44 -72.5 -110.5t-120.5 -66.5q-54 0 -54 68q0 24 17 142q-153 -210 -280 -210 q-111 0 -111 138zM286 941q0 -71 48 -71q75 0 156 103t99 221l8 55q-56 25 -114 25q-88 0 -142.5 -92.5t-54.5 -240.5z" /> +<glyph unicode="«" horiz-adv-x="1166" d="M78 406l92 93l544 387l-64 -147l-430 -260q207 -108 364 -337l-92 -94q-146 243 -414 358zM524 406l92 93l544 387l-64 -147l-430 -260q207 -108 363 -337l-91 -94q-146 243 -414 358z" /> +<glyph unicode="¬" d="M100 472l117 123h880l-41 -368l-131 -129l42 374h-867z" /> +<glyph unicode="­" horiz-adv-x="741" d="M126 420l130 130h467l-129 -130h-468z" /> +<glyph unicode="®" horiz-adv-x="1573" d="M144 672q0 296 208.5 504.5t503.5 208.5q296 0 504.5 -209t208.5 -504t-208.5 -503.5t-504.5 -208.5q-295 0 -503.5 208.5t-208.5 503.5zM211 672q0 -268 188.5 -456.5t456.5 -188.5t457 188.5t189 456.5t-189 457t-457 189q-267 0 -456 -189t-189 -457zM442 249l79 80 l66 -1q24 48 36 149l62 560h-109l68 77h163h114q275 0 275 -190q0 -151 -208 -247q149 -365 238 -365q34 0 55 15q6 -14 6 -23q0 -22 -48 -39l-51 -18q-29 -10 -54 -10q-109 0 -265 392q-24 -3 -39 -3q-12 0 -45 4l-21 3l-21 -189q-10 -90 -65 -105q-13 -3 -38 -11h168 l-78 -79h-288zM770 693q43 -9 102 -9q11 0 40 4q140 74 140 216q0 133 -160 133h-51h-32z" /> +<glyph unicode="¯" horiz-adv-x="914" d="M346 1086l104 104h467l-102 -104h-469z" /> +<glyph unicode="°" horiz-adv-x="548" d="M182 1176q0 110 103.5 210t218.5 100q142 0 142 -142q0 -101 -108 -202t-215 -101q-141 0 -141 135zM276 1266q0 -140 140 -140q56 0 96 41t40 99q0 56 -40 96t-97 40q-58 0 -98.5 -39.5t-40.5 -96.5z" /> +<glyph unicode="±" d="M47 0l119 123h937l-119 -123h-937zM107 543l119 123h358l28 249l130 119l-41 -368h463l-119 -123h-358l-25 -225l-129 -119l38 344h-464z" /> +<glyph unicode="´" horiz-adv-x="914" d="M532 1086l113 207q168 71 259 155q20 -32 20 -53q0 -103 -392 -309z" /> +<glyph unicode="µ" horiz-adv-x="1059" d="M98 -425l3 28l8 74l8 70l128 1152l160 55q-26 -123 -35 -208l-40 -355q-5 -50 -5 -88q0 -168 120 -168q99 0 210.5 171t131.5 355l26 238l161 55q-26 -123 -35 -208l-46 -412l-6 -66l-6 -54q-3 -35 -3 -63q0 -48 30 -48q77 0 169 183q20 -20 20 -36q0 -64 -111 -170 t-178 -106q-78 0 -78 108q0 49 10 153l8 78l9 78q-176 -391 -363 -391q-55 0 -103 38l-45 -402z" /> +<glyph unicode="¶" d="M184 795q0 222 395 350l22 200l101 94l-31 -280q85 16 183 21l19 165l101 94l-29 -259q146 -11 241 -35l-112 -107q-66 31 -140 39l-54 -477q135 15 232 84q7 -15 7 -30q0 -35 -76.5 -79t-172.5 -64l-93 -838l-101 -100l102 920q-59 -4 -91 -4t-90 4l-91 -820l-102 -100 l104 938q-324 90 -324 284zM610 611q84 -19 141 -19q11 0 38 1l54 484q-28 5 -69 5q-68 0 -112 -5z" /> +<glyph unicode="·" d="M493 504l148 142q66 -50 115 -142l-146 -141q-45 95 -117 141z" /> +<glyph unicode="¸" horiz-adv-x="914" d="M214 -414q183 14 183 121q0 87 -135 114l99 179h76l-60 -102q130 -45 130 -154q0 -76 -76.5 -143t-164.5 -67q-36 0 -52 52z" /> +<glyph unicode="º" horiz-adv-x="604" d="M164 949q0 157 110 284.5t245 127.5q154 0 154 -183q0 -152 -110 -280.5t-239 -128.5q-160 0 -160 180zM277 1025q0 -176 116 -176q72 0 119 72.5t47 183.5q0 176 -116 176q-71 0 -118.5 -73t-47.5 -183z" /> +<glyph unicode="»" horiz-adv-x="1166" d="M97 48l64 147l430 260q-206 106 -363 337l91 94q145 -241 414 -358l-92 -93zM543 48l64 147l431 260q-209 107 -364 337l91 94q143 -241 414 -358l-92 -93z" /> +<glyph unicode="¿" horiz-adv-x="745" d="M8 -280q0 156 225 301q68 44 85 60l26 23q110 99 110 223q0 27 -9 63l167 151q15 -39 15 -88q0 -174 -179 -327l-57 -47l-23 -20q-167 -144 -167 -281q0 -205 218 -205q88 0 208 64q9 -17 9 -23q0 -38 -112.5 -78t-220.5 -40q-295 0 -295 224zM439 815l146 142 q45 -96 117 -142l-148 -141q-66 50 -115 141z" /> +<glyph unicode="À" horiz-adv-x="1469" d="M121 830q0 248 215 400q180 128 616 128q74 0 130 -3q155 -10 159 -10h70q-78 -122 -78 -494l1 -52l4 -115q0 -207 51 -424q20 -84 39 -108t66 -24q51 0 116 33q7 -17 7 -28q0 -25 -39 -43l-47 -23l-246 -107q-82 253 -99 530l-76 -53h-336q-92 -234 -252 -334l207 -10 l-108 -114l-399 14l133 120l100 -6q68 50 116 140.5t143 350.5l30 83q92 251 175 365.5t226 188.5q-157 29 -331 29q-443 0 -443 -299q0 -102 48 -191l-157 -151q-41 107 -41 207zM715 545h369q-14 174 -14 282q0 55 2 90l8 116q8 119 22 182q-196 -120 -322 -490 q-36 -107 -42 -123zM1006 1782l81 81q90 -194 208 -271l-87 -92q-123 79 -202 282z" /> +<glyph unicode="Á" horiz-adv-x="1470" d="M121 830q0 248 215 400q180 128 616 128q74 0 130 -3q155 -10 159 -10h70q-78 -122 -78 -494l1 -52l4 -115q0 -207 51 -424q20 -84 39 -108t66 -24q51 0 116 33q7 -17 7 -28q0 -25 -39 -43l-47 -23l-246 -107q-82 253 -99 530l-76 -53h-336q-92 -234 -252 -334l207 -10 l-108 -114l-399 14l133 120l100 -6q68 50 116 140.5t143 350.5l30 83q92 251 175 365.5t226 188.5q-157 29 -331 29q-443 0 -443 -299q0 -102 48 -191l-157 -151q-41 107 -41 207zM715 545h369q-14 174 -14 282q0 55 2 90l8 116q8 119 22 182q-196 -120 -322 -490 q-36 -107 -42 -123zM1149 1500l113 207q168 71 259 155q20 -32 20 -53q0 -103 -392 -309z" /> +<glyph unicode="Â" horiz-adv-x="1469" d="M121 830q0 248 215 400q180 128 616 128q74 0 130 -3q155 -10 159 -10h70q-78 -122 -78 -494l1 -52l4 -115q0 -207 51 -424q20 -84 39 -108t66 -24q51 0 116 33q7 -17 7 -28q0 -25 -39 -43l-47 -23l-246 -107q-82 253 -99 530l-76 -53h-336q-92 -234 -252 -334l207 -10 l-108 -114l-399 14l133 120l100 -6q68 50 116 140.5t143 350.5l30 83q92 251 175 365.5t226 188.5q-157 29 -331 29q-443 0 -443 -299q0 -102 48 -191l-157 -151q-41 107 -41 207zM715 545h369q-14 174 -14 282q0 55 2 90l8 116q8 119 22 182q-196 -120 -322 -490 q-36 -107 -42 -123zM890 1500l53 124q91 49 161 156l80 82q54 -177 153 -272l-84 -90q-91 103 -135 225q-13 -16 -19 -24q-107 -139 -209 -201z" /> +<glyph unicode="Ã" horiz-adv-x="1469" d="M121 830q0 248 215 400q180 128 616 128q74 0 130 -3q155 -10 159 -10h70q-78 -122 -78 -494l1 -52l4 -115q0 -207 51 -424q20 -84 39 -108t66 -24q51 0 116 33q7 -17 7 -28q0 -25 -39 -43l-47 -23l-246 -107q-82 253 -99 530l-76 -53h-336q-92 -234 -252 -334l207 -10 l-108 -114l-399 14l133 120l100 -6q68 50 116 140.5t143 350.5l30 83q92 251 175 365.5t226 188.5q-157 29 -331 29q-443 0 -443 -299q0 -102 48 -191l-157 -151q-41 107 -41 207zM715 545h369q-14 174 -14 282q0 55 2 90l8 116q8 119 22 182q-196 -120 -322 -490 q-36 -107 -42 -123zM871 1530q0 54 58.5 126.5t102.5 72.5q22 0 51 -18l31 -19l59 -35l28 -18q34 -21 56 -21q50 0 104 114q26 -9 26 -31q0 -48 -60.5 -123.5t-98.5 -75.5q-32 0 -61 18l-37 24l-54 33l-22 14q-35 21 -60 21q-54 0 -97 -112q-26 11 -26 30z" /> +<glyph unicode="Ä" horiz-adv-x="1469" d="M121 830q0 248 215 400q180 128 616 128q74 0 130 -3q155 -10 159 -10h70q-78 -122 -78 -494l1 -52l4 -115q0 -207 51 -424q20 -84 39 -108t66 -24q51 0 116 33q7 -17 7 -28q0 -25 -39 -43l-47 -23l-246 -107q-82 253 -99 530l-76 -53h-336q-92 -234 -252 -334l207 -10 l-108 -114l-399 14l133 120l100 -6q68 50 116 140.5t143 350.5l30 83q92 251 175 365.5t226 188.5q-157 29 -331 29q-443 0 -443 -299q0 -102 48 -191l-157 -151q-41 107 -41 207zM715 545h369q-14 174 -14 282q0 55 2 90l8 116q8 119 22 182q-196 -120 -322 -490 q-36 -107 -42 -123zM877 1612l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112zM1200 1612l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112z" /> +<glyph unicode="Å" horiz-adv-x="1469" d="M121 830q0 248 215 400q180 128 616 128q74 0 130 -3q155 -10 159 -10h70q-78 -122 -78 -494l1 -52l4 -115q0 -207 51 -424q20 -84 39 -108t66 -24q51 0 116 33q7 -17 7 -28q0 -25 -39 -43l-47 -23l-246 -107q-82 253 -99 530l-76 -53h-336q-92 -234 -252 -334l207 -10 l-108 -114l-399 14l133 120l100 -6q68 50 116 140.5t143 350.5l30 83q92 251 175 365.5t226 188.5q-157 29 -331 29q-443 0 -443 -299q0 -102 48 -191l-157 -151q-41 107 -41 207zM715 545h369q-14 174 -14 282q0 55 2 90l8 116q8 119 22 182q-196 -120 -322 -490 q-36 -107 -42 -123zM996 1457q0 92 87.5 176.5t183.5 84.5q119 0 119 -116q0 -88 -89.5 -173t-181.5 -85q-119 0 -119 113zM1081 1533q0 -113 112 -113q109 0 109 113q0 108 -110 108q-111 0 -111 -108z" /> +<glyph unicode="Æ" horiz-adv-x="1469" d="M121 830q0 248 215 400q180 128 616 128q74 0 130 -3q155 -10 159 -10h70q-78 -122 -78 -494l1 -52l4 -115q0 -207 51 -424q20 -84 39 -108t66 -24q51 0 116 33q7 -17 7 -28q0 -25 -39 -43l-47 -23l-246 -107q-82 253 -99 530l-76 -53h-336q-92 -234 -252 -334l207 -10 l-108 -114l-399 14l133 120l100 -6q68 50 116 140.5t143 350.5l30 83q92 251 175 365.5t226 188.5q-157 29 -331 29q-443 0 -443 -299q0 -102 48 -191l-157 -151q-41 107 -41 207zM715 545h369q-14 174 -14 282q0 55 2 90l8 116q8 119 22 182q-196 -120 -322 -490 q-36 -107 -42 -123zM983 1739l113 117q-2 -22 -2 -33q-3 -33 -3 -47q0 -166 91 -166q58 0 115.5 69.5t86.5 176.5q34 -10 34 -39q0 -94 -98.5 -205.5t-180.5 -111.5q-156 0 -156 239z" /> +<glyph unicode="Ç" horiz-adv-x="1275" d="M145 522q0 367 235 615t583 248q177 0 367 -67l-67 -147l-19 -43q-24 -51 -59 -51q-7 0 -21 3q14 31 14 51q0 67 -89.5 117t-208.5 50q-244 0 -396.5 -193t-152.5 -502q0 -239 107 -381t286 -142q129 0 257.5 77.5t189.5 191.5q23 -11 23 -32q0 -66 -121 -174 q-205 -183 -466 -183q-211 0 -336.5 152.5t-125.5 409.5zM465 -414q183 14 183 121q0 87 -135 114l99 179h76l-60 -102q130 -45 130 -154q0 -76 -76.5 -143t-164.5 -67q-36 0 -52 52z" /> +<glyph unicode="È" horiz-adv-x="1497" d="M27 31l183 138q99 -17 238 -30q98 38 132 108t57 282l79 708h-35q-194 0 -304 -79.5t-110 -219.5q0 -81 46 -168l-162 -156q-24 80 -24 152q0 280 233 453q170 126 484 126h330q186 0 380 13l-81 -205l-16 -37q-25 -59 -64 -59q-6 0 -14 1q11 50 11 80q0 66 -69.5 82.5 t-346.5 16.5h-97l-53 -484h195q169 0 300 16q-114 -137 -230 -137q-65 0 -184 10q-49 3 -69 3h-24l-10 -87q-21 -190 -66.5 -270t-178.5 -161l219 -17l89 -8q94 -7 225 -7q221 0 368 143q17 -19 17 -36q0 -28 -107 -115q-156 -127 -341 -127q-171 0 -492 29l-373 34 q-19 1 -135 8zM953 1782l81 81q90 -194 208 -271l-87 -92q-123 79 -202 282z" /> +<glyph unicode="É" horiz-adv-x="1497" d="M27 31l183 138q99 -17 238 -30q98 38 132 108t57 282l79 708h-35q-194 0 -304 -79.5t-110 -219.5q0 -81 46 -168l-162 -156q-24 80 -24 152q0 280 233 453q170 126 484 126h330q186 0 380 13l-81 -205l-16 -37q-25 -59 -64 -59q-6 0 -14 1q11 50 11 80q0 66 -69.5 82.5 t-346.5 16.5h-97l-53 -484h195q169 0 300 16q-114 -137 -230 -137q-65 0 -184 10q-49 3 -69 3h-24l-10 -87q-21 -190 -66.5 -270t-178.5 -161l219 -17l89 -8q94 -7 225 -7q221 0 368 143q17 -19 17 -36q0 -28 -107 -115q-156 -127 -341 -127q-171 0 -492 29l-373 34 q-19 1 -135 8zM1054 1500l113 207q168 71 259 155q20 -32 20 -53q0 -103 -392 -309z" /> +<glyph unicode="Ê" horiz-adv-x="1497" d="M27 31l183 138q99 -17 238 -30q98 38 132 108t57 282l79 708h-35q-194 0 -304 -79.5t-110 -219.5q0 -81 46 -168l-162 -156q-24 80 -24 152q0 280 233 453q170 126 484 126h330q186 0 380 13l-81 -205l-16 -37q-25 -59 -64 -59q-6 0 -14 1q11 50 11 80q0 66 -69.5 82.5 t-346.5 16.5h-97l-53 -484h195q169 0 300 16q-114 -137 -230 -137q-65 0 -184 10q-49 3 -69 3h-24l-10 -87q-21 -190 -66.5 -270t-178.5 -161l219 -17l89 -8q94 -7 225 -7q221 0 368 143q17 -19 17 -36q0 -28 -107 -115q-156 -127 -341 -127q-171 0 -492 29l-373 34 q-19 1 -135 8zM914 1500l53 124q91 49 161 156l80 82q54 -177 153 -272l-84 -90q-91 103 -135 225q-13 -16 -19 -24q-107 -139 -209 -201z" /> +<glyph unicode="Ë" horiz-adv-x="1497" d="M27 31l183 138q99 -17 238 -30q98 38 132 108t57 282l79 708h-35q-194 0 -304 -79.5t-110 -219.5q0 -81 46 -168l-162 -156q-24 80 -24 152q0 280 233 453q170 126 484 126h330q186 0 380 13l-81 -205l-16 -37q-25 -59 -64 -59q-6 0 -14 1q11 50 11 80q0 66 -69.5 82.5 t-346.5 16.5h-97l-53 -484h195q169 0 300 16q-114 -137 -230 -137q-65 0 -184 10q-49 3 -69 3h-24l-10 -87q-21 -190 -66.5 -270t-178.5 -161l219 -17l89 -8q94 -7 225 -7q221 0 368 143q17 -19 17 -36q0 -28 -107 -115q-156 -127 -341 -127q-171 0 -492 29l-373 34 q-19 1 -135 8zM880 1612l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112zM1203 1612l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112z" /> +<glyph unicode="Ì" horiz-adv-x="935" d="M121 775q0 258 192 414t510 156h79q-45 -229 -54 -308l-54 -489l-13 -111q-17 -142 -61.5 -205t-170.5 -123l290 -15l-120 -116l-487 22l128 124l109 -12q122 77 150 315l11 97l77 700h-31q-416 0 -416 -275q0 -86 47 -173l-163 -156q-23 78 -23 155zM672 1782l81 81 q90 -194 208 -271l-87 -92q-123 79 -202 282z" /> +<glyph unicode="Í" horiz-adv-x="936" d="M121 775q0 258 192 414t510 156h79q-45 -229 -54 -308l-54 -489l-13 -111q-17 -142 -61.5 -205t-170.5 -123l290 -15l-120 -116l-487 22l128 124l109 -12q122 77 150 315l11 97l77 700h-31q-416 0 -416 -275q0 -86 47 -173l-163 -156q-23 78 -23 155zM748 1500l113 207 q168 71 259 155q20 -32 20 -53q0 -103 -392 -309z" /> +<glyph unicode="Î" horiz-adv-x="936" d="M121 775q0 258 192 414t510 156h79q-45 -229 -54 -308l-54 -489l-13 -111q-17 -142 -61.5 -205t-170.5 -123l290 -15l-120 -116l-487 22l128 124l109 -12q122 77 150 315l11 97l77 700h-31q-416 0 -416 -275q0 -86 47 -173l-163 -156q-23 78 -23 155zM630 1500l53 124 q91 49 161 156l80 82q54 -177 153 -272l-84 -90q-91 103 -135 225q-13 -16 -19 -24q-107 -139 -209 -201z" /> +<glyph unicode="Ï" horiz-adv-x="936" d="M121 775q0 258 192 414t510 156h79q-45 -229 -54 -308l-54 -489l-13 -111q-17 -142 -61.5 -205t-170.5 -123l290 -15l-120 -116l-487 22l128 124l109 -12q122 77 150 315l11 97l77 700h-31q-416 0 -416 -275q0 -86 47 -173l-163 -156q-23 78 -23 155zM547 1612l119 112 q59 -42 89 -112l-114 -112q-33 73 -94 112zM870 1612l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112z" /> +<glyph unicode="Ñ" horiz-adv-x="1807" d="M121 776q0 246 186.5 410.5t466.5 164.5q39 0 73 -3q38 -3 48 -3h11q-4 -35 -4 -50q0 -206 267 -524l75 -88l66 -79q105 -125 166 -230l67 543q63 497 231 697q192 228 424 228q87 0 172 -32l-148 -147q-91 53 -161 53q-155 0 -235.5 -142.5t-125.5 -496.5l-106 -847 l-126 -260q-46 184 -98 280t-207 282l-77 93q-178 215 -252 385l-50 -450l-12 -108q-16 -134 -51.5 -196.5t-141.5 -141.5l221 -20l-119 -116l-435 22l129 124l111 -10q76 55 105 119t46 212l9 87l77 692h-47q-416 0 -416 -275q0 -86 47 -173l-162 -156q-24 78 -24 156z M999 1530q0 54 58.5 126.5t102.5 72.5q22 0 51 -18l31 -19l59 -35l28 -18q34 -21 56 -21q50 0 104 114q26 -9 26 -31q0 -48 -60.5 -123.5t-98.5 -75.5q-32 0 -61 18l-37 24l-54 33l-22 14q-35 21 -60 21q-54 0 -97 -112q-26 11 -26 30z" /> +<glyph unicode="Ò" horiz-adv-x="1404" d="M151 511q0 353 238.5 613.5t562.5 260.5q201 0 326 -152.5t125 -398.5q0 -356 -239.5 -615.5t-567.5 -259.5q-196 0 -320.5 154.5t-124.5 397.5zM341 611q0 -248 109 -409.5t277 -161.5q207 0 346.5 199t139.5 494q0 247 -109 409.5t-274 162.5q-209 0 -349 -198.5 t-140 -495.5zM806 1782l81 81q90 -194 208 -271l-87 -92q-123 79 -202 282z" /> +<glyph unicode="Ó" horiz-adv-x="1404" d="M151 511q0 353 238.5 613.5t562.5 260.5q201 0 326 -152.5t125 -398.5q0 -356 -239.5 -615.5t-567.5 -259.5q-196 0 -320.5 154.5t-124.5 397.5zM341 611q0 -248 109 -409.5t277 -161.5q207 0 346.5 199t139.5 494q0 247 -109 409.5t-274 162.5q-209 0 -349 -198.5 t-140 -495.5zM900 1500l113 207q168 71 259 155q20 -32 20 -53q0 -103 -392 -309z" /> +<glyph unicode="Ô" horiz-adv-x="1404" d="M151 511q0 353 238.5 613.5t562.5 260.5q201 0 326 -152.5t125 -398.5q0 -356 -239.5 -615.5t-567.5 -259.5q-196 0 -320.5 154.5t-124.5 397.5zM341 611q0 -248 109 -409.5t277 -161.5q207 0 346.5 199t139.5 494q0 247 -109 409.5t-274 162.5q-209 0 -349 -198.5 t-140 -495.5zM750 1500l53 124q91 49 161 156l80 82q54 -177 153 -272l-84 -90q-91 103 -135 225q-13 -16 -19 -24q-107 -139 -209 -201z" /> +<glyph unicode="Õ" horiz-adv-x="1404" d="M151 511q0 353 238.5 613.5t562.5 260.5q201 0 326 -152.5t125 -398.5q0 -356 -239.5 -615.5t-567.5 -259.5q-196 0 -320.5 154.5t-124.5 397.5zM341 611q0 -248 109 -409.5t277 -161.5q207 0 346.5 199t139.5 494q0 247 -109 409.5t-274 162.5q-209 0 -349 -198.5 t-140 -495.5zM714 1530q0 54 58.5 126.5t102.5 72.5q22 0 51 -18l31 -19l59 -35l28 -18q34 -21 56 -21q50 0 104 114q26 -9 26 -31q0 -48 -60.5 -123.5t-98.5 -75.5q-32 0 -61 18l-37 24l-54 33l-22 14q-35 21 -60 21q-54 0 -97 -112q-26 11 -26 30z" /> +<glyph unicode="Ö" horiz-adv-x="1404" d="M151 511q0 353 238.5 613.5t562.5 260.5q201 0 326 -152.5t125 -398.5q0 -356 -239.5 -615.5t-567.5 -259.5q-196 0 -320.5 154.5t-124.5 397.5zM341 611q0 -248 109 -409.5t277 -161.5q207 0 346.5 199t139.5 494q0 247 -109 409.5t-274 162.5q-209 0 -349 -198.5 t-140 -495.5zM686 1612l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112zM1009 1612l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112z" /> +<glyph unicode="Ø" horiz-adv-x="1076" d="M86 177l170 103q40 -246 295 -246q124 0 203 67.5t79 173.5q0 145 -175 288l-121 98q-146 120 -195 189.5t-49 156.5q0 164 131 271t331 107q159 0 301 -76l-58 -133l-26 -59q-22 -52 -52 -52q-13 0 -27 10q17 52 17 83q0 64 -70.5 107t-174.5 43q-236 0 -236 -195 q0 -70 52.5 -134.5t218.5 -199.5l97 -80q185 -150 185 -315q0 -182 -153.5 -303t-383.5 -121q-280 0 -359 217zM430 -602q118 84 118 190q0 83 -84 145l113 112q98 -72 98 -173q0 -142 -216 -307z" /> +<glyph unicode="Ù" horiz-adv-x="1750" d="M121 775q0 258 192 414t510 156h146q-90 -174 -147 -416t-57 -448q0 -414 252 -414q170 0 274 164.5t135 482.5q14 145 19 189l42 377l198 103q-43 -165 -70 -407l-36 -320q-2 -17 -11 -113l-14 -139q-8 -79 -8 -136q0 -100 76 -100q60 0 135 47l3 -12q2 -12 2 -19 q0 -29 -55 -55l-59 -29l-294 -140l37 334q-214 -335 -461 -335q-338 0 -338 516q0 349 168 749h-84q-416 0 -416 -275q0 -86 47 -173l-163 -156q-23 78 -23 155zM1104 1782l81 81q90 -194 208 -271l-87 -92q-123 79 -202 282z" /> +<glyph unicode="Ú" horiz-adv-x="1750" d="M121 775q0 258 192 414t510 156h146q-90 -174 -147 -416t-57 -448q0 -414 252 -414q170 0 274 164.5t135 482.5q14 145 19 189l42 377l198 103q-43 -165 -70 -407l-36 -320q-2 -17 -11 -113l-14 -139q-8 -79 -8 -136q0 -100 76 -100q60 0 135 47l3 -12q2 -12 2 -19 q0 -29 -55 -55l-59 -29l-294 -140l37 334q-214 -335 -461 -335q-338 0 -338 516q0 349 168 749h-84q-416 0 -416 -275q0 -86 47 -173l-163 -156q-23 78 -23 155zM1241 1500l113 207q168 71 259 155q20 -32 20 -53q0 -103 -392 -309z" /> +<glyph unicode="Û" horiz-adv-x="1750" d="M121 775q0 258 192 414t510 156h146q-90 -174 -147 -416t-57 -448q0 -414 252 -414q170 0 274 164.5t135 482.5q14 145 19 189l42 377l198 103q-43 -165 -70 -407l-36 -320q-2 -17 -11 -113l-14 -139q-8 -79 -8 -136q0 -100 76 -100q60 0 135 47l3 -12q2 -12 2 -19 q0 -29 -55 -55l-59 -29l-294 -140l37 334q-214 -335 -461 -335q-338 0 -338 516q0 349 168 749h-84q-416 0 -416 -275q0 -86 47 -173l-163 -156q-23 78 -23 155zM1079 1500l53 124q91 49 161 156l80 82q54 -177 153 -272l-84 -90q-91 103 -135 225q-13 -16 -19 -24 q-107 -139 -209 -201z" /> +<glyph unicode="Ü" horiz-adv-x="1750" d="M121 775q0 258 192 414t510 156h146q-90 -174 -147 -416t-57 -448q0 -414 252 -414q170 0 274 164.5t135 482.5q14 145 19 189l42 377l198 103q-43 -165 -70 -407l-36 -320q-2 -17 -11 -113l-14 -139q-8 -79 -8 -136q0 -100 76 -100q60 0 135 47l3 -12q2 -12 2 -19 q0 -29 -55 -55l-59 -29l-294 -140l37 334q-214 -335 -461 -335q-338 0 -338 516q0 349 168 749h-84q-416 0 -416 -275q0 -86 47 -173l-163 -156q-23 78 -23 155zM1046 1612l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112zM1369 1612l119 112q59 -42 89 -112l-114 -112 q-33 73 -94 112z" /> +<glyph unicode="ß" horiz-adv-x="1179" d="M-465 -815l134 121q88 -30 157 -30q292 0 343 443l28 248l115 1029q40 359 211 567t427 208q106 0 176.5 -61t70.5 -155q0 -143 -209 -349q-21 -21 -61 -63l-21 -21q-138 -142 -138 -220q0 -81 149 -259l69 -83q127 -152 127 -274q0 -125 -117.5 -218.5t-274.5 -93.5 q-102 0 -208 51l136 114q74 -79 198 -79q142 0 142 132q0 86 -83 192l-43 54l-58 74l-56 67q-126 149 -126 247q0 100 162 249q50 45 56 52l24 24q171 174 171 314q0 195 -197 195q-160 0 -258 -117q-77 -91 -117 -459l-121 -1085q-30 -275 -88 -418t-185 -257 q-184 -165 -414 -165q-49 0 -121 26z" /> +<glyph unicode="à" horiz-adv-x="1070" d="M107 195q0 304 199.5 526.5t472.5 222.5q104 0 177 -26q-5 -18 -6 -22l-12 -53q-12 -55 -13 -64l-64 -442l-9 -64q-13 -95 -13 -127q0 -43 25 -43q84 0 172 188q27 -16 27 -32q0 -35 -86 -141q-117 -144 -217 -144q-73 0 -73 98q0 30 7 83l10 80l13 88l11 74 q-113 -186 -248.5 -304.5t-235.5 -118.5q-137 0 -137 221zM271 250q0 -130 77 -130q89 0 215 136q170 183 206 430l16 108q-91 51 -184 51q-140 0 -235 -171t-95 -424zM510 1368l81 81q90 -194 208 -271l-87 -92q-123 79 -202 282z" /> +<glyph unicode="á" horiz-adv-x="1070" d="M107 195q0 304 199.5 526.5t472.5 222.5q104 0 177 -26q-5 -18 -6 -22l-12 -53q-12 -55 -13 -64l-64 -442l-9 -64q-13 -95 -13 -127q0 -43 25 -43q84 0 172 188q27 -16 27 -32q0 -35 -86 -141q-117 -144 -217 -144q-73 0 -73 98q0 30 7 83l10 80l13 88l11 74 q-113 -186 -248.5 -304.5t-235.5 -118.5q-137 0 -137 221zM271 250q0 -130 77 -130q89 0 215 136q170 183 206 430l16 108q-91 51 -184 51q-140 0 -235 -171t-95 -424zM617 1086l113 207q168 71 259 155q20 -32 20 -53q0 -103 -392 -309z" /> +<glyph unicode="â" horiz-adv-x="1070" d="M107 195q0 304 199.5 526.5t472.5 222.5q104 0 177 -26q-5 -18 -6 -22l-12 -53q-12 -55 -13 -64l-64 -442l-9 -64q-13 -95 -13 -127q0 -43 25 -43q84 0 172 188q27 -16 27 -32q0 -35 -86 -141q-117 -144 -217 -144q-73 0 -73 98q0 30 7 83l10 80l13 88l11 74 q-113 -186 -248.5 -304.5t-235.5 -118.5q-137 0 -137 221zM271 250q0 -130 77 -130q89 0 215 136q170 183 206 430l16 108q-91 51 -184 51q-140 0 -235 -171t-95 -424zM500 1086l53 124q91 49 161 156l80 82q54 -177 153 -272l-84 -90q-91 103 -135 225q-13 -16 -19 -24 q-107 -139 -209 -201z" /> +<glyph unicode="ã" horiz-adv-x="1070" d="M107 195q0 304 199.5 526.5t472.5 222.5q104 0 177 -26q-5 -18 -6 -22l-12 -53q-12 -55 -13 -64l-64 -442l-9 -64q-13 -95 -13 -127q0 -43 25 -43q84 0 172 188q27 -16 27 -32q0 -35 -86 -141q-117 -144 -217 -144q-73 0 -73 98q0 30 7 83l10 80l13 88l11 74 q-113 -186 -248.5 -304.5t-235.5 -118.5q-137 0 -137 221zM271 250q0 -130 77 -130q89 0 215 136q170 183 206 430l16 108q-91 51 -184 51q-140 0 -235 -171t-95 -424zM461 1116q0 54 58.5 126.5t102.5 72.5q22 0 51 -18l31 -19l59 -35l28 -18q34 -21 56 -21q50 0 104 114 q26 -9 26 -31q0 -48 -60.5 -123.5t-98.5 -75.5q-32 0 -61 18l-37 24l-54 33l-22 14q-35 21 -60 21q-54 0 -97 -112q-26 11 -26 30z" /> +<glyph unicode="ä" horiz-adv-x="1070" d="M107 195q0 304 199.5 526.5t472.5 222.5q104 0 177 -26q-5 -18 -6 -22l-12 -53q-12 -55 -13 -64l-64 -442l-9 -64q-13 -95 -13 -127q0 -43 25 -43q84 0 172 188q27 -16 27 -32q0 -35 -86 -141q-117 -144 -217 -144q-73 0 -73 98q0 30 7 83l10 80l13 88l11 74 q-113 -186 -248.5 -304.5t-235.5 -118.5q-137 0 -137 221zM271 250q0 -130 77 -130q89 0 215 136q170 183 206 430l16 108q-91 51 -184 51q-140 0 -235 -171t-95 -424zM447 1198l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112zM770 1198l119 112q59 -42 89 -112 l-114 -112q-33 73 -94 112z" /> +<glyph unicode="å" horiz-adv-x="1070" d="M107 195q0 304 199.5 526.5t472.5 222.5q104 0 177 -26q-5 -18 -6 -22l-12 -53q-12 -55 -13 -64l-64 -442l-9 -64q-13 -95 -13 -127q0 -43 25 -43q84 0 172 188q27 -16 27 -32q0 -35 -86 -141q-117 -144 -217 -144q-73 0 -73 98q0 30 7 83l10 80l13 88l11 74 q-113 -186 -248.5 -304.5t-235.5 -118.5q-137 0 -137 221zM271 250q0 -130 77 -130q89 0 215 136q170 183 206 430l16 108q-91 51 -184 51q-140 0 -235 -171t-95 -424zM573 1199q0 92 87.5 176.5t183.5 84.5q119 0 119 -116q0 -88 -89.5 -173t-181.5 -85q-119 0 -119 113z M658 1275q0 -113 112 -113q109 0 109 113q0 108 -110 108q-111 0 -111 -108z" /> +<glyph unicode="æ" horiz-adv-x="1051" d="M107 195q0 304 199.5 526.5t472.5 222.5q104 0 177 -26q-5 -18 -6 -22l-12 -53q-12 -55 -13 -64l-64 -442l-9 -64q-13 -95 -13 -127q0 -43 25 -43q84 0 172 188q27 -16 27 -32q0 -35 -86 -141q-117 -144 -217 -144q-73 0 -73 98q0 30 7 83l10 80l13 88l11 74 q-113 -186 -248.5 -304.5t-235.5 -118.5q-137 0 -137 221zM271 250q0 -130 77 -130q89 0 215 136q170 183 206 430l16 108q-91 51 -184 51q-140 0 -235 -171t-95 -424zM532 1325l113 117q-2 -22 -2 -33q-3 -33 -3 -47q0 -166 91 -166q58 0 115.5 69.5t86.5 176.5 q34 -10 34 -39q0 -94 -98.5 -205.5t-180.5 -111.5q-156 0 -156 239z" /> +<glyph unicode="ç" horiz-adv-x="784" d="M103 274q0 259 176 471t391 212q78 0 133 -26l-114 -137q-80 33 -153 33q-131 0 -206.5 -111t-75.5 -304q0 -136 54.5 -219t142.5 -83q149 0 234 195q22 -24 22 -45q0 -83 -129.5 -184.5t-237.5 -101.5q-104 0 -170.5 83.5t-66.5 216.5zM173 -414q183 14 183 121 q0 87 -135 114l99 179h76l-60 -102q130 -45 130 -154q0 -76 -76.5 -143t-164.5 -67q-36 0 -52 52z" /> +<glyph unicode="è" horiz-adv-x="761" d="M103 262q0 228 172.5 461.5t341.5 233.5q122 0 122 -131q0 -147 -142.5 -287t-347.5 -195q20 -241 190 -241q168 0 275 215q25 -17 25 -40q0 -31 -64 -106q-171 -198 -338 -198q-102 0 -168 81t-66 207zM253 466q29 -10 53 -10q124 0 217 76t93 178q0 117 -119 117 q-86 0 -155.5 -102.5t-88.5 -258.5zM418 1368l81 81q90 -194 208 -271l-87 -92q-123 79 -202 282z" /> +<glyph unicode="é" horiz-adv-x="761" d="M103 262q0 228 172.5 461.5t341.5 233.5q122 0 122 -131q0 -147 -142.5 -287t-347.5 -195q20 -241 190 -241q168 0 275 215q25 -17 25 -40q0 -31 -64 -106q-171 -198 -338 -198q-102 0 -168 81t-66 207zM253 466q29 -10 53 -10q124 0 217 76t93 178q0 117 -119 117 q-86 0 -155.5 -102.5t-88.5 -258.5zM472 1086l113 207q168 71 259 155q20 -32 20 -53q0 -103 -392 -309z" /> +<glyph unicode="ê" horiz-adv-x="761" d="M103 262q0 228 172.5 461.5t341.5 233.5q122 0 122 -131q0 -147 -142.5 -287t-347.5 -195q20 -241 190 -241q168 0 275 215q25 -17 25 -40q0 -31 -64 -106q-171 -198 -338 -198q-102 0 -168 81t-66 207zM253 466q29 -10 53 -10q124 0 217 76t93 178q0 117 -119 117 q-86 0 -155.5 -102.5t-88.5 -258.5zM368 1086l53 124q91 49 161 156l80 82q54 -177 153 -272l-84 -90q-91 103 -135 225q-13 -16 -19 -24q-107 -139 -209 -201z" /> +<glyph unicode="ë" horiz-adv-x="761" d="M103 262q0 228 172.5 461.5t341.5 233.5q122 0 122 -131q0 -147 -142.5 -287t-347.5 -195q20 -241 190 -241q168 0 275 215q25 -17 25 -40q0 -31 -64 -106q-171 -198 -338 -198q-102 0 -168 81t-66 207zM253 466q29 -10 53 -10q124 0 217 76t93 178q0 117 -119 117 q-86 0 -155.5 -102.5t-88.5 -258.5zM347 1198l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112zM670 1198l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112z" /> +<glyph unicode="ì" horiz-adv-x="606" d="M118 690q0 61 112.5 164t179.5 103q75 0 75 -104q0 -20 -8 -82l-9 -67q-1 -8 -11 -81l-41 -286l-10 -64q-13 -95 -13 -127q0 -43 25 -43q84 0 173 188q27 -16 27 -31q0 -36 -87 -142q-117 -144 -217 -144q-73 0 -73 97q0 41 30 252l39 272l10 69l8 55q5 35 5 59 q0 50 -28 50q-78 0 -168 -172q-19 17 -19 34zM248 1368l81 81q90 -194 208 -271l-87 -92q-123 79 -202 282z" /> +<glyph unicode="í" horiz-adv-x="606" d="M118 690q0 61 112.5 164t179.5 103q75 0 75 -104q0 -20 -8 -82l-9 -67q-1 -8 -11 -81l-41 -286l-10 -64q-13 -95 -13 -127q0 -43 25 -43q84 0 173 188q27 -16 27 -31q0 -36 -87 -142q-117 -144 -217 -144q-73 0 -73 97q0 41 30 252l39 272l10 69l8 55q5 35 5 59 q0 50 -28 50q-78 0 -168 -172q-19 17 -19 34zM351 1086l113 207q168 71 259 155q20 -32 20 -53q0 -103 -392 -309z" /> +<glyph unicode="î" horiz-adv-x="606" d="M118 690q0 61 112.5 164t179.5 103q75 0 75 -104q0 -20 -8 -82l-9 -67q-1 -8 -11 -81l-41 -286l-10 -64q-13 -95 -13 -127q0 -43 25 -43q84 0 173 188q27 -16 27 -31q0 -36 -87 -142q-117 -144 -217 -144q-73 0 -73 97q0 41 30 252l39 272l10 69l8 55q5 35 5 59 q0 50 -28 50q-78 0 -168 -172q-19 17 -19 34zM211 1086l53 124q91 49 161 156l80 82q54 -177 153 -272l-84 -90q-91 103 -135 225q-13 -16 -19 -24q-107 -139 -209 -201z" /> +<glyph unicode="ï" horiz-adv-x="606" d="M118 690q0 61 112.5 164t179.5 103q75 0 75 -104q0 -20 -8 -82l-9 -67q-1 -8 -11 -81l-41 -286l-10 -64q-13 -95 -13 -127q0 -43 25 -43q84 0 173 188q27 -16 27 -31q0 -36 -87 -142q-117 -144 -217 -144q-73 0 -73 97q0 41 30 252l39 272l10 69l8 55q5 35 5 59 q0 50 -28 50q-78 0 -168 -172q-19 17 -19 34zM186 1198l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112zM509 1198l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112z" /> +<glyph unicode="ñ" horiz-adv-x="1156" d="M94 690q0 60 109.5 163.5t172.5 103.5q86 0 86 -110q0 -28 -5 -75l-8 -81l-8 -68l-8 -71q118 176 258.5 290.5t239.5 114.5q97 0 97 -135q0 -41 -11 -123l-54 -373q-16 -112 -16 -177q0 -52 28 -52q69 0 170 184q24 -15 24 -31q0 -65 -111.5 -170.5t-181.5 -105.5 q-78 0 -78 112q0 82 21 227l35 242q17 118 17 187q0 79 -55 79q-128 0 -259.5 -173.5t-153.5 -372.5l-27 -240l-149 -61l3 28l8 74l8 70l52 464l6 53q6 62 6 100q0 64 -32 64q-75 0 -161 -170q-23 19 -23 33zM462 1116q0 54 58.5 126.5t102.5 72.5q22 0 51 -18l31 -19 l59 -35l28 -18q34 -21 56 -21q50 0 104 114q26 -9 26 -31q0 -48 -60.5 -123.5t-98.5 -75.5q-32 0 -61 18l-37 24l-54 33l-22 14q-35 21 -60 21q-54 0 -97 -112q-26 11 -26 30z" /> +<glyph unicode="ò" horiz-adv-x="878" d="M103 272q0 240 176 462.5t365 222.5q228 0 228 -298q0 -241 -176 -463t-368 -222q-225 0 -225 298zM256 398q0 -312 193 -312q115 0 192.5 128t77.5 319q0 312 -194 312q-114 0 -191.5 -128.5t-77.5 -318.5zM494 1368l81 81q90 -194 208 -271l-87 -92q-123 79 -202 282z " /> +<glyph unicode="ó" horiz-adv-x="878" d="M103 272q0 240 176 462.5t365 222.5q228 0 228 -298q0 -241 -176 -463t-368 -222q-225 0 -225 298zM256 398q0 -312 193 -312q115 0 192.5 128t77.5 319q0 312 -194 312q-114 0 -191.5 -128.5t-77.5 -318.5zM585 1086l113 207q168 71 259 155q20 -32 20 -53 q0 -103 -392 -309z" /> +<glyph unicode="ô" horiz-adv-x="878" d="M103 272q0 240 176 462.5t365 222.5q228 0 228 -298q0 -241 -176 -463t-368 -222q-225 0 -225 298zM256 398q0 -312 193 -312q115 0 192.5 128t77.5 319q0 312 -194 312q-114 0 -191.5 -128.5t-77.5 -318.5zM439 1086l53 124q91 49 161 156l80 82q54 -177 153 -272 l-84 -90q-91 103 -135 225q-13 -16 -19 -24q-107 -139 -209 -201z" /> +<glyph unicode="õ" horiz-adv-x="878" d="M103 272q0 240 176 462.5t365 222.5q228 0 228 -298q0 -241 -176 -463t-368 -222q-225 0 -225 298zM256 398q0 -312 193 -312q115 0 192.5 128t77.5 319q0 312 -194 312q-114 0 -191.5 -128.5t-77.5 -318.5zM414 1116q0 54 58.5 126.5t102.5 72.5q22 0 51 -18l31 -19 l59 -35l28 -18q34 -21 56 -21q50 0 104 114q26 -9 26 -31q0 -48 -60.5 -123.5t-98.5 -75.5q-32 0 -61 18l-37 24l-54 33l-22 14q-35 21 -60 21q-54 0 -97 -112q-26 11 -26 30z" /> +<glyph unicode="ö" horiz-adv-x="878" d="M103 272q0 240 176 462.5t365 222.5q228 0 228 -298q0 -241 -176 -463t-368 -222q-225 0 -225 298zM256 398q0 -312 193 -312q115 0 192.5 128t77.5 319q0 312 -194 312q-114 0 -191.5 -128.5t-77.5 -318.5zM440 1198l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112z M763 1198l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112z" /> +<glyph unicode="÷" d="M97 446l119 123h938l-119 -123h-938zM439 142l147 141q65 -45 117 -141l-147 -142q-45 95 -117 142zM522 867l149 141q65 -49 115 -141l-147 -142q-44 96 -117 142z" /> +<glyph unicode="ø" horiz-adv-x="728" d="M43 28l138 113q78 -83 196 -83q144 0 144 139q0 77 -132 215l-57 59q-125 131 -125 212q0 116 100.5 195t247.5 79q80 0 175 -30l-120 -111q-76 57 -169 57q-109 0 -109 -91q0 -65 121 -191l62 -66q138 -144 138 -232q0 -126 -121 -222.5t-279 -96.5q-112 0 -210 54z M238 -602q118 84 118 190q0 83 -84 145l113 112q98 -72 98 -173q0 -142 -216 -307z" /> +<glyph unicode="ù" horiz-adv-x="1148" d="M88 689q0 62 110.5 165t175.5 103q83 0 83 -114q0 -27 -4 -63l-9 -77l-9 -84l-32 -286q-8 -73 -8 -148q0 -69 51 -69q113 0 255.5 186t168.5 368l34 237l162 55q-28 -116 -42 -207l-60 -418q-5 -38 -8 -64l-7 -55q-6 -51 -6 -72q0 -43 24 -43q85 0 173 188q27 -16 27 -32 q0 -35 -87 -141q-117 -144 -217 -144q-73 0 -73 98q0 31 7 83l11 80q9 65 12 88l10 70q-114 -175 -257 -297t-233 -122q-99 0 -99 132q0 49 13 161l36 328q1 7 5 58l6 65q3 29 3 52q0 58 -33 58q-76 0 -164 -171q-19 15 -19 32zM556 1368l81 81q90 -194 208 -271l-87 -92 q-123 79 -202 282z" /> +<glyph unicode="ú" horiz-adv-x="1148" d="M88 689q0 62 110.5 165t175.5 103q83 0 83 -114q0 -27 -4 -63l-9 -77l-9 -84l-32 -286q-8 -73 -8 -148q0 -69 51 -69q113 0 255.5 186t168.5 368l34 237l162 55q-28 -116 -42 -207l-60 -418q-5 -38 -8 -64l-7 -55q-6 -51 -6 -72q0 -43 24 -43q85 0 173 188q27 -16 27 -32 q0 -35 -87 -141q-117 -144 -217 -144q-73 0 -73 98q0 31 7 83l11 80q9 65 12 88l10 70q-114 -175 -257 -297t-233 -122q-99 0 -99 132q0 49 13 161l36 328q1 7 5 58l6 65q3 29 3 52q0 58 -33 58q-76 0 -164 -171q-19 15 -19 32zM602 1086l113 207q168 71 259 155 q20 -32 20 -53q0 -103 -392 -309z" /> +<glyph unicode="û" horiz-adv-x="1148" d="M88 689q0 62 110.5 165t175.5 103q83 0 83 -114q0 -27 -4 -63l-9 -77l-9 -84l-32 -286q-8 -73 -8 -148q0 -69 51 -69q113 0 255.5 186t168.5 368l34 237l162 55q-28 -116 -42 -207l-60 -418q-5 -38 -8 -64l-7 -55q-6 -51 -6 -72q0 -43 24 -43q85 0 173 188q27 -16 27 -32 q0 -35 -87 -141q-117 -144 -217 -144q-73 0 -73 98q0 31 7 83l11 80q9 65 12 88l10 70q-114 -175 -257 -297t-233 -122q-99 0 -99 132q0 49 13 161l36 328q1 7 5 58l6 65q3 29 3 52q0 58 -33 58q-76 0 -164 -171q-19 15 -19 32zM502 1086l53 124q91 49 161 156l80 82 q54 -177 153 -272l-84 -90q-91 103 -135 225q-13 -16 -19 -24q-107 -139 -209 -201z" /> +<glyph unicode="ü" horiz-adv-x="1148" d="M88 689q0 62 110.5 165t175.5 103q83 0 83 -114q0 -27 -4 -63l-9 -77l-9 -84l-32 -286q-8 -73 -8 -148q0 -69 51 -69q113 0 255.5 186t168.5 368l34 237l162 55q-28 -116 -42 -207l-60 -418q-5 -38 -8 -64l-7 -55q-6 -51 -6 -72q0 -43 24 -43q85 0 173 188q27 -16 27 -32 q0 -35 -87 -141q-117 -144 -217 -144q-73 0 -73 98q0 31 7 83l11 80q9 65 12 88l10 70q-114 -175 -257 -297t-233 -122q-99 0 -99 132q0 49 13 161l36 328q1 7 5 58l6 65q3 29 3 52q0 58 -33 58q-76 0 -164 -171q-19 15 -19 32zM439 1198l119 112q59 -42 89 -112l-114 -112 q-33 73 -94 112zM762 1198l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112z" /> +<glyph unicode="ÿ" horiz-adv-x="1110" d="M-60 -811l123 135q94 -42 196 -42q208 0 312 135t174 495l94 486q-101 -184 -211.5 -304t-180.5 -120q-96 0 -106 202l-7 139l-13 283l-3 81q-9 161 -59 161q-78 0 -152 -148q-26 18 -26 39q0 54 97 140t158 86q63 0 89 -56.5t34 -208.5l18 -350q10 -200 64 -200 q81 0 201 185.5t154 364.5l39 204l178 62q-34 -88 -70 -266l-134 -671q-79 -394 -244 -582q-247 -280 -572 -280q-68 0 -153 30zM480 1198l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112zM803 1198l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112z" /> +<glyph unicode="Œ" horiz-adv-x="2055" d="M151 511q0 351 238 612.5t557 261.5q193 0 335 -154l201 114h254q186 0 379 13l-80 -205l-16 -37q-25 -59 -64 -59q-6 0 -15 1q12 51 12 80q0 66 -70 82.5t-347 16.5h-96l-54 -484h195q170 0 301 16q-119 -144 -220 -144q-36 0 -90 6q-134 14 -173 14h-25l-6 -56 q-15 -138 -79.5 -239.5t-210.5 -216.5l259 -23q165 -15 311 -15q223 0 385 143q8 -11 11 -23l2 -9q0 -31 -119 -119q-172 -127 -357 -127q-110 0 -450 25q-205 15 -250 15q-107 -41 -239 -41q-223 0 -351 148t-128 404zM342 611q0 -262 102 -406.5t301 -164.5l148 114 q16 -1 23 -2l45 -4q3 0 19 -4q233 184 233 587q0 254 -110.5 413.5t-286.5 159.5q-198 0 -336 -201.5t-138 -491.5z" /> +<glyph unicode="œ" horiz-adv-x="1357" d="M103 272q0 240 176 462.5t365 222.5q184 0 225 -236q176 236 344 236q122 0 122 -131q0 -147 -142.5 -287t-347.5 -195q22 -241 190 -241t275 215q25 -17 25 -40q0 -32 -64 -106q-171 -198 -338 -198q-191 0 -229 233q-184 -233 -375 -233q-226 0 -226 298zM256 398 q0 -312 193 -312q115 0 192.5 128t77.5 319q0 312 -194 312q-114 0 -191.5 -128.5t-77.5 -318.5zM849 466q6 -10 53 -10q125 0 217.5 76t92.5 177q0 118 -119 118q-82 0 -153 -99.5t-88 -239.5z" /> +<glyph unicode="Ÿ" horiz-adv-x="1321" d="M140 1170q0 61 81.5 138t146.5 77q135 0 252.5 -205t156.5 -508q82 299 250 506t329 207q63 0 122 -40l-113 -155q-43 27 -93 27q-149 0 -304.5 -243.5t-189.5 -529.5l-2 -21q-15 -125 -57.5 -183.5t-171.5 -131.5l310 -14l-117 -116l-545 22l140 124l122 -10 q74 45 109.5 118t50.5 212l2 21q4 38 4 83q0 247 -102.5 478t-212.5 231q-83 0 -137 -126q-31 10 -31 39zM601 1612l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112zM924 1612l119 112q59 -42 89 -112l-114 -112q-33 73 -94 112z" /> +<glyph unicode="ˆ" horiz-adv-x="914" d="M449 1086l53 124q91 49 161 156l80 82q54 -177 153 -272l-84 -90q-91 103 -135 225q-13 -16 -19 -24q-107 -139 -209 -201z" /> +<glyph unicode="˜" horiz-adv-x="914" d="M391 1116q0 54 58.5 126.5t102.5 72.5q22 0 51 -18l31 -19l59 -35l28 -18q34 -21 56 -21q50 0 104 114q26 -9 26 -31q0 -48 -60.5 -123.5t-98.5 -75.5q-32 0 -61 18l-37 24l-54 33l-22 14q-35 21 -60 21q-54 0 -97 -112q-26 11 -26 30z" /> +<glyph unicode=" " horiz-adv-x="931" /> +<glyph unicode=" " horiz-adv-x="1863" /> +<glyph unicode=" " horiz-adv-x="931" /> +<glyph unicode=" " horiz-adv-x="1863" /> +<glyph unicode=" " horiz-adv-x="621" /> +<glyph unicode=" " horiz-adv-x="465" /> +<glyph unicode=" " horiz-adv-x="310" /> +<glyph unicode=" " horiz-adv-x="310" /> +<glyph unicode=" " horiz-adv-x="232" /> +<glyph unicode=" " horiz-adv-x="372" /> +<glyph unicode=" " horiz-adv-x="103" /> +<glyph unicode="‐" horiz-adv-x="741" d="M126 420l130 130h467l-129 -130h-468z" /> +<glyph unicode="‑" horiz-adv-x="741" d="M126 420l130 130h467l-129 -130h-468z" /> +<glyph unicode="‒" horiz-adv-x="741" d="M126 420l130 130h467l-129 -130h-468z" /> +<glyph unicode="–" horiz-adv-x="879" d="M105 465l10 117h776l-10 -117h-776z" /> +<glyph unicode="—" horiz-adv-x="1758" d="M105 465l10 117h1655l-10 -117h-1655z" /> +<glyph unicode="‘" horiz-adv-x="423" d="M193 1038q0 177 270 384l25 -28q-153 -112 -153 -242q0 -111 121 -190l-141 -140q-122 91 -122 216z" /> +<glyph unicode="’" horiz-adv-x="423" d="M188 850q153 111 153 243q0 110 -120 190l140 139q123 -91 123 -215q0 -178 -270 -385z" /> +<glyph unicode="‚" horiz-adv-x="423" d="M58 -334q153 111 153 243q0 110 -121 189l141 140q122 -91 122 -216q0 -178 -270 -384z" /> +<glyph unicode="“" horiz-adv-x="779" d="M193 1038q0 177 270 384l25 -28q-153 -112 -153 -242q0 -111 120 -190l-140 -140q-122 91 -122 216zM549 1038q0 177 270 384l25 -28q-153 -112 -153 -242q0 -111 121 -190l-141 -140q-122 91 -122 216z" /> +<glyph unicode="”" horiz-adv-x="779" d="M188 850q153 111 153 243q0 110 -120 190l140 139q123 -91 123 -215q0 -178 -270 -385zM544 850q154 111 154 243q0 110 -121 190l140 139q123 -91 123 -215q0 -178 -270 -385z" /> +<glyph unicode="„" horiz-adv-x="779" d="M58 -334q153 111 153 243q0 110 -121 189l141 140q122 -91 122 -216q0 -178 -270 -384zM414 -334q153 111 153 243q0 110 -121 189l141 140q122 -91 122 -216q0 -178 -270 -384z" /> +<glyph unicode="•" d="M270 647l418 397q183 -139 323 -397l-412 -399q-126 269 -329 399z" /> +<glyph unicode="…" horiz-adv-x="1758" d="M173 103l148 141q66 -49 115 -141l-146 -142q-45 95 -117 142zM759 103l148 141q66 -50 116 -141l-147 -142l-15 29q-35 70 -102 113zM1345 103l148 141q66 -49 116 -141l-147 -142q-7 10 -15 29q-9 23 -35 50l-43 47q-4 3 -24 16z" /> +<glyph unicode=" " horiz-adv-x="372" /> +<glyph unicode="‹" horiz-adv-x="720" d="M78 406l92 93l544 387l-64 -147l-430 -260q207 -108 364 -337l-92 -94q-145 242 -414 358z" /> +<glyph unicode="›" horiz-adv-x="720" d="M97 48l64 147l430 260q-206 106 -363 337l91 94q145 -241 414 -358l-92 -93z" /> +<glyph unicode=" " horiz-adv-x="465" /> +<glyph unicode="™" horiz-adv-x="1653" d="M204 1251q0 96 143 96l54 -2h42h211l68 -1q66 0 94 40q14 -6 14 -18q0 -97 -139 -97h-29l-50 2h-55l-46 -420q-6 -51 -14.5 -61.5t-55.5 -24.5h148l-66 -58h-266l68 58h60q17 34 22 76l3 35l44 395h-74h-46q-87 0 -118 -37q-12 3 -12 17zM742 707l38 58h51q22 30 36 108 l72 416h-78l49 56h164l135 -445l207 408l124 55q-15 -104 -26 -277l-8 -142q-4 -58 -4 -86q0 -111 47 -111q15 0 41 10q4 -9 4 -12q0 -17 -53 -37t-97 -20q-39 0 -39 77q0 88 14 315l7 125l-223 -435l-54 -39l-147 494l-64 -372q-13 -79 -57 -86l108 -1l-36 -59h-211z" /> +<glyph unicode="◼" horiz-adv-x="955" d="M0 0v955h955v-955h-955z" /> +<glyph unicode="fi" horiz-adv-x="1560" d="M121 773q0 275 229 445q171 127 471 127h597q371 0 371 229q0 80 -55 148l126 120q44 -60 44 -154q0 -197 -177.5 -330.5t-438.5 -133.5h-278l-75 -676l-12 -111q-17 -142 -61.5 -205t-171.5 -123l291 -15l-120 -116l-488 22l129 124l109 -12q121 77 150 315l10 97 l78 700h-170q-419 0 -419 -277q0 -84 47 -171l-163 -156q-23 78 -23 153zM598 -602q118 84 118 190q0 83 -84 145l113 112q98 -72 98 -173q0 -142 -216 -307z" /> +<glyph unicode="fl" horiz-adv-x="725" d="M66 815l117 116h107l21 182l147 49l-25 -231h424l-117 -116h-320l-50 -442q-13 -119 -13 -176q0 -113 77 -113q83 0 172 136q15 -19 15 -34q0 -56 -98.5 -134t-169.5 -78q-142 0 -142 182q0 67 17 217l49 442h-211zM211 -602q118 84 118 190q0 83 -84 145l113 112 q98 -72 98 -173q0 -142 -216 -307z" /> +</font> +</defs></svg>
\ No newline at end of file diff --git a/themes/even/static/dist/fonts/chancery/apple-chancery-webfont.ttf b/themes/even/static/dist/fonts/chancery/apple-chancery-webfont.ttf Binary files differnew file mode 100644 index 0000000..8238aa4 --- /dev/null +++ b/themes/even/static/dist/fonts/chancery/apple-chancery-webfont.ttf diff --git a/themes/even/static/dist/fonts/chancery/apple-chancery-webfont.woff b/themes/even/static/dist/fonts/chancery/apple-chancery-webfont.woff Binary files differnew file mode 100644 index 0000000..e476776 --- /dev/null +++ b/themes/even/static/dist/fonts/chancery/apple-chancery-webfont.woff diff --git a/themes/even/static/dist/fonts/chancery/apple-chancery-webfont.woff2 b/themes/even/static/dist/fonts/chancery/apple-chancery-webfont.woff2 Binary files differnew file mode 100644 index 0000000..922dfb3 --- /dev/null +++ b/themes/even/static/dist/fonts/chancery/apple-chancery-webfont.woff2 diff --git a/themes/even/static/dist/fonts/iconfont/iconfont.eot b/themes/even/static/dist/fonts/iconfont/iconfont.eot Binary files differnew file mode 100644 index 0000000..912bca3 --- /dev/null +++ b/themes/even/static/dist/fonts/iconfont/iconfont.eot diff --git a/themes/even/static/dist/fonts/iconfont/iconfont.svg b/themes/even/static/dist/fonts/iconfont/iconfont.svg new file mode 100644 index 0000000..a13a862 --- /dev/null +++ b/themes/even/static/dist/fonts/iconfont/iconfont.svg @@ -0,0 +1,93 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" > +<!-- +2013-9-30: Created. +--> +<svg> +<metadata> +Created by iconfont +</metadata> +<defs> + +<font id="iconfont" horiz-adv-x="1024" > + <font-face + font-family="iconfont" + font-weight="500" + font-stretch="normal" + units-per-em="1024" + ascent="896" + descent="-128" + /> + <missing-glyph /> + + <glyph glyph-name="x" unicode="x" horiz-adv-x="1001" +d="M281 543q-27 -1 -53 -1h-83q-18 0 -36.5 -6t-32.5 -18.5t-23 -32t-9 -45.5v-76h912v41q0 16 -0.5 30t-0.5 18q0 13 -5 29t-17 29.5t-31.5 22.5t-49.5 9h-133v-97h-438v97zM955 310v-52q0 -23 0.5 -52t0.5 -58t-10.5 -47.5t-26 -30t-33 -16t-31.5 -4.5q-14 -1 -29.5 -0.5 +t-29.5 0.5h-32l-45 128h-439l-44 -128h-29h-34q-20 0 -45 1q-25 0 -41 9.5t-25.5 23t-13.5 29.5t-4 30v167h911zM163 247q-12 0 -21 -8.5t-9 -21.5t9 -21.5t21 -8.5q13 0 22 8.5t9 21.5t-9 21.5t-22 8.5zM316 123q-8 -26 -14 -48q-5 -19 -10.5 -37t-7.5 -25t-3 -15t1 -14.5 +t9.5 -10.5t21.5 -4h37h67h81h80h64h36q23 0 34 12t2 38q-5 13 -9.5 30.5t-9.5 34.5q-5 19 -11 39h-368zM336 498v228q0 11 2.5 23t10 21.5t20.5 15.5t34 6h188q31 0 51.5 -14.5t20.5 -52.5v-227h-327z" /> + + + + <glyph glyph-name="twitter" unicode="" d="M672.278528 674.119424c71.1168 1.255424 108.962816-24.65792 145.115136-57.61536 30.664704 2.648064 70.530048 19.795968 94.026752 31.700992 7.61856 4.17792 15.223808 8.354816 22.841344 12.506112-13.41952-36.262912-31.620096-64.632832-59.552768-86.177792-6.21056-4.777984-12.36992-11.222016-20.164608-14.27968l0-0.437248c39.824384 0.4096 72.700928 18.376704 103.911424 28.12416l0-0.463872c-16.4096-26.049536-38.583296-52.482048-62.256128-71.431168-9.558016-7.590912-19.115008-15.182848-28.670976-22.772736 0.519168-42.160128-0.601088-82.408448-8.507392-117.851136-45.845504-206.048256-167.315456-345.936896-359.602176-405.87264-69.042176-21.516288-180.627456-30.334976-259.731456-10.703872-39.238656 9.749504-74.68032 20.72576-107.938816 35.253248-18.458624 8.082432-35.579904 16.846848-51.936256 26.81344-5.379072 3.277824-10.758144 6.5536-16.109568 9.803776 17.829888-0.520192 38.706176-5.435392 58.651648-2.21184 18.049024 2.921472 35.743744 2.128896 52.385792 5.787648 41.546752 9.120768 78.408704 21.161984 110.164992 39.757824 15.40096 8.982528 38.774784 19.577856 49.723392 32.575488-20.629504-0.355328-39.319552 4.42368-54.638592 9.831424-59.390976 20.970496-93.959168 59.52512-116.431872 117.413888 17.994752-1.939456 69.82144-6.634496 81.944576 3.575808-22.664192 1.256448-44.42624 14.363648-60.017664 24.111104-47.758336 29.9008-86.72256 80.033792-86.422528 157.145088 6.281216-2.94912 12.547072-5.924864 18.813952-8.901632 12.000256-5.07904 24.192-7.7824 38.501376-10.703872 6.06208-1.256448 18.14528-4.83328 25.094144-2.239488l-0.90112 0c-9.229312 10.730496-24.301568 17.912832-33.586176 29.435904-30.650368 38.1184-59.363328 96.744448-41.1904 166.564864 4.600832 17.693696 11.904 33.340416 19.70176 47.758336 0.28672-0.137216 0.600064-0.301056 0.886784-0.437248 3.56352-7.481344 11.523072-12.94336 16.561152-19.195904 15.673344-19.414016 34.978816-36.862976 54.638592-52.235264 67.035136-52.427776 127.408128-84.647936 224.370688-108.485632 24.576-6.061056 53.02784-10.702848 82.395136-10.730496-8.246272 24.029184-5.610496 62.912512 0.887808 86.176768 16.355328 58.487808 51.825664 100.621312 103.911424 123.230208 12.438528 5.379072 26.254336 9.33888 40.73984 12.479488C657.355776 672.317184 664.809472 673.218304 672.278528 674.119424" horiz-adv-x="1024" /> + + + <glyph glyph-name="weibo" unicode="" d="M-56.57 948.89v0 0zM743.314 420.4q-16.558 3.318-21.501 9.921t-1.659 12.145l3.318 5.508q1.094 1.094 2.224 3.318t4.414 9.391 4.978 14.334 2.753 17.652-0.564 19.877-6.638 20.407-13.805 19.877q-15.463 15.463-40.284 19.877t-49.641 0.564-46.885-9.921-36.4-11.581l-14.334-6.638q-11.050-3.318-18.218-4.414t-11.050 0.564-6.073 3.318-1.659 7.732 1.094 10.485 2.753 13.805 3.318 14.899q0 13.239-1.659 24.819t-7.167 25.914-15.994 23.161-26.48 14.334-41.379 3.318-57.372-13.239q-38.624-13.239-78.342-39.154t-68.951-54.052-53.523-54.618-37.53-43.038l-12.145-17.652q-36.4-47.451-54.052-94.901t-16.558-71.707v-23.161q6.638-52.958 32.551-94.901t61.785-67.857 84.415-44.132 93.242-26.48 94.337-11.581q81.662-6.638 169.36 12.675t163.289 66.763 106.481 113.649q18.747 38.624 19.313 72.836t-11.581 55.712-31.457 38.060-36.4 24.29-30.327 9.921zM406.816 77.265q-119.156-5.508-202.443 46.356t-83.285 131.301q0 78.342 82.756 135.15t203.007 62.35 203.007-39.718 82.756-123.569q0-79.438-84.415-142.882t-201.348-68.951zM374.83 382.906q-31.986-3.318-57.372-14.899t-39.718-26.48-24.29-31.986-13.805-33.646-4.978-30.327-1.094-21.501l1.094-8.827v-4.414q0-3.318 2.224-13.239t6.073-18.218 12.675-18.218 20.972-16.558q72.836-35.306 135.714-21.501t101.503 63.443q15.463 18.747 20.407 46.356t-2.224 55.712-24.819 51.299-52.394 35.871-80.003 7.167zM335.11 174.355q-6.638-1.094-12.675-0.564t-11.050 2.224-9.921 3.847-8.261 6.073-6.073 7.732-4.414 8.827-1.659 10.485q0 12.145 6.638 23.725t18.218 19.877 25.914 9.391q9.921 1.094 19.313-0.564t15.994-5.508 11.581-8.827 7.167-11.581 2.224-14.334q0-12.145-7.167-23.161t-19.313-18.747-26.48-8.827zM428.882 253.793q-7.732-5.508-15.994-4.978t-11.581 7.167l-2.224 4.414q-1.094 2.224-1.094 4.414v4.414q0 3.318 1.094 5.508l2.224 4.414q1.094 2.224 3.318 3.318l3.318 4.414q8.827 6.638 17.088 5.508t11.581-8.827q3.318-4.414 2.753-9.921t-3.318-10.485-7.167-9.391zM820.562 484.409q6.638 0 12.145 3.318t8.827 8.261 4.414 10.485q1.094 1.094 1.094 3.318 13.239 125.794-88.265 143.446-29.798 5.508-55.182 1.094-7.732 0-13.239-3.847t-9.391-9.921-3.847-12.675q0-11.050 7.732-18.747t18.747-7.732q86.075 19.877 92.677-55.182 2.224-18.747-2.224-35.306 0-11.050 7.732-18.747t18.747-7.732zM801.815 795.522q-48.545 11.050-130.207-4.414-1.094 0-2.224-1.094l-1.094-2.224-1.094-1.094q-12.145-3.318-19.877-13.805t-7.732-22.63q0-16.558 11.050-27.574t26.48-11.050h3.318q1.094 0 4.978 1.094t8.261 1.659 9.391 2.224 8.827 3.318 14.899 1.659 27.044-1.659 35.306-8.261 38.624-16.558 38.624-27.574 33.646-40.813q28.704-65.104 11.050-125.794 0-1.094-0.564-2.224t-1.659-5.508-2.224-8.261-2.224-9.921-1.094-10.485q0-9.921 5.508-16.558t13.805-9.391 19.313-2.753q30.893 0 36.4 37.53 13.239 43.038 14.899 82.192t-5.508 68.951-21.501 55.712-33.116 44.132-41.943 33.116-44.697 23.725-44.697 14.334z" horiz-adv-x="1024" /> + + + <glyph glyph-name="close" unicode="" d="M734.668 138.618l-141.21 161.382 141.21 161.382c24.014 24.012 24.014 62.926 0 86.886s-62.924 23.962-86.886 0l-135.782-155.188-135.73 155.136c-24.012 24.014-62.926 24.014-86.886 0s-23.962-62.926 0-86.886l141.158-161.332-141.21-161.382c-23.962-24.014-23.962-62.822 0-86.784 24.012-24.014 62.926-24.014 86.886 0l135.782 155.086 135.73-155.086c24.014-24.014 62.924-24.014 86.886 0s24.014 62.77 0.052 86.784z" horiz-adv-x="1024" /> + + + <glyph glyph-name="search" unicode="" d="M941.427376-98.59516c-16.080234-16.010649-69.712735-18.382673-85.792968-2.378164L631.709429 127.555509c61.748343 50.087768 70.796416 148.074454 70.796416 199.626573 0 148.759045-109.305475 260.410961-257.868045 260.410961-148.56871 0-256.612449-109.908202-256.612449-258.673387 0-148.752906 102.096283-261.730003 250.664993-261.730003 30.759561 0 44.760436-0.037862 72.293513 9.466606l0.38681-1.483794c7.000438 3.544733 77.435627 12.098549 77.435627-60.962443 0-20.455891-15.623839-41.425482-34.932604-48.178279-32.66905-11.420097-75.431993-16.936741-108.60144-16.936741-211.592093 0-381.180536 169.367409-381.180536 380.807029 0 211.370035 169.589466 382.79122 381.180536 382.79122 211.667817 0 381.180536-171.421184 381.180536-382.79122 0-65.812915-12.979616-127.682008-40.201607-179.176822l157.154249-159.189605C959.423239-24.475046 957.439048-82.660236 941.427376-98.59516L941.427376-98.59516zM941.427376-98.59516" horiz-adv-x="1024" /> + + + <glyph glyph-name="stack-overflow" unicode="" d="M640-0.585v-86.272l-404.005-0.585v86.272zM777.728 197.157v-400.567l-0.585-20.005v-0.585l-667.429 0.585v420.571h69.157v-353.134h530.286v353.134h68.571zM247.442 146.871l402.286-37.157-7.424-85.723-402.871 37.157zM286.281 327.424l390.29-104.558-22.272-83.419-390.29 104.558zM379.429 526.848l348.014-205.714-43.995-74.277-348.014 205.714zM585.143 715.995l227.438-334.299-70.839-48.567-227.986 333.714zM843.995 800l69.157-398.299-85.138-14.848-69.157 398.299z" horiz-adv-x="1024" /> + + + <glyph glyph-name="email" unicode="" d="M512.576 209.76l-447.744 265.6 0-416.928c0-42.592 37.6-77.12 83.936-77.12l727.648 0c46.336 0 83.936 34.528 83.936 77.12l0 416.928L512.576 209.76 512.576 209.76zM148.736 620.96c-43.328 0-78.944-30.144-83.424-68.864-0.32-2.72-0.512-5.408-0.512-8.256l447.744-265.568 447.776 265.568c0 2.912-0.16 5.792-0.512 8.608-4.64 38.528-40.256 68.544-83.424 68.544L148.736 620.992 148.736 620.96z" horiz-adv-x="1024" /> + + + <glyph glyph-name="heart" unicode="" d="M512-138.857143q-14.848 0-25.161143 10.276571l-356.571429 343.990857q-5.705143 4.571429-15.725714 14.848t-31.707429 37.412571-38.838857 55.698286-30.573714 69.156571-13.421714 78.848q0 125.696 72.557714 196.571429t200.557714 70.838857q35.437714 0 72.301714-12.288t68.571429-33.133714 54.564571-39.131429 43.446857-38.838857q20.553143 20.553143 43.446857 38.838857t54.564571 39.131429 68.571429 33.133714 72.301714 12.288q128 0 200.557714-70.838857t72.557714-196.571429q0-126.281143-130.852571-257.133714l-355.986286-342.857143q-10.276571-10.276571-25.161143-10.276571z" horiz-adv-x="1024" /> + + + <glyph glyph-name="github" unicode="" d="M64 288C64 92.398 189.356-73.926 364.113-135.017 387.65799-141 384-124.115 384-112.767L384-35.107C248.118-51.007 242.674 38.948 233.5 53.999 215 85.499 171.5 93.499 184.5 108.499 215.5 124.499 247 104.499 283.5 50.499 309.956 11.358 361.366 17.925 387.658 24.503 393.403 48.003 405.637 68.958 422.353 85.362 281.774 110.391 223 196.33 223 298.5 223 347.947 239.322 393.594 271.465 430.373 251.142 491.072 273.421 542.81 276.337 550.585 334.458 555.869 394.888 509.007 399.549 505.315 432.663 514.165 470.341 519 512.5 519 554.924 519 592.81 514.104 626.075 505.147 637.426 513.781 693.46 553.946 747.5 549.034 750.382 541.348 772.185 490.708 753.058 430.917 785.516 394.044 802 348.191 802 298.5 802 196.126 742.99 110.047 601.803 85.214 625.381 61.997 640 29.705 640-6.008L640-118.653C640.752-127.626 640-136.664978 655.086-136.665 832.344-76.962 960 90.611 960 288 960 535.424 759.424 736 512 736 264.577 736 64 535.424 64 288Z" horiz-adv-x="1024" /> + + + <glyph glyph-name="right" unicode="" d="M577.192791 300.195451l-318.04766-318.04766c-29.457916-29.457916-29.459962-77.222779-0.002047-106.681718 29.399587-29.399587 77.221756-29.459962 106.681718 0l421.710624 421.710624-0.044002 0.044002 1.904373 1.90335-427.312202 427.314249c-28.942169 28.942169-76.379575 29.116131-105.531522-0.035816-29.355585-29.355585-29.169343-76.399017-0.035816-105.531522L577.192791 300.195451z" horiz-adv-x="1024" /> + + + <glyph glyph-name="left" unicode="" d="M767.481695 620.871985c29.133527 29.131481 29.319769 76.175937-0.035816 105.531522-29.151947 29.151947-76.589352 28.977985-105.531522 0.035816l-427.312202-427.314249 1.904373-1.90335-0.044002-0.044002 421.710624-421.710624c29.459962-29.459962 77.282131-29.399587 106.681718 0 29.457916 29.457916 29.455869 77.223802-0.002047 106.681718l-318.04766 318.04766L767.481695 620.871985z" horiz-adv-x="1024" /> + + + <glyph glyph-name="linkedin" unicode="" d="M743.838206 427.266545c-87.422072 0-146.035004-43.980677-170.026418-85.654822l-2.403746 0 0 72.467475L399.064858 414.079198l0-530.393929 179.524746 0 0 262.396175c0 69.170382 14.360056 136.185682 107.859543 136.185682 92.142583 0 93.368504-79.127152 93.368504-140.646274l0-257.935584 179.566702 0 0 290.925952C959.385377 317.413602 925.795351 427.266545 743.838206 427.266545zM101.006462-116.271752l149.266605 0L250.273067 427.546931 101.006462 427.546931 101.006462-116.271752zM175.636183 717.568281c-61.827137 0-111.952768-48.678676-111.952768-108.754936 0-60.078307 50.125631-108.777449 111.952768-108.777449 61.829184 0 111.954815 48.699142 111.954815 108.777449C287.590997 668.889605 237.465366 717.568281 175.636183 717.568281z" horiz-adv-x="1024" /> + + + <glyph glyph-name="facebook" unicode="" d="M870.4 748.8h-716.8c-56.32 0-102.4-46.080-102.4-102.4v-716.8c0-56.371 46.080-102.4 102.4-102.4h358.4v358.4h-102.4v126.72h102.4v104.96c0 110.797 62.054 188.621 192.819 188.621l92.314-0.102v-133.376h-61.286c-50.893 0-70.246-38.195-70.246-73.626v-86.528h131.482l-29.082-126.669h-102.4v-358.4h204.8c56.32 0 102.4 46.029 102.4 102.4v716.8c0 56.32-46.080 102.4-102.4 102.4z" horiz-adv-x="1024" /> + + + <glyph glyph-name="rss" unicode="" d="M329.143 128q0-45.714-32-77.714t-77.714-32-77.714 32-32 77.714 32 77.714 77.714 32 77.714-32 32-77.714zM621.714 57.714q1.143-16-9.714-27.429-10.286-12-26.857-12h-77.143q-14.286 0-24.571 9.429t-11.429 23.714q-12.571 130.857-105.429 223.714t-223.714 105.429q-14.286 1.143-23.714 11.429t-9.429 24.571v77.143q0 16.571 12 26.857 9.714 9.714 24.571 9.714h2.857q91.429-7.429 174.857-46t148-103.714q65.143-64.571 103.714-148t46-174.857zM914.286 56.571q1.143-15.429-10.286-26.857-10.286-11.429-26.286-11.429h-81.714q-14.857 0-25.429 10t-11.143 24.286q-6.857 122.857-57.714 233.429t-132.286 192-192 132.286-233.429 58.286q-14.286 0.571-24.286 11.143t-10 24.857v81.714q0 16 11.429 26.286 10.286 10.286 25.143 10.286h1.714q149.714-7.429 286.571-68.571t243.143-168q106.857-106.286 168-243.143t68.571-286.571z" horiz-adv-x="1024" /> + + + <glyph glyph-name="google" unicode="" d="M637.828288 832.450638l-235.350193 0c-31.202653 0-64.665789-3.629667-100.376105-10.901281-36.050054-8.472975-70.820975-26.435069-104.259552-53.955866-48.764634-47.095621-73.109088-99.482759-73.109088-157.311839 0-47.805796 17.210987-89.696882 51.627844-125.715213 32.857339-38.629809 80.596619-58.349943 143.271054-59.122539 11.805884 0 24.444738 0.772596 37.795814 2.288113-2.189875-6.184863-4.607948-12.859889-7.195889-20.201088-2.940982-6.889921-4.394077-15.603373-4.394077-25.989931 0-17.272385 3.843538-32.107255 11.589966-44.417629 6.644327-12.700253 14.199397-24.612561 22.688745-35.789111-27.466562-0.75827-61.945841-4.217045-103.506399-10.304693-41.960671-7.257288-82.006735-21.815865-120.082936-43.551912-33.960463-20.240997-57.415664-43.74327-70.329788-70.451562-13.413498-26.741038-20.057825-51.04763-20.057825-72.795956 0-44.691875 20.546965-83.068927 61.534472-115.191532 40.665165-34.332946 102.199637-51.918463 184.641277-52.682873 98.469686 1.547239 173.860746 25.049512 226.025826 70.605058 50.355875 44.072775 75.573209 94.560656 75.573209 151.600767-0.780783 40.158628-9.951653 72.672136-27.559683 97.575316-18.693758 24.50409-40.450271 46.803979-65.246003 67.14526l-39.939641 32.713053c-5.764284 5.732561-11.711739 12.438287-17.805528 20.10899-7.195889 8.021697-10.793834 18.128893-10.793834 30.445406 0 12.630668 3.514033 23.701818 10.517541 33.270754 5.955642 9.200546 12.416797 17.430998 19.453051 24.696472 12.249999 10.709923 23.793916 21.265326 34.68701 31.561833 9.812483 10.336416 19.107173 21.626553 27.850301 33.868365 17.912975 25.278733 27.221991 58.954717 27.89635 101.043301 0 22.967084-2.573615 43.076074-7.748475 60.278875-6.306636 17.253966-13.518898 32.145118-21.665439 44.774763-8.497535 13.359262-17.170055 24.698518-26.027793 33.884738-9.231245 8.810666-17.515932 15.493879-24.932856 20.079314l72.54934 0L637.828288 832.450638zM508.834402 190.628898c19.461237-22.184255 29.197996-48.184419 29.197996-78.069053 0-36.761252-14.231119-66.786079-42.739407-90.165556-29.184693-23.724331-71.547523-35.972283-127.010719-36.761252-61.84044 0.788969-110.521163 14.566764-146.158824 41.352827-37.47245 26.787086-56.152904 60.854996-56.152904 102.201683 0 21.036106 4.256954 39.034015 12.916171 53.977355 7.471159 14.177907 16.642029 26.03598 27.520797 35.597753 11.268648 9.18622 22.316262 16.275685 33.194006 21.243837 10.847046 4.593622 19.252483 8.054443 25.247011 10.357905 25.492604 7.662517 50.441832 13.19758 74.7781 16.657378 24.728194 2.281973 40.107463 3.016707 46.092781 2.281973 10.112312 0 18.901489-0.360204 26.426883-1.133823C455.99701 237.511671 488.203526 211.675236 508.834402 190.628898zM470.620056 536.951531c-2.834558-15.731286-9.232269-31.064506-19.215644-46.00887-20.646226-21.097504-46.452985-32.250518-77.441766-33.406854-24.527626 0-46.314839 7.471159-65.37801 22.467711-19.11536 14.95255-34.624589 33.163307-46.711881 54.614875-24.919553 46.054919-37.328164 90.303702-37.328164 132.858914-0.818645 32.220842 7.716752 61.364603 25.545816 87.448678 21.159926 24.917506 47.662533 37.771255 79.562057 38.543851 24.092721-0.772596 45.412282-7.892761 63.98529-21.267373 18.158568-14.175861 32.80208-32.610722 43.957141-55.217602 23.731494-47.14167 35.604916-93.955882 35.604916-140.330072C473.199811 565.882444 472.318744 552.698167 470.620056 536.951531zM833.194838 703.90803 833.194838 827.421089 773.361101 827.421089 773.361101 703.90803 649.894092 703.90803 649.894092 644.074294 773.361101 644.074294 773.361101 520.607284 833.194838 520.607284 833.194838 644.074294 956.676174 644.074294 956.676174 703.90803Z" horiz-adv-x="1024" /> + + + <glyph glyph-name="zhihu" unicode="" d="M351.791182 333.530538l192.945407 0c0 45.367257-21.3871 71.939449-21.3871 71.939449L355.897709 405.469987c3.977591 82.182744 7.541767 187.659007 8.816806 226.835262l159.282726 0c0 0-0.86367 67.402109-18.578124 67.402109s-279.979646 0-279.979646 0 16.850783 88.141456 39.318494 127.053698c0 0-83.60514 4.510734-112.121614-106.962104S81.344656 540.922982 76.80834 528.609539c-4.536316-12.313443 24.62791-5.832845 36.941354 0 12.313443 5.832845 68.050885 25.924439 84.252893 103.69571l86.570681 0c1.165546-49.28652 4.596691-200.335724 3.515057-226.835262L109.86113 405.469987c-25.275663-18.147312-33.701566-71.939449-33.701566-71.939449L279.868105 333.530538c-8.497535-56.255235-23.417339-128.763642-44.275389-167.210279-33.05279-60.921511-50.55235-116.65793-169.802314-212.576513 0 0-19.442818-14.257725 40.829917-9.073656 60.273758 5.185093 117.305683 20.739347 156.840094 99.807147 20.553105 41.107233 41.805128 93.250824 58.386782 146.138358l-0.055259-0.185218 167.855986-193.263655c0 0 22.035876 51.847855 5.832845 108.880803L371.045711 245.389082l-42.1244-31.157627-0.045025-0.151449c11.69946 41.020252 20.11206 81.5749 22.726607 116.858498C351.665315 331.787848 351.72876 332.654588 351.791182 333.530538zM584.918753 713.966107l0-668.840094 70.318532 0 28.807093-80.512708 121.875768 80.512708 153.600307 0L959.520453 713.966107 584.918753 713.966107zM887.150192 117.065462l-79.837326 0-99.578949-65.782216-23.537066 65.782216-24.855084 0L659.341766 639.326153l227.807403 0L887.149169 117.065462z" horiz-adv-x="1024" /> + + + <glyph glyph-name="up" unicode="" d="M120.081067 329.796267 498.7392 725.691733 877.226667 329.796267c10.9568-11.4688 28.8256-11.4688 39.816533 0 11.025067 11.537067 11.025067 30.1568 0 41.710933L518.621867 788.155733c-11.042133 11.554133-28.8256 11.554133-39.816533 0L80.2304 371.524267c-10.990933-11.5712-10.990933-30.190933 0-41.710933C91.306667 318.327467 109.090133 318.327467 120.081067 329.796267M120.081067-47.940267 498.7392 347.989333 877.226667-47.940267c10.9568-11.451733 28.8256-11.451733 39.816533 0 11.025067 11.5712 11.025067 30.1568 0 41.728L518.621867 410.436267c-11.042133 11.554133-28.8256 11.554133-39.816533 0L80.2304-6.1952c-10.990933-11.588267-10.990933-30.173867 0-41.728C91.306667-59.374933 109.090133-59.374933 120.081067-47.940267" horiz-adv-x="1024" /> + + + <glyph glyph-name="iconinstagram2" unicode="" d="M720.989 874.386h-421.236c-155.828 0-282.148-126.321-282.148-282.148v-421.235c0-155.828 126.321-282.148 282.148-282.148h421.235c155.828 0 282.148 126.321 282.148 282.148v421.234c0.001 155.828-126.321 282.149-282.147 282.149zM511.934 129.236c-140.701 0-254.764 114.063-254.764 254.761 0 140.702 114.062 254.764 254.764 254.764 140.7 0 254.761-114.061 254.761-254.764 0-140.699-114.062-254.761-254.761-254.761zM773.321 587.605c-32.917 0-59.602 26.685-59.602 59.602s26.687 59.602 59.602 59.602 59.602-26.685 59.602-59.602-26.685-59.602-59.602-59.602zM511.934 547.357c-90.219 0-163.357-73.137-163.357-163.357 0-90.218 73.137-163.356 163.357-163.356 90.218 0 163.356 73.137 163.356 163.356 0 90.219-73.135 163.357-163.356 163.357z" horiz-adv-x="1024" /> + + + <glyph glyph-name="douban" unicode="" d="M370.63168 468.81792 649.9072 468.81792 649.9072 366.50496 370.63168 366.50496 370.63168 468.81792ZM757.632 836.36224 262.26176 836.36224C151.36768 836.36224 61.44 745.98912 61.44 634.50112l0-497.87904c0-111.47776 89.9328-201.8304 200.82176-201.8304l495.36512 0c110.91968 0 200.84224 90.34752 200.84224 201.8304L958.46912 634.50112C958.46912 745.984 868.53632 836.36224 757.632 836.36224L757.632 836.36224zM272.37376 631.68l475.19744 0 0-53.5296L272.37376 578.1504 272.37376 631.68 272.37376 631.68zM313.63072 313.08288l0 209.2032 392.61696 0 0-209.2032L313.63072 313.08288 313.63072 313.08288zM761.0368 139.49952 258.93888 139.49952l0 52.92032 146.304 0c-13.39392 28.14464-30.86848 58.42432-52.52096 90.91072l52.52096 20.75648c20.84864-30.8736 39.45472-68.11136 55.94112-111.7184l99.41504 0c19.71712 33.67424 36.95616 70.94784 51.8144 111.7184l57.07264-20.75648c-14.88384-34.44224-31.03232-64.7424-48.11264-90.91072l139.68896 0 0-52.92032L761.0368 139.49952 761.0368 139.49952z" horiz-adv-x="1024" /> + + + <glyph glyph-name="pocket" unicode="" d="M938.666667 384a426.666667 426.666667 0 0 0-426.666667-426.666667A426.666667 426.666667 0 0 0 85.333333 384V704A106.666667 106.666667 0 0 0 192 810.666667h640A106.666667 106.666667 0 0 0 938.666667 704V384m-261.12 160L512 378.453333 346.453333 544.426667a63.573333 63.573333 0 0 1-90.453333 0 63.573333 63.573333 0 0 1 0-90.453334l210.346667-211.626666c24.32-24.746667 65.706667-24.746667 90.88 0L768 453.546667c25.173333 25.173333 25.173333 65.706667 0 90.453333a63.573333 63.573333 0 0 1-90.453333 0z" horiz-adv-x="1024" /> + + + <glyph glyph-name="tumblr" unicode="" d="M678.466363 38.690237c-29.039665 0-54.753201 6.84415-77.300519 20.388531-16.982447 10.058342-32.605659 27.472547-38.82616 44.247111-6.268474 16.774564-5.500906 51.011306-5.500906 110.41789V476.348054h235.531514V659.077269H556.886751V896h-144.910488c-6.476357-52.898245-18.389656-96.361796-35.675932-130.486601a279.762634 279.762634 0 0 0-68.761322-87.98251c-28.463989-24.386283-74.853895-43.159723-114.87938-56.176401v-145.006434h138.386158V117.270036c0-46.917609 4.877257-82.625523 14.631769-107.267662 9.818477-24.578175 27.280655-47.925042 52.626398-69.84871 25.217815-21.731776 55.760635-38.698232 91.548504-50.563558 35.787869-11.737398 63.244425-17.606097 109.842214-17.606097 41.016928 0 79.171466 4.125679 114.495596 12.441002 35.292148 8.331314 74.741958 22.851146 118.253482 43.351615V89.301768c-51.091261-33.709039-102.374414-50.611531-153.977387-50.611531z" horiz-adv-x="1024" /> + + + + + </font> +</defs></svg> diff --git a/themes/even/static/dist/fonts/iconfont/iconfont.ttf b/themes/even/static/dist/fonts/iconfont/iconfont.ttf Binary files differnew file mode 100644 index 0000000..f6765c5 --- /dev/null +++ b/themes/even/static/dist/fonts/iconfont/iconfont.ttf diff --git a/themes/even/static/dist/fonts/iconfont/iconfont.woff b/themes/even/static/dist/fonts/iconfont/iconfont.woff Binary files differnew file mode 100644 index 0000000..526da66 --- /dev/null +++ b/themes/even/static/dist/fonts/iconfont/iconfont.woff diff --git a/themes/even/static/favicon-16x16.png b/themes/even/static/favicon-16x16.png Binary files differnew file mode 100644 index 0000000..74c7dab --- /dev/null +++ b/themes/even/static/favicon-16x16.png diff --git a/themes/even/static/favicon-32x32.png b/themes/even/static/favicon-32x32.png Binary files differnew file mode 100644 index 0000000..c418957 --- /dev/null +++ b/themes/even/static/favicon-32x32.png diff --git a/themes/even/static/favicon.ico b/themes/even/static/favicon.ico Binary files differnew file mode 100644 index 0000000..08da9cd --- /dev/null +++ b/themes/even/static/favicon.ico diff --git a/themes/even/static/img/reward/alipay.png b/themes/even/static/img/reward/alipay.png Binary files differnew file mode 100644 index 0000000..b8a7b4f --- /dev/null +++ b/themes/even/static/img/reward/alipay.png diff --git a/themes/even/static/img/reward/wechat.png b/themes/even/static/img/reward/wechat.png Binary files differnew file mode 100644 index 0000000..a80527a --- /dev/null +++ b/themes/even/static/img/reward/wechat.png diff --git a/themes/even/static/img/spinner.svg b/themes/even/static/img/spinner.svg new file mode 100644 index 0000000..cbd8855 --- /dev/null +++ b/themes/even/static/img/spinner.svg @@ -0,0 +1,49 @@ +<svg class="lds-spinner" width="16px" height="16px" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid" style="background: none;"><g transform="rotate(0 50 50)"> + <rect x="47" y="24" rx="9.4" ry="4.8" width="6" height="12" fill="#c05b4d"> + <animate attributeName="opacity" values="1;0" times="0;1" dur="1s" begin="-0.9166666666666666s" repeatCount="indefinite"></animate> + </rect> +</g><g transform="rotate(30 50 50)"> + <rect x="47" y="24" rx="9.4" ry="4.8" width="6" height="12" fill="#c05b4d"> + <animate attributeName="opacity" values="1;0" times="0;1" dur="1s" begin="-0.8333333333333334s" repeatCount="indefinite"></animate> + </rect> +</g><g transform="rotate(60 50 50)"> + <rect x="47" y="24" rx="9.4" ry="4.8" width="6" height="12" fill="#c05b4d"> + <animate attributeName="opacity" values="1;0" times="0;1" dur="1s" begin="-0.75s" repeatCount="indefinite"></animate> + </rect> +</g><g transform="rotate(90 50 50)"> + <rect x="47" y="24" rx="9.4" ry="4.8" width="6" height="12" fill="#c05b4d"> + <animate attributeName="opacity" values="1;0" times="0;1" dur="1s" begin="-0.6666666666666666s" repeatCount="indefinite"></animate> + </rect> +</g><g transform="rotate(120 50 50)"> + <rect x="47" y="24" rx="9.4" ry="4.8" width="6" height="12" fill="#c05b4d"> + <animate attributeName="opacity" values="1;0" times="0;1" dur="1s" begin="-0.5833333333333334s" repeatCount="indefinite"></animate> + </rect> +</g><g transform="rotate(150 50 50)"> + <rect x="47" y="24" rx="9.4" ry="4.8" width="6" height="12" fill="#c05b4d"> + <animate attributeName="opacity" values="1;0" times="0;1" dur="1s" begin="-0.5s" repeatCount="indefinite"></animate> + </rect> +</g><g transform="rotate(180 50 50)"> + <rect x="47" y="24" rx="9.4" ry="4.8" width="6" height="12" fill="#c05b4d"> + <animate attributeName="opacity" values="1;0" times="0;1" dur="1s" begin="-0.4166666666666667s" repeatCount="indefinite"></animate> + </rect> +</g><g transform="rotate(210 50 50)"> + <rect x="47" y="24" rx="9.4" ry="4.8" width="6" height="12" fill="#c05b4d"> + <animate attributeName="opacity" values="1;0" times="0;1" dur="1s" begin="-0.3333333333333333s" repeatCount="indefinite"></animate> + </rect> +</g><g transform="rotate(240 50 50)"> + <rect x="47" y="24" rx="9.4" ry="4.8" width="6" height="12" fill="#c05b4d"> + <animate attributeName="opacity" values="1;0" times="0;1" dur="1s" begin="-0.25s" repeatCount="indefinite"></animate> + </rect> +</g><g transform="rotate(270 50 50)"> + <rect x="47" y="24" rx="9.4" ry="4.8" width="6" height="12" fill="#c05b4d"> + <animate attributeName="opacity" values="1;0" times="0;1" dur="1s" begin="-0.16666666666666666s" repeatCount="indefinite"></animate> + </rect> +</g><g transform="rotate(300 50 50)"> + <rect x="47" y="24" rx="9.4" ry="4.8" width="6" height="12" fill="#c05b4d"> + <animate attributeName="opacity" values="1;0" times="0;1" dur="1s" begin="-0.08333333333333333s" repeatCount="indefinite"></animate> + </rect> +</g><g transform="rotate(330 50 50)"> + <rect x="47" y="24" rx="9.4" ry="4.8" width="6" height="12" fill="#c05b4d"> + <animate attributeName="opacity" values="1;0" times="0;1" dur="1s" begin="0s" repeatCount="indefinite"></animate> + </rect> +</g></svg>
\ No newline at end of file diff --git a/themes/even/static/lib/fancybox/jquery.fancybox-3.1.20.min.css b/themes/even/static/lib/fancybox/jquery.fancybox-3.1.20.min.css new file mode 100644 index 0000000..e88fae3 --- /dev/null +++ b/themes/even/static/lib/fancybox/jquery.fancybox-3.1.20.min.css @@ -0,0 +1 @@ +@charset "UTF-8";.fancybox-enabled{overflow:hidden}.fancybox-enabled body{overflow:visible;height:100%}.fancybox-is-hidden{position:absolute;top:-9999px;left:-9999px;visibility:hidden}.fancybox-container{position:fixed;top:0;left:0;width:100%;height:100%;z-index:99993;-webkit-tap-highlight-color:transparent;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform:translateZ(0);transform:translateZ(0)}.fancybox-container~.fancybox-container{z-index:99992}.fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-stage{position:absolute;top:0;right:0;bottom:0;left:0}.fancybox-outer{overflow-y:auto;-webkit-overflow-scrolling:touch}.fancybox-bg{background:#1e1e1e;opacity:0;transition-duration:inherit;transition-property:opacity;transition-timing-function:cubic-bezier(.47,0,.74,.71)}.fancybox-is-open .fancybox-bg{opacity:.87;transition-timing-function:cubic-bezier(.22,.61,.36,1)}.fancybox-caption-wrap,.fancybox-infobar,.fancybox-toolbar{position:absolute;direction:ltr;z-index:99997;opacity:0;visibility:hidden;transition:opacity .25s,visibility 0s linear .25s;box-sizing:border-box}.fancybox-show-caption .fancybox-caption-wrap,.fancybox-show-infobar .fancybox-infobar,.fancybox-show-toolbar .fancybox-toolbar{opacity:1;visibility:visible;transition:opacity .25s,visibility 0s}.fancybox-infobar{top:0;left:50%;margin-left:-79px}.fancybox-infobar__body{display:inline-block;width:70px;line-height:44px;font-size:13px;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;text-align:center;color:#ddd;background-color:rgba(30,30,30,.7);pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;-webkit-font-smoothing:subpixel-antialiased}.fancybox-toolbar{top:0;right:0}.fancybox-stage{overflow:hidden;direction:ltr;z-index:99994;-webkit-transform:translateZ(0)}.fancybox-slide{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;padding:0;overflow:auto;outline:none;white-space:normal;box-sizing:border-box;text-align:center;z-index:99994;-webkit-overflow-scrolling:touch;display:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition-property:opacity,-webkit-transform;transition-property:transform,opacity;transition-property:transform,opacity,-webkit-transform;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.fancybox-slide:before{content:"";display:inline-block;vertical-align:middle;height:100%;width:0}.fancybox-is-sliding .fancybox-slide,.fancybox-slide--current,.fancybox-slide--next,.fancybox-slide--previous{display:block}.fancybox-slide--image{overflow:visible}.fancybox-slide--image:before{display:none}.fancybox-slide--video .fancybox-content,.fancybox-slide--video iframe{background:#000}.fancybox-slide--map .fancybox-content,.fancybox-slide--map iframe{background:#e5e3df}.fancybox-slide--next{z-index:99995}.fancybox-slide>*{display:inline-block;position:relative;padding:24px;margin:44px 0;border-width:0;vertical-align:middle;text-align:left;background-color:#fff;overflow:auto;box-sizing:border-box}.fancybox-slide .fancybox-image-wrap{position:absolute;top:0;left:0;margin:0;padding:0;border:0;z-index:99995;background:transparent;cursor:default;overflow:visible;-webkit-transform-origin:top left;transform-origin:top left;background-size:100% 100%;background-repeat:no-repeat;-webkit-backface-visibility:hidden;backface-visibility:hidden}.fancybox-can-zoomOut .fancybox-image-wrap{cursor:zoom-out}.fancybox-can-zoomIn .fancybox-image-wrap{cursor:zoom-in}.fancybox-can-drag .fancybox-image-wrap{cursor:-webkit-grab;cursor:grab}.fancybox-is-dragging .fancybox-image-wrap{cursor:-webkit-grabbing;cursor:grabbing}.fancybox-image,.fancybox-spaceball{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;padding:0;border:0;max-width:none;max-height:none}.fancybox-spaceball{z-index:1}.fancybox-slide--iframe .fancybox-content{padding:0;width:80%;height:80%;max-width:calc(100% - 100px);max-height:calc(100% - 88px);overflow:visible;background:#fff}.fancybox-iframe{display:block;padding:0;border:0;height:100%}.fancybox-error,.fancybox-iframe{margin:0;width:100%;background:#fff}.fancybox-error{padding:40px;max-width:380px;cursor:default}.fancybox-error p{margin:0;padding:0;color:#444;font:16px/20px Helvetica Neue,Helvetica,Arial,sans-serif}.fancybox-close-small{position:absolute;top:0;right:0;width:44px;height:44px;padding:0;margin:0;border:0;border-radius:0;outline:none;background:transparent;z-index:10;cursor:pointer}.fancybox-close-small:after{content:"×";position:absolute;top:5px;right:5px;width:30px;height:30px;font:20px/30px Arial,Helvetica Neue,Helvetica,sans-serif;color:#888;font-weight:300;text-align:center;border-radius:50%;border-width:0;background:#fff;transition:background .25s;box-sizing:border-box;z-index:2}.fancybox-close-small:focus:after{outline:1px dotted #888}.fancybox-close-small:hover:after{color:#555;background:#eee}.fancybox-slide--iframe .fancybox-close-small{top:0;right:-44px}.fancybox-slide--iframe .fancybox-close-small:after{background:transparent;font-size:35px;color:#aaa}.fancybox-slide--iframe .fancybox-close-small:hover:after{color:#fff}.fancybox-caption-wrap{bottom:0;left:0;right:0;padding:60px 30px 0;background:linear-gradient(180deg,transparent 0,rgba(0,0,0,.1) 20%,rgba(0,0,0,.2) 40%,rgba(0,0,0,.6) 80%,rgba(0,0,0,.8));pointer-events:none}.fancybox-caption{padding:30px 0;border-top:1px solid hsla(0,0%,100%,.4);font-size:14px;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;color:#fff;line-height:20px;-webkit-text-size-adjust:none}.fancybox-caption a,.fancybox-caption button,.fancybox-caption select{pointer-events:all}.fancybox-caption a{color:#fff;text-decoration:underline}.fancybox-button{display:inline-block;position:relative;margin:0;padding:0;border:0;width:44px;height:44px;line-height:44px;text-align:center;background:transparent;color:#ddd;border-radius:0;cursor:pointer;vertical-align:top;outline:none}.fancybox-button[disabled]{cursor:default;pointer-events:none}.fancybox-button,.fancybox-infobar__body{background:rgba(30,30,30,.6)}.fancybox-button:hover:not([disabled]){color:#fff;background:rgba(0,0,0,.8)}.fancybox-button:after,.fancybox-button:before{content:"";pointer-events:none;position:absolute;background-color:currentColor;color:currentColor;opacity:.9;box-sizing:border-box;display:inline-block}.fancybox-button[disabled]:after,.fancybox-button[disabled]:before{opacity:.3}.fancybox-button--left:after,.fancybox-button--right:after{top:18px;width:6px;height:6px;background:transparent;border-top:2px solid currentColor;border-right:2px solid currentColor}.fancybox-button--left:after{left:20px;-webkit-transform:rotate(-135deg);transform:rotate(-135deg)}.fancybox-button--right:after{right:20px;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.fancybox-button--left{border-bottom-left-radius:5px}.fancybox-button--right{border-bottom-right-radius:5px}.fancybox-button--close:after,.fancybox-button--close:before{content:"";display:inline-block;position:absolute;height:2px;width:16px;top:calc(50% - 1px);left:calc(50% - 8px)}.fancybox-button--close:before{-webkit-transform:rotate(45deg);transform:rotate(45deg)}.fancybox-button--close:after{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.fancybox-arrow{position:absolute;top:50%;margin:-50px 0 0;height:100px;width:54px;padding:0;border:0;outline:none;background:none;cursor:pointer;z-index:99995;opacity:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:opacity .25s}.fancybox-arrow:after{content:"";position:absolute;top:28px;width:44px;height:44px;background-color:rgba(30,30,30,.8);background-image:url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjRkZGRkZGIiBoZWlnaHQ9IjQ4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSI0OCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4gICAgPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIvPiAgICA8cGF0aCBkPSJNMTIgNGwtMS40MSAxLjQxTDE2LjE3IDExSDR2MmgxMi4xN2wtNS41OCA1LjU5TDEyIDIwbDgtOHoiLz48L3N2Zz4=);background-repeat:no-repeat;background-position:50%;background-size:24px 24px}.fancybox-arrow--right{right:0}.fancybox-arrow--left{left:0;-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fancybox-arrow--left:after,.fancybox-arrow--right:after{left:0}.fancybox-show-nav .fancybox-arrow{opacity:.6}.fancybox-show-nav .fancybox-arrow[disabled]{opacity:.3}.fancybox-loading{border:6px solid hsla(0,0%,39%,.4);border-top:6px solid hsla(0,0%,100%,.6);border-radius:100%;height:50px;width:50px;-webkit-animation:a .8s infinite linear;animation:a .8s infinite linear;background:transparent;position:absolute;top:50%;left:50%;margin-top:-25px;margin-left:-25px;z-index:99999}@-webkit-keyframes a{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes a{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fancybox-animated{transition-timing-function:cubic-bezier(0,0,.25,1)}.fancybox-fx-slide.fancybox-slide--previous{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);opacity:0}.fancybox-fx-slide.fancybox-slide--next{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);opacity:0}.fancybox-fx-slide.fancybox-slide--current{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}.fancybox-fx-fade.fancybox-slide--next,.fancybox-fx-fade.fancybox-slide--previous{opacity:0;transition-timing-function:cubic-bezier(.19,1,.22,1)}.fancybox-fx-fade.fancybox-slide--current{opacity:1}.fancybox-fx-zoom-in-out.fancybox-slide--previous{-webkit-transform:scale3d(1.5,1.5,1.5);transform:scale3d(1.5,1.5,1.5);opacity:0}.fancybox-fx-zoom-in-out.fancybox-slide--next{-webkit-transform:scale3d(.5,.5,.5);transform:scale3d(.5,.5,.5);opacity:0}.fancybox-fx-zoom-in-out.fancybox-slide--current{-webkit-transform:scaleX(1);transform:scaleX(1);opacity:1}.fancybox-fx-rotate.fancybox-slide--previous{-webkit-transform:rotate(-1turn);transform:rotate(-1turn);opacity:0}.fancybox-fx-rotate.fancybox-slide--next{-webkit-transform:rotate(1turn);transform:rotate(1turn);opacity:0}.fancybox-fx-rotate.fancybox-slide--current{-webkit-transform:rotate(0deg);transform:rotate(0deg);opacity:1}.fancybox-fx-circular.fancybox-slide--previous{-webkit-transform:scale3d(0,0,0) translate3d(-100%,0,0);transform:scale3d(0,0,0) translate3d(-100%,0,0);opacity:0}.fancybox-fx-circular.fancybox-slide--next{-webkit-transform:scale3d(0,0,0) translate3d(100%,0,0);transform:scale3d(0,0,0) translate3d(100%,0,0);opacity:0}.fancybox-fx-circular.fancybox-slide--current{-webkit-transform:scaleX(1) translateZ(0);transform:scaleX(1) translateZ(0);opacity:1}.fancybox-fx-tube.fancybox-slide--previous{-webkit-transform:translate3d(-100%,0,0) scale(.1) skew(-10deg);transform:translate3d(-100%,0,0) scale(.1) skew(-10deg)}.fancybox-fx-tube.fancybox-slide--next{-webkit-transform:translate3d(100%,0,0) scale(.1) skew(10deg);transform:translate3d(100%,0,0) scale(.1) skew(10deg)}.fancybox-fx-tube.fancybox-slide--current{-webkit-transform:translateZ(0) scale(1);transform:translateZ(0) scale(1)}@media (max-width:800px){.fancybox-infobar{left:0;margin-left:0}.fancybox-button--left,.fancybox-button--right{display:none!important}.fancybox-caption{padding:20px 0;margin:0}}.fancybox-button--fullscreen:before{width:15px;height:11px;left:calc(50% - 7px);top:calc(50% - 6px);border:2px solid;background:none}.fancybox-button--pause:before,.fancybox-button--play:before{top:calc(50% - 6px);left:calc(50% - 4px);background:transparent}.fancybox-button--play:before{width:0;height:0;border-top:6px inset transparent;border-bottom:6px inset transparent;border-left:10px solid;border-radius:1px}.fancybox-button--pause:before{width:7px;height:11px;border-style:solid;border-width:0 2px}.fancybox-button--thumbs,.fancybox-thumbs{display:none}@media (min-width:800px){.fancybox-button--thumbs{display:inline-block}.fancybox-button--thumbs span{font-size:23px}.fancybox-button--thumbs:before{width:3px;height:3px;top:calc(50% - 2px);left:calc(50% - 2px);box-shadow:0 -4px 0,-4px -4px 0,4px -4px 0,inset 0 0 0 32px,-4px 0 0,4px 0 0,0 4px 0,-4px 4px 0,4px 4px 0}.fancybox-thumbs{position:absolute;top:0;right:0;bottom:0;left:auto;width:220px;margin:0;padding:5px 5px 0 0;background:#fff;word-break:normal;-webkit-tap-highlight-color:transparent;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;box-sizing:border-box;z-index:99995}.fancybox-show-thumbs .fancybox-thumbs{display:block}.fancybox-show-thumbs .fancybox-inner{right:220px}.fancybox-thumbs>ul{list-style:none;position:absolute;position:relative;width:100%;height:100%;margin:0;padding:0;overflow-x:hidden;overflow-y:auto;font-size:0}.fancybox-thumbs>ul>li{float:left;overflow:hidden;max-width:50%;padding:0;margin:0;width:105px;height:75px;position:relative;cursor:pointer;outline:none;border:5px solid transparent;border-top-width:0;border-right-width:0;-webkit-tap-highlight-color:transparent;-webkit-backface-visibility:hidden;backface-visibility:hidden;box-sizing:border-box}li.fancybox-thumbs-loading{background:rgba(0,0,0,.1)}.fancybox-thumbs>ul>li>img{position:absolute;top:0;left:0;min-width:100%;min-height:100%;max-width:none;max-height:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.fancybox-thumbs>ul>li:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:2px;border:4px solid #4ea7f9;z-index:99991;opacity:0;transition:all .2s cubic-bezier(.25,.46,.45,.94)}.fancybox-thumbs>ul>li.fancybox-thumbs-active:before{opacity:1}}
\ No newline at end of file diff --git a/themes/even/static/lib/fancybox/jquery.fancybox-3.1.20.min.js b/themes/even/static/lib/fancybox/jquery.fancybox-3.1.20.min.js new file mode 100644 index 0000000..e5e20f0 --- /dev/null +++ b/themes/even/static/lib/fancybox/jquery.fancybox-3.1.20.min.js @@ -0,0 +1,12 @@ +// ================================================== +// fancyBox v3.1.20 +// +// Licensed GPLv3 for open source use +// or fancyBox Commercial License for commercial use +// +// http://fancyapps.com/fancybox/ +// Copyright 2017 fancyApps +// +// ================================================== +!function(t,e,n,o){"use strict";function i(t){var e=t.currentTarget,o=t.data?t.data.options:{},i=t.data?t.data.items:[],a=n(e).attr("data-fancybox")||"",s=0;t.preventDefault(),t.stopPropagation(),a?(i=i.length?i.filter('[data-fancybox="'+a+'"]'):n('[data-fancybox="'+a+'"]'),s=i.index(e),s<0&&(s=0)):i=[e],n.fancybox.open(i,o,s)}if(n){if(n.fn.fancybox)return void n.error("fancyBox already initialized");var a={loop:!1,margin:[44,0],gutter:50,keyboard:!0,arrows:!0,infobar:!1,toolbar:!0,buttons:["slideShow","fullScreen","thumbs","close"],idleTime:4,smallBtn:"auto",protect:!1,modal:!1,image:{preload:"auto"},ajax:{settings:{data:{fancybox:!0}}},iframe:{tpl:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" frameborder="0" vspace="0" hspace="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen allowtransparency="true" src=""></iframe>',preload:!0,css:{},attr:{scrolling:"auto"}},animationEffect:"zoom",animationDuration:366,zoomOpacity:"auto",transitionEffect:"fade",transitionDuration:366,slideClass:"",baseClass:"",baseTpl:'<div class="fancybox-container" role="dialog" tabindex="-1"><div class="fancybox-bg"></div><div class="fancybox-inner"><div class="fancybox-infobar"><button data-fancybox-prev title="{{PREV}}" class="fancybox-button fancybox-button--left"></button><div class="fancybox-infobar__body"><span data-fancybox-index></span> / <span data-fancybox-count></span></div><button data-fancybox-next title="{{NEXT}}" class="fancybox-button fancybox-button--right"></button></div><div class="fancybox-toolbar">{{BUTTONS}}</div><div class="fancybox-navigation"><button data-fancybox-prev title="{{PREV}}" class="fancybox-arrow fancybox-arrow--left" /><button data-fancybox-next title="{{NEXT}}" class="fancybox-arrow fancybox-arrow--right" /></div><div class="fancybox-stage"></div><div class="fancybox-caption-wrap"><div class="fancybox-caption"></div></div></div></div>',spinnerTpl:'<div class="fancybox-loading"></div>',errorTpl:'<div class="fancybox-error"><p>{{ERROR}}<p></div>',btnTpl:{slideShow:'<button data-fancybox-play class="fancybox-button fancybox-button--play" title="{{PLAY_START}}"></button>',fullScreen:'<button data-fancybox-fullscreen class="fancybox-button fancybox-button--fullscreen" title="{{FULL_SCREEN}}"></button>',thumbs:'<button data-fancybox-thumbs class="fancybox-button fancybox-button--thumbs" title="{{THUMBS}}"></button>',close:'<button data-fancybox-close class="fancybox-button fancybox-button--close" title="{{CLOSE}}"></button>',smallBtn:'<button data-fancybox-close class="fancybox-close-small" title="{{CLOSE}}"></button>'},parentEl:"body",autoFocus:!0,backFocus:!0,trapFocus:!0,fullScreen:{autoStart:!1},touch:{vertical:!0,momentum:!0},hash:null,media:{},slideShow:{autoStart:!1,speed:4e3},thumbs:{autoStart:!1,hideOnClose:!0},onInit:n.noop,beforeLoad:n.noop,afterLoad:n.noop,beforeShow:n.noop,afterShow:n.noop,beforeClose:n.noop,afterClose:n.noop,onActivate:n.noop,onDeactivate:n.noop,clickContent:function(t,e){return"image"===t.type&&"zoom"},clickSlide:"close",clickOutside:"close",dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1,mobile:{clickContent:function(t,e){return"image"===t.type&&"toggleControls"},clickSlide:function(t,e){return"image"===t.type?"toggleControls":"close"},dblclickContent:function(t,e){return"image"===t.type&&"zoom"},dblclickSlide:function(t,e){return"image"===t.type&&"zoom"}},lang:"en",i18n:{en:{CLOSE:"Close",NEXT:"Next",PREV:"Previous",ERROR:"The requested content cannot be loaded. <br/> Please try again later.",PLAY_START:"Start slideshow",PLAY_STOP:"Pause slideshow",FULL_SCREEN:"Full screen",THUMBS:"Thumbnails"},de:{CLOSE:"Schliessen",NEXT:"Weiter",PREV:"Zurück",ERROR:"Die angeforderten Daten konnten nicht geladen werden. <br/> Bitte versuchen Sie es später nochmal.",PLAY_START:"Diaschau starten",PLAY_STOP:"Diaschau beenden",FULL_SCREEN:"Vollbild",THUMBS:"Vorschaubilder"}}},s=n(t),r=n(e),c=0,l=function(t){return t&&t.hasOwnProperty&&t instanceof n},u=function(){return t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||function(e){return t.setTimeout(e,1e3/60)}}(),d=function(){var t,n=e.createElement("fakeelement"),i={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(t in i)if(n.style[t]!==o)return i[t]}(),f=function(t){return t&&t.length&&t[0].offsetHeight},h=function(t,o,i){var s=this;s.opts=n.extend(!0,{index:i},a,o||{}),o&&n.isArray(o.buttons)&&(s.opts.buttons=o.buttons),s.id=s.opts.id||++c,s.group=[],s.currIndex=parseInt(s.opts.index,10)||0,s.prevIndex=null,s.prevPos=null,s.currPos=0,s.firstRun=null,s.createGroup(t),s.group.length&&(s.$lastFocus=n(e.activeElement).blur(),s.slides={},s.init(t))};n.extend(h.prototype,{init:function(){var t,e,o,i=this,a=i.group[i.currIndex].opts;i.scrollTop=r.scrollTop(),i.scrollLeft=r.scrollLeft(),n.fancybox.getInstance()||n.fancybox.isMobile||"hidden"===n("body").css("overflow")||(t=n("body").width(),n("html").addClass("fancybox-enabled"),t=n("body").width()-t,t>1&&n("head").append('<style id="fancybox-style-noscroll" type="text/css">.compensate-for-scrollbar, .fancybox-enabled body { margin-right: '+t+"px; }</style>")),o="",n.each(a.buttons,function(t,e){o+=a.btnTpl[e]||""}),e=n(i.translate(i,a.baseTpl.replace("{{BUTTONS}}",o))).addClass("fancybox-is-hidden").attr("id","fancybox-container-"+i.id).addClass(a.baseClass).data("FancyBox",i).prependTo(a.parentEl),i.$refs={container:e},["bg","inner","infobar","toolbar","stage","caption"].forEach(function(t){i.$refs[t]=e.find(".fancybox-"+t)}),(!a.arrows||i.group.length<2)&&e.find(".fancybox-navigation").remove(),a.infobar||i.$refs.infobar.remove(),a.toolbar||i.$refs.toolbar.remove(),i.trigger("onInit"),i.activate(),i.jumpTo(i.currIndex)},translate:function(t,e){var n=t.opts.i18n[t.opts.lang];return e.replace(/\{\{(\w+)\}\}/g,function(t,e){var i=n[e];return i===o?t:i})},createGroup:function(t){var e=this,i=n.makeArray(t);n.each(i,function(t,i){var a,s,r,c,l={},u={},d=[];n.isPlainObject(i)?(l=i,u=i.opts||i):"object"===n.type(i)&&n(i).length?(a=n(i),d=a.data(),u="options"in d?d.options:{},u="object"===n.type(u)?u:{},l.src="src"in d?d.src:u.src||a.attr("href"),["width","height","thumb","type","filter"].forEach(function(t){t in d&&(u[t]=d[t])}),"srcset"in d&&(u.image={srcset:d.srcset}),u.$orig=a,l.type||l.src||(l.type="inline",l.src=i)):l={type:"html",src:i+""},l.opts=n.extend(!0,{},e.opts,u),n.fancybox.isMobile&&(l.opts=n.extend(!0,{},l.opts,l.opts.mobile)),s=l.type||l.opts.type,r=l.src||"",!s&&r&&(r.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?s="image":r.match(/\.(pdf)((\?|#).*)?$/i)?s="pdf":"#"===r.charAt(0)&&(s="inline")),l.type=s,l.index=e.group.length,l.opts.$orig&&!l.opts.$orig.length&&delete l.opts.$orig,!l.opts.$thumb&&l.opts.$orig&&(l.opts.$thumb=l.opts.$orig.find("img:first")),l.opts.$thumb&&!l.opts.$thumb.length&&delete l.opts.$thumb,"function"===n.type(l.opts.caption)?l.opts.caption=l.opts.caption.apply(i,[e,l]):"caption"in d&&(l.opts.caption=d.caption),l.opts.caption=l.opts.caption===o?"":l.opts.caption+"","ajax"===s&&(c=r.split(/\s+/,2),c.length>1&&(l.src=c.shift(),l.opts.filter=c.shift())),"auto"==l.opts.smallBtn&&(n.inArray(s,["html","inline","ajax"])>-1?(l.opts.toolbar=!1,l.opts.smallBtn=!0):l.opts.smallBtn=!1),"pdf"===s&&(l.type="iframe",l.opts.iframe.preload=!1),l.opts.modal&&(l.opts=n.extend(!0,l.opts,{infobar:0,toolbar:0,smallBtn:0,keyboard:0,slideShow:0,fullScreen:0,thumbs:0,touch:0,clickContent:!1,clickSlide:!1,clickOutside:!1,dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1})),e.group.push(l)})},addEvents:function(){var o=this;o.removeEvents(),o.$refs.container.on("click.fb-close","[data-fancybox-close]",function(t){t.stopPropagation(),t.preventDefault(),o.close(t)}).on("click.fb-prev touchend.fb-prev","[data-fancybox-prev]",function(t){t.stopPropagation(),t.preventDefault(),o.previous()}).on("click.fb-next touchend.fb-next","[data-fancybox-next]",function(t){t.stopPropagation(),t.preventDefault(),o.next()}),s.on("orientationchange.fb resize.fb",function(t){t&&t.originalEvent&&"resize"===t.originalEvent.type?u(function(){o.update()}):(o.$refs.stage.hide(),setTimeout(function(){o.$refs.stage.show(),o.update()},500))}),r.on("focusin.fb",function(t){var i=n.fancybox?n.fancybox.getInstance():null;i.isClosing||!i.current||!i.current.opts.trapFocus||n(t.target).hasClass("fancybox-container")||n(t.target).is(e)||i&&"fixed"!==n(t.target).css("position")&&!i.$refs.container.has(t.target).length&&(t.stopPropagation(),i.focus(),s.scrollTop(o.scrollTop).scrollLeft(o.scrollLeft))}),r.on("keydown.fb",function(t){var e=o.current,i=t.keyCode||t.which;if(e&&e.opts.keyboard&&!n(t.target).is("input")&&!n(t.target).is("textarea"))return 8===i||27===i?(t.preventDefault(),void o.close(t)):37===i||38===i?(t.preventDefault(),void o.previous()):39===i||40===i?(t.preventDefault(),void o.next()):void o.trigger("afterKeydown",t,i)}),o.group[o.currIndex].opts.idleTime&&(o.idleSecondsCounter=0,r.on("mousemove.fb-idle mouseenter.fb-idle mouseleave.fb-idle mousedown.fb-idle touchstart.fb-idle touchmove.fb-idle scroll.fb-idle keydown.fb-idle",function(){o.idleSecondsCounter=0,o.isIdle&&o.showControls(),o.isIdle=!1}),o.idleInterval=t.setInterval(function(){o.idleSecondsCounter++,o.idleSecondsCounter>=o.group[o.currIndex].opts.idleTime&&(o.isIdle=!0,o.idleSecondsCounter=0,o.hideControls())},1e3))},removeEvents:function(){var e=this;s.off("orientationchange.fb resize.fb"),r.off("focusin.fb keydown.fb .fb-idle"),this.$refs.container.off(".fb-close .fb-prev .fb-next"),e.idleInterval&&(t.clearInterval(e.idleInterval),e.idleInterval=null)},previous:function(t){return this.jumpTo(this.currPos-1,t)},next:function(t){return this.jumpTo(this.currPos+1,t)},jumpTo:function(t,e,i){var a,s,r,c,l,u,d,h=this,p=h.group.length;if(!(h.isSliding||h.isClosing||h.isAnimating&&h.firstRun)){if(t=parseInt(t,10),s=h.current?h.current.opts.loop:h.opts.loop,!s&&(t<0||t>=p))return!1;if(a=h.firstRun=null===h.firstRun,!(p<2&&!a&&h.isSliding)){if(c=h.current,h.prevIndex=h.currIndex,h.prevPos=h.currPos,r=h.createSlide(t),p>1&&((s||r.index>0)&&h.createSlide(t-1),(s||r.index<p-1)&&h.createSlide(t+1)),h.current=r,h.currIndex=r.index,h.currPos=r.pos,h.trigger("beforeShow",a),h.updateControls(),u=n.fancybox.getTranslate(r.$slide),r.isMoved=(0!==u.left||0!==u.top)&&!r.$slide.hasClass("fancybox-animated"),r.forcedDuration=o,n.isNumeric(e)?r.forcedDuration=e:e=r.opts[a?"animationDuration":"transitionDuration"],e=parseInt(e,10),a)return r.opts.animationEffect&&e&&h.$refs.container.css("transition-duration",e+"ms"),h.$refs.container.removeClass("fancybox-is-hidden"),f(h.$refs.container),h.$refs.container.addClass("fancybox-is-open"),r.$slide.addClass("fancybox-slide--current"),h.loadSlide(r),void h.preload();n.each(h.slides,function(t,e){n.fancybox.stop(e.$slide)}),r.$slide.removeClass("fancybox-slide--next fancybox-slide--previous").addClass("fancybox-slide--current"),r.isMoved?(l=Math.round(r.$slide.width()),n.each(h.slides,function(t,o){var i=o.pos-r.pos;n.fancybox.animate(o.$slide,{top:0,left:i*l+i*o.opts.gutter},e,function(){o.$slide.removeAttr("style").removeClass("fancybox-slide--next fancybox-slide--previous"),o.pos===h.currPos&&(r.isMoved=!1,h.complete())})})):h.$refs.stage.children().removeAttr("style"),r.isLoaded?h.revealContent(r):h.loadSlide(r),h.preload(),c.pos!==r.pos&&(d="fancybox-slide--"+(c.pos>r.pos?"next":"previous"),c.$slide.removeClass("fancybox-slide--complete fancybox-slide--current fancybox-slide--next fancybox-slide--previous"),c.isComplete=!1,e&&(r.isMoved||r.opts.transitionEffect)&&(r.isMoved?c.$slide.addClass(d):(d="fancybox-animated "+d+" fancybox-fx-"+r.opts.transitionEffect,n.fancybox.animate(c.$slide,d,e,function(){c.$slide.removeClass(d).removeAttr("style")}))))}}},createSlide:function(t){var e,o,i=this;return o=t%i.group.length,o=o<0?i.group.length+o:o,!i.slides[t]&&i.group[o]&&(e=n('<div class="fancybox-slide"></div>').appendTo(i.$refs.stage),i.slides[t]=n.extend(!0,{},i.group[o],{pos:t,$slide:e,isLoaded:!1}),i.updateSlide(i.slides[t])),i.slides[t]},scaleToActual:function(t,e,i){var a,s,r,c,l,u=this,d=u.current,f=d.$content,h=parseInt(d.$slide.width(),10),p=parseInt(d.$slide.height(),10),g=d.width,b=d.height;"image"!=d.type||d.hasError||!f||u.isAnimating||(n.fancybox.stop(f),u.isAnimating=!0,t=t===o?.5*h:t,e=e===o?.5*p:e,a=n.fancybox.getTranslate(f),c=g/a.width,l=b/a.height,s=.5*h-.5*g,r=.5*p-.5*b,g>h&&(s=a.left*c-(t*c-t),s>0&&(s=0),s<h-g&&(s=h-g)),b>p&&(r=a.top*l-(e*l-e),r>0&&(r=0),r<p-b&&(r=p-b)),u.updateCursor(g,b),n.fancybox.animate(f,{top:r,left:s,scaleX:c,scaleY:l},i||330,function(){u.isAnimating=!1}),u.SlideShow&&u.SlideShow.isActive&&u.SlideShow.stop())},scaleToFit:function(t){var e,o=this,i=o.current,a=i.$content;"image"!=i.type||i.hasError||!a||o.isAnimating||(n.fancybox.stop(a),o.isAnimating=!0,e=o.getFitPos(i),o.updateCursor(e.width,e.height),n.fancybox.animate(a,{top:e.top,left:e.left,scaleX:e.width/a.width(),scaleY:e.height/a.height()},t||330,function(){o.isAnimating=!1}))},getFitPos:function(t){var e,o,i,a,r,c=this,l=t.$content,u=t.width,d=t.height,f=t.opts.margin;return!(!l||!l.length||!u&&!d)&&("number"===n.type(f)&&(f=[f,f]),2==f.length&&(f=[f[0],f[1],f[0],f[1]]),s.width()<800&&(f=[0,0,0,0]),e=parseInt(c.$refs.stage.width(),10)-(f[1]+f[3]),o=parseInt(c.$refs.stage.height(),10)-(f[0]+f[2]),i=Math.min(1,e/u,o/d),a=Math.floor(i*u),r=Math.floor(i*d),{top:Math.floor(.5*(o-r))+f[0],left:Math.floor(.5*(e-a))+f[3],width:a,height:r})},update:function(){var t=this;n.each(t.slides,function(e,n){t.updateSlide(n)})},updateSlide:function(t){var e=this,o=t.$content;o&&(t.width||t.height)&&(n.fancybox.stop(o),n.fancybox.setTranslate(o,e.getFitPos(t)),t.pos===e.currPos&&e.updateCursor()),t.$slide.trigger("refresh"),e.trigger("onUpdate",t)},updateCursor:function(t,e){var n,i=this,a=i.$refs.container.removeClass("fancybox-is-zoomable fancybox-can-zoomIn fancybox-can-drag fancybox-can-zoomOut");i.current&&!i.isClosing&&(i.isZoomable()?(a.addClass("fancybox-is-zoomable"),n=t!==o&&e!==o?t<i.current.width&&e<i.current.height:i.isScaledDown(),n?a.addClass("fancybox-can-zoomIn"):i.current.opts.touch?a.addClass("fancybox-can-drag"):a.addClass("fancybox-can-zoomOut")):i.current.opts.touch&&a.addClass("fancybox-can-drag"))},isZoomable:function(){var t,e=this,o=e.current;if(o&&!e.isClosing)return!!("image"===o.type&&o.isLoaded&&!o.hasError&&("zoom"===o.opts.clickContent||n.isFunction(o.opts.clickContent)&&"zoom"===o.opts.clickContent(o))&&(t=e.getFitPos(o),o.width>t.width||o.height>t.height))},isScaledDown:function(){var t=this,e=t.current,o=e.$content,i=!1;return o&&(i=n.fancybox.getTranslate(o),i=i.width<e.width||i.height<e.height),i},canPan:function(){var t=this,e=t.current,n=e.$content,o=!1;return n&&(o=t.getFitPos(e),o=Math.abs(n.width()-o.width)>1||Math.abs(n.height()-o.height)>1),o},loadSlide:function(t){var e,o,i,a=this;if(!t.isLoading&&!t.isLoaded){switch(t.isLoading=!0,a.trigger("beforeLoad",t),e=t.type,o=t.$slide,o.off("refresh").trigger("onReset").addClass("fancybox-slide--"+(e||"unknown")).addClass(t.opts.slideClass),e){case"image":a.setImage(t);break;case"iframe":a.setIframe(t);break;case"html":a.setContent(t,t.src||t.content);break;case"inline":n(t.src).length?a.setContent(t,n(t.src)):a.setError(t);break;case"ajax":a.showLoading(t),i=n.ajax(n.extend({},t.opts.ajax.settings,{url:t.src,success:function(e,n){"success"===n&&a.setContent(t,e)},error:function(e,n){e&&"abort"!==n&&a.setError(t)}})),o.one("onReset",function(){i.abort()});break;default:a.setError(t)}return!0}},setImage:function(e){var o,i,a,s,r=this,c=e.opts.image.srcset;if(c){a=t.devicePixelRatio||1,s=t.innerWidth*a,i=c.split(",").map(function(t){var e={};return t.trim().split(/\s+/).forEach(function(t,n){var o=parseInt(t.substring(0,t.length-1),10);return 0===n?e.url=t:void(o&&(e.value=o,e.postfix=t[t.length-1]))}),e}),i.sort(function(t,e){return t.value-e.value});for(var l=0;l<i.length;l++){var u=i[l];if("w"===u.postfix&&u.value>=s||"x"===u.postfix&&u.value>=a){o=u;break}}!o&&i.length&&(o=i[i.length-1]),o&&(e.src=o.url,e.width&&e.height&&"w"==o.postfix&&(e.height=e.width/e.height*o.value,e.width=o.value))}e.$content=n('<div class="fancybox-image-wrap"></div>').addClass("fancybox-is-hidden").appendTo(e.$slide),e.opts.preload!==!1&&e.opts.width&&e.opts.height&&(e.opts.thumb||e.opts.$thumb)?(e.width=e.opts.width,e.height=e.opts.height,e.$ghost=n("<img />").one("error",function(){n(this).remove(),e.$ghost=null,r.setBigImage(e)}).one("load",function(){r.afterLoad(e),r.setBigImage(e)}).addClass("fancybox-image").appendTo(e.$content).attr("src",e.opts.thumb||e.opts.$thumb.attr("src"))):r.setBigImage(e)},setBigImage:function(t){var e=this,o=n("<img />");t.$image=o.one("error",function(){e.setError(t)}).one("load",function(){clearTimeout(t.timouts),t.timouts=null,e.isClosing||(t.width=this.naturalWidth,t.height=this.naturalHeight,t.opts.image.srcset&&o.attr("sizes","100vw").attr("srcset",t.opts.image.srcset),e.hideLoading(t),t.$ghost?t.timouts=setTimeout(function(){t.timouts=null,t.$ghost.hide()},Math.min(300,Math.max(1e3,t.height/1600))):e.afterLoad(t))}).addClass("fancybox-image").attr("src",t.src).appendTo(t.$content),o[0].complete?o.trigger("load"):o[0].error?o.trigger("error"):t.timouts=setTimeout(function(){o[0].complete||t.hasError||e.showLoading(t)},100)},setIframe:function(t){var e,i=this,a=t.opts.iframe,s=t.$slide;t.$content=n('<div class="fancybox-content'+(a.preload?" fancybox-is-hidden":"")+'"></div>').css(a.css).appendTo(s),e=n(a.tpl.replace(/\{rnd\}/g,(new Date).getTime())).attr(a.attr).appendTo(t.$content),a.preload?(i.showLoading(t),e.on("load.fb error.fb",function(e){this.isReady=1,t.$slide.trigger("refresh"),i.afterLoad(t)}),s.on("refresh.fb",function(){var n,i,s,r,c,l=t.$content;if(1===e[0].isReady){try{n=e.contents(),i=n.find("body")}catch(t){}i&&i.length&&(a.css.width===o||a.css.height===o)&&(s=e[0].contentWindow.document.documentElement.scrollWidth,r=Math.ceil(i.outerWidth(!0)+(l.width()-s)),c=Math.ceil(i.outerHeight(!0)),l.css({width:a.css.width===o?r+(l.outerWidth()-l.innerWidth()):a.css.width,height:a.css.height===o?c+(l.outerHeight()-l.innerHeight()):a.css.height})),l.removeClass("fancybox-is-hidden")}})):this.afterLoad(t),e.attr("src",t.src),t.opts.smallBtn===!0&&t.$content.prepend(i.translate(t,t.opts.btnTpl.smallBtn)),s.one("onReset",function(){try{n(this).find("iframe").hide().attr("src","//about:blank")}catch(t){}n(this).empty(),t.isLoaded=!1})},setContent:function(t,e){var o=this;o.isClosing||(o.hideLoading(t),t.$slide.empty(),l(e)&&e.parent().length?(e.parent(".fancybox-slide--inline").trigger("onReset"),t.$placeholder=n("<div></div>").hide().insertAfter(e),e.css("display","inline-block")):t.hasError||("string"===n.type(e)&&(e=n("<div>").append(n.trim(e)).contents(),3===e[0].nodeType&&(e=n("<div>").html(e))),t.opts.filter&&(e=n("<div>").html(e).find(t.opts.filter))),t.$slide.one("onReset",function(){t.$placeholder&&(t.$placeholder.after(e.hide()).remove(),t.$placeholder=null),t.$smallBtn&&(t.$smallBtn.remove(),t.$smallBtn=null),t.hasError||(n(this).empty(),t.isLoaded=!1)}),t.$content=n(e).appendTo(t.$slide),t.opts.smallBtn&&!t.$smallBtn&&(t.$smallBtn=n(o.translate(t,t.opts.btnTpl.smallBtn)).appendTo(t.$content)),this.afterLoad(t))},setError:function(t){t.hasError=!0,t.$slide.removeClass("fancybox-slide--"+t.type),this.setContent(t,this.translate(t,t.opts.errorTpl))},showLoading:function(t){var e=this;t=t||e.current,t&&!t.$spinner&&(t.$spinner=n(e.opts.spinnerTpl).appendTo(t.$slide))},hideLoading:function(t){var e=this;t=t||e.current,t&&t.$spinner&&(t.$spinner.remove(),delete t.$spinner)},afterLoad:function(t){var e=this;e.isClosing||(t.isLoading=!1,t.isLoaded=!0,e.trigger("afterLoad",t),e.hideLoading(t),t.opts.protect&&t.$content&&!t.hasError&&(t.$content.on("contextmenu.fb",function(t){return 2==t.button&&t.preventDefault(),!0}),"image"===t.type&&n('<div class="fancybox-spaceball"></div>').appendTo(t.$content)),e.revealContent(t))},revealContent:function(t){var e,i,a,s,r,c=this,l=t.$slide,u=!1;return e=t.opts[c.firstRun?"animationEffect":"transitionEffect"],a=t.opts[c.firstRun?"animationDuration":"transitionDuration"],a=parseInt(t.forcedDuration===o?a:t.forcedDuration,10),!t.isMoved&&t.pos===c.currPos&&a||(e=!1),"zoom"!==e||t.pos===c.currPos&&a&&"image"===t.type&&!t.hasError&&(u=c.getThumbPos(t))||(e="fade"),"zoom"===e?(r=c.getFitPos(t),r.scaleX=Math.round(r.width/u.width*100)/100,r.scaleY=Math.round(r.height/u.height*100)/100,delete r.width,delete r.height,s=t.opts.zoomOpacity,"auto"==s&&(s=Math.abs(t.width/t.height-u.width/u.height)>.1),s&&(u.opacity=.1,r.opacity=1),n.fancybox.setTranslate(t.$content.removeClass("fancybox-is-hidden"),u),f(t.$content),void n.fancybox.animate(t.$content,r,a,function(){c.complete()})):(c.updateSlide(t),e?(n.fancybox.stop(l),i="fancybox-animated fancybox-slide--"+(t.pos>c.prevPos?"next":"previous")+" fancybox-fx-"+e,l.removeAttr("style").removeClass("fancybox-slide--current fancybox-slide--next fancybox-slide--previous").addClass(i),t.$content.removeClass("fancybox-is-hidden"),f(l),void n.fancybox.animate(l,"fancybox-slide--current",a,function(e){l.removeClass(i).removeAttr("style"),t.pos===c.currPos&&c.complete()},!0)):(f(l),t.$content.removeClass("fancybox-is-hidden"),void(t.pos===c.currPos&&c.complete())))},getThumbPos:function(o){var i,a=this,s=!1,r=function(e){for(var o,i=e[0],a=i.getBoundingClientRect(),s=[];null!==i.parentElement;)"hidden"!==n(i.parentElement).css("overflow")&&"auto"!==n(i.parentElement).css("overflow")||s.push(i.parentElement.getBoundingClientRect()),i=i.parentElement;return o=s.every(function(t){var e=Math.min(a.right,t.right)-Math.max(a.left,t.left),n=Math.min(a.bottom,t.bottom)-Math.max(a.top,t.top);return e>0&&n>0}),o&&a.bottom>0&&a.right>0&&a.left<n(t).width()&&a.top<n(t).height()},c=o.opts.$thumb,l=c?c.offset():0;return l&&c[0].ownerDocument===e&&r(c)&&(i=a.$refs.stage.offset(),s={top:l.top-i.top+parseFloat(c.css("border-top-width")||0),left:l.left-i.left+parseFloat(c.css("border-left-width")||0),width:c.width(),height:c.height(),scaleX:1,scaleY:1}),s},complete:function(){var t=this,o=t.current,i={};o.isMoved||!o.isLoaded||o.isComplete||(o.isComplete=!0,o.$slide.siblings().trigger("onReset"),f(o.$slide),o.$slide.addClass("fancybox-slide--complete"),n.each(t.slides,function(e,o){o.pos>=t.currPos-1&&o.pos<=t.currPos+1?i[o.pos]=o:o&&(n.fancybox.stop(o.$slide),o.$slide.unbind().remove())}),t.slides=i,t.updateCursor(),t.trigger("afterShow"),(n(e.activeElement).is("[disabled]")||o.opts.autoFocus&&"image"!=o.type&&"iframe"!==o.type)&&t.focus())},preload:function(){var t,e,n=this;n.group.length<2||(t=n.slides[n.currPos+1],e=n.slides[n.currPos-1],t&&"image"===t.type&&n.loadSlide(t),e&&"image"===e.type&&n.loadSlide(e))},focus:function(){var t,e=this.current;this.isClosing||(t=e&&e.isComplete?e.$slide.find("button,:input,[tabindex],a").filter(":not([disabled]):visible:first"):null,t=t&&t.length?t:this.$refs.container,t.focus())},activate:function(){var t=this;n(".fancybox-container").each(function(){var e=n(this).data("FancyBox");e&&e.uid!==t.uid&&!e.isClosing&&e.trigger("onDeactivate")}),t.current&&(t.$refs.container.index()>0&&t.$refs.container.prependTo(e.body),t.updateControls()),t.trigger("onActivate"),t.addEvents()},close:function(t,e){var o,i,a,s,r,c,l=this,f=l.current,h=function(){l.cleanUp(t)};return!l.isClosing&&(l.isClosing=!0,l.trigger("beforeClose",t)===!1?(l.isClosing=!1,u(function(){l.update()}),!1):(l.removeEvents(),f.timouts&&clearTimeout(f.timouts),a=f.$content,o=f.opts.animationEffect,i=n.isNumeric(e)?e:o?f.opts.animationDuration:0,f.$slide.off(d).removeClass("fancybox-slide--complete fancybox-slide--next fancybox-slide--previous fancybox-animated"),f.$slide.siblings().trigger("onReset").remove(),i&&l.$refs.container.removeClass("fancybox-is-open").addClass("fancybox-is-closing"),l.hideLoading(f),l.hideControls(),l.updateCursor(),"zoom"!==o||t!==!0&&a&&i&&"image"===f.type&&!f.hasError&&(c=l.getThumbPos(f))||(o="fade"),"zoom"===o?(n.fancybox.stop(a),r=n.fancybox.getTranslate(a),r.width=r.width*r.scaleX,r.height=r.height*r.scaleY,s=f.opts.zoomOpacity,"auto"==s&&(s=Math.abs(f.width/f.height-c.width/c.height)>.1),s&&(c.opacity=0),r.scaleX=r.width/c.width,r.scaleY=r.height/c.height,r.width=c.width,r.height=c.height,n.fancybox.setTranslate(f.$content,r),n.fancybox.animate(f.$content,c,i,h),!0):(o&&i?t===!0?setTimeout(h,i):n.fancybox.animate(f.$slide.removeClass("fancybox-slide--current"),"fancybox-animated fancybox-slide--previous fancybox-fx-"+o,i,h):h(),!0)))},cleanUp:function(t){var e,o=this;o.current.$slide.trigger("onReset"),o.$refs.container.empty().remove(),o.trigger("afterClose",t),o.$lastFocus&&!o.current.focusBack&&o.$lastFocus.focus(),o.current=null,e=n.fancybox.getInstance(),e?e.activate():(s.scrollTop(o.scrollTop).scrollLeft(o.scrollLeft),n("html").removeClass("fancybox-enabled"),n("#fancybox-style-noscroll").remove())},trigger:function(t,e){var o,i=Array.prototype.slice.call(arguments,1),a=this,s=e&&e.opts?e:a.current;return s?i.unshift(s):s=a,i.unshift(a),n.isFunction(s.opts[t])&&(o=s.opts[t].apply(s,i)),o===!1?o:void("afterClose"===t?r.trigger(t+".fb",i):a.$refs.container.trigger(t+".fb",i))},updateControls:function(t){var e=this,o=e.current,i=o.index,a=o.opts,s=a.caption,r=e.$refs.caption;o.$slide.trigger("refresh"),e.$caption=s&&s.length?r.html(s):null,e.isHiddenControls||e.showControls(),n("[data-fancybox-count]").html(e.group.length),n("[data-fancybox-index]").html(i+1),n("[data-fancybox-prev]").prop("disabled",!a.loop&&i<=0),n("[data-fancybox-next]").prop("disabled",!a.loop&&i>=e.group.length-1)},hideControls:function(){this.isHiddenControls=!0,this.$refs.container.removeClass("fancybox-show-infobar fancybox-show-toolbar fancybox-show-caption fancybox-show-nav")},showControls:function(){var t=this,e=t.current?t.current.opts:t.opts,n=t.$refs.container;t.isHiddenControls=!1,t.idleSecondsCounter=0,n.toggleClass("fancybox-show-toolbar",!(!e.toolbar||!e.buttons)).toggleClass("fancybox-show-infobar",!!(e.infobar&&t.group.length>1)).toggleClass("fancybox-show-nav",!!(e.arrows&&t.group.length>1)).toggleClass("fancybox-is-modal",!!e.modal),t.$caption?n.addClass("fancybox-show-caption "):n.removeClass("fancybox-show-caption")},toggleControls:function(){this.isHiddenControls?this.showControls():this.hideControls()}}),n.fancybox={version:"3.1.20",defaults:a,getInstance:function(t){var e=n('.fancybox-container:not(".fancybox-is-closing"):first').data("FancyBox"),o=Array.prototype.slice.call(arguments,1);return e instanceof h&&("string"===n.type(t)?e[t].apply(e,o):"function"===n.type(t)&&t.apply(e,o),e)},open:function(t,e,n){return new h(t,e,n)},close:function(t){var e=this.getInstance();e&&(e.close(),t===!0&&this.close())},destroy:function(){this.close(!0),r.off("click.fb-start")},isMobile:e.createTouch!==o&&/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent),use3d:function(){var n=e.createElement("div");return t.getComputedStyle&&t.getComputedStyle(n).getPropertyValue("transform")&&!(e.documentMode&&e.documentMode<11)}(),getTranslate:function(t){var e;if(!t||!t.length)return!1;if(e=t.eq(0).css("transform"),e&&e.indexOf("matrix")!==-1?(e=e.split("(")[1],e=e.split(")")[0],e=e.split(",")):e=[],e.length)e=e.length>10?[e[13],e[12],e[0],e[5]]:[e[5],e[4],e[0],e[3]],e=e.map(parseFloat);else{e=[0,0,1,1];var n=/\.*translate\((.*)px,(.*)px\)/i,o=n.exec(t.eq(0).attr("style"));o&&(e[0]=parseFloat(o[2]),e[1]=parseFloat(o[1]))}return{top:e[0],left:e[1],scaleX:e[2],scaleY:e[3],opacity:parseFloat(t.css("opacity")),width:t.width(),height:t.height()}},setTranslate:function(t,e){var n="",i={};if(t&&e)return e.left===o&&e.top===o||(n=(e.left===o?t.position().left:e.left)+"px, "+(e.top===o?t.position().top:e.top)+"px",n=this.use3d?"translate3d("+n+", 0px)":"translate("+n+")"),e.scaleX!==o&&e.scaleY!==o&&(n=(n.length?n+" ":"")+"scale("+e.scaleX+", "+e.scaleY+")"),n.length&&(i.transform=n),e.opacity!==o&&(i.opacity=e.opacity),e.width!==o&&(i.width=e.width),e.height!==o&&(i.height=e.height),t.css(i)},animate:function(t,e,i,a,s){var r=d||"transitionend";n.isFunction(i)&&(a=i,i=null),n.isPlainObject(e)||t.removeAttr("style"),t.on(r,function(i){(!i||!i.originalEvent||t.is(i.originalEvent.target)&&"z-index"!=i.originalEvent.propertyName)&&(t.off(r),n.isPlainObject(e)?e.scaleX!==o&&e.scaleY!==o&&(t.css("transition-duration","0ms"),e.width=t.width()*e.scaleX,e.height=t.height()*e.scaleY,e.scaleX=1,e.scaleY=1,n.fancybox.setTranslate(t,e)):s!==!0&&t.removeClass(e),n.isFunction(a)&&a(i))}),n.isNumeric(i)&&t.css("transition-duration",i+"ms"),n.isPlainObject(e)?n.fancybox.setTranslate(t,e):t.addClass(e),t.data("timer",setTimeout(function(){t.trigger("transitionend")},i+16))},stop:function(t){clearTimeout(t.data("timer")),t.off(d)}},n.fn.fancybox=function(t){var e;return t=t||{},e=t.selector||!1,e?n("body").off("click.fb-start",e).on("click.fb-start",e,{items:n(e),options:t},i):this.off("click.fb-start").on("click.fb-start",{items:this,options:t},i),this},r.on("click.fb-start","[data-fancybox]",i)}}(window,document,window.jQuery),function(t){"use strict";var e=function(e,n,o){if(e)return o=o||"","object"===t.type(o)&&(o=t.param(o,!0)),t.each(n,function(t,n){e=e.replace("$"+t,n||"")}),o.length&&(e+=(e.indexOf("?")>0?"&":"?")+o),e},n={youtube:{matcher:/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(watch\?(.*&)?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*))(.*)/i,params:{autoplay:1,autohide:1,fs:1,rel:0,hd:1,wmode:"transparent",enablejsapi:1,html5:1},paramPlace:8,type:"iframe",url:"//www.youtube.com/embed/$4",thumb:"//img.youtube.com/vi/$4/hqdefault.jpg"},vimeo:{matcher:/^.+vimeo.com\/(.*\/)?([\d]+)(.*)?/,params:{autoplay:1,hd:1,show_title:1,show_byline:1,show_portrait:0,fullscreen:1,api:1},paramPlace:3,type:"iframe",url:"//player.vimeo.com/video/$2"},metacafe:{matcher:/metacafe.com\/watch\/(\d+)\/(.*)?/,type:"iframe",url:"//www.metacafe.com/embed/$1/?ap=1"},dailymotion:{matcher:/dailymotion.com\/video\/(.*)\/?(.*)/,params:{additionalInfos:0,autoStart:1},type:"iframe",url:"//www.dailymotion.com/embed/video/$1"},vine:{matcher:/vine.co\/v\/([a-zA-Z0-9\?\=\-]+)/,type:"iframe",url:"//vine.co/v/$1/embed/simple"},instagram:{matcher:/(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i,type:"image",url:"//$1/p/$2/media/?size=l"},google_maps:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(((maps\/(place\/(.*)\/)?\@(.*),(\d+.?\d+?)z))|(\?ll=))(.*)?/i,type:"iframe",url:function(t){return"//maps.google."+t[2]+"/?ll="+(t[9]?t[9]+"&z="+Math.floor(t[10])+(t[12]?t[12].replace(/^\//,"&"):""):t[12])+"&output="+(t[12]&&t[12].indexOf("layer=c")>0?"svembed":"embed")}}};t(document).on("onInit.fb",function(o,i){t.each(i.group,function(o,i){var a,s,r,c,l,u,d,f=i.src||"",h=!1;i.type||(a=t.extend(!0,{},n,i.opts.media),t.each(a,function(n,o){if(r=f.match(o.matcher),u={},d=n,r){if(h=o.type,o.paramPlace&&r[o.paramPlace]){l=r[o.paramPlace],"?"==l[0]&&(l=l.substring(1)),l=l.split("&");for(var a=0;a<l.length;++a){var p=l[a].split("=",2);2==p.length&&(u[p[0]]=decodeURIComponent(p[1].replace(/\+/g," ")))}}return c=t.extend(!0,{},o.params,i.opts[n],u),f="function"===t.type(o.url)?o.url.call(this,r,c,i):e(o.url,r,c),s="function"===t.type(o.thumb)?o.thumb.call(this,r,c,i):e(o.thumb,r),"vimeo"===d&&(f=f.replace("&%23","#")),!1}}),h?(i.src=f,i.type=h,i.opts.thumb||i.opts.$thumb&&i.opts.$thumb.length||(i.opts.thumb=s),"iframe"===h&&(t.extend(!0,i.opts,{iframe:{preload:!1,attr:{scrolling:"no"}}}),i.contentProvider=d,i.opts.slideClass+=" fancybox-slide--"+("google_maps"==d?"map":"video"))):i.type="image")})})}(window.jQuery),function(t,e,n){"use strict";var o=function(){return t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||function(e){ +return t.setTimeout(e,1e3/60)}}(),i=function(){return t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.mozCancelAnimationFrame||t.oCancelAnimationFrame||function(e){t.clearTimeout(e)}}(),a=function(e){var n=[];e=e.originalEvent||e||t.e,e=e.touches&&e.touches.length?e.touches:e.changedTouches&&e.changedTouches.length?e.changedTouches:[e];for(var o in e)e[o].pageX?n.push({x:e[o].pageX,y:e[o].pageY}):e[o].clientX&&n.push({x:e[o].clientX,y:e[o].clientY});return n},s=function(t,e,n){return e&&t?"x"===n?t.x-e.x:"y"===n?t.y-e.y:Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)):0},r=function(t){if(t.is("a,button,input,select,textarea")||n.isFunction(t.get(0).onclick))return!0;for(var e=0,o=t[0].attributes,i=o.length;e<i;e++)if("data-fancybox-"===o[e].nodeName.substr(0,14))return!0;return!1},c=function(e){var n=t.getComputedStyle(e)["overflow-y"],o=t.getComputedStyle(e)["overflow-x"],i=("scroll"===n||"auto"===n)&&e.scrollHeight>e.clientHeight,a=("scroll"===o||"auto"===o)&&e.scrollWidth>e.clientWidth;return i||a},l=function(t){for(var e=!1;;){if(e=c(t.get(0)))break;if(t=t.parent(),!t.length||t.hasClass("fancybox-stage")||t.is("body"))break}return e},u=function(t){var e=this;e.instance=t,e.$bg=t.$refs.bg,e.$stage=t.$refs.stage,e.$container=t.$refs.container,e.destroy(),e.$container.on("touchstart.fb.touch mousedown.fb.touch",n.proxy(e,"ontouchstart"))};u.prototype.destroy=function(){this.$container.off(".fb.touch")},u.prototype.ontouchstart=function(o){var i=this,c=n(o.target),u=i.instance,d=u.current,f=d.$content,h="touchstart"==o.type;if(h&&i.$container.off("mousedown.fb.touch"),!d||i.instance.isAnimating||i.instance.isClosing)return o.stopPropagation(),void o.preventDefault();if((!o.originalEvent||2!=o.originalEvent.button)&&c.length&&!r(c)&&!r(c.parent())&&!(o.originalEvent.clientX>c[0].clientWidth+c.offset().left)&&(i.startPoints=a(o),i.startPoints&&!(i.startPoints.length>1&&u.isSliding))){if(i.$target=c,i.$content=f,i.canTap=!0,n(e).off(".fb.touch"),n(e).on(h?"touchend.fb.touch touchcancel.fb.touch":"mouseup.fb.touch mouseleave.fb.touch",n.proxy(i,"ontouchend")),n(e).on(h?"touchmove.fb.touch":"mousemove.fb.touch",n.proxy(i,"ontouchmove")),o.stopPropagation(),!u.current.opts.touch&&!u.canPan()||!c.is(i.$stage)&&!i.$stage.find(c).length)return void(c.is("img")&&o.preventDefault());n.fancybox.isMobile&&(l(i.$target)||l(i.$target.parent()))||o.preventDefault(),i.canvasWidth=Math.round(d.$slide[0].clientWidth),i.canvasHeight=Math.round(d.$slide[0].clientHeight),i.startTime=(new Date).getTime(),i.distanceX=i.distanceY=i.distance=0,i.isPanning=!1,i.isSwiping=!1,i.isZooming=!1,i.sliderStartPos=i.sliderLastPos||{top:0,left:0},i.contentStartPos=n.fancybox.getTranslate(i.$content),i.contentLastPos=null,1!==i.startPoints.length||i.isZooming||(i.canTap=!u.isSliding,"image"===d.type&&(i.contentStartPos.width>i.canvasWidth+1||i.contentStartPos.height>i.canvasHeight+1)?(n.fancybox.stop(i.$content),i.$content.css("transition-duration","0ms"),i.isPanning=!0):i.isSwiping=!0,i.$container.addClass("fancybox-controls--isGrabbing")),2!==i.startPoints.length||u.isAnimating||d.hasError||"image"!==d.type||!d.isLoaded&&!d.$ghost||(i.isZooming=!0,i.isSwiping=!1,i.isPanning=!1,n.fancybox.stop(i.$content),i.$content.css("transition-duration","0ms"),i.centerPointStartX=.5*(i.startPoints[0].x+i.startPoints[1].x)-n(t).scrollLeft(),i.centerPointStartY=.5*(i.startPoints[0].y+i.startPoints[1].y)-n(t).scrollTop(),i.percentageOfImageAtPinchPointX=(i.centerPointStartX-i.contentStartPos.left)/i.contentStartPos.width,i.percentageOfImageAtPinchPointY=(i.centerPointStartY-i.contentStartPos.top)/i.contentStartPos.height,i.startDistanceBetweenFingers=s(i.startPoints[0],i.startPoints[1]))}},u.prototype.ontouchmove=function(t){var e=this;if(e.newPoints=a(t),n.fancybox.isMobile&&(l(e.$target)||l(e.$target.parent())))return t.stopPropagation(),void(e.canTap=!1);if((e.instance.current.opts.touch||e.instance.canPan())&&e.newPoints&&e.newPoints.length&&(e.distanceX=s(e.newPoints[0],e.startPoints[0],"x"),e.distanceY=s(e.newPoints[0],e.startPoints[0],"y"),e.distance=s(e.newPoints[0],e.startPoints[0]),e.distance>0)){if(!e.$target.is(e.$stage)&&!e.$stage.find(e.$target).length)return;t.stopPropagation(),t.preventDefault(),e.isSwiping?e.onSwipe():e.isPanning?e.onPan():e.isZooming&&e.onZoom()}},u.prototype.onSwipe=function(){var e,a=this,s=a.isSwiping,r=a.sliderStartPos.left||0;s===!0?Math.abs(a.distance)>10&&(a.canTap=!1,a.instance.group.length<2&&a.instance.opts.touch.vertical?a.isSwiping="y":a.instance.isSliding||a.instance.opts.touch.vertical===!1||"auto"===a.instance.opts.touch.vertical&&n(t).width()>800?a.isSwiping="x":(e=Math.abs(180*Math.atan2(a.distanceY,a.distanceX)/Math.PI),a.isSwiping=e>45&&e<135?"y":"x"),a.instance.isSliding=a.isSwiping,a.startPoints=a.newPoints,n.each(a.instance.slides,function(t,e){n.fancybox.stop(e.$slide),e.$slide.css("transition-duration","0ms"),e.inTransition=!1,e.pos===a.instance.current.pos&&(a.sliderStartPos.left=n.fancybox.getTranslate(e.$slide).left)}),a.instance.SlideShow&&a.instance.SlideShow.isActive&&a.instance.SlideShow.stop()):("x"==s&&(a.distanceX>0&&(a.instance.group.length<2||0===a.instance.current.index&&!a.instance.current.opts.loop)?r+=Math.pow(a.distanceX,.8):a.distanceX<0&&(a.instance.group.length<2||a.instance.current.index===a.instance.group.length-1&&!a.instance.current.opts.loop)?r-=Math.pow(-a.distanceX,.8):r+=a.distanceX),a.sliderLastPos={top:"x"==s?0:a.sliderStartPos.top+a.distanceY,left:r},a.requestId&&(i(a.requestId),a.requestId=null),a.requestId=o(function(){a.sliderLastPos&&(n.each(a.instance.slides,function(t,e){var o=e.pos-a.instance.currPos;n.fancybox.setTranslate(e.$slide,{top:a.sliderLastPos.top,left:a.sliderLastPos.left+o*a.canvasWidth+o*e.opts.gutter})}),a.$container.addClass("fancybox-is-sliding"))}))},u.prototype.onPan=function(){var t,e,a,s=this;s.canTap=!1,t=s.contentStartPos.width>s.canvasWidth?s.contentStartPos.left+s.distanceX:s.contentStartPos.left,e=s.contentStartPos.top+s.distanceY,a=s.limitMovement(t,e,s.contentStartPos.width,s.contentStartPos.height),a.scaleX=s.contentStartPos.scaleX,a.scaleY=s.contentStartPos.scaleY,s.contentLastPos=a,s.requestId&&(i(s.requestId),s.requestId=null),s.requestId=o(function(){n.fancybox.setTranslate(s.$content,s.contentLastPos)})},u.prototype.limitMovement=function(t,e,n,o){var i,a,s,r,c=this,l=c.canvasWidth,u=c.canvasHeight,d=c.contentStartPos.left,f=c.contentStartPos.top,h=c.distanceX,p=c.distanceY;return i=Math.max(0,.5*l-.5*n),a=Math.max(0,.5*u-.5*o),s=Math.min(l-n,.5*l-.5*n),r=Math.min(u-o,.5*u-.5*o),n>l&&(h>0&&t>i&&(t=i-1+Math.pow(-i+d+h,.8)||0),h<0&&t<s&&(t=s+1-Math.pow(s-d-h,.8)||0)),o>u&&(p>0&&e>a&&(e=a-1+Math.pow(-a+f+p,.8)||0),p<0&&e<r&&(e=r+1-Math.pow(r-f-p,.8)||0)),{top:e,left:t}},u.prototype.limitPosition=function(t,e,n,o){var i=this,a=i.canvasWidth,s=i.canvasHeight;return n>a?(t=t>0?0:t,t=t<a-n?a-n:t):t=Math.max(0,a/2-n/2),o>s?(e=e>0?0:e,e=e<s-o?s-o:e):e=Math.max(0,s/2-o/2),{top:e,left:t}},u.prototype.onZoom=function(){var e=this,a=e.contentStartPos.width,r=e.contentStartPos.height,c=e.contentStartPos.left,l=e.contentStartPos.top,u=s(e.newPoints[0],e.newPoints[1]),d=u/e.startDistanceBetweenFingers,f=Math.floor(a*d),h=Math.floor(r*d),p=(a-f)*e.percentageOfImageAtPinchPointX,g=(r-h)*e.percentageOfImageAtPinchPointY,b=(e.newPoints[0].x+e.newPoints[1].x)/2-n(t).scrollLeft(),m=(e.newPoints[0].y+e.newPoints[1].y)/2-n(t).scrollTop(),y=b-e.centerPointStartX,v=m-e.centerPointStartY,x=c+(p+y),w=l+(g+v),$={top:w,left:x,scaleX:e.contentStartPos.scaleX*d,scaleY:e.contentStartPos.scaleY*d};e.canTap=!1,e.newWidth=f,e.newHeight=h,e.contentLastPos=$,e.requestId&&(i(e.requestId),e.requestId=null),e.requestId=o(function(){n.fancybox.setTranslate(e.$content,e.contentLastPos)})},u.prototype.ontouchend=function(t){var o=this,s=Math.max((new Date).getTime()-o.startTime,1),r=o.isSwiping,c=o.isPanning,l=o.isZooming;return o.endPoints=a(t),o.$container.removeClass("fancybox-controls--isGrabbing"),n(e).off(".fb.touch"),o.requestId&&(i(o.requestId),o.requestId=null),o.isSwiping=!1,o.isPanning=!1,o.isZooming=!1,o.canTap?o.onTap(t):(o.speed=366,o.velocityX=o.distanceX/s*.5,o.velocityY=o.distanceY/s*.5,o.speedX=Math.max(.5*o.speed,Math.min(1.5*o.speed,1/Math.abs(o.velocityX)*o.speed)),void(c?o.endPanning():l?o.endZooming():o.endSwiping(r)))},u.prototype.endSwiping=function(t){var e=this,o=!1;e.instance.isSliding=!1,e.sliderLastPos=null,"y"==t&&Math.abs(e.distanceY)>50?(n.fancybox.animate(e.instance.current.$slide,{top:e.sliderStartPos.top+e.distanceY+150*e.velocityY,opacity:0},150),o=e.instance.close(!0,300)):"x"==t&&e.distanceX>50&&e.instance.group.length>1?o=e.instance.previous(e.speedX):"x"==t&&e.distanceX<-50&&e.instance.group.length>1&&(o=e.instance.next(e.speedX)),o!==!1||"x"!=t&&"y"!=t||e.instance.jumpTo(e.instance.current.index,150),e.$container.removeClass("fancybox-is-sliding")},u.prototype.endPanning=function(){var t,e,o,i=this;i.contentLastPos&&(i.instance.current.opts.touch.momentum===!1?(t=i.contentLastPos.left,e=i.contentLastPos.top):(t=i.contentLastPos.left+i.velocityX*i.speed,e=i.contentLastPos.top+i.velocityY*i.speed),o=i.limitPosition(t,e,i.contentStartPos.width,i.contentStartPos.height),o.width=i.contentStartPos.width,o.height=i.contentStartPos.height,n.fancybox.animate(i.$content,o,330))},u.prototype.endZooming=function(){var t,e,o,i,a=this,s=a.instance.current,r=a.newWidth,c=a.newHeight;a.contentLastPos&&(t=a.contentLastPos.left,e=a.contentLastPos.top,i={top:e,left:t,width:r,height:c,scaleX:1,scaleY:1},n.fancybox.setTranslate(a.$content,i),r<a.canvasWidth&&c<a.canvasHeight?a.instance.scaleToFit(150):r>s.width||c>s.height?a.instance.scaleToActual(a.centerPointStartX,a.centerPointStartY,150):(o=a.limitPosition(t,e,r,c),n.fancybox.setTranslate(a.content,n.fancybox.getTranslate(a.$content)),n.fancybox.animate(a.$content,o,150)))},u.prototype.onTap=function(t){var e,o=this,i=n(t.target),s=o.instance,r=s.current,c=t&&a(t)||o.startPoints,l=c[0]?c[0].x-o.$stage.offset().left:0,u=c[0]?c[0].y-o.$stage.offset().top:0,d=function(e){var i=r.opts[e];if(n.isFunction(i)&&(i=i.apply(s,[r,t])),i)switch(i){case"close":s.close(o.startEvent);break;case"toggleControls":s.toggleControls(!0);break;case"next":s.next();break;case"nextOrClose":s.group.length>1?s.next():s.close(o.startEvent);break;case"zoom":"image"==r.type&&(r.isLoaded||r.$ghost)&&(s.canPan()?s.scaleToFit():s.isScaledDown()?s.scaleToActual(l,u):s.group.length<2&&s.close(o.startEvent))}};if(!(t.originalEvent&&2==t.originalEvent.button||s.isSliding||l>i[0].clientWidth+i.offset().left)){if(i.is(".fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-container"))e="Outside";else if(i.is(".fancybox-slide"))e="Slide";else{if(!s.current.$content||!s.current.$content.has(t.target).length)return;e="Content"}if(o.tapped){if(clearTimeout(o.tapped),o.tapped=null,Math.abs(l-o.tapX)>50||Math.abs(u-o.tapY)>50||s.isSliding)return this;d("dblclick"+e)}else o.tapX=l,o.tapY=u,r.opts["dblclick"+e]&&r.opts["dblclick"+e]!==r.opts["click"+e]?o.tapped=setTimeout(function(){o.tapped=null,d("click"+e)},300):d("click"+e);return this}},n(e).on("onActivate.fb",function(t,e){e&&!e.Guestures&&(e.Guestures=new u(e))}),n(e).on("beforeClose.fb",function(t,e){e&&e.Guestures&&e.Guestures.destroy()})}(window,document,window.jQuery),function(t,e){"use strict";var n=function(t){this.instance=t,this.init()};e.extend(n.prototype,{timer:null,isActive:!1,$button:null,speed:3e3,init:function(){var t=this;t.$button=t.instance.$refs.toolbar.find("[data-fancybox-play]").on("click",function(){t.toggle()}),(t.instance.group.length<2||!t.instance.group[t.instance.currIndex].opts.slideShow)&&t.$button.hide()},set:function(){var t=this;t.instance&&t.instance.current&&(t.instance.current.opts.loop||t.instance.currIndex<t.instance.group.length-1)?t.timer=setTimeout(function(){t.instance.next()},t.instance.current.opts.slideShow.speed||t.speed):(t.stop(),t.instance.idleSecondsCounter=0,t.instance.showControls())},clear:function(){var t=this;clearTimeout(t.timer),t.timer=null},start:function(){var t=this,e=t.instance.current;t.instance&&e&&(e.opts.loop||e.index<t.instance.group.length-1)&&(t.isActive=!0,t.$button.attr("title",e.opts.i18n[e.opts.lang].PLAY_STOP).addClass("fancybox-button--pause"),e.isComplete&&t.set())},stop:function(){var t=this,e=t.instance.current;t.clear(),t.$button.attr("title",e.opts.i18n[e.opts.lang].PLAY_START).removeClass("fancybox-button--pause"),t.isActive=!1},toggle:function(){var t=this;t.isActive?t.stop():t.start()}}),e(t).on({"onInit.fb":function(t,e){e&&!e.SlideShow&&(e.SlideShow=new n(e))},"beforeShow.fb":function(t,e,n,o){var i=e&&e.SlideShow;o?i&&n.opts.slideShow.autoStart&&i.start():i&&i.isActive&&i.clear()},"afterShow.fb":function(t,e,n){var o=e&&e.SlideShow;o&&o.isActive&&o.set()},"afterKeydown.fb":function(n,o,i,a,s){var r=o&&o.SlideShow;!r||!i.opts.slideShow||80!==s&&32!==s||e(t.activeElement).is("button,a,input")||(a.preventDefault(),r.toggle())},"beforeClose.fb onDeactivate.fb":function(t,e){var n=e&&e.SlideShow;n&&n.stop()}}),e(t).on("visibilitychange",function(){var n=e.fancybox.getInstance(),o=n&&n.SlideShow;o&&o.isActive&&(t.hidden?o.clear():o.set())})}(document,window.jQuery),function(t,e){"use strict";var n=function(){var e,n,o,i=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],a={};for(n=0;n<i.length;n++)if(e=i[n],e&&e[1]in t){for(o=0;o<e.length;o++)a[i[0][o]]=e[o];return a}return!1}();if(!n)return void(e.fancybox.defaults.btnTpl.fullScreen=!1);var o={request:function(e){e=e||t.documentElement,e[n.requestFullscreen](e.ALLOW_KEYBOARD_INPUT)},exit:function(){t[n.exitFullscreen]()},toggle:function(e){e=e||t.documentElement,this.isFullscreen()?this.exit():this.request(e)},isFullscreen:function(){return Boolean(t[n.fullscreenElement])},enabled:function(){return Boolean(t[n.fullscreenEnabled])}};e(t).on({"onInit.fb":function(t,e){var n,i=e.$refs.toolbar.find("[data-fancybox-fullscreen]");e&&!e.FullScreen&&e.group[e.currIndex].opts.fullScreen?(n=e.$refs.container,n.on("click.fb-fullscreen","[data-fancybox-fullscreen]",function(t){t.stopPropagation(),t.preventDefault(),o.toggle(n[0])}),e.opts.fullScreen&&e.opts.fullScreen.autoStart===!0&&o.request(n[0]),e.FullScreen=o):i.hide()},"afterKeydown.fb":function(t,e,n,o,i){e&&e.FullScreen&&70===i&&(o.preventDefault(),e.FullScreen.toggle(e.$refs.container[0]))},"beforeClose.fb":function(t){t&&t.FullScreen&&o.exit()}}),e(t).on(n.fullscreenchange,function(){var t=e.fancybox.getInstance();t.current&&"image"===t.current.type&&t.isAnimating&&(t.current.$content.css("transition","none"),t.isAnimating=!1,t.update(!0,!0,0))})}(document,window.jQuery),function(t,e){"use strict";var n=function(t){this.instance=t,this.init()};e.extend(n.prototype,{$button:null,$grid:null,$list:null,isVisible:!1,init:function(){var t=this,e=t.instance.group[0],n=t.instance.group[1];t.$button=t.instance.$refs.toolbar.find("[data-fancybox-thumbs]"),t.instance.group.length>1&&t.instance.group[t.instance.currIndex].opts.thumbs&&("image"==e.type||e.opts.thumb||e.opts.$thumb)&&("image"==n.type||n.opts.thumb||n.opts.$thumb)?(t.$button.on("click",function(){t.toggle()}),t.isActive=!0):(t.$button.hide(),t.isActive=!1)},create:function(){var t,n,o=this.instance;this.$grid=e('<div class="fancybox-thumbs"></div>').appendTo(o.$refs.container),t="<ul>",e.each(o.group,function(e,o){n=o.opts.thumb||(o.opts.$thumb?o.opts.$thumb.attr("src"):null),n||"image"!==o.type||(n=o.src),n&&n.length&&(t+='<li data-index="'+e+'" tabindex="0" class="fancybox-thumbs-loading"><img data-src="'+n+'" /></li>')}),t+="</ul>",this.$list=e(t).appendTo(this.$grid).on("click","li",function(){o.jumpTo(e(this).data("index"))}),this.$list.find("img").hide().one("load",function(){var t,n,o,i,a=e(this).parent().removeClass("fancybox-thumbs-loading"),s=a.outerWidth(),r=a.outerHeight();t=this.naturalWidth||this.width,n=this.naturalHeight||this.height,o=t/s,i=n/r,o>=1&&i>=1&&(o>i?(t/=i,n=r):(t=s,n/=o)),e(this).css({width:Math.floor(t),height:Math.floor(n),"margin-top":Math.min(0,Math.floor(.3*r-.3*n)),"margin-left":Math.min(0,Math.floor(.5*s-.5*t))}).show()}).each(function(){this.src=e(this).data("src")})},focus:function(){this.instance.current&&this.$list.children().removeClass("fancybox-thumbs-active").filter('[data-index="'+this.instance.current.index+'"]').addClass("fancybox-thumbs-active").focus()},close:function(){this.$grid.hide()},update:function(){this.instance.$refs.container.toggleClass("fancybox-show-thumbs",this.isVisible),this.isVisible?(this.$grid||this.create(),this.instance.trigger("onThumbsShow"),this.focus()):this.$grid&&this.instance.trigger("onThumbsHide"),this.instance.update()},hide:function(){this.isVisible=!1,this.update()},show:function(){this.isVisible=!0,this.update()},toggle:function(){this.isVisible=!this.isVisible,this.update()}}),e(t).on({"onInit.fb":function(t,e){e&&!e.Thumbs&&(e.Thumbs=new n(e))},"beforeShow.fb":function(t,e,n,o){var i=e&&e.Thumbs;if(i&&i.isActive){if(n.modal)return i.$button.hide(),void i.hide();o&&e.opts.thumbs.autoStart===!0&&i.show(),i.isVisible&&i.focus()}},"afterKeydown.fb":function(t,e,n,o,i){var a=e&&e.Thumbs;a&&a.isActive&&71===i&&(o.preventDefault(),a.toggle())},"beforeClose.fb":function(t,e){var n=e&&e.Thumbs;n&&n.isVisible&&e.opts.thumbs.hideOnClose!==!1&&n.close()}})}(document,window.jQuery),function(t,e,n){"use strict";function o(){var t=e.location.hash.substr(1),n=t.split("-"),o=n.length>1&&/^\+?\d+$/.test(n[n.length-1])?parseInt(n.pop(-1),10)||1:1,i=n.join("-");return o<1&&(o=1),{hash:t,index:o,gallery:i}}function i(t){var e;""!==t.gallery&&(e=n("[data-fancybox='"+n.escapeSelector(t.gallery)+"']").eq(t.index-1),e.length?e.trigger("click"):n("#"+n.escapeSelector(t.gallery)).trigger("click"))}function a(t){var e;return!!t&&(e=t.current?t.current.opts:t.opts,e.$orig?e.$orig.data("fancybox"):e.hash||"")}n.escapeSelector||(n.escapeSelector=function(t){var e=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,n=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t};return(t+"").replace(e,n)});var s=null,r=null;n(function(){setTimeout(function(){n.fancybox.defaults.hash!==!1&&(n(t).on({"onInit.fb":function(t,e){var n,i;e.group[e.currIndex].opts.hash!==!1&&(n=o(),i=a(e),i&&n.gallery&&i==n.gallery&&(e.currIndex=n.index-1))},"beforeShow.fb":function(n,o,i,c){var l;i.opts.hash!==!1&&(l=a(o),l&&""!==l&&(e.location.hash.indexOf(l)<0&&(o.opts.origHash=e.location.hash),s=l+(o.group.length>1?"-"+(i.index+1):""),"replaceState"in e.history?(r&&clearTimeout(r),r=setTimeout(function(){e.history[c?"pushState":"replaceState"]({},t.title,e.location.pathname+e.location.search+"#"+s),r=null},300)):e.location.hash=s))},"beforeClose.fb":function(o,i,c){var l,u;r&&clearTimeout(r),c.opts.hash!==!1&&(l=a(i),u=i&&i.opts.origHash?i.opts.origHash:"",l&&""!==l&&("replaceState"in history?e.history.replaceState({},t.title,e.location.pathname+e.location.search+u):(e.location.hash=u,n(e).scrollTop(i.scrollTop).scrollLeft(i.scrollLeft))),s=null)}}),n(e).on("hashchange.fb",function(){var t=o();n.fancybox.getInstance()?!s||s===t.gallery+"-"+t.index||1===t.index&&s==t.gallery||(s=null,n.fancybox.close()):""!==t.gallery&&i(t)}),n(e).one("unload.fb popstate.fb",function(){n.fancybox.getInstance("close",!0,0)}),i(o()))},50)})}(document,window,window.jQuery);
\ No newline at end of file diff --git a/themes/even/static/lib/gitalk/gitalk-1.2.2.min.css b/themes/even/static/lib/gitalk/gitalk-1.2.2.min.css new file mode 100644 index 0000000..b0ad513 --- /dev/null +++ b/themes/even/static/lib/gitalk/gitalk-1.2.2.min.css @@ -0,0 +1,7 @@ +/** + * Minified by jsDelivr using clean-css v4.1.9. + * Original file: /npm/gitalk@1.2.2/dist/gitalk.css + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +@font-face{font-family:octicons-link;src:url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAZwABAAAAAACFQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEU0lHAAAGaAAAAAgAAAAIAAAAAUdTVUIAAAZcAAAACgAAAAoAAQAAT1MvMgAAAyQAAABJAAAAYFYEU3RjbWFwAAADcAAAAEUAAACAAJThvmN2dCAAAATkAAAABAAAAAQAAAAAZnBnbQAAA7gAAACyAAABCUM+8IhnYXNwAAAGTAAAABAAAAAQABoAI2dseWYAAAFsAAABPAAAAZwcEq9taGVhZAAAAsgAAAA0AAAANgh4a91oaGVhAAADCAAAABoAAAAkCA8DRGhtdHgAAAL8AAAADAAAAAwGAACfbG9jYQAAAsAAAAAIAAAACABiATBtYXhwAAACqAAAABgAAAAgAA8ASm5hbWUAAAToAAABQgAAAlXu73sOcG9zdAAABiwAAAAeAAAAME3QpOBwcmVwAAAEbAAAAHYAAAB/aFGpk3jaTY6xa8JAGMW/O62BDi0tJLYQincXEypYIiGJjSgHniQ6umTsUEyLm5BV6NDBP8Tpts6F0v+k/0an2i+itHDw3v2+9+DBKTzsJNnWJNTgHEy4BgG3EMI9DCEDOGEXzDADU5hBKMIgNPZqoD3SilVaXZCER3/I7AtxEJLtzzuZfI+VVkprxTlXShWKb3TBecG11rwoNlmmn1P2WYcJczl32etSpKnziC7lQyWe1smVPy/Lt7Kc+0vWY/gAgIIEqAN9we0pwKXreiMasxvabDQMM4riO+qxM2ogwDGOZTXxwxDiycQIcoYFBLj5K3EIaSctAq2kTYiw+ymhce7vwM9jSqO8JyVd5RH9gyTt2+J/yUmYlIR0s04n6+7Vm1ozezUeLEaUjhaDSuXHwVRgvLJn1tQ7xiuVv/ocTRF42mNgZGBgYGbwZOBiAAFGJBIMAAizAFoAAABiAGIAznjaY2BkYGAA4in8zwXi+W2+MjCzMIDApSwvXzC97Z4Ig8N/BxYGZgcgl52BCSQKAA3jCV8CAABfAAAAAAQAAEB42mNgZGBg4f3vACQZQABIMjKgAmYAKEgBXgAAeNpjYGY6wTiBgZWBg2kmUxoDA4MPhGZMYzBi1AHygVLYQUCaawqDA4PChxhmh/8ODDEsvAwHgMKMIDnGL0x7gJQCAwMAJd4MFwAAAHjaY2BgYGaA4DAGRgYQkAHyGMF8NgYrIM3JIAGVYYDT+AEjAwuDFpBmA9KMDEwMCh9i/v8H8sH0/4dQc1iAmAkALaUKLgAAAHjaTY9LDsIgEIbtgqHUPpDi3gPoBVyRTmTddOmqTXThEXqrob2gQ1FjwpDvfwCBdmdXC5AVKFu3e5MfNFJ29KTQT48Ob9/lqYwOGZxeUelN2U2R6+cArgtCJpauW7UQBqnFkUsjAY/kOU1cP+DAgvxwn1chZDwUbd6CFimGXwzwF6tPbFIcjEl+vvmM/byA48e6tWrKArm4ZJlCbdsrxksL1AwWn/yBSJKpYbq8AXaaTb8AAHja28jAwOC00ZrBeQNDQOWO//sdBBgYGRiYWYAEELEwMTE4uzo5Zzo5b2BxdnFOcALxNjA6b2ByTswC8jYwg0VlNuoCTWAMqNzMzsoK1rEhNqByEyerg5PMJlYuVueETKcd/89uBpnpvIEVomeHLoMsAAe1Id4AAAAAAAB42oWQT07CQBTGv0JBhagk7HQzKxca2sJCE1hDt4QF+9JOS0nbaaYDCQfwCJ7Au3AHj+LO13FMmm6cl7785vven0kBjHCBhfpYuNa5Ph1c0e2Xu3jEvWG7UdPDLZ4N92nOm+EBXuAbHmIMSRMs+4aUEd4Nd3CHD8NdvOLTsA2GL8M9PODbcL+hD7C1xoaHeLJSEao0FEW14ckxC+TU8TxvsY6X0eLPmRhry2WVioLpkrbp84LLQPGI7c6sOiUzpWIWS5GzlSgUzzLBSikOPFTOXqly7rqx0Z1Q5BAIoZBSFihQYQOOBEdkCOgXTOHA07HAGjGWiIjaPZNW13/+lm6S9FT7rLHFJ6fQbkATOG1j2OFMucKJJsxIVfQORl+9Jyda6Sl1dUYhSCm1dyClfoeDve4qMYdLEbfqHf3O/AdDumsjAAB42mNgYoAAZQYjBmyAGYQZmdhL8zLdDEydARfoAqIAAAABAAMABwAKABMAB///AA8AAQAAAAAAAAAAAAAAAAABAAAAAA==) format('woff')}.markdown-body{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;line-height:1.5;color:#24292e;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:16px;line-height:1.5;word-wrap:break-word}.markdown-body .pl-c{color:#6a737d}.markdown-body .pl-c1,.markdown-body .pl-s .pl-v{color:#005cc5}.markdown-body .pl-e,.markdown-body .pl-en{color:#6f42c1}.markdown-body .pl-s .pl-s1,.markdown-body .pl-smi{color:#24292e}.markdown-body .pl-ent{color:#22863a}.markdown-body .pl-k{color:#d73a49}.markdown-body .pl-pds,.markdown-body .pl-s,.markdown-body .pl-s .pl-pse .pl-s1,.markdown-body .pl-sr,.markdown-body .pl-sr .pl-cce,.markdown-body .pl-sr .pl-sra,.markdown-body .pl-sr .pl-sre{color:#032f62}.markdown-body .pl-smw,.markdown-body .pl-v{color:#e36209}.markdown-body .pl-bu{color:#b31d28}.markdown-body .pl-ii{color:#fafbfc;background-color:#b31d28}.markdown-body .pl-c2{color:#fafbfc;background-color:#d73a49}.markdown-body .pl-c2::before{content:"^M"}.markdown-body .pl-sr .pl-cce{font-weight:700;color:#22863a}.markdown-body .pl-ml{color:#735c0f}.markdown-body .pl-mh,.markdown-body .pl-mh .pl-en,.markdown-body .pl-ms{font-weight:700;color:#005cc5}.markdown-body .pl-mi{font-style:italic;color:#24292e}.markdown-body .pl-mb{font-weight:700;color:#24292e}.markdown-body .pl-md{color:#b31d28;background-color:#ffeef0}.markdown-body .pl-mi1{color:#22863a;background-color:#f0fff4}.markdown-body .pl-mc{color:#e36209;background-color:#ffebda}.markdown-body .pl-mi2{color:#f6f8fa;background-color:#005cc5}.markdown-body .pl-mdr{font-weight:700;color:#6f42c1}.markdown-body .pl-ba{color:#586069}.markdown-body .pl-sg{color:#959da5}.markdown-body .pl-corl{text-decoration:underline;color:#032f62}.markdown-body .octicon{display:inline-block;vertical-align:text-top;fill:currentColor}.markdown-body a{background-color:transparent;-webkit-text-decoration-skip:objects}.markdown-body a:active,.markdown-body a:hover{outline-width:0}.markdown-body strong{font-weight:inherit}.markdown-body strong{font-weight:bolder}.markdown-body h1{font-size:2em;margin:.67em 0}.markdown-body img{border-style:none}.markdown-body svg:not(:root){overflow:hidden}.markdown-body code,.markdown-body kbd,.markdown-body pre{font-family:monospace,monospace;font-size:1em}.markdown-body hr{-webkit-box-sizing:content-box;box-sizing:content-box;height:0;overflow:visible}.markdown-body input{font:inherit;margin:0}.markdown-body input{overflow:visible}.markdown-body [type=checkbox]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}.markdown-body *{-webkit-box-sizing:border-box;box-sizing:border-box}.markdown-body input{font-family:inherit;font-size:inherit;line-height:inherit}.markdown-body a{color:#0366d6;text-decoration:none}.markdown-body a:hover{text-decoration:underline}.markdown-body strong{font-weight:600}.markdown-body hr{height:0;margin:15px 0;overflow:hidden;background:0 0;border:0;border-bottom:1px solid #dfe2e5}.markdown-body hr::before{display:table;content:""}.markdown-body hr::after{display:table;clear:both;content:""}.markdown-body table{border-spacing:0;border-collapse:collapse}.markdown-body td,.markdown-body th{padding:0}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:0;margin-bottom:0}.markdown-body h1{font-size:32px;font-weight:600}.markdown-body h2{font-size:24px;font-weight:600}.markdown-body h3{font-size:20px;font-weight:600}.markdown-body h4{font-size:16px;font-weight:600}.markdown-body h5{font-size:14px;font-weight:600}.markdown-body h6{font-size:12px;font-weight:600}.markdown-body p{margin-top:0;margin-bottom:10px}.markdown-body blockquote{margin:0}.markdown-body ol,.markdown-body ul{padding-left:0;margin-top:0;margin-bottom:0}.markdown-body ol ol,.markdown-body ul ol{list-style-type:lower-roman}.markdown-body ol ol ol,.markdown-body ol ul ol,.markdown-body ul ol ol,.markdown-body ul ul ol{list-style-type:lower-alpha}.markdown-body dd{margin-left:0}.markdown-body code{font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px}.markdown-body pre{margin-top:0;margin-bottom:0;font:12px SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace}.markdown-body .octicon{vertical-align:text-bottom}.markdown-body .pl-0{padding-left:0!important}.markdown-body .pl-1{padding-left:4px!important}.markdown-body .pl-2{padding-left:8px!important}.markdown-body .pl-3{padding-left:16px!important}.markdown-body .pl-4{padding-left:24px!important}.markdown-body .pl-5{padding-left:32px!important}.markdown-body .pl-6{padding-left:40px!important}.markdown-body::before{display:table;content:""}.markdown-body::after{display:table;clear:both;content:""}.markdown-body>:first-child{margin-top:0!important}.markdown-body>:last-child{margin-bottom:0!important}.markdown-body a:not([href]){color:inherit;text-decoration:none}.markdown-body .anchor{float:left;padding-right:4px;margin-left:-20px;line-height:1}.markdown-body .anchor:focus{outline:0}.markdown-body blockquote,.markdown-body dl,.markdown-body ol,.markdown-body p,.markdown-body pre,.markdown-body table,.markdown-body ul{margin-top:0;margin-bottom:16px}.markdown-body hr{height:.25em;padding:0;margin:24px 0;background-color:#e1e4e8;border:0}.markdown-body blockquote{padding:0 1em;color:#6a737d;border-left:.25em solid #dfe2e5}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.markdown-body kbd{display:inline-block;padding:3px 5px;font-size:11px;line-height:10px;color:#444d56;vertical-align:middle;background-color:#fafbfc;border:solid 1px #c6cbd1;border-bottom-color:#959da5;border-radius:3px;-webkit-box-shadow:inset 0 -1px 0 #959da5;box-shadow:inset 0 -1px 0 #959da5}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link{color:#1b1f23;vertical-align:middle;visibility:hidden}.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor{text-decoration:none}.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link{visibility:visible}.markdown-body h1{padding-bottom:.3em;font-size:2em;border-bottom:1px solid #eaecef}.markdown-body h2{padding-bottom:.3em;font-size:1.5em;border-bottom:1px solid #eaecef}.markdown-body h3{font-size:1.25em}.markdown-body h4{font-size:1em}.markdown-body h5{font-size:.875em}.markdown-body h6{font-size:.85em;color:#6a737d}.markdown-body ol,.markdown-body ul{padding-left:2em}.markdown-body ol ol,.markdown-body ol ul,.markdown-body ul ol,.markdown-body ul ul{margin-top:0;margin-bottom:0}.markdown-body li>p{margin-top:16px}.markdown-body li+li{margin-top:.25em}.markdown-body dl{padding:0}.markdown-body dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:600}.markdown-body dl dd{padding:0 16px;margin-bottom:16px}.markdown-body table{display:block;width:100%;overflow:auto}.markdown-body table th{font-weight:600}.markdown-body table td,.markdown-body table th{padding:6px 13px;border:1px solid #dfe2e5}.markdown-body table tr{background-color:#fff;border-top:1px solid #c6cbd1}.markdown-body table tr:nth-child(2n){background-color:#f6f8fa}.markdown-body img{max-width:100%;-webkit-box-sizing:content-box;box-sizing:content-box;background-color:#fff}.markdown-body code{padding:0;padding-top:.2em;padding-bottom:.2em;margin:0;font-size:85%;background-color:rgba(27,31,35,.05);border-radius:3px}.markdown-body code::after,.markdown-body code::before{letter-spacing:-.2em;content:"\A0"}.markdown-body pre{word-wrap:normal}.markdown-body pre>code{padding:0;margin:0;font-size:100%;word-break:normal;white-space:pre;background:0 0;border:0}.markdown-body .highlight{margin-bottom:16px}.markdown-body .highlight pre{margin-bottom:0;word-break:normal}.markdown-body .highlight pre,.markdown-body pre{padding:16px;overflow:auto;font-size:85%;line-height:1.45;background-color:#f6f8fa;border-radius:3px}.markdown-body pre code{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.markdown-body pre code::after,.markdown-body pre code::before{content:normal}.markdown-body .full-commit .btn-outline:not(:disabled):hover{color:#005cc5;border-color:#005cc5}.markdown-body kbd{display:inline-block;padding:3px 5px;font:11px SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;line-height:10px;color:#444d56;vertical-align:middle;background-color:#fafbfc;border:solid 1px #d1d5da;border-bottom-color:#c6cbd1;border-radius:3px;-webkit-box-shadow:inset 0 -1px 0 #c6cbd1;box-shadow:inset 0 -1px 0 #c6cbd1}.markdown-body :checked+.radio-label{position:relative;z-index:1;border-color:#0366d6}.markdown-body .task-list-item{list-style-type:none}.markdown-body .task-list-item+.task-list-item{margin-top:3px}.markdown-body .task-list-item input{margin:0 .2em .25em -1.6em;vertical-align:middle}.markdown-body hr{border-bottom-color:#eee}.gt-container{-webkit-box-sizing:border-box;box-sizing:border-box;font-size:16px}.gt-container *{-webkit-box-sizing:border-box;box-sizing:border-box}.gt-container a{color:#6190e8}.gt-container a:hover{color:#81a6ed;border-color:#81a6ed}.gt-container a.is--active{color:#333;cursor:default!important}.gt-container a.is--active:hover{color:#333}.gt-container .gt-svg{display:inline-block;width:1em;height:1em;vertical-align:sub}.gt-container .gt-svg svg{width:100%;height:100%;fill:#6190e8}.gt-container .gt-ico{display:inline-block}.gt-container .gt-ico-text{margin-left:.3125em}.gt-container .gt-ico-github .gt-svg{width:100%;height:100%}.gt-container .gt-ico-github svg{fill:inherit}.gt-container .gt-spinner{position:relative}.gt-container .gt-spinner::before{content:'';-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;top:3px;width:.75em;height:.75em;margin-top:-.1875em;margin-left:-.375em;border-radius:50%;border:1px solid #fff;border-top-color:#6190e8;-webkit-animation:gt-kf-rotate .6s linear infinite;animation:gt-kf-rotate .6s linear infinite}.gt-container .gt-loader{position:relative;border:1px solid #999;-webkit-animation:ease gt-kf-rotate 1.5s infinite;animation:ease gt-kf-rotate 1.5s infinite;display:inline-block;font-style:normal;width:1.75em;height:1.75em;line-height:1.75em;border-radius:50%}.gt-container .gt-loader:before{content:'';position:absolute;display:block;top:0;left:50%;margin-top:-.1875em;margin-left:-.1875em;width:.375em;height:.375em;background-color:#999;border-radius:50%}.gt-container .gt-avatar{display:inline-block;width:3.125em;height:3.125em}@media (max-width:479px){.gt-container .gt-avatar{width:2em;height:2em}}.gt-container .gt-avatar img{width:100%;height:auto;border-radius:3px}.gt-container .gt-avatar-github{width:3em;height:3em}@media (max-width:479px){.gt-container .gt-avatar-github{width:1.875em;height:1.875em}}.gt-container .gt-btn{padding:.75em 1em;display:inline-block;line-height:1;text-decoration:none;white-space:nowrap;cursor:pointer;border:none;border-radius:5px;background-color:#6190e8;color:#fff;outline:0;font-size:.75em}.gt-container .gt-btn:hover{background-color:#81a6ed;color:#fff}.gt-container .gt-btn-text{font-weight:400}.gt-container .gt-btn-loading{position:relative;margin-left:.5em;display:inline-block;width:.75em;height:1em;vertical-align:top}.gt-container .gt-btn.is--disable{cursor:not-allowed;opacity:.5}.gt-container .gt-btn-login{margin-right:0}.gt-container .gt-error{text-align:center;margin:.625em;color:#ff3860}.gt-container .gt-initing{padding:1.25em 0;text-align:center}.gt-container .gt-initing-text{margin:.625em auto;font-size:92%}.gt-container .gt-no-init{padding:1.25em 0;text-align:center}.gt-container .gt-link{border-bottom:1px dotted #6190e8}.gt-container .gt-link-counts,.gt-container .gt-link-project{text-decoration:none}.gt-container .gt-meta{margin:1.25em 0;padding:1em 0;position:relative;border-bottom:1px solid #e9e9e9;font-size:1em;position:relative;z-index:10}.gt-container .gt-meta:after,.gt-container .gt-meta:before{content:" ";display:table}.gt-container .gt-meta:after{clear:both}.gt-container .gt-counts{margin:0 .625em 0 0}.gt-container .gt-user{float:right;margin:0;font-size:92%}.gt-container .gt-user-pic{width:16px;height:16px;vertical-align:top;margin-right:.5em}.gt-container .gt-user-inner{display:inline-block;cursor:pointer}.gt-container .gt-user .gt-ico{margin:0 0 0 .3125em}.gt-container .gt-user .gt-ico svg{fill:inherit}.gt-container .gt-user .is--poping .gt-ico svg{fill:#6190e8}.gt-container .gt-version{color:#a1a1a1;margin-left:.375em}.gt-container .gt-copyright{margin:0 .9375em .5em;border-top:1px solid #e9e9e9;padding-top:.5em}.gt-container .gt-popup{position:absolute;right:0;top:2.375em;background:#fff;display:inline-block;border:1px solid #e9e9e9;padding:.625em 0;font-size:.875em;letter-spacing:.5px}.gt-container .gt-popup .gt-action{cursor:pointer;display:block;margin:.5em 0;padding:0 1.125em;position:relative;text-decoration:none}.gt-container .gt-popup .gt-action.is--active:before{content:'';width:.25em;height:.25em;background:#6190e8;position:absolute;left:.5em;top:.4375em}.gt-container .gt-header{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex}.gt-container .gt-header-comment{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-left:1.25em}@media (max-width:479px){.gt-container .gt-header-comment{margin-left:.875em}}.gt-container .gt-header-textarea{padding:.75em;display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;min-height:5.125em;max-height:15em;border-radius:5px;border:1px solid rgba(0,0,0,.1);font-size:.875em;word-wrap:break-word;resize:vertical;background-color:#f6f6f6;outline:0;-webkit-transition:all .25s ease;transition:all .25s ease}.gt-container .gt-header-textarea:hover{background-color:#fbfbfb}.gt-container .gt-header-controls{position:relative;margin:.75em 0 0}.gt-container .gt-header-controls:after,.gt-container .gt-header-controls:before{content:" ";display:table}.gt-container .gt-header-controls:after{clear:both}.gt-container .gt-header-controls-tip{font-size:.875em;color:#6190e8;text-decoration:none;vertical-align:sub}@media (max-width:479px){.gt-container .gt-header-controls-tip{display:none}}.gt-container .gt-header-controls .gt-btn{float:right}@media (max-width:479px){.gt-container .gt-header-controls .gt-btn{float:none;width:100%}}.gt-container:after{content:'';position:fixed;bottom:100%;left:0;right:0;top:0;opacity:0}.gt-container.gt-input-focused{position:relative}.gt-container.gt-input-focused:after{content:'';position:fixed;bottom:0;left:0;right:0;top:0;background:#000;opacity:.6;-webkit-transition:opacity .3s,bottom 0s;transition:opacity .3s,bottom 0s;z-index:9999}.gt-container.gt-input-focused .gt-header-comment{z-index:10000}.gt-container .gt-comments{padding-top:1.25em}.gt-container .gt-comments-null{text-align:center}.gt-container .gt-comments-controls{margin:1.25em 0;text-align:center}.gt-container .gt-comment{position:relative;padding:.625em 0;display:-webkit-box;display:-ms-flexbox;display:flex}.gt-container .gt-comment-content{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-left:1.25em;padding:.75em 1em;background-color:#f9f9f9;overflow:auto;-webkit-transition:all ease .25s;transition:all ease .25s}.gt-container .gt-comment-content:hover{-webkit-box-shadow:0 .625em 3.75em 0 #f4f4f4;box-shadow:0 .625em 3.75em 0 #f4f4f4}@media (max-width:479px){.gt-container .gt-comment-content{margin-left:.875em;padding:.625em .75em}}.gt-container .gt-comment-header{margin-bottom:.5em;font-size:.875em;position:relative}.gt-container .gt-comment-username{font-weight:500;color:#6190e8;text-decoration:none}.gt-container .gt-comment-username:hover{text-decoration:underline}.gt-container .gt-comment-text{margin-left:.5em;color:#a1a1a1}.gt-container .gt-comment-date{margin-left:.5em;color:#a1a1a1}.gt-container .gt-comment-edit,.gt-container .gt-comment-like,.gt-container .gt-comment-reply{position:absolute;height:1.375em}.gt-container .gt-comment-edit:hover,.gt-container .gt-comment-like:hover,.gt-container .gt-comment-reply:hover{cursor:pointer}.gt-container .gt-comment-like{top:0;right:2em}.gt-container .gt-comment-edit,.gt-container .gt-comment-reply{top:0;right:0}.gt-container .gt-comment-body{color:#333!important}.gt-container .gt-comment-admin .gt-comment-content{background-color:#f6f9fe}@-webkit-keyframes gt-kf-rotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes gt-kf-rotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}} diff --git a/themes/even/static/lib/gitalk/gitalk-1.2.2.min.js b/themes/even/static/lib/gitalk/gitalk-1.2.2.min.js new file mode 100644 index 0000000..1292428 --- /dev/null +++ b/themes/even/static/lib/gitalk/gitalk-1.2.2.min.js @@ -0,0 +1,19 @@ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Gitalk=t():e.Gitalk=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/dist",t(t.s=75)}([function(e,t){var n=e.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(39)("wks"),o=n(24),i=n(2).Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},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,n){"use strict";function r(e){return"[object Array]"===N.call(e)}function o(e){return"[object ArrayBuffer]"===N.call(e)}function i(e){return"undefined"!=typeof FormData&&e instanceof FormData}function a(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer}function u(e){return"string"==typeof e}function s(e){return"number"==typeof e}function c(e){return void 0===e}function l(e){return null!==e&&"object"==typeof e}function f(e){return"[object Date]"===N.call(e)}function p(e){return"[object File]"===N.call(e)}function d(e){return"[object Blob]"===N.call(e)}function h(e){return"[object Function]"===N.call(e)}function m(e){return l(e)&&h(e.pipe)}function v(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams}function g(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}function y(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)}function b(e,t){if(null!==e&&void 0!==e)if("object"==typeof e||r(e)||(e=[e]),r(e))for(var n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}function _(){function e(e,n){"object"==typeof t[n]&&"object"==typeof e?t[n]=_(t[n],e):t[n]=e}for(var t={},n=0,r=arguments.length;n<r;n++)b(arguments[n],e);return t}function w(e,t,n){return b(t,function(t,r){e[r]=n&&"function"==typeof t?x(t,n):t}),e}var x=n(68),E=n(164),N=Object.prototype.toString;e.exports={isArray:r,isArrayBuffer:o,isBuffer:E,isFormData:i,isArrayBufferView:a,isString:u,isNumber:s,isObject:l,isUndefined:c,isDate:f,isFile:p,isBlob:d,isFunction:h,isStream:m,isURLSearchParams:v,isStandardBrowserEnv:y,forEach:b,merge:_,extend:w,trim:g}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){function r(){return null}function o(e){var t=e.nodeName,n=e.attributes;e.attributes={},t.defaultProps&&w(e.attributes,t.defaultProps),n&&w(e.attributes,n)}function i(e,t){var n,r,o;if(t){for(o in t)if(n=W.test(o))break;if(n){r=e.attributes={};for(o in t)t.hasOwnProperty(o)&&(r[W.test(o)?o.replace(/([A-Z0-9])/,"-$1").toLowerCase():o]=t[o])}}}function a(e,t,n){var r=t&&t._preactCompatRendered&&t._preactCompatRendered.base;r&&r.parentNode!==t&&(r=null),r||(r=t.children[0]);for(var o=t.childNodes.length;o--;)t.childNodes[o]!==r&&t.removeChild(t.childNodes[o]);var i=G.render(e,t,r);return t&&(t._preactCompatRendered=i&&(i._component||{base:i})),"function"==typeof n&&n(),i&&i._component||i}function u(e,t,n,r){var o=G.h(J,{context:e.context},t),i=a(o,n);return r&&r(i),i._component||i.base}function s(e){var t=e._preactCompatRendered&&e._preactCompatRendered.base;return!(!t||t.parentNode!==e)&&(G.render(G.h(r),e,t),!0)}function c(e){return h.bind(null,e)}function l(e,t){for(var n=t||0;n<e.length;n++){var r=e[n];Array.isArray(r)?l(r):r&&"object"==typeof r&&!g(r)&&(r.props&&r.type||r.attributes&&r.nodeName||r.children)&&(e[n]=h(r.type||r.nodeName,r.props||r.attributes,r.children))}}function f(e){return"function"==typeof e&&!(e.prototype&&e.prototype.render)}function p(e){return C({displayName:e.displayName||e.name,render:function(){return e(this.props,this.context)}})}function d(e){var t=e[U];return t?!0===t?e:t:(t=p(e),Object.defineProperty(t,U,{configurable:!0,value:!0}),t.displayName=e.displayName,t.propTypes=e.propTypes,t.defaultProps=e.defaultProps,Object.defineProperty(e,U,{configurable:!0,value:t}),t)}function h(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return l(e,2),m(G.h.apply(void 0,e))}function m(e){e.preactCompatNormalized=!0,_(e),f(e.nodeName)&&(e.nodeName=d(e.nodeName));var t=e.attributes.ref,n=t&&typeof t;return!Z||"string"!==n&&"number"!==n||(e.attributes.ref=y(t,Z)),b(e),e}function v(e,t){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];if(!g(e))return e;var o=e.attributes||e.props,i=G.h(e.nodeName||e.type,o,e.children||o&&o.children),a=[i,t];return n&&n.length?a.push(n):t&&t.children&&a.push(t.children),m(G.cloneElement.apply(void 0,a))}function g(e){return e&&(e instanceof q||e.$$typeof===H)}function y(e,t){return t._refProxies[e]||(t._refProxies[e]=function(n){t&&t.refs&&(t.refs[e]=n,null===n&&(delete t._refProxies[e],t=null))})}function b(e){var t=e.nodeName,n=e.attributes;if(n&&"string"==typeof t){var r={};for(var o in n)r[o.toLowerCase()]=o;if(r.ondoubleclick&&(n.ondblclick=n[r.ondoubleclick],delete n[r.ondoubleclick]),r.onchange&&("textarea"===t||"input"===t.toLowerCase()&&!/^fil|che|rad/i.test(n.type))){var i=r.oninput||"oninput";n[i]||(n[i]=M([n[i],n[r.onchange]]),delete n[r.onchange])}}}function _(e){var t=e.attributes;if(t){var n=t.className||t.class;n&&(t.className=n)}}function w(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function x(e,t){for(var n in e)if(!(n in t))return!0;for(var r in t)if(e[r]!==t[r])return!0;return!1}function E(e){return e&&e.base||e}function N(){}function C(e){function t(e,t){T(this),I.call(this,e,t,Y),k.call(this,e,t)}return e=w({constructor:t},e),e.mixins&&O(e,S(e.mixins)),e.statics&&w(t,e.statics),e.propTypes&&(t.propTypes=e.propTypes),e.defaultProps&&(t.defaultProps=e.defaultProps),e.getDefaultProps&&(t.defaultProps=e.getDefaultProps()),N.prototype=I.prototype,t.prototype=w(new N,e),t.displayName=e.displayName||"Component",t}function S(e){for(var t={},n=0;n<e.length;n++){var r=e[n];for(var o in r)r.hasOwnProperty(o)&&"function"==typeof r[o]&&(t[o]||(t[o]=[])).push(r[o])}return t}function O(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=M(t[n].concat(e[n]||Q),"getDefaultProps"===n||"getInitialState"===n||"getChildContext"===n))}function T(e){for(var t in e){var n=e[t];"function"!=typeof n||n.__bound||X.hasOwnProperty(t)||((e[t]=n.bind(e)).__bound=!0)}}function A(e,t,n){if("string"==typeof t&&(t=e.constructor.prototype[t]),"function"==typeof t)return t.apply(e,n)}function M(e,t){return function(){for(var n,r=arguments,o=this,i=0;i<e.length;i++){var a=A(o,e[i],r);if(t&&null!=a){n||(n={});for(var u in a)a.hasOwnProperty(u)&&(n[u]=a[u])}else void 0!==a&&(n=a)}return n}}function k(e,t){P.call(this,e,t),this.componentWillReceiveProps=M([P,this.componentWillReceiveProps||"componentWillReceiveProps"]),this.render=M([P,j,this.render||"render",D])}function P(e,t){if(e){var n=e.children;if(n&&Array.isArray(n)&&1===n.length&&(e.children=n[0],e.children&&"object"==typeof e.children&&(e.children.length=1,e.children[0]=e.children)),V){var r="function"==typeof this?this:this.constructor,o=this.propTypes||r.propTypes,i=this.displayName||r.name;o&&F.a.checkPropTypes(o,e,"prop",i)}}}function j(e){Z=this}function D(){Z===this&&(Z=null)}function I(e,t,n){G.Component.call(this,e,t),this.state=this.getInitialState?this.getInitialState():{},this.refs={},this._refProxies={},n!==Y&&k.call(this,e,t)}function L(e,t){I.call(this,e,t)}n.d(t,"version",function(){return B}),n.d(t,"DOM",function(){return te}),n.d(t,"Children",function(){return ee}),n.d(t,"render",function(){return a}),n.d(t,"createClass",function(){return C}),n.d(t,"createFactory",function(){return c}),n.d(t,"createElement",function(){return h}),n.d(t,"cloneElement",function(){return v}),n.d(t,"isValidElement",function(){return g}),n.d(t,"findDOMNode",function(){return E}),n.d(t,"unmountComponentAtNode",function(){return s}),n.d(t,"Component",function(){return I}),n.d(t,"PureComponent",function(){return L}),n.d(t,"unstable_renderSubtreeIntoContainer",function(){return u});var R=n(79),F=n.n(R),G=n(83);n.n(G);n.d(t,"PropTypes",function(){return F.a});var B="15.1.0",z="a abbr address area article aside audio b base bdi bdo big blockquote body br button canvas caption cite code col colgroup data datalist dd del details dfn dialog div dl dt em embed fieldset figcaption figure footer form h1 h2 h3 h4 h5 h6 head header hgroup hr html i iframe img input ins kbd keygen label legend li link main map mark menu menuitem meta meter nav noscript object ol optgroup option output p param picture pre progress q rp rt ruby s samp script section select small source span strong style sub summary sup table tbody td textarea tfoot th thead time title tr track u ul var video wbr circle clipPath defs ellipse g image line linearGradient mask path pattern polygon polyline radialGradient rect stop svg text tspan".split(" "),H="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,U="undefined"!=typeof Symbol?Symbol.for("__preactCompatWrapper"):"__preactCompatWrapper",X={constructor:1,render:1,shouldComponentUpdate:1,componentWillReceiveProps:1,componentWillUpdate:1,componentDidUpdate:1,componentWillMount:1,componentDidMount:1,componentWillUnmount:1,componentDidUnmount:1},W=/^(?:accent|alignment|arabic|baseline|cap|clip|color|fill|flood|font|glyph|horiz|marker|overline|paint|stop|strikethrough|stroke|text|underline|unicode|units|v|vert|word|writing|x)[A-Z]/,Y={},V=void 0===e||!e.env||"production"!==e.env.NODE_ENV,q=G.h("a",null).constructor;q.prototype.$$typeof=H,q.prototype.preactCompatUpgraded=!1,q.prototype.preactCompatNormalized=!1,Object.defineProperty(q.prototype,"type",{get:function(){return this.nodeName},set:function(e){this.nodeName=e},configurable:!0}),Object.defineProperty(q.prototype,"props",{get:function(){return this.attributes},set:function(e){this.attributes=e},configurable:!0});var $=G.options.event;G.options.event=function(e){return $&&(e=$(e)),e.persist=Object,e.nativeEvent=e,e};var K=G.options.vnode;G.options.vnode=function(e){if(!e.preactCompatUpgraded){e.preactCompatUpgraded=!0;var t=e.nodeName,n=e.attributes=w({},e.attributes);"function"==typeof t?(!0===t[U]||t.prototype&&"isReactComponent"in t.prototype)&&(e.children&&""===String(e.children)&&(e.children=void 0),e.children&&(n.children=e.children),e.preactCompatNormalized||m(e),o(e)):(e.children&&""===String(e.children)&&(e.children=void 0),e.children&&(n.children=e.children),n.defaultValue&&(n.value||0===n.value||(n.value=n.defaultValue),delete n.defaultValue),i(e,n))}K&&K(e)};var J=function(){};J.prototype.getChildContext=function(){return this.props.context},J.prototype.render=function(e){return e.children[0]};for(var Z,Q=[],ee={map:function(e,t,n){return null==e?null:(e=ee.toArray(e),n&&n!==e&&(t=t.bind(n)),e.map(t))},forEach:function(e,t,n){if(null==e)return null;e=ee.toArray(e),n&&n!==e&&(t=t.bind(n)),e.forEach(t)},count:function(e){return e&&e.length||0},only:function(e){if(e=ee.toArray(e),1!==e.length)throw new Error("Children.only() expects only one child.");return e[0]},toArray:function(e){return null==e?[]:Array.isArray&&Array.isArray(e)?e:Q.concat(e)}},te={},ne=z.length;ne--;)te[z[ne]]=c(z[ne]);w(I.prototype=new G.Component,{constructor:I,isReactComponent:{},replaceState:function(e,t){var n=this;this.setState(e,t);for(var r in n.state)r in e||delete n.state[r]},getDOMNode:function(){return this.base},isMounted:function(){return!!this.base}}),N.prototype=I.prototype,L.prototype=new N,L.prototype.isPureReactComponent=!0,L.prototype.shouldComponentUpdate=function(e,t){return x(this.props,e)||x(this.state,t)};var re={version:B,DOM:te,PropTypes:F.a,Children:ee,render:a,createClass:C,createFactory:c,createElement:h,cloneElement:v,isValidElement:g,findDOMNode:E,unmountComponentAtNode:s,Component:I,PureComponent:L,unstable_renderSubtreeIntoContainer:u};t.default=re}.call(t,n(5))},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(e){if(l===setTimeout)return setTimeout(e,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(e,0);try{return l(e,0)}catch(t){try{return l.call(null,e,0)}catch(t){return l.call(this,e,0)}}}function i(e){if(f===clearTimeout)return clearTimeout(e);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function a(){m&&d&&(m=!1,d.length?h=d.concat(h):v=-1,h.length&&u())}function u(){if(!m){var e=o(a);m=!0;for(var t=h.length;t;){for(d=h,h=[];++v<t;)d&&d[v].run();v=-1,t=h.length}d=null,m=!1,i(e)}}function s(e,t){this.fun=e,this.array=t}function c(){}var l,f,p=e.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:n}catch(e){l=n}try{f="function"==typeof clearTimeout?clearTimeout:r}catch(e){f=r}}();var d,h=[],m=!1,v=-1;p.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];h.push(new s(e,t)),1!==h.length||m||o(u)},s.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=c,p.addListener=c,p.once=c,p.off=c,p.removeListener=c,p.removeAllListeners=c,p.emit=c,p.prependListener=c,p.prependOnceListener=c,p.listeners=function(e){return[]},p.binding=function(e){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(e){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},function(e,t,n){var r=n(2),o=n(0),i=n(13),a=n(10),u=function(e,t,n){var s,c,l,f=e&u.F,p=e&u.G,d=e&u.S,h=e&u.P,m=e&u.B,v=e&u.W,g=p?o:o[t]||(o[t]={}),y=g.prototype,b=p?r:d?r[t]:(r[t]||{}).prototype;p&&(n=t);for(s in n)(c=!f&&b&&void 0!==b[s])&&s in g||(l=c?b[s]:n[s],g[s]=p&&"function"!=typeof b[s]?n[s]:m&&c?i(l,r):v&&b[s]==l?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.prototype=e.prototype,t}(l):h&&"function"==typeof l?i(Function.call,l):l,h&&((g.virtual||(g.virtual={}))[s]=l,e&u.R&&y&&!y[s]&&a(y,s,l)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},function(e,t,n){var r=n(8),o=n(50),i=n(30),a=Object.defineProperty;t.f=n(9)?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(14);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(15)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(7),o=n(19);e.exports=n(9)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(56),o=n(35);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(28);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){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){e.exports={}},function(e,t,n){var r=n(55),o=n(40);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){function r(e,t){if(l(e))return new Date(e.getTime());if("string"!=typeof e)return new Date(e);var n=t||{},r=n.additionalDigits;r=null==r?d:Number(r);var c=o(e),f=i(c.date,r),h=f.year,m=f.restDateString,v=a(m,h);if(v){var g,y=v.getTime(),b=0;return c.time&&(b=u(c.time)),c.timezone?g=s(c.timezone):(g=new Date(y+b).getTimezoneOffset(),g=new Date(y+b+g*p).getTimezoneOffset()),new Date(y+b+g*p)}return new Date(e)}function o(e){var t,n={},r=e.split(h);if(m.test(r[0])?(n.date=null,t=r[0]):(n.date=r[0],t=r[1]),t){var o=T.exec(t);o?(n.time=t.replace(o[1],""),n.timezone=o[1]):n.time=t}return n}function i(e,t){var n,r=g[t],o=b[t];if(n=y.exec(e)||o.exec(e)){var i=n[1];return{year:parseInt(i,10),restDateString:e.slice(i.length)}}if(n=v.exec(e)||r.exec(e)){var a=n[1];return{year:100*parseInt(a,10),restDateString:e.slice(a.length)}}return{year:null}}function a(e,t){if(null===t)return null;var n,r,o,i;if(0===e.length)return r=new Date(0),r.setUTCFullYear(t),r;if(n=_.exec(e))return r=new Date(0),o=parseInt(n[1],10)-1,r.setUTCFullYear(t,o),r;if(n=w.exec(e)){r=new Date(0);var a=parseInt(n[1],10);return r.setUTCFullYear(t,0,a),r}if(n=x.exec(e)){r=new Date(0),o=parseInt(n[1],10)-1;var u=parseInt(n[2],10);return r.setUTCFullYear(t,o,u),r}if(n=E.exec(e))return i=parseInt(n[1],10)-1,c(t,i);if(n=N.exec(e)){i=parseInt(n[1],10)-1;return c(t,i,parseInt(n[2],10)-1)}return null}function u(e){var t,n,r;if(t=C.exec(e))return(n=parseFloat(t[1].replace(",",".")))%24*f;if(t=S.exec(e))return n=parseInt(t[1],10),r=parseFloat(t[2].replace(",",".")),n%24*f+r*p;if(t=O.exec(e)){n=parseInt(t[1],10),r=parseInt(t[2],10);var o=parseFloat(t[3].replace(",","."));return n%24*f+r*p+1e3*o}return null}function s(e){var t,n;return(t=A.exec(e))?0:(t=M.exec(e))?(n=60*parseInt(t[2],10),"+"===t[1]?-n:n):(t=k.exec(e),t?(n=60*parseInt(t[2],10)+parseInt(t[3],10),"+"===t[1]?-n:n):0)}function c(e,t,n){t=t||0,n=n||0;var r=new Date(0);r.setUTCFullYear(e,0,4);var o=r.getUTCDay()||7,i=7*t+n+1-o;return r.setUTCDate(r.getUTCDate()+i),r}var l=n(195),f=36e5,p=6e4,d=2,h=/[T ]/,m=/:/,v=/^(\d{2})$/,g=[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],y=/^(\d{4})/,b=[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],_=/^-(\d{2})$/,w=/^-?(\d{3})$/,x=/^-?(\d{2})-?(\d{2})$/,E=/^-?W(\d{2})$/,N=/^-?W(\d{2})-?(\d{1})$/,C=/^(\d{2}([.,]\d*)?)$/,S=/^(\d{2}):?(\d{2}([.,]\d*)?)$/,O=/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,T=/([Z+-].*)$/,A=/^(Z)$/,M=/^([+-])(\d{2})$/,k=/^([+-])(\d{2}):?(\d{2})$/;e.exports=r},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){"use strict";var r=n(91)(!0);n(53)(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){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(35);e.exports=function(e){return Object(r(e))}},function(e,t){e.exports=!0},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,n){var r=n(7).f,o=n(11),i=n(1)("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){n(96);for(var r=n(2),o=n(10),i=n(16),a=n(1)("toStringTag"),u=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],s=0;s<5;s++){var c=u[s],l=r[c],f=l&&l.prototype;f&&!f[a]&&o(f,a,c),i[c]=i.Array}},function(e,t){t.f={}.propertyIsEnumerable},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(14),o=n(2).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(14);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,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){"use strict";(function(t){function n(e,t,n,o,i,a,u,s){if(r(t),!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,o,i,a,u,s],f=0;c=new Error(t.replace(/%s/g,function(){return l[f++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}}var r=function(e){};"production"!==t.env.NODE_ENV&&(r=function(e){if(void 0===e)throw new Error("invariant requires an error message argument")}),e.exports=n}).call(t,n(5))},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},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){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(8),o=n(93),i=n(40),a=n(38)("IE_PROTO"),u=function(){},s=function(){var e,t=n(29)("iframe"),r=i.length;for(t.style.display="none",n(57).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),s=e.F;r--;)delete s.prototype[i[r]];return s()};e.exports=Object.create||function(e,t){var n;return null!==e?(u.prototype=r(e),n=new u,u.prototype=null,n[a]=e):n=s(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(34),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(39)("keys"),o=n(24);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t,n){var r=n(2),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});e.exports=function(e){return o[e]||(o[e]={})}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(21),o=n(1)("toStringTag"),i="Arguments"==r(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,u;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=a(t=Object(e),o))?n:i?r(t):"Object"==(u=r(t))&&"function"==typeof t.callee?"Arguments":u}},function(e,t,n){var r=n(41),o=n(1)("iterator"),i=n(16);e.exports=n(0).getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){t.f=n(1)},function(e,t,n){var r=n(2),o=n(0),i=n(23),a=n(44),u=n(7).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||u(t,e,{value:a.f(e)})}},function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n={};return Object.keys(e).forEach(function(r){-1===t.indexOf(r)&&(n[r]=e[r])}),n}function o(e,t){if(e===t)return!0;var n=!Array.isArray(e)||!Array.isArray(t),r=e.length!==t.length;return!n&&!r&&e.every(function(e,n){return e===t[n]})}Object.defineProperty(t,"__esModule",{value:!0}),t.omit=r,t.arraysEqual=o;t.isElementAnSFC=function(e){return!("string"==typeof e.type||e.type.prototype.isReactComponent)},t.hyphenate=function(e){var t={};return function(n){return t[n]||(t[n]=e(n)),t[n]}}(function(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()})},function(e,t,n){"use strict";(function(t){function r(e,t){!o.isUndefined(e)&&o.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var o=n(3),i=n(166),a={"Content-Type":"application/x-www-form-urlencoded"},u={adapter:function(){var e;return"undefined"!=typeof XMLHttpRequest?e=n(69):void 0!==t&&(e=n(69)),e}(),transformRequest:[function(e,t){return i(t,"Content-Type"),o.isFormData(e)||o.isArrayBuffer(e)||o.isBuffer(e)||o.isStream(e)||o.isFile(e)||o.isBlob(e)?e:o.isArrayBufferView(e)?e.buffer:o.isURLSearchParams(e)?(r(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):o.isObject(e)?(r(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300}};u.headers={common:{Accept:"application/json, text/plain, */*"}},o.forEach(["delete","get","head"],function(e){u.headers[e]={}}),o.forEach(["post","put","patch"],function(e){u.headers[e]=o.merge(a)}),e.exports=u}).call(t,n(5))},function(e,t,n){"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";t.__esModule=!0;var r=n(76),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,o.default)(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()},function(e,t,n){e.exports=!n(9)&&!n(15)(function(){return 7!=Object.defineProperty(n(29)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){"use strict";(function(t){var r=n(31),o=r;"production"!==t.env.NODE_ENV&&function(){var e=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=0,i="Warning: "+e.replace(/%s/g,function(){return n[o++]});"undefined"!=typeof console&&console.error(i);try{throw new Error(i)}catch(e){}};o=function(t,n){if(void 0===n)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==n.indexOf("Failed Composite propType: ")&&!t){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];e.apply(void 0,[n].concat(o))}}}(),e.exports=o}).call(t,n(5))},function(e,t){},function(e,t,n){"use strict";var r=n(23),o=n(6),i=n(54),a=n(10),u=n(11),s=n(16),c=n(92),l=n(25),f=n(58),p=n(1)("iterator"),d=!([].keys&&"next"in[].keys()),h=function(){return this};e.exports=function(e,t,n,m,v,g,y){c(n,t,m);var b,_,w,x=function(e){if(!d&&e in S)return S[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},E=t+" Iterator",N="values"==v,C=!1,S=e.prototype,O=S[p]||S["@@iterator"]||v&&S[v],T=O||x(v),A=v?N?x("entries"):T:void 0,M="Array"==t?S.entries||O:O;if(M&&(w=f(M.call(new e)))!==Object.prototype&&(l(w,E,!0),r||u(w,p)||a(w,p,h)),N&&O&&"values"!==O.name&&(C=!0,T=function(){return O.call(this)}),r&&!y||!d&&!C&&S[p]||a(S,p,T),s[t]=T,s[E]=h,v)if(b={values:N?T:x("values"),keys:g?T:x("keys"),entries:A},y)for(_ in b)_ in S||i(S,_,b[_]);else o(o.P+o.F*(d||C),t,b);return b}},function(e,t,n){e.exports=n(10)},function(e,t,n){var r=n(11),o=n(12),i=n(94)(!1),a=n(38)("IE_PROTO");e.exports=function(e,t){var n,u=o(e),s=0,c=[];for(n in u)n!=a&&r(u,n)&&c.push(n);for(;t.length>s;)r(u,n=t[s++])&&(~i(c,n)||c.push(n));return c}},function(e,t,n){var r=n(21);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){e.exports=n(2).document&&document.documentElement},function(e,t,n){var r=n(11),o=n(22),i=n(38)("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){var r=n(8);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r=n(16),o=n(1)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},function(e,t,n){var r,o,i,a=n(13),u=n(103),s=n(57),c=n(29),l=n(2),f=l.process,p=l.setImmediate,d=l.clearImmediate,h=l.MessageChannel,m=0,v={},g=function(){var e=+this;if(v.hasOwnProperty(e)){var t=v[e];delete v[e],t()}},y=function(e){g.call(e.data)};p&&d||(p=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return v[++m]=function(){u("function"==typeof e?e:Function(e),t)},r(m),m},d=function(e){delete v[e]},"process"==n(21)(f)?r=function(e){f.nextTick(a(g,e,1))}:h?(o=new h,i=o.port2,o.port1.onmessage=y,r=a(i.postMessage,i,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(e){l.postMessage(e+"","*")},l.addEventListener("message",y,!1)):r="onreadystatechange"in c("script")?function(e){s.appendChild(c("script")).onreadystatechange=function(){s.removeChild(this),g.call(e)}}:function(e){setTimeout(a(g,e,1),0)}),e.exports={set:p,clear:d}},function(e,t,n){var r=n(1)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},e(i)}catch(e){}return n}},function(e,t,n){var r=n(6),o=n(0),i=n(15);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){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(115),i=r(o),a=n(117),u=r(a),s="function"==typeof u.default&&"symbol"==typeof i.default?function(e){return typeof e}:function(e){return e&&"function"==typeof u.default&&e.constructor===u.default&&e!==u.default.prototype?"symbol":typeof e};t.default="function"==typeof u.default&&"symbol"===s(i.default)?function(e){return void 0===e?"undefined":s(e)}:function(e){return e&&"function"==typeof u.default&&e.constructor===u.default&&e!==u.default.prototype?"symbol":void 0===e?"undefined":s(e)}},function(e,t,n){var r=n(55),o=n(40).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){var r=n(27),o=n(19),i=n(12),a=n(30),u=n(11),s=n(50),c=Object.getOwnPropertyDescriptor;t.f=n(9)?c:function(e,t){if(e=i(e),t=a(t,!0),s)try{return c(e,t)}catch(e){}if(u(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.hasClassInParent=t.formatErrorMsg=t.getMetaContent=t.axiosGithub=t.axiosJSON=t.queryStringify=t.queryParse=void 0;var o=n(152),i=r(o),a=n(155),u=r(a),s=n(162),c=r(s);t.queryParse=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.search;if(!e)return{};var t="?"===e[0]?e.substring(1):e,n={};return t.split("&").forEach(function(e){var t=e.split("="),r=(0,u.default)(t,2),o=r[0],i=r[1];o&&(n[decodeURIComponent(o)]=decodeURIComponent(i))}),n},t.queryStringify=function(e){return(0,i.default)(e).map(function(t){return t+"="+encodeURIComponent(e[t]||"")}).join("&")},t.axiosJSON=c.default.create({headers:{Accept:"application/json"}}),t.axiosGithub=c.default.create({baseURL:"https://api.github.com",headers:{Accept:"application/json"}}),t.getMetaContent=function(e,t){t||(t="content");var n=document.querySelector("meta[name='"+e+"']");return n&&n.getAttribute(t)},t.formatErrorMsg=function(e){var t="Error: ";return e.response&&e.response.data&&e.response.data.message?(t+=e.response.data.message+". ",e.response.data.errors&&(t+=e.response.data.errors.map(function(e){return e.message}).join(", "))):t+=e.message,t},t.hasClassInParent=function e(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var i=!1;if(void 0===t.className)return!1;var a=t.className.split(" ");return r.forEach(function(e,t){i=i||a.indexOf(e)>=0}),i||t.parentNode&&e(t.parentNode,r)}},function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},function(e,t,n){"use strict";(function(t){var r=n(3),o=n(167),i=n(169),a=n(170),u=n(171),s=n(70),c="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n(172);e.exports=function(e){return new Promise(function(l,f){var p=e.data,d=e.headers;r.isFormData(p)&&delete d["Content-Type"];var h=new XMLHttpRequest,m="onreadystatechange",v=!1;if("test"===t.env.NODE_ENV||"undefined"==typeof window||!window.XDomainRequest||"withCredentials"in h||u(e.url)||(h=new window.XDomainRequest,m="onload",v=!0,h.onprogress=function(){},h.ontimeout=function(){}),e.auth){var g=e.auth.username||"",y=e.auth.password||"";d.Authorization="Basic "+c(g+":"+y)}if(h.open(e.method.toUpperCase(),i(e.url,e.params,e.paramsSerializer),!0),h.timeout=e.timeout,h[m]=function(){if(h&&(4===h.readyState||v)&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var t="getAllResponseHeaders"in h?a(h.getAllResponseHeaders()):null,n=e.responseType&&"text"!==e.responseType?h.response:h.responseText,r={data:n,status:1223===h.status?204:h.status,statusText:1223===h.status?"No Content":h.statusText,headers:t,config:e,request:h};o(l,f,r),h=null}},h.onerror=function(){f(s("Network Error",e,null,h)),h=null},h.ontimeout=function(){f(s("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",h)),h=null},r.isStandardBrowserEnv()){var b=n(173),_=(e.withCredentials||u(e.url))&&e.xsrfCookieName?b.read(e.xsrfCookieName):void 0;_&&(d[e.xsrfHeaderName]=_)}if("setRequestHeader"in h&&r.forEach(d,function(e,t){void 0===p&&"content-type"===t.toLowerCase()?delete d[t]:h.setRequestHeader(t,e)}),e.withCredentials&&(h.withCredentials=!0),e.responseType)try{h.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&h.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){h&&(h.abort(),f(e),h=null)}),void 0===p&&(p=null),h.send(p)})}}).call(t,n(5))},function(e,t,n){"use strict";var r=n(168);e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e){var t=e.src,n=e.className;return o.default.createElement("div",{className:"gt-avatar "+n},o.default.createElement("img",{src:t,alt:"头像"}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e){var t=e.className,r=e.text,i=e.name;return o.default.createElement("span",{className:"gt-ico "+t},o.default.createElement("span",{className:"gt-svg",dangerouslySetInnerHTML:{__html:n(184)("./"+i+".svg")}}),r&&o.default.createElement("span",{className:"gt-ico-text"},r))}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var o=n(48),i=r(o),a=n(49),u=r(a),s=n(4),c=r(s),l=n(4);n(84);var f=n(88),p=r(f),d=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,i.default)(this,e),this.options=t}return(0,u.default)(e,[{key:"render",value:function(e){var t=null;if(!(e=e||this.options.container))throw new Error("Container is required: "+e);if(e instanceof HTMLElement)t=e;else if(!(t=document.getElementById(e)))throw new Error("Container not found, document.getElementById: "+e);return(0,l.render)(c.default.createElement(p.default,{options:this.options}),t)}}]),e}();e.exports=d},function(e,t,n){e.exports={default:n(77),__esModule:!0}},function(e,t,n){n(78);var r=n(0).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(6);r(r.S+r.F*!n(9),"Object",{defineProperty:n(7).f})},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV){var r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,o=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r};e.exports=n(80)(o,!0)}else e.exports=n(82)()}).call(t,n(5))},function(e,t,n){"use strict";(function(t){var r=n(31),o=n(32),i=n(51),a=n(33),u=n(81);e.exports=function(e,n){function s(e){var t=e&&(C&&e[C]||e[S]);if("function"==typeof t)return t}function c(e,t){return e===t?0!==e||1/e==1/t:e!==e&&t!==t}function l(e){this.message=e,this.stack=""}function f(e){function r(r,c,f,p,d,h,m){if(p=p||O,h=h||f,m!==a)if(n)o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");else if("production"!==t.env.NODE_ENV&&"undefined"!=typeof console){var v=p+":"+f;!u[v]&&s<3&&(i(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",h,p),u[v]=!0,s++)}return null==c[f]?r?new l(null===c[f]?"The "+d+" `"+h+"` is marked as required in `"+p+"`, but its value is `null`.":"The "+d+" `"+h+"` is marked as required in `"+p+"`, but its value is `undefined`."):null:e(c,f,p,d,h)}if("production"!==t.env.NODE_ENV)var u={},s=0;var c=r.bind(null,!1);return c.isRequired=r.bind(null,!0),c}function p(e){function t(t,n,r,o,i,a){var u=t[n];if(w(u)!==e)return new l("Invalid "+o+" `"+i+"` of type `"+x(u)+"` supplied to `"+r+"`, expected `"+e+"`.");return null}return f(t)}function d(e){function t(t,n,r,o,i){if("function"!=typeof e)return new l("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var u=t[n];if(!Array.isArray(u)){return new l("Invalid "+o+" `"+i+"` of type `"+w(u)+"` supplied to `"+r+"`, expected an array.")}for(var s=0;s<u.length;s++){var c=e(u,s,r,o,i+"["+s+"]",a);if(c instanceof Error)return c}return null}return f(t)}function h(e){function t(t,n,r,o,i){if(!(t[n]instanceof e)){var a=e.name||O;return new l("Invalid "+o+" `"+i+"` of type `"+N(t[n])+"` supplied to `"+r+"`, expected instance of `"+a+"`.")}return null}return f(t)}function m(e){function n(t,n,r,o,i){for(var a=t[n],u=0;u<e.length;u++)if(c(a,e[u]))return null;return new l("Invalid "+o+" `"+i+"` of value `"+a+"` supplied to `"+r+"`, expected one of "+JSON.stringify(e)+".")}return Array.isArray(e)?f(n):("production"!==t.env.NODE_ENV&&i(!1,"Invalid argument supplied to oneOf, expected an instance of array."),r.thatReturnsNull)}function v(e){function t(t,n,r,o,i){if("function"!=typeof e)return new l("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var u=t[n],s=w(u);if("object"!==s)return new l("Invalid "+o+" `"+i+"` of type `"+s+"` supplied to `"+r+"`, expected an object.");for(var c in u)if(u.hasOwnProperty(c)){var f=e(u,c,r,o,i+"."+c,a);if(f instanceof Error)return f}return null}return f(t)}function g(e){function n(t,n,r,o,i){for(var u=0;u<e.length;u++){if(null==(0,e[u])(t,n,r,o,i,a))return null}return new l("Invalid "+o+" `"+i+"` supplied to `"+r+"`.")}if(!Array.isArray(e))return"production"!==t.env.NODE_ENV&&i(!1,"Invalid argument supplied to oneOfType, expected an instance of array."),r.thatReturnsNull;for(var o=0;o<e.length;o++){var u=e[o];if("function"!=typeof u)return i(!1,"Invalid argument supplid to oneOfType. Expected an array of check functions, but received %s at index %s.",E(u),o),r.thatReturnsNull}return f(n)}function y(e){function t(t,n,r,o,i){var u=t[n],s=w(u);if("object"!==s)return new l("Invalid "+o+" `"+i+"` of type `"+s+"` supplied to `"+r+"`, expected `object`.");for(var c in e){var f=e[c];if(f){var p=f(u,c,r,o,i+"."+c,a);if(p)return p}}return null}return f(t)}function b(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(b);if(null===t||e(t))return!0;var n=s(t);if(!n)return!1;var r,o=n.call(t);if(n!==t.entries){for(;!(r=o.next()).done;)if(!b(r.value))return!1}else for(;!(r=o.next()).done;){var i=r.value;if(i&&!b(i[1]))return!1}return!0;default:return!1}}function _(e,t){return"symbol"===e||("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}function w(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":_(t,e)?"symbol":t}function x(e){if(void 0===e||null===e)return""+e;var t=w(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function E(e){var t=x(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}function N(e){return e.constructor&&e.constructor.name?e.constructor.name:O}var C="function"==typeof Symbol&&Symbol.iterator,S="@@iterator",O="<<anonymous>>",T={array:p("array"),bool:p("boolean"),func:p("function"),number:p("number"),object:p("object"),string:p("string"),symbol:p("symbol"),any:function(){return f(r.thatReturnsNull)}(),arrayOf:d,element:function(){function t(t,n,r,o,i){var a=t[n];if(!e(a)){return new l("Invalid "+o+" `"+i+"` of type `"+w(a)+"` supplied to `"+r+"`, expected a single ReactElement.")}return null}return f(t)}(),instanceOf:h,node:function(){function e(e,t,n,r,o){return b(e[t])?null:new l("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")}return f(e)}(),objectOf:v,oneOf:m,oneOfType:g,shape:y};return l.prototype=Error.prototype,T.checkPropTypes=u,T.PropTypes=T,T}}).call(t,n(5))},function(e,t,n){"use strict";(function(t){function r(e,n,r,s,c){if("production"!==t.env.NODE_ENV)for(var l in e)if(e.hasOwnProperty(l)){var f;try{o("function"==typeof e[l],"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",s||"React class",r,l),f=e[l](n,l,s,r,null,a)}catch(e){f=e}if(i(!f||f instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",s||"React class",r,l,typeof f),f instanceof Error&&!(f.message in u)){u[f.message]=!0;var p=c?c():"";i(!1,"Failed %s type: %s%s",r,f.message,null!=p?p:"")}}}if("production"!==t.env.NODE_ENV)var o=n(32),i=n(51),a=n(33),u={};e.exports=r}).call(t,n(5))},function(e,t,n){"use strict";var r=n(31),o=n(32),i=n(33);e.exports=function(){function e(e,t,n,r,a,u){u!==i&&o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){!function(){"use strict";function t(){}function n(e,n){var r,o,i,a,u=j;for(a=arguments.length;a-- >2;)P.push(arguments[a]);for(n&&null!=n.children&&(P.length||P.push(n.children),delete n.children);P.length;)if((o=P.pop())&&void 0!==o.pop)for(a=o.length;a--;)P.push(o[a]);else!0!==o&&!1!==o||(o=null),(i="function"!=typeof e)&&(null==o?o="":"number"==typeof o?o=String(o):"string"!=typeof o&&(i=!1)),i&&r?u[u.length-1]+=o:u===j?u=[o]:u.push(o),r=i;var s=new t;return s.nodeName=e,s.children=u,s.attributes=null==n?void 0:n,s.key=null==n?void 0:n.key,void 0!==k.vnode&&k.vnode(s),s}function r(e,t){for(var n in t)e[n]=t[n];return e}function o(e,t){return n(e.nodeName,r(r({},e.attributes),t),arguments.length>2?[].slice.call(arguments,2):e.children)}function i(e){!e.__d&&(e.__d=!0)&&1==I.push(e)&&(k.debounceRendering||setTimeout)(a)}function a(){var e,t=I;for(I=[];e=t.pop();)e.__d&&S(e)}function u(e,t,n){return"string"==typeof t||"number"==typeof t?void 0!==e.splitText:"string"==typeof t.nodeName?!e._componentConstructor&&s(e,t.nodeName):n||e._componentConstructor===t.nodeName}function s(e,t){return e.__n===t||e.nodeName.toLowerCase()===t.toLowerCase()}function c(e){var t=r({},e.attributes);t.children=e.children;var n=e.nodeName.defaultProps;if(void 0!==n)for(var o in n)void 0===t[o]&&(t[o]=n[o]);return t}function l(e,t){var n=t?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e);return n.__n=e,n}function f(e){e.parentNode&&e.parentNode.removeChild(e)}function p(e,t,n,r,o){if("className"===t&&(t="class"),"key"===t);else if("ref"===t)n&&n(null),r&&r(e);else if("class"!==t||o)if("style"===t){if(r&&"string"!=typeof r&&"string"!=typeof n||(e.style.cssText=r||""),r&&"object"==typeof r){if("string"!=typeof n)for(var i in n)i in r||(e.style[i]="");for(var i in r)e.style[i]="number"==typeof r[i]&&!1===D.test(i)?r[i]+"px":r[i]}}else if("dangerouslySetInnerHTML"===t)r&&(e.innerHTML=r.__html||"");else if("o"==t[0]&&"n"==t[1]){var a=t!==(t=t.replace(/Capture$/,""));t=t.toLowerCase().substring(2),r?n||e.addEventListener(t,h,a):e.removeEventListener(t,h,a),(e.__l||(e.__l={}))[t]=r}else if("list"!==t&&"type"!==t&&!o&&t in e)d(e,t,null==r?"":r),null!=r&&!1!==r||e.removeAttribute(t);else{var u=o&&t!==(t=t.replace(/^xlink\:?/,""));null==r||!1===r?u?e.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):e.removeAttribute(t):"function"!=typeof r&&(u?e.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),r):e.setAttribute(t,r))}else e.className=r||""}function d(e,t,n){try{e[t]=n}catch(e){}}function h(e){return this.__l[e.type](k.event&&k.event(e)||e)}function m(){for(var e;e=L.pop();)k.afterMount&&k.afterMount(e),e.componentDidMount&&e.componentDidMount()}function v(e,t,n,r,o,i){R++||(F=null!=o&&void 0!==o.ownerSVGElement,G=null!=e&&!("__preactattr_"in e));var a=g(e,t,n,r,i);return o&&a.parentNode!==o&&o.appendChild(a),--R||(G=!1,i||m()),a}function g(e,t,n,r,o){var i=e,a=F;if(null==t&&(t=""),"string"==typeof t)return e&&void 0!==e.splitText&&e.parentNode&&(!e._component||o)?e.nodeValue!=t&&(e.nodeValue=t):(i=document.createTextNode(t),e&&(e.parentNode&&e.parentNode.replaceChild(i,e),b(e,!0))),i.__preactattr_=!0,i;if("function"==typeof t.nodeName)return O(e,t,n,r);if(F="svg"===t.nodeName||"foreignObject"!==t.nodeName&&F,(!e||!s(e,String(t.nodeName)))&&(i=l(String(t.nodeName),F),e)){for(;e.firstChild;)i.appendChild(e.firstChild);e.parentNode&&e.parentNode.replaceChild(i,e),b(e,!0)}var u=i.firstChild,c=i.__preactattr_||(i.__preactattr_={}),f=t.children;return!G&&f&&1===f.length&&"string"==typeof f[0]&&null!=u&&void 0!==u.splitText&&null==u.nextSibling?u.nodeValue!=f[0]&&(u.nodeValue=f[0]):(f&&f.length||null!=u)&&y(i,f,n,r,G||null!=c.dangerouslySetInnerHTML),w(i,t.attributes,c),F=a,i}function y(e,t,n,r,o){var i,a,s,c,l=e.childNodes,p=[],d={},h=0,m=0,v=l.length,y=0,_=t?t.length:0;if(0!==v)for(var w=0;w<v;w++){var x=l[w],E=x.__preactattr_,N=_&&E?x._component?x._component.__k:E.key:null;null!=N?(h++,d[N]=x):(E||(void 0!==x.splitText?!o||x.nodeValue.trim():o))&&(p[y++]=x)}if(0!==_)for(var w=0;w<_;w++){s=t[w],c=null;var N=s.key;if(null!=N)h&&void 0!==d[N]&&(c=d[N],d[N]=void 0,h--);else if(!c&&m<y)for(i=m;i<y;i++)if(void 0!==p[i]&&u(a=p[i],s,o)){c=a,p[i]=void 0,i===y-1&&y--,i===m&&m++;break}c=g(c,s,n,r),c&&c!==e&&(w>=v?e.appendChild(c):c!==l[w]&&(c===l[w+1]?f(l[w]):e.insertBefore(c,l[w]||null)))}if(h)for(var w in d)void 0!==d[w]&&b(d[w],!1);for(;m<=y;)void 0!==(c=p[y--])&&b(c,!1)}function b(e,t){var n=e._component;n?T(n):(null!=e.__preactattr_&&e.__preactattr_.ref&&e.__preactattr_.ref(null),!1!==t&&null!=e.__preactattr_||f(e),_(e))}function _(e){for(e=e.lastChild;e;){var t=e.previousSibling;b(e,!0),e=t}}function w(e,t,n){var r;for(r in n)t&&null!=t[r]||null==n[r]||p(e,r,n[r],n[r]=void 0,F);for(r in t)"children"===r||"innerHTML"===r||r in n&&t[r]===("value"===r||"checked"===r?e[r]:n[r])||p(e,r,n[r],n[r]=t[r],F)}function x(e){var t=e.constructor.name;(B[t]||(B[t]=[])).push(e)}function E(e,t,n){var r,o=B[e.name];if(e.prototype&&e.prototype.render?(r=new e(t,n),A.call(r,t,n)):(r=new A(t,n),r.constructor=e,r.render=N),o)for(var i=o.length;i--;)if(o[i].constructor===e){r.__b=o[i].__b,o.splice(i,1);break}return r}function N(e,t,n){return this.constructor(e,n)}function C(e,t,n,r,o){e.__x||(e.__x=!0,(e.__r=t.ref)&&delete t.ref,(e.__k=t.key)&&delete t.key,!e.base||o?e.componentWillMount&&e.componentWillMount():e.componentWillReceiveProps&&e.componentWillReceiveProps(t,r),r&&r!==e.context&&(e.__c||(e.__c=e.context),e.context=r),e.__p||(e.__p=e.props),e.props=t,e.__x=!1,0!==n&&(1!==n&&!1===k.syncComponentUpdates&&e.base?i(e):S(e,1,o)),e.__r&&e.__r(e))}function S(e,t,n,o){if(!e.__x){var i,a,u,s=e.props,l=e.state,f=e.context,p=e.__p||s,d=e.__s||l,h=e.__c||f,g=e.base,y=e.__b,_=g||y,w=e._component,x=!1;if(g&&(e.props=p,e.state=d,e.context=h,2!==t&&e.shouldComponentUpdate&&!1===e.shouldComponentUpdate(s,l,f)?x=!0:e.componentWillUpdate&&e.componentWillUpdate(s,l,f),e.props=s,e.state=l,e.context=f),e.__p=e.__s=e.__c=e.__b=null,e.__d=!1,!x){i=e.render(s,l,f),e.getChildContext&&(f=r(r({},f),e.getChildContext()));var N,O,A=i&&i.nodeName;if("function"==typeof A){var M=c(i);a=w,a&&a.constructor===A&&M.key==a.__k?C(a,M,1,f,!1):(N=a,e._component=a=E(A,M,f),a.__b=a.__b||y,a.__u=e,C(a,M,0,f,!1),S(a,1,n,!0)),O=a.base}else u=_,N=w,N&&(u=e._component=null),(_||1===t)&&(u&&(u._component=null),O=v(u,i,f,n||!g,_&&_.parentNode,!0));if(_&&O!==_&&a!==w){var P=_.parentNode;P&&O!==P&&(P.replaceChild(O,_),N||(_._component=null,b(_,!1)))}if(N&&T(N),e.base=O,O&&!o){for(var j=e,D=e;D=D.__u;)(j=D).base=O;O._component=j,O._componentConstructor=j.constructor}}if(!g||n?L.unshift(e):x||(m(),e.componentDidUpdate&&e.componentDidUpdate(p,d,h),k.afterUpdate&&k.afterUpdate(e)),null!=e.__h)for(;e.__h.length;)e.__h.pop().call(e);R||o||m()}}function O(e,t,n,r){for(var o=e&&e._component,i=o,a=e,u=o&&e._componentConstructor===t.nodeName,s=u,l=c(t);o&&!s&&(o=o.__u);)s=o.constructor===t.nodeName;return o&&s&&(!r||o._component)?(C(o,l,3,n,r),e=o.base):(i&&!u&&(T(i),e=a=null),o=E(t.nodeName,l,n),e&&!o.__b&&(o.__b=e,a=null),C(o,l,1,n,r),e=o.base,a&&e!==a&&(a._component=null,b(a,!1))),e}function T(e){k.beforeUnmount&&k.beforeUnmount(e);var t=e.base;e.__x=!0,e.componentWillUnmount&&e.componentWillUnmount(),e.base=null;var n=e._component;n?T(n):t&&(t.__preactattr_&&t.__preactattr_.ref&&t.__preactattr_.ref(null),e.__b=t,f(t),x(e),_(t)),e.__r&&e.__r(null)}function A(e,t){this.__d=!0,this.context=t,this.props=e,this.state=this.state||{}}function M(e,t,n){return v(n,e,{},!1,t,!1)}var k={},P=[],j=[],D=/acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,I=[],L=[],R=0,F=!1,G=!1,B={};r(A.prototype,{setState:function(e,t){var n=this.state;this.__s||(this.__s=r({},n)),r(n,"function"==typeof e?e(n,this.props):e),t&&(this.__h=this.__h||[]).push(t),i(this)},forceUpdate:function(e){e&&(this.__h=this.__h||[]).push(e),S(this,2)},render:function(){}});var z={h:n,createElement:n,cloneElement:o,Component:A,render:M,rerender:a,options:k};e.exports=z}()},function(e,t,n){"use strict";e.exports=n(85).polyfill()},function(e,t,n){(function(t,r){/*! + * @overview es6-promise - a tiny implementation of Promises/A+. + * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald) + * @license Licensed under MIT license + * See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE + * @version 4.1.1 + */ +!function(t,n){e.exports=n()}(0,function(){"use strict";function e(e){var t=typeof e;return null!==e&&("object"===t||"function"===t)}function o(e){return"function"==typeof e}function i(e){W=e}function a(e){Y=e}function u(){return void 0!==X?function(){X(c)}:s()}function s(){var e=setTimeout;return function(){return e(c,1)}}function c(){for(var e=0;e<U;e+=2){(0,Z[e])(Z[e+1]),Z[e]=void 0,Z[e+1]=void 0}U=0}function l(e,t){var n=arguments,r=this,o=new this.constructor(p);void 0===o[ee]&&k(o);var i=r._state;return i?function(){var e=n[i-1];Y(function(){return T(i,o,e,r._result)})}():N(r,o,e,t),o}function f(e){var t=this;if(e&&"object"==typeof e&&e.constructor===t)return e;var n=new t(p);return _(n,e),n}function p(){}function d(){return new TypeError("You cannot resolve a promise with itself")}function h(){return new TypeError("A promises callback cannot return that same promise.")}function m(e){try{return e.then}catch(e){return oe.error=e,oe}}function v(e,t,n,r){try{e.call(t,n,r)}catch(e){return e}}function g(e,t,n){Y(function(e){var r=!1,o=v(n,t,function(n){r||(r=!0,t!==n?_(e,n):x(e,n))},function(t){r||(r=!0,E(e,t))},"Settle: "+(e._label||" unknown promise"));!r&&o&&(r=!0,E(e,o))},e)}function y(e,t){t._state===ne?x(e,t._result):t._state===re?E(e,t._result):N(t,void 0,function(t){return _(e,t)},function(t){return E(e,t)})}function b(e,t,n){t.constructor===e.constructor&&n===l&&t.constructor.resolve===f?y(e,t):n===oe?(E(e,oe.error),oe.error=null):void 0===n?x(e,t):o(n)?g(e,t,n):x(e,t)}function _(t,n){t===n?E(t,d()):e(n)?b(t,n,m(n)):x(t,n)}function w(e){e._onerror&&e._onerror(e._result),C(e)}function x(e,t){e._state===te&&(e._result=t,e._state=ne,0!==e._subscribers.length&&Y(C,e))}function E(e,t){e._state===te&&(e._state=re,e._result=t,Y(w,e))}function N(e,t,n,r){var o=e._subscribers,i=o.length;e._onerror=null,o[i]=t,o[i+ne]=n,o[i+re]=r,0===i&&e._state&&Y(C,e)}function C(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var r=void 0,o=void 0,i=e._result,a=0;a<t.length;a+=3)r=t[a],o=t[a+n],r?T(n,r,o,i):o(i);e._subscribers.length=0}}function S(){this.error=null}function O(e,t){try{return e(t)}catch(e){return ie.error=e,ie}}function T(e,t,n,r){var i=o(n),a=void 0,u=void 0,s=void 0,c=void 0;if(i){if(a=O(n,r),a===ie?(c=!0,u=a.error,a.error=null):s=!0,t===a)return void E(t,h())}else a=r,s=!0;t._state!==te||(i&&s?_(t,a):c?E(t,u):e===ne?x(t,a):e===re&&E(t,a))}function A(e,t){try{t(function(t){_(e,t)},function(t){E(e,t)})}catch(t){E(e,t)}}function M(){return ae++}function k(e){e[ee]=ae++,e._state=void 0,e._result=void 0,e._subscribers=[]}function P(e,t){this._instanceConstructor=e,this.promise=new e(p),this.promise[ee]||k(this.promise),H(t)?(this.length=t.length,this._remaining=t.length,this._result=new Array(this.length),0===this.length?x(this.promise,this._result):(this.length=this.length||0,this._enumerate(t),0===this._remaining&&x(this.promise,this._result))):E(this.promise,j())}function j(){return new Error("Array Methods must be provided an Array")}function D(e){return new P(this,e).promise}function I(e){var t=this;return new t(H(e)?function(n,r){for(var o=e.length,i=0;i<o;i++)t.resolve(e[i]).then(n,r)}:function(e,t){return t(new TypeError("You must pass an array to race."))})}function L(e){var t=this,n=new t(p);return E(n,e),n}function R(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function F(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function G(e){this[ee]=M(),this._result=this._state=void 0,this._subscribers=[],p!==e&&("function"!=typeof e&&R(),this instanceof G?A(this,e):F())}function B(){var e=void 0;if(void 0!==r)e=r;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var n=null;try{n=Object.prototype.toString.call(t.resolve())}catch(e){}if("[object Promise]"===n&&!t.cast)return}e.Promise=G}var z=void 0;z=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)};var H=z,U=0,X=void 0,W=void 0,Y=function(e,t){Z[U]=e,Z[U+1]=t,2===(U+=2)&&(W?W(c):Q())},V="undefined"!=typeof window?window:void 0,q=V||{},$=q.MutationObserver||q.WebKitMutationObserver,K="undefined"==typeof self&&void 0!==t&&"[object process]"==={}.toString.call(t),J="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,Z=new Array(1e3),Q=void 0;Q=K?function(){return function(){return t.nextTick(c)}}():$?function(){var e=0,t=new $(c),n=document.createTextNode("");return t.observe(n,{characterData:!0}),function(){n.data=e=++e%2}}():J?function(){var e=new MessageChannel;return e.port1.onmessage=c,function(){return e.port2.postMessage(0)}}():void 0===V?function(){try{var e=n(87);return X=e.runOnLoop||e.runOnContext,u()}catch(e){return s()}}():s();var ee=Math.random().toString(36).substring(16),te=void 0,ne=1,re=2,oe=new S,ie=new S,ae=0;return P.prototype._enumerate=function(e){for(var t=0;this._state===te&&t<e.length;t++)this._eachEntry(e[t],t)},P.prototype._eachEntry=function(e,t){var n=this._instanceConstructor,r=n.resolve;if(r===f){var o=m(e);if(o===l&&e._state!==te)this._settledAt(e._state,t,e._result);else if("function"!=typeof o)this._remaining--,this._result[t]=e;else if(n===G){var i=new n(p);b(i,e,o),this._willSettleAt(i,t)}else this._willSettleAt(new n(function(t){return t(e)}),t)}else this._willSettleAt(r(e),t)},P.prototype._settledAt=function(e,t,n){var r=this.promise;r._state===te&&(this._remaining--,e===re?E(r,n):this._result[t]=n),0===this._remaining&&x(r,this._result)},P.prototype._willSettleAt=function(e,t){var n=this;N(e,void 0,function(e){return n._settledAt(ne,t,e)},function(e){return n._settledAt(re,t,e)})},G.all=D,G.race=I,G.resolve=f,G.reject=L,G._setScheduler=i,G._setAsap=a,G._asap=Y,G.prototype={constructor:G,then:l,catch:function(e){return this.then(null,e)}},G.polyfill=B,G.Promise=G,G})}).call(t,n(5),n(86))},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var o=n(89),i=r(o),a=n(107),u=r(a),s=n(111),c=r(s),l=n(48),f=r(l),p=n(49),d=r(p),h=n(114),m=r(h),v=n(127),g=r(v),y=n(4),b=r(y),_=n(135),w=r(_),x=n(142),E=r(x),N=n(143),C=r(N);n(151);var S=n(67),O=n(73),T=r(O),A=n(181),M=r(A),k=n(182),P=r(k),j=n(183),D=r(j),I=n(74),L=r(I),R=n(211),F=n(212),G=r(F),B=function(e){function t(e){(0,f.default)(this,t);var n=(0,m.default)(this,(t.__proto__||(0,c.default)(t)).call(this,e));n.state={user:null,issue:null,comments:[],localComments:[],comment:"",page:1,pagerDirection:"last",cursor:null,isNoInit:!1,isIniting:!0,isCreating:!1,isLoading:!1,isLoadMore:!1,isLoadOver:!1,isIssueCreating:!1,isPopupVisible:!1,isInputFocused:!1,isOccurError:!1,errorMsg:""},n.getCommentsV3=function(e){var t=n.options,r=t.clientID,o=t.clientSecret,i=t.perPage,a=n.state.page;return n.getIssue().then(function(e){if(e)return S.axiosGithub.get(e.comments_url,{headers:{Accept:"application/vnd.github.v3.full+json"},params:{client_id:r,client_secret:o,per_page:i,page:a}}).then(function(e){var t=n.state,r=t.comments,o=t.issue,u=!1,s=r.concat(e.data);return(s.length>=o.comments||e.data.length<i)&&(u=!0),n.setState({comments:s,isLoadOver:u,page:a+1}),s})})},n.getRef=function(e){n.publicBtnEL=e},n.handlePopup=function(e){e.preventDefault(),e.stopPropagation();var t=!n.state.isPopupVisible,r=function e(t){(0,S.hasClassInParent)(t.target,"gt-user","gt-popup")||(document.removeEventListener("click",e),n.setState({isPopupVisible:!1}))};n.setState({isPopupVisible:t}),t?document.addEventListener("click",r):document.removeEventListener("click",r)},n.handleLogin=function(){var e=n.state.comment;localStorage.setItem(R.GT_COMMENT,encodeURIComponent(e)),location.href=n.loginLink},n.handleIssueCreate=function(){n.setState({isIssueCreating:!0}),n.createIssue().then(function(e){return n.setState({isIssueCreating:!1,isOccurError:!1}),n.getComments(e)}).catch(function(e){n.setState({isIssueCreating:!1,isOccurError:!0,errorMsg:(0,S.formatErrorMsg)(e)})})},n.handleCommentCreate=function(e){if(!n.state.comment.length)return e&&e.preventDefault(),void n.commentEL.focus();n.setState({isCreating:!0}),n.createComment().then(function(){return n.setState({isCreating:!1,isOccurError:!1})}).catch(function(e){n.setState({isCreating:!1,isOccurError:!0,errorMsg:(0,S.formatErrorMsg)(e)})})},n.handleCommentLoad=function(){var e=n.state,t=e.issue;e.isLoadMore||(n.setState({isLoadMore:!0}),n.getComments(t).then(function(){return n.setState({isLoadMore:!1})}))},n.handleCommentChange=function(e){return n.setState({comment:e.target.value})},n.handleLogout=function(){n.logout(),location.reload()},n.handleCommentFocus=function(e){if(!n.options.distractionFreeMode)return e.preventDefault();n.setState({isInputFocused:!0})},n.handleCommentBlur=function(e){if(!n.options.distractionFreeMode)return e.preventDefault();n.setState({isInputFocused:!1})},n.handleSort=function(e){return function(t){n.setState({pagerDirection:e})}},n.handleCommentKeyDown=function(e){n.options.enableHotKey&&(e.metaKey||e.ctrlKey)&&13===e.keyCode&&(n.publicBtnEL&&n.publicBtnEL.focus(),n.handleCommentCreate())},n.options=(0,u.default)({},{id:location.href,labels:["Gitalk"],title:document.title,body:"",language:navigator.language||navigator.userLanguage,perPage:10,pagerDirection:"last",createIssueManually:!1,distractionFreeMode:!1,proxy:"https://cors-anywhere.herokuapp.com/https://github.com/login/oauth/access_token",flipMoveOptions:{staggerDelayBy:150,appearAnimation:"accordionVertical",enterAnimation:"accordionVertical",leaveAnimation:"accordionVertical"},enableHotKey:!0,url:location.href},e.options),n.state.pagerDirection=n.options.pagerDirection;var r=localStorage.getItem(R.GT_COMMENT);r&&(n.state.comment=decodeURIComponent(r),localStorage.removeItem(R.GT_COMMENT));var o=(0,S.queryParse)();if(o.code){var i=o.code;delete o.code;var a=""+location.origin+location.pathname+(0,S.queryStringify)(o)+location.hash;history.replaceState(null,null,a),n.options=(0,u.default)({},n.options,{url:a,id:a},e.options),S.axiosJSON.post(n.options.proxy,{code:i,client_id:n.options.clientID,client_secret:n.options.clientSecret}).then(function(e){e.data&&e.data.access_token?(n.accessToken=e.data.access_token,n.getInit().then(function(){return n.setState({isIniting:!1})}).catch(function(e){console.log("err:",e),n.setState({isIniting:!1,isOccurError:!0,errorMsg:(0,S.formatErrorMsg)(e)})})):(console.log("res.data err:",e.data),n.setState({isOccurError:!0,errorMsg:(0,S.formatErrorMsg)(new Error("no access token"))}))}).catch(function(e){console.log("err: ",e),n.setState({isOccurError:!0,errorMsg:(0,S.formatErrorMsg)(e)})})}else n.getInit().then(function(){return n.setState({isIniting:!1})}).catch(function(e){console.log("err:",e),n.setState({isIniting:!1,isOccurError:!0,errorMsg:(0,S.formatErrorMsg)(e)})});return n.i18n=(0,C.default)(n.options.language),n}return(0,g.default)(t,e),(0,d.default)(t,[{key:"componentDidUpdate",value:function(){this.commentEL&&(0,E.default)(this.commentEL)}},{key:"getInit",value:function(){var e=this;return this.getUserInfo().then(function(){return e.getIssue()}).then(function(t){return e.getComments(t)})}},{key:"getUserInfo",value:function(){var e=this;return S.axiosGithub.get("/user",{headers:{Authorization:"token "+this.accessToken}}).then(function(t){e.setState({user:t.data})}).catch(function(t){e.logout()})}},{key:"getIssue",value:function(){var e=this,t=this.state.issue;if(t)return this.setState({isNoInit:!1}),i.default.resolve(t);var n=this.options,r=n.owner,o=n.repo,a=n.id,u=n.labels,s=n.clientID,c=n.clientSecret;return S.axiosGithub.get("/repos/"+r+"/"+o+"/issues",{params:{client_id:s,client_secret:c,labels:u.concat(a).join(","),t:Date.now()}}).then(function(t){var n=e.options,r=(n.admin,n.createIssueManually),o=(e.state.user,!1),i=null;if(t&&t.data&&t.data.length)i=t.data[0];else{if(!r&&e.isAdmin)return e.createIssue();o=!0}return e.setState({issue:i,isNoInit:o}),i})}},{key:"createIssue",value:function(){var e=this,t=this.options,n=t.owner,r=t.repo,o=t.title,i=t.body,a=t.id,u=t.labels,s=t.url;return S.axiosGithub.post("/repos/"+n+"/"+r+"/issues",{title:o,labels:u.concat(a),body:i||s+" \n\n "+((0,S.getMetaContent)("description")||(0,S.getMetaContent)("description","og:description")||"")},{headers:{Authorization:"token "+this.accessToken}}).then(function(t){return e.setState({issue:t.data}),t.data})}},{key:"getComments",value:function(e){if(e)return this.accessToken?G.default.call(this,e):this.getCommentsV3(e)}},{key:"createComment",value:function(){var e=this,t=this.state,n=t.comment,r=t.localComments,o=t.comments;return this.getIssue().then(function(t){return S.axiosGithub.post(t.comments_url,{body:n},{headers:{Accept:"application/vnd.github.v3.full+json",Authorization:"token "+e.accessToken}})}).then(function(t){e.setState({comment:"",comments:o.concat(t.data),localComments:r.concat(t.data)})})}},{key:"logout",value:function(){this.setState({user:null}),localStorage.removeItem(R.GT_ACCESS_TOKEN)}},{key:"reply",value:function(e){var t=this,n=this.state.comment,r=e.body,o=r.split("\n");o.unshift("@"+e.user.login),o=o.map(function(e){return"> "+e}),o.push(""),o.push(""),n&&o.unshift(""),this.setState({comment:n+o.join("\n")},function(){E.default.update(t.commentEL),t.commentEL.focus()})}},{key:"like",value:function(e){var t=this,n=this.options,r=n.owner,o=n.repo,i=this.state,a=i.comments,u=i.user;S.axiosGithub.post("/repos/"+r+"/"+o+"/issues/comments/"+e.id+"/reactions",{content:"heart"},{headers:{Authorization:"token "+this.accessToken,Accept:"application/vnd.github.squirrel-girl-preview"}}).then(function(n){a=a.map(function(t){return t.id===e.id&&(t.reactions?~t.reactions.nodes.findIndex(function(e){return e.user.login===u.login})||(t.reactions.totalCount+=1):(t.reactions={nodes:[]},t.reactions.totalCount=1),t.reactions.nodes.push(n.data),t.reactions.viewerHasReacted=!0),t}),t.setState({comments:a})})}},{key:"unLike",value:function(e){var t=this,n=this.state,r=n.comments,o=n.user;S.axiosGithub.post("/graphql",function(e){return{operationName:"RemoveReaction",query:'\n mutation RemoveReaction{\n removeReaction (input:{\n subjectId: "'+e+'",\n content: HEART\n }) {\n reaction {\n content\n }\n }\n }\n '}}(e.gId),{headers:{Authorization:"bearer "+this.accessToken}}).then(function(n){n.data&&(r=r.map(function(t){if(t.id===e.id){var n=t.reactions.nodes.findIndex(function(e){return e.user.login===o.login});~n&&(t.reactions.totalCount-=1,t.reactions.nodes.splice(n,1)),t.reactions.viewerHasReacted=!1}return t}),t.setState({comments:r}))})}},{key:"initing",value:function(){return b.default.createElement("div",{className:"gt-initing"},b.default.createElement("i",{className:"gt-loader"}),b.default.createElement("p",{className:"gt-initing-text"},this.i18n.t("init")))}},{key:"noInit",value:function(){var e=this.state,t=e.user,n=e.isIssueCreating,r=this.options,o=r.owner,i=r.repo,a=r.admin;return b.default.createElement("div",{className:"gt-no-init",key:"no-init"},b.default.createElement("p",{dangerouslySetInnerHTML:{__html:this.i18n.t("no-found-related",{link:'<a href="https://github.com/'+o+"/"+i+'/issues">Issues</a>'})}}),b.default.createElement("p",null,this.i18n.t("please-contact",{user:[].concat(a).map(function(e){return"@"+e}).join(" ")})),this.isAdmin?b.default.createElement("p",null,b.default.createElement(M.default,{onClick:this.handleIssueCreate,isLoading:n,text:this.i18n.t("init-issue")})):null,!t&&b.default.createElement(M.default,{className:"gt-btn-login",onClick:this.handleLogin,text:this.i18n.t("login-with-github")}))}},{key:"header",value:function(){var e=this,t=this.state,n=t.user,r=t.comment,o=t.isCreating;return b.default.createElement("div",{className:"gt-header",key:"header"},n?b.default.createElement(T.default,{className:"gt-header-avatar",src:n.avatar_url}):b.default.createElement("a",{className:"gt-avatar-github",onMouseDown:this.handleLogin},b.default.createElement(L.default,{className:"gt-ico-github",name:"github"})),b.default.createElement("div",{className:"gt-header-comment"},b.default.createElement("textarea",{ref:function(t){e.commentEL=t},className:"gt-header-textarea",value:r,onChange:this.handleCommentChange,onFocus:this.handleCommentFocus,onBlur:this.handleCommentBlur,onKeyDown:this.handleCommentKeyDown,placeholder:this.i18n.t("leave-a-comment")}),b.default.createElement("div",{className:"gt-header-controls"},b.default.createElement("a",{className:"gt-header-controls-tip",href:"https://guides.github.com/features/mastering-markdown/",target:"_blank"},b.default.createElement(L.default,{className:"gt-ico-tip",name:"tip",text:this.i18n.t("support-markdown")})),n&&b.default.createElement(M.default,{getRef:this.getRef,className:"gt-btn-public",onMouseDown:this.handleCommentCreate,text:this.i18n.t("comment"),isLoading:o}),!n&&b.default.createElement(M.default,{className:"gt-btn-login",onMouseDown:this.handleLogin,text:this.i18n.t("login-with-github")}))))}},{key:"comments",value:function(){var e=this,t=this.state,n=t.user,r=t.comments,o=t.isLoadOver,i=t.isLoadMore,a=t.pagerDirection,u=this.options,s=u.language,c=u.flipMoveOptions,l=u.admin,f=r.concat([]);return"last"===a&&this.accessToken&&f.reverse(),b.default.createElement("div",{className:"gt-comments",key:"comments"},b.default.createElement(w.default,c,f.map(function(t){return b.default.createElement(D.default,{comment:t,key:t.id,user:n,language:s,commentedText:e.i18n.t("commented"),admin:l,replyCallback:e.reply.bind(e,t),likeCallback:t.reactions&&t.reactions.viewerHasReacted?e.unLike.bind(e,t):e.like.bind(e,t)})})),!f.length&&b.default.createElement("p",{className:"gt-comments-null"},this.i18n.t("first-comment-person")),!o&&f.length?b.default.createElement("div",{className:"gt-comments-controls"},b.default.createElement(M.default,{className:"gt-btn-loadmore",onClick:this.handleCommentLoad,isLoading:i,text:this.i18n.t("load-more")})):null)}},{key:"meta",value:function(){var e=this.state,t=e.user,n=e.issue,r=e.isPopupVisible,o=e.pagerDirection,i=e.localComments,a=(n&&n.comments)+i.length,u="last"===o;return window.GITALK_COMMENTS_COUNT=a,b.default.createElement("div",{className:"gt-meta",key:"meta"},b.default.createElement("span",{className:"gt-counts",dangerouslySetInnerHTML:{__html:this.i18n.t("counts",{counts:'<a class="gt-link gt-link-counts" href="'+(n&&n.html_url)+'" target="_blank">'+a+"</a>",smart_count:a})}}),r&&b.default.createElement("div",{className:"gt-popup"},t?b.default.createElement(P.default,{className:"gt-action-sortasc"+(u?"":" is--active"),onClick:this.handleSort("first"),text:this.i18n.t("sort-asc")}):null,t?b.default.createElement(P.default,{className:"gt-action-sortdesc"+(u?" is--active":""),onClick:this.handleSort("last"),text:this.i18n.t("sort-desc")}):null,t?b.default.createElement(P.default,{className:"gt-action-logout",onClick:this.handleLogout,text:this.i18n.t("logout")}):b.default.createElement("a",{className:"gt-action gt-action-login",onMouseDown:this.handleLogin},this.i18n.t("login-with-github")),b.default.createElement("div",{className:"gt-copyright"},b.default.createElement("a",{className:"gt-link gt-link-project",href:"https://github.com/gitalk/gitalk",target:"_blank"},"Gitalk"),b.default.createElement("span",{className:"gt-version"},R.GT_VERSION))),b.default.createElement("div",{className:"gt-user"},t?b.default.createElement("div",{className:r?"gt-user-inner is--poping":"gt-user-inner",onClick:this.handlePopup},b.default.createElement("span",{className:"gt-user-name"},t.login),b.default.createElement(L.default,{className:"gt-ico-arrdown",name:"arrow_down"})):b.default.createElement("div",{className:r?"gt-user-inner is--poping":"gt-user-inner",onClick:this.handlePopup},b.default.createElement("span",{className:"gt-user-name"},this.i18n.t("anonymous")),b.default.createElement(L.default,{className:"gt-ico-arrdown",name:"arrow_down"}))))}},{key:"render",value:function(){var e=this.state,t=e.isIniting,n=e.isNoInit,r=e.isOccurError,o=e.errorMsg,i=e.isInputFocused;return b.default.createElement("div",{className:"gt-container"+(i?" gt-input-focused":"")},t&&this.initing(),!t&&(n?[]:[this.meta()]),r&&b.default.createElement("div",{className:"gt-error"},o),!t&&(n?[this.noInit()]:[this.header(),this.comments()]))}},{key:"accessToken",get:function(){return this._accessToke||localStorage.getItem(R.GT_ACCESS_TOKEN)},set:function(e){localStorage.setItem(R.GT_ACCESS_TOKEN,e),this._accessToken=e}},{key:"loginLink",get:function(){var e=this.options.clientID,t={client_id:e,redirect_uri:location.href,scope:"public_repo"};return"http://github.com/login/oauth/authorize?"+(0,S.queryStringify)(t)}},{key:"isAdmin",get:function(){var e=this.options.admin,t=this.state.user;return t&&~[].concat(e).map(function(e){return e.toLowerCase()}).indexOf(t.login.toLowerCase())}}]),t}(y.Component);e.exports=B},function(e,t,n){e.exports={default:n(90),__esModule:!0}},function(e,t,n){n(52),n(20),n(26),n(99),e.exports=n(0).Promise},function(e,t,n){var r=n(34),o=n(35);e.exports=function(e){return function(t,n){var i,a,u=String(o(t)),s=r(n),c=u.length;return s<0||s>=c?e?"":void 0:(i=u.charCodeAt(s),i<55296||i>56319||s+1===c||(a=u.charCodeAt(s+1))<56320||a>57343?e?u.charAt(s):i:e?u.slice(s,s+2):a-56320+(i-55296<<10)+65536)}}},function(e,t,n){"use strict";var r=n(36),o=n(19),i=n(25),a={};n(10)(a,n(1)("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(7),o=n(8),i=n(17);e.exports=n(9)?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),u=a.length,s=0;u>s;)r.f(e,n=a[s++],t[n]);return e}},function(e,t,n){var r=n(12),o=n(37),i=n(95);e.exports=function(e){return function(t,n,a){var u,s=r(t),c=o(s.length),l=i(a,c);if(e&&n!=n){for(;c>l;)if((u=s[l++])!=u)return!0}else for(;c>l;l++)if((e||l in s)&&s[l]===n)return e||l||0;return!e&&-1}}},function(e,t,n){var r=n(34),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){"use strict";var r=n(97),o=n(98),i=n(16),a=n(12);e.exports=n(53)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=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){"use strict";var r,o,i,a=n(23),u=n(2),s=n(13),c=n(41),l=n(6),f=n(14),p=n(28),d=n(100),h=n(101),m=n(102),v=n(61).set,g=n(104)(),y=u.TypeError,b=u.process,_=u.Promise,b=u.process,w="process"==c(b),x=function(){},E=!!function(){try{var e=_.resolve(1),t=(e.constructor={})[n(1)("species")]=function(e){e(x,x)};return(w||"function"==typeof PromiseRejectionEvent)&&e.then(x)instanceof t}catch(e){}}(),N=function(e,t){return e===t||e===_&&t===i},C=function(e){var t;return!(!f(e)||"function"!=typeof(t=e.then))&&t},S=function(e){return N(_,e)?new O(e):new o(e)},O=o=function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw y("Bad Promise constructor");t=e,n=r}),this.resolve=p(t),this.reject=p(n)},T=function(e){try{e()}catch(e){return{error:e}}},A=function(e,t){if(!e._n){e._n=!0;var n=e._c;g(function(){for(var r=e._v,o=1==e._s,i=0;n.length>i;)!function(t){var n,i,a=o?t.ok:t.fail,u=t.resolve,s=t.reject,c=t.domain;try{a?(o||(2==e._h&&P(e),e._h=1),!0===a?n=r:(c&&c.enter(),n=a(r),c&&c.exit()),n===t.promise?s(y("Promise-chain cycle")):(i=C(n))?i.call(n,u,s):u(n)):s(r)}catch(e){s(e)}}(n[i++]);e._c=[],e._n=!1,t&&!e._h&&M(e)})}},M=function(e){v.call(u,function(){var t,n,r,o=e._v;if(k(e)&&(t=T(function(){w?b.emit("unhandledRejection",o,e):(n=u.onunhandledrejection)?n({promise:e,reason:o}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",o)}),e._h=w||k(e)?2:1),e._a=void 0,t)throw t.error})},k=function(e){if(1==e._h)return!1;for(var t,n=e._a||e._c,r=0;n.length>r;)if(t=n[r++],t.fail||!k(t.promise))return!1;return!0},P=function(e){v.call(u,function(){var t;w?b.emit("rejectionHandled",e):(t=u.onrejectionhandled)&&t({promise:e,reason:e._v})})},j=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),A(t,!0))},D=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw y("Promise can't be resolved itself");(t=C(e))?g(function(){var r={_w:n,_d:!1};try{t.call(e,s(D,r,1),s(j,r,1))}catch(e){j.call(r,e)}}):(n._v=e,n._s=1,A(n,!1))}catch(e){j.call({_w:n,_d:!1},e)}}};E||(_=function(e){d(this,_,"Promise","_h"),p(e),r.call(this);try{e(s(D,this,1),s(j,this,1))}catch(e){j.call(this,e)}},r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(105)(_.prototype,{then:function(e,t){var n=S(m(this,_));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=w?b.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&A(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),O=function(){var e=new r;this.promise=e,this.resolve=s(D,e,1),this.reject=s(j,e,1)}),l(l.G+l.W+l.F*!E,{Promise:_}),n(25)(_,"Promise"),n(106)("Promise"),i=n(0).Promise,l(l.S+l.F*!E,"Promise",{reject:function(e){var t=S(this);return(0,t.reject)(e),t.promise}}),l(l.S+l.F*(a||!E),"Promise",{resolve:function(e){if(e instanceof _&&N(e.constructor,this))return e;var t=S(this);return(0,t.resolve)(e),t.promise}}),l(l.S+l.F*!(E&&n(62)(function(e){_.all(e).catch(x)})),"Promise",{all:function(e){var t=this,n=S(t),r=n.resolve,o=n.reject,i=T(function(){var n=[],i=0,a=1;h(e,!1,function(e){var u=i++,s=!1;n.push(void 0),a++,t.resolve(e).then(function(e){s||(s=!0,n[u]=e,--a||r(n))},o)}),--a||r(n)});return i&&o(i.error),n.promise},race:function(e){var t=this,n=S(t),r=n.reject,o=T(function(){h(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o&&r(o.error),n.promise}})},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var r=n(13),o=n(59),i=n(60),a=n(8),u=n(37),s=n(42),c={},l={},t=e.exports=function(e,t,n,f,p){var d,h,m,v,g=p?function(){return e}:s(e),y=r(n,f,t?2:1),b=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(i(g)){for(d=u(e.length);d>b;b++)if((v=t?y(a(h=e[b])[0],h[1]):y(e[b]))===c||v===l)return v}else for(m=g.call(e);!(h=m.next()).done;)if((v=o(m,y,h.value,t))===c||v===l)return v};t.BREAK=c,t.RETURN=l},function(e,t,n){var r=n(8),o=n(28),i=n(1)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||void 0==(n=r(a)[i])?t:o(n)}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(2),o=n(61).set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,u=r.Promise,s="process"==n(21)(a);e.exports=function(){var e,t,n,c=function(){var r,o;for(s&&(r=a.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(s)n=function(){a.nextTick(c)};else if(i){var l=!0,f=document.createTextNode("");new i(c).observe(f,{characterData:!0}),n=function(){f.data=l=!l}}else if(u&&u.resolve){var p=u.resolve();n=function(){p.then(c)}}else n=function(){o.call(r,c)};return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}},function(e,t,n){var r=n(10);e.exports=function(e,t,n){for(var o in t)n&&e[o]?e[o]=t[o]:r(e,o,t[o]);return e}},function(e,t,n){"use strict";var r=n(2),o=n(0),i=n(7),a=n(9),u=n(1)("species");e.exports=function(e){var t="function"==typeof o[e]?o[e]:r[e];a&&t&&!t[u]&&i.f(t,u,{configurable:!0,get:function(){return this}})}},function(e,t,n){e.exports={default:n(108),__esModule:!0}},function(e,t,n){n(109),e.exports=n(0).Object.assign},function(e,t,n){var r=n(6);r(r.S+r.F,"Object",{assign:n(110)})},function(e,t,n){"use strict";var r=n(17),o=n(43),i=n(27),a=n(22),u=n(56),s=Object.assign;e.exports=!s||n(15)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=s({},e)[n]||Object.keys(s({},t)).join("")!=r})?function(e,t){for(var n=a(e),s=arguments.length,c=1,l=o.f,f=i.f;s>c;)for(var p,d=u(arguments[c++]),h=l?r(d).concat(l(d)):r(d),m=h.length,v=0;m>v;)f.call(d,p=h[v++])&&(n[p]=d[p]);return n}:s},function(e,t,n){e.exports={default:n(112),__esModule:!0}},function(e,t,n){n(113),e.exports=n(0).Object.getPrototypeOf},function(e,t,n){var r=n(22),o=n(58);n(63)("getPrototypeOf",function(){return function(e){return o(r(e))}})},function(e,t,n){"use strict";t.__esModule=!0;var r=n(64),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":(0,o.default)(t))&&"function"!=typeof t?e:t}},function(e,t,n){e.exports={default:n(116),__esModule:!0}},function(e,t,n){n(20),n(26),e.exports=n(44).f("iterator")},function(e,t,n){e.exports={default:n(118),__esModule:!0}},function(e,t,n){n(119),n(52),n(125),n(126),e.exports=n(0).Symbol},function(e,t,n){"use strict";var r=n(2),o=n(11),i=n(9),a=n(6),u=n(54),s=n(120).KEY,c=n(15),l=n(39),f=n(25),p=n(24),d=n(1),h=n(44),m=n(45),v=n(121),g=n(122),y=n(123),b=n(8),_=n(12),w=n(30),x=n(19),E=n(36),N=n(124),C=n(66),S=n(7),O=n(17),T=C.f,A=S.f,M=N.f,k=r.Symbol,P=r.JSON,j=P&&P.stringify,D=d("_hidden"),I=d("toPrimitive"),L={}.propertyIsEnumerable,R=l("symbol-registry"),F=l("symbols"),G=l("op-symbols"),B=Object.prototype,z="function"==typeof k,H=r.QObject,U=!H||!H.prototype||!H.prototype.findChild,X=i&&c(function(){return 7!=E(A({},"a",{get:function(){return A(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=T(B,t);r&&delete B[t],A(e,t,n),r&&e!==B&&A(B,t,r)}:A,W=function(e){var t=F[e]=E(k.prototype);return t._k=e,t},Y=z&&"symbol"==typeof k.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof k},V=function(e,t,n){return e===B&&V(G,t,n),b(e),t=w(t,!0),b(n),o(F,t)?(n.enumerable?(o(e,D)&&e[D][t]&&(e[D][t]=!1),n=E(n,{enumerable:x(0,!1)})):(o(e,D)||A(e,D,x(1,{})),e[D][t]=!0),X(e,t,n)):A(e,t,n)},q=function(e,t){b(e);for(var n,r=g(t=_(t)),o=0,i=r.length;i>o;)V(e,n=r[o++],t[n]);return e},$=function(e,t){return void 0===t?E(e):q(E(e),t)},K=function(e){var t=L.call(this,e=w(e,!0));return!(this===B&&o(F,e)&&!o(G,e))&&(!(t||!o(this,e)||!o(F,e)||o(this,D)&&this[D][e])||t)},J=function(e,t){if(e=_(e),t=w(t,!0),e!==B||!o(F,t)||o(G,t)){var n=T(e,t);return!n||!o(F,t)||o(e,D)&&e[D][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=M(_(e)),r=[],i=0;n.length>i;)o(F,t=n[i++])||t==D||t==s||r.push(t);return r},Q=function(e){for(var t,n=e===B,r=M(n?G:_(e)),i=[],a=0;r.length>a;)!o(F,t=r[a++])||n&&!o(B,t)||i.push(F[t]);return i};z||(k=function(){if(this instanceof k)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function(n){this===B&&t.call(G,n),o(this,D)&&o(this[D],e)&&(this[D][e]=!1),X(this,e,x(1,n))};return i&&U&&X(B,e,{configurable:!0,set:t}),W(e)},u(k.prototype,"toString",function(){return this._k}),C.f=J,S.f=V,n(65).f=N.f=Z,n(27).f=K,n(43).f=Q,i&&!n(23)&&u(B,"propertyIsEnumerable",K,!0),h.f=function(e){return W(d(e))}),a(a.G+a.W+a.F*!z,{Symbol:k});for(var ee="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),te=0;ee.length>te;)d(ee[te++]);for(var ee=O(d.store),te=0;ee.length>te;)m(ee[te++]);a(a.S+a.F*!z,"Symbol",{for:function(e){return o(R,e+="")?R[e]:R[e]=k(e)},keyFor:function(e){if(Y(e))return v(R,e);throw TypeError(e+" is not a symbol!")},useSetter:function(){U=!0},useSimple:function(){U=!1}}),a(a.S+a.F*!z,"Object",{create:$,defineProperty:V,defineProperties:q,getOwnPropertyDescriptor:J,getOwnPropertyNames:Z,getOwnPropertySymbols:Q}),P&&a(a.S+a.F*(!z||c(function(){var e=k();return"[null]"!=j([e])||"{}"!=j({a:e})||"{}"!=j(Object(e))})),"JSON",{stringify:function(e){if(void 0!==e&&!Y(e)){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);return t=r[1],"function"==typeof t&&(n=t),!n&&y(t)||(t=function(e,t){if(n&&(t=n.call(this,e,t)),!Y(t))return t}),r[1]=t,j.apply(P,r)}}}),k.prototype[I]||n(10)(k.prototype,I,k.prototype.valueOf),f(k,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){var r=n(24)("meta"),o=n(14),i=n(11),a=n(7).f,u=0,s=Object.isExtensible||function(){return!0},c=!n(15)(function(){return s(Object.preventExtensions({}))}),l=function(e){a(e,r,{value:{i:"O"+ ++u,w:{}}})},f=function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!s(e))return"F";if(!t)return"E";l(e)}return e[r].i},p=function(e,t){if(!i(e,r)){if(!s(e))return!0;if(!t)return!1;l(e)}return e[r].w},d=function(e){return c&&h.NEED&&s(e)&&!i(e,r)&&l(e),e},h=e.exports={KEY:r,NEED:!1,fastKey:f,getWeak:p,onFreeze:d}},function(e,t,n){var r=n(17),o=n(12);e.exports=function(e,t){for(var n,i=o(e),a=r(i),u=a.length,s=0;u>s;)if(i[n=a[s++]]===t)return n}},function(e,t,n){var r=n(17),o=n(43),i=n(27);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,u=n(e),s=i.f,c=0;u.length>c;)s.call(e,a=u[c++])&&t.push(a);return t}},function(e,t,n){var r=n(21);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(12),o=n(65).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(e){try{return o(e)}catch(e){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?u(e):o(r(e))}},function(e,t,n){n(45)("asyncIterator")},function(e,t,n){n(45)("observable")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(128),i=r(o),a=n(132),u=r(a),s=n(64),c=r(s);t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,c.default)(t)));e.prototype=(0,u.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(i.default?(0,i.default)(e,t):e.__proto__=t)}},function(e,t,n){e.exports={default:n(129),__esModule:!0}},function(e,t,n){n(130),e.exports=n(0).Object.setPrototypeOf},function(e,t,n){var r=n(6);r(r.S,"Object",{setPrototypeOf:n(131).set})},function(e,t,n){var r=n(14),o=n(8),i=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n(13)(Function.call,n(66).f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},function(e,t,n){e.exports={default:n(133),__esModule:!0}},function(e,t,n){n(134);var r=n(0).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){var r=n(6);r(r.S,"Object",{create:n(36)})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(136),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=o.default,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(e){return e.key||""}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),f=n(4),p=r(f);n(137);var d=n(138),h=r(d),m=n(141),v=n(46),g=(0,m.whichTransitionEvent)(),y=!g,b=function(e){function t(){var e,n,r,a;o(this,t);for(var l=arguments.length,p=Array(l),d=0;d<l;d++)p[d]=arguments[d];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(p))),r.state={children:f.Children.toArray(r.props.children).map(function(e){return c({},e,{element:e,appearing:!0})})},r.childrenData={},r.parentData={domNode:null,boundingBox:null},r.heightPlaceholderData={domNode:null},r.remainingAnimations=0,r.childrenToAnimate=[],r.runAnimation=function(){r.state.children.filter(r.doesChildNeedToBeAnimated).forEach(function(e,t){r.remainingAnimations+=1,r.childrenToAnimate.push(u(e)),r.animateChild(e,t)}),"function"==typeof r.props.onStartAll&&r.callChildrenHook(r.props.onStartAll)},r.doesChildNeedToBeAnimated=function(e){if(!u(e))return!1;var t=r.getChildData(u(e)),n=t.domNode,o=t.boundingBox,i=r.parentData.boundingBox;if(!n)return!1;var a=r.props,c=a.appearAnimation,l=a.enterAnimation,f=a.leaveAnimation,p=a.getPosition,d=e.appearing&&c,h=e.entering&&l,v=e.leaving&&f;if(d||h||v)return!0;var g=(0,m.getPositionDelta)({childDomNode:n,childBoundingBox:o,parentBoundingBox:i,getPosition:p}),y=s(g,2),b=y[0],_=y[1];return 0!==b||0!==_},a=n,i(r,a)}return a(t,e),l(t,[{key:"componentDidMount",value:function(){this.props.appearAnimation&&!this.isAnimationDisabled(this.props)&&(this.prepForAnimation(),this.runAnimation())}},{key:"componentWillReceiveProps",value:function(e){this.updateBoundingBoxCaches();var t=f.Children.toArray(e.children);this.setState({children:this.isAnimationDisabled(e)?t.map(function(e){return c({},e,{element:e})}):this.calculateNextSetOfChildren(t)})}},{key:"componentDidUpdate",value:function(e){var t=f.Children.toArray(this.props.children).map(function(e){return e.key}),n=f.Children.toArray(e.children).map(function(e){return e.key});!(0,v.arraysEqual)(t,n)&&!this.isAnimationDisabled(this.props)&&(this.prepForAnimation(),this.runAnimation())}},{key:"calculateNextSetOfChildren",value:function(e){var t=this,n=e.map(function(e){var n=t.findChildByKey(e.key||""),r=!n||n.leaving;return c({},e,{element:e,entering:r})}),r=0;return this.state.children.forEach(function(o,i){if(!e.find(function(e){return e.key===u(o)})&&t.props.leaveAnimation){var a=c({},o,{leaving:!0}),s=i+r;n.splice(s,0,a),r+=1}}),n}},{key:"prepForAnimation",value:function(){var e=this,t=this.props,n=t.leaveAnimation,r=t.maintainContainerHeight,o=t.getPosition;if(n){this.state.children.filter(function(e){return e.leaving}).forEach(function(t){var n=e.getChildData(u(t));n.boundingBox&&(0,m.removeNodeFromDOMFlow)(n,e.props.verticalAlignment)}),r&&this.heightPlaceholderData.domNode&&(0,m.updateHeightPlaceholder)({domNode:this.heightPlaceholderData.domNode,parentData:this.parentData,getPosition:o})}this.state.children.forEach(function(t){var n=e.getChildData(u(t)),r=n.domNode;r&&(t.entering||t.leaving||(0,m.applyStylesToDOMNode)({domNode:r,styles:{transition:""}}))})}},{key:"animateChild",value:function(e,t){var n=this,r=this.getChildData(u(e)),o=r.domNode;o&&((0,m.applyStylesToDOMNode)({domNode:o,styles:this.computeInitialStyles(e)}),this.props.onStart&&this.props.onStart(e,o),requestAnimationFrame(function(){requestAnimationFrame(function(){var r={transition:(0,m.createTransitionString)(t,n.props),transform:"",opacity:""};e.appearing&&n.props.appearAnimation?r=c({},r,n.props.appearAnimation.to):e.entering&&n.props.enterAnimation?r=c({},r,n.props.enterAnimation.to):e.leaving&&n.props.leaveAnimation&&(r=c({},r,n.props.leaveAnimation.to)),(0,m.applyStylesToDOMNode)({domNode:o,styles:r})})}),this.bindTransitionEndHandler(e))}},{key:"bindTransitionEndHandler",value:function(e){var t=this,n=this.getChildData(u(e)),r=n.domNode;if(r){var o=function n(o){o.target===r&&(r.style.transition="",t.triggerFinishHooks(e,r),r.removeEventListener(g,n),e.leaving&&t.removeChildData(u(e)))};r.addEventListener(g,o)}}},{key:"triggerFinishHooks",value:function(e,t){var n=this;if(this.props.onFinish&&this.props.onFinish(e,t),this.remainingAnimations-=1,0===this.remainingAnimations){var r=this.state.children.filter(function(e){return!e.leaving}).map(function(e){return c({},e,{appearing:!1,entering:!1})});this.setState({children:r},function(){"function"==typeof n.props.onFinishAll&&n.callChildrenHook(n.props.onFinishAll),n.childrenToAnimate=[]}),this.heightPlaceholderData.domNode&&(this.heightPlaceholderData.domNode.style.height="0")}}},{key:"callChildrenHook",value:function(e){var t=this,n=[],r=[];this.childrenToAnimate.forEach(function(e){var o=t.findChildByKey(e);o&&(n.push(o),t.hasChildData(e)&&r.push(t.getChildData(e).domNode))}),e(n,r)}},{key:"updateBoundingBoxCaches",value:function(){var e=this,t=this.parentData.domNode;t&&(this.parentData.boundingBox=this.props.getPosition(t),this.state.children.forEach(function(n){var r=u(n);if(r&&e.hasChildData(r)){var o=e.getChildData(r);o.domNode&&n&&e.setChildData(r,{boundingBox:(0,m.getRelativeBoundingBox)({childDomNode:o.domNode,parentDomNode:t,getPosition:e.props.getPosition})})}}))}},{key:"computeInitialStyles",value:function(e){if(e.appearing)return this.props.appearAnimation?this.props.appearAnimation.from:{};if(e.entering)return this.props.enterAnimation?c({position:"",top:"",left:"",right:"",bottom:""},this.props.enterAnimation.from):{};if(e.leaving)return this.props.leaveAnimation?this.props.leaveAnimation.from:{};var t=this.getChildData(u(e)),n=t.domNode,r=t.boundingBox,o=this.parentData.boundingBox;if(!n)return{};var i=(0,m.getPositionDelta)({childDomNode:n,childBoundingBox:r,parentBoundingBox:o,getPosition:this.props.getPosition}),a=s(i,2);return{transform:"translate("+a[0]+"px, "+a[1]+"px)"}}},{key:"isAnimationDisabled",value:function(e){return y||e.disableAllAnimations||0===e.duration&&0===e.delay&&0===e.staggerDurationBy&&0===e.staggerDelayBy}},{key:"findChildByKey",value:function(e){return this.state.children.find(function(t){return u(t)===e})}},{key:"hasChildData",value:function(e){return Object.prototype.hasOwnProperty.call(this.childrenData,e)}},{key:"getChildData",value:function(e){return this.hasChildData(e)?this.childrenData[e]:{}}},{key:"setChildData",value:function(e,t){this.childrenData[e]=c({},this.getChildData(e),t)}},{key:"removeChildData",value:function(e){delete this.childrenData[e]}},{key:"createHeightPlaceholder",value:function(){var e=this,t=this.props.typeName,n="ul"===t||"ol"===t,r=n?"li":"div";return p.default.createElement(r,{key:"height-placeholder",ref:function(t){e.heightPlaceholderData.domNode=t},style:{visibility:"hidden",height:0}})}},{key:"childrenWithRefs",value:function(){var e=this;return this.state.children.map(function(t){return p.default.cloneElement(t.element,{ref:function(n){if(n){var r=(0,m.getNativeNode)(n);e.setChildData(u(t),{domNode:r})}}})})}},{key:"render",value:function(){var e=this,t=this.props,n=t.typeName,r=t.delegated,o=t.leaveAnimation,i=t.maintainContainerHeight,a=c({},r,{ref:function(t){e.parentData.domNode=t}}),u=this.childrenWithRefs();return o&&i&&u.push(this.createHeightPlaceholder()),p.default.createElement(n,a,u)}}]),t}(f.Component);t.default=(0,h.default)(b),e.exports=t.default},function(e,t,n){"use strict";Array.prototype.find||(Array.prototype.find=function(e){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var t=Object(this),n=t.length>>>0,r=arguments[1],o=void 0,i=0;i<n;i++)if(o=t[i],e.call(r,o,i,t))return o}),Array.prototype.every||(Array.prototype.every=function(e,t){var n,r;if(null==this)throw new TypeError("this is null or not defined");var o=Object(this),i=o.length>>>0;if("function"!=typeof e)throw new TypeError;for(arguments.length>1&&(n=t),r=0;r<i;){var a;if(r in o){a=o[r];if(!e.call(n,a,r,o))return!1}r++}return!0}),Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)})},function(e,t,n){"use strict";(function(r){function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(e){var t,n;return n=t=function(t){function n(){return o(this,n),i(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return a(n,t),l(n,[{key:"checkForStatelessFunctionalComponents",value:function(e){if("production"!==v){f.Children.toArray(e).every(function(e){return!(0,m.isElementAnSFC)(e)||void 0===e.key})||(0,d.statelessFunctionalComponentSupplied)()}}},{key:"convertProps",value:function(e){var t={children:e.children,easing:e.easing,onStart:e.onStart,onFinish:e.onFinish,onStartAll:e.onStartAll,onFinishAll:e.onFinishAll,typeName:e.typeName,disableAllAnimations:e.disableAllAnimations,getPosition:e.getPosition,maintainContainerHeight:e.maintainContainerHeight,verticalAlignment:e.verticalAlignment,duration:this.convertTimingProp("duration"),delay:this.convertTimingProp("delay"),staggerDurationBy:this.convertTimingProp("staggerDurationBy"),staggerDelayBy:this.convertTimingProp("staggerDelayBy"),appearAnimation:this.convertAnimationProp(e.appearAnimation,h.appearPresets),enterAnimation:this.convertAnimationProp(e.enterAnimation,h.enterPresets),leaveAnimation:this.convertAnimationProp(e.leaveAnimation,h.leavePresets),delegated:{}};this.checkForStatelessFunctionalComponents(t.children),void 0!==e.disableAnimations&&("production"!==v&&(0,d.deprecatedDisableAnimations)(),t.disableAllAnimations=e.disableAnimations);var n=Object.keys(t),r=(0,m.omit)(this.props,n);return r.style=c({position:"relative"},r.style),t.delegated=r,t}},{key:"convertTimingProp",value:function(e){var t=this.props[e],r="number"==typeof t?t:parseInt(t,10);if(isNaN(r)){var o=n.defaultProps[e];return"production"!==v&&(0,d.invalidTypeForTimingProp)({prop:e,value:t,defaultValue:o}),o}return r}},{key:"convertAnimationProp",value:function(e,t){switch(void 0===e?"undefined":s(e)){case"boolean":return t[e?h.defaultPreset:h.disablePreset];case"string":var n=Object.keys(t);return-1===n.indexOf(e)?("production"!==v&&(0,d.invalidEnterLeavePreset)({value:e,acceptableValues:n.join(", "),defaultValue:h.defaultPreset}),t[h.defaultPreset]):t[e];default:return e}}},{key:"render",value:function(){return p.default.createElement(e,this.convertProps(this.props))}}]),n}(f.Component),t.defaultProps={easing:"ease-in-out",duration:350,delay:0,staggerDurationBy:0,staggerDelayBy:0,typeName:"div",enterAnimation:h.defaultPreset,leaveAnimation:h.defaultPreset,disableAllAnimations:!1,getPosition:function(e){return e.getBoundingClientRect()},maintainContainerHeight:!1,verticalAlignment:"top"},n}Object.defineProperty(t,"__esModule",{value:!0});var s="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},c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),f=n(4),p=function(e){return e&&e.__esModule?e:{default:e}}(f),d=n(139),h=n(140),m=n(46),v=void 0;try{v=r.env.NODE_ENV}catch(e){v="development"}t.default=u,e.exports=t.default}).call(t,n(5))},function(e,t,n){"use strict";function r(e){var t=!1;return function(){t||(console.warn(e),t=!0)}}Object.defineProperty(t,"__esModule",{value:!0});t.statelessFunctionalComponentSupplied=r("\n>> Error, via react-flip-move <<\n\nYou provided a stateless functional component as a child to <FlipMove>. Unfortunately, SFCs aren't supported, because Flip Move needs access to the backing instances via refs, and SFCs don't have a public instance that holds that info.\n\nPlease wrap your components in a native element (eg. <div>), or a non-functional component.\n"),t.invalidTypeForTimingProp=function(e){return console.error("\n>> Error, via react-flip-move <<\n\nThe prop you provided for '"+e.prop+"' is invalid. It needs to be a positive integer, or a string that can be resolved to a number. The value you provided is '"+e.value+"'.\n\nAs a result, the default value for this parameter will be used, which is '"+e.defaultValue+"'.\n")},t.deprecatedDisableAnimations=r("\n>> Warning, via react-flip-move <<\n\nThe 'disableAnimations' prop you provided is deprecated. Please switch to use 'disableAllAnimations'.\n\nThis will become a silent error in future versions of react-flip-move.\n"),t.invalidEnterLeavePreset=function(e){return console.error("\n>> Error, via react-flip-move <<\n\nThe enter/leave preset you provided is invalid. We don't currently have a '"+e.value+" preset.'\n\nAcceptable values are "+e.acceptableValues+". The default value of '"+e.defaultValue+"' will be used.\n")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.enterPresets={elevator:{from:{transform:"scale(0)",opacity:"0"},to:{transform:"",opacity:""}},fade:{from:{opacity:"0"},to:{opacity:""}},accordionVertical:{from:{transform:"scaleY(0)",transformOrigin:"center top"},to:{transform:"",transformOrigin:"center top"}},accordionHorizontal:{from:{transform:"scaleX(0)",transformOrigin:"left center"},to:{transform:"",transformOrigin:"left center"}},none:null},o=t.leavePresets={elevator:{from:{transform:"scale(1)",opacity:"1"},to:{transform:"scale(0)",opacity:"0"}},fade:{from:{opacity:"1"},to:{opacity:"0"}},accordionVertical:{from:{transform:"scaleY(1)",transformOrigin:"center top"},to:{transform:"scaleY(0)",transformOrigin:"center top"}},accordionHorizontal:{from:{transform:"scaleX(1)",transformOrigin:"left center"},to:{transform:"scaleX(0)",transformOrigin:"left center"}},none:null};t.appearPresets=r;r.accordianVertical=r.accordionVertical,r.accordianHorizontal=r.accordionHorizontal,o.accordianVertical=o.accordionVertical,o.accordianHorizontal=o.accordionHorizontal;t.defaultPreset="elevator",t.disablePreset="none"},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){var t=e.domNode,n=e.styles;Object.keys(n).forEach(function(e){t.style.setProperty((0,s.hyphenate)(e),n[e])})}function i(){var e={transition:"transitionend","-o-transition":"oTransitionEnd","-moz-transition":"transitionend","-webkit-transition":"webkitTransitionEnd"};if("undefined"==typeof document)return"";var t=document.createElement("fakeelement"),n=Object.keys(e).find(function(e){return void 0!==t.style.getPropertyValue(e)});return n?e[n]:""}Object.defineProperty(t,"__esModule",{value:!0}),t.createTransitionString=t.getNativeNode=t.updateHeightPlaceholder=t.removeNodeFromDOMFlow=t.getPositionDelta=t.getRelativeBoundingBox=void 0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.applyStylesToDOMNode=o,t.whichTransitionEvent=i;var u=n(4),s=n(46);t.getRelativeBoundingBox=function(e){var t=e.childDomNode,n=e.parentDomNode,r=e.getPosition,o=r(n),i=r(t),a=i.top,u=i.left,s=i.right,c=i.bottom,l=i.width,f=i.height;return{top:a-o.top,left:u-o.left,right:o.right-s,bottom:o.bottom-c,width:l,height:f}},t.getPositionDelta=function(e){var t=e.childDomNode,n=e.childBoundingBox,r=e.parentBoundingBox,o=e.getPosition,i={top:0,left:0,right:0,bottom:0,height:0,width:0},a=n||i,u=r||i,s=o(t),c={top:s.top-u.top,left:s.left-u.left};return[a.left-c.left,a.top-c.top]},t.removeNodeFromDOMFlow=function(e,t){var n=e.domNode,i=e.boundingBox;if(n&&i){var u=window.getComputedStyle(n),s=["margin-top","margin-left","margin-right"],c=s.reduce(function(e,t){var n=u.getPropertyValue(t);return a({},e,r({},t,Number(n.replace("px",""))))},{});o({domNode:n,styles:{position:"absolute",top:("bottom"===t?i.top-i.height:i.top)-c["margin-top"]+"px",left:i.left-c["margin-left"]+"px",right:i.right-c["margin-right"]+"px"}})}},t.updateHeightPlaceholder=function(e){var t=e.domNode,n=e.parentData,r=e.getPosition,i=n.domNode,a=n.boundingBox;if(i&&a){o({domNode:t,styles:{height:"0"}});var u=a.height,s=r(i).height,c=u-s;o({domNode:t,styles:{height:c>0?c+"px":"0"}})}},t.getNativeNode=function(e){if("undefined"==typeof HTMLElement)return null;if(e instanceof HTMLElement)return e;var t=(0,u.findDOMNode)(e);return t instanceof HTMLElement?t:null},t.createTransitionString=function(e,t){var n=t.delay,r=t.duration,o=t.staggerDurationBy,i=t.staggerDelayBy,a=t.easing;return n+=e*i,r+=e*o,["transform","opacity"].map(function(e){return e+" "+r+"ms "+a+" "+n+"ms"}).join(", ")}},function(e,t,n){var r,o,i;/*! + Autosize 3.0.21 + license: MIT + http://www.jacklmoore.com/autosize +*/ +!function(n,a){o=[t,e],r=a,void 0!==(i="function"==typeof r?r.apply(t,o):r)&&(e.exports=i)}(0,function(e,t){"use strict";function n(e){function t(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function n(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}function r(){var t=e.style.height,r=n(e),o=document.documentElement&&document.documentElement.scrollTop;e.style.height="auto";var i=e.scrollHeight+u;if(0===e.scrollHeight)return void(e.style.height=t);e.style.height=i+"px",s=e.clientWidth,r.forEach(function(e){e.node.scrollTop=e.scrollTop}),o&&(document.documentElement.scrollTop=o)}function o(){r();var n=Math.round(parseFloat(e.style.height)),o=window.getComputedStyle(e,null),i="content-box"===o.boxSizing?Math.round(parseFloat(o.height)):e.offsetHeight;if(i!==n?"hidden"===o.overflowY&&(t("scroll"),r(),i="content-box"===o.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==o.overflowY&&(t("hidden"),r(),i="content-box"===o.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),c!==i){c=i;var u=a("autosize:resized");try{e.dispatchEvent(u)}catch(e){}}}if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!i.has(e)){var u=null,s=e.clientWidth,c=null,l=function(){e.clientWidth!==s&&o()},f=function(t){window.removeEventListener("resize",l,!1),e.removeEventListener("input",o,!1),e.removeEventListener("keyup",o,!1),e.removeEventListener("autosize:destroy",f,!1),e.removeEventListener("autosize:update",o,!1),Object.keys(t).forEach(function(n){e.style[n]=t[n]}),i.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",f,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",o,!1),window.addEventListener("resize",l,!1),e.addEventListener("input",o,!1),e.addEventListener("autosize:update",o,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",i.set(e,{destroy:f,update:o}),function(){var t=window.getComputedStyle(e,null);"vertical"===t.resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),u="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),isNaN(u)&&(u=0),o()}()}}function r(e){var t=i.get(e);t&&t.destroy()}function o(e){var t=i.get(e);t&&t.update()}var i="function"==typeof Map?new Map:function(){var e=[],t=[];return{has:function(t){return e.indexOf(t)>-1},get:function(n){return t[e.indexOf(n)]},set:function(n,r){-1===e.indexOf(n)&&(e.push(n),t.push(r))},delete:function(n){var r=e.indexOf(n);r>-1&&(e.splice(r,1),t.splice(r,1))}}}(),a=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){a=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}var u=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?(u=function(e){return e},u.destroy=function(e){return e},u.update=function(e){return e}):(u=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],function(e){return n(e)}),e},u.destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],r),e},u.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],o),e}),t.exports=u})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return new i.default({phrases:y[e]||y.en,locale:e})};var o=n(144),i=r(o),a=n(145),u=r(a),s=n(146),c=r(s),l=n(147),f=r(l),p=n(148),d=r(p),h=n(149),m=r(h),v=n(150),g=r(v),y={zh:u.default,"zh-CN":u.default,"zh-TW":c.default,en:f.default,"es-ES":d.default,fr:m.default,ru:g.default}},function(e,t,n){var r,o;!function(n,i){r=[],void 0!==(o=function(){return i(n)}.apply(t,r))&&(e.exports=o)}(this,function(e){"use strict";function t(e){e=e||{},this.phrases={},this.extend(e.phrases||{}),this.currentLocale=e.locale||"en",this.allowMissing=!!e.allowMissing,this.warn=e.warn||s}function n(e){var t,n,r,o={};for(t in e)if(e.hasOwnProperty(t)){n=e[t];for(r in n)o[n[r]]=t}return o}function r(e){var t=/^\s+|\s+$/g;return e.replace(t,"")}function o(e,t,n){var o,i,u;return null!=n&&e?(i=e.split(l),u=i[a(t,n)]||i[0],o=r(u)):o=e,o}function i(e){var t=n(p);return t[e]||t.en}function a(e,t){return f[i(e)](t)}function u(e,t){for(var n in t)"_"!==n&&t.hasOwnProperty(n)&&(e=e.replace(new RegExp("%\\{"+n+"\\}","g"),t[n]));return e}function s(t){e.console&&e.console.warn&&e.console.warn("WARNING: "+t)}function c(e){var t={};for(var n in e)t[n]=e[n];return t}t.VERSION="0.4.3",t.prototype.locale=function(e){return e&&(this.currentLocale=e),this.currentLocale},t.prototype.extend=function(e,t){var n;for(var r in e)e.hasOwnProperty(r)&&(n=e[r],t&&(r=t+"."+r),"object"==typeof n?this.extend(n,r):this.phrases[r]=n)},t.prototype.clear=function(){this.phrases={}},t.prototype.replace=function(e){this.clear(),this.extend(e)},t.prototype.t=function(e,t){var n,r;return t=null==t?{}:t,"number"==typeof t&&(t={smart_count:t}),"string"==typeof this.phrases[e]?n=this.phrases[e]:"string"==typeof t._?n=t._:this.allowMissing?n=e:(this.warn('Missing translation for key: "'+e+'"'),r=e),"string"==typeof n&&(t=c(t),r=o(n,this.currentLocale,t.smart_count),r=u(r,t)),r},t.prototype.has=function(e){return e in this.phrases};var l="||||",f={chinese:function(e){return 0},german:function(e){return 1!==e?1:0},french:function(e){return e>1?1:0},russian:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},czech:function(e){return 1===e?0:e>=2&&e<=4?1:2},polish:function(e){return 1===e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},icelandic:function(e){return e%10!=1||e%100==11?1:0}},p={chinese:["fa","id","ja","ko","lo","ms","th","tr","zh"],german:["da","de","en","es","fi","el","he","hu","it","nl","no","pt","sv"],french:["fr","tl","pt-br"],russian:["hr","ru"],czech:["cs"],polish:["pl"],icelandic:["is"]};return t})},function(e,t){e.exports={init:"Gitalk 加载中 ...","no-found-related":"未找到相关的 %{link} 进行评论","please-contact":"请联系 %{user} 初始化创建","init-issue":"初始化 Issue","leave-a-comment":"说点什么",comment:"评论","support-markdown":"支持 Markdown 语法","login-with-github":"使用 Github 登录","first-comment-person":"来做第一个留言的人吧!",commented:"发表于","load-more":"加载更多",counts:"%{counts} 条评论","sort-asc":"从旧到新排序","sort-desc":"从新到旧排序",logout:"注销",anonymous:"未登录用户"}},function(e,t){e.exports={init:"Gitalk 載入中…","no-found-related":"未找到相關的 %{link}","please-contact":"請聯絡 %{user} 初始化評論","init-issue":"初始化 Issue","leave-a-comment":"寫點什麼",comment:"評論","support-markdown":"支援 Markdown 語法","login-with-github":"使用 Github 登入","first-comment-person":"成為首個留言的人吧!",commented:"評論於","load-more":"載入更多",counts:"%{counts} 筆評論","sort-asc":"從舊至新排序","sort-desc":"從新至舊排序",logout:"登出",anonymous:"訪客"}},function(e,t){e.exports={init:"Gitalking ...","no-found-related":"Related %{link} not found","please-contact":"Please contact %{user} to initialize the comment","init-issue":"Init Issue","leave-a-comment":"Leave a comment",comment:"Comment","support-markdown":"Markdown is supported","login-with-github":"Login with Github","first-comment-person":"Be the first guy leaving a comment!",commented:"commented","load-more":"Load more",counts:"%{counts} comment |||| %{counts} comments","sort-asc":"Sort by Oldest","sort-desc":"Sort by Latest",logout:"Logout",anonymous:"Anonymous"}},function(e,t){e.exports={init:"Gitalking ...","no-found-related":"Link %{link} no encontrado","please-contact":"Por favor contacta con %{user} para inicializar el comentario","init-issue":"Iniciar Issue","leave-a-comment":"Deja un comentario",comment:"Comentario","support-markdown":"Markdown es soportado","login-with-github":"Entrar con Github","first-comment-person":"Sé el primero en dejar un comentario!",commented:"comentó","load-more":"Cargar más",counts:"%{counts} comentario |||| %{counts} comentarios","sort-asc":"Ordenar por Antiguos","sort-desc":"Ordenar por Recientes",logout:"Salir",anonymous:"Anónimo"}},function(e,t){e.exports={init:"Gitalking ...","no-found-related":"Lien %{link} non trouvé","please-contact":"S’il vous plaît contactez %{user} pour initialiser les commentaires","init-issue":"Initialisation des issues","leave-a-comment":"Laisser un commentaire",comment:"Commentaire","support-markdown":"Markdown est supporté","login-with-github":"Se connecter avec Github","first-comment-person":"Être le premier à laisser un commentaire !",commented:"commenter","load-more":"Charger plus",counts:"%{counts} commentaire |||| %{counts} commentaires","sort-asc":"Trier par plus ancien","sort-desc":"Trier par plus récent",logout:"Déconnexion",anonymous:"Anonyme"}},function(e,t){e.exports={init:"Gitalking ...","no-found-related":"Связанные %{link} не найдены","please-contact":"Пожалуйста, свяжитесь с %{user} чтобы инициализировать комментарий","init-issue":"Выпуск инициализации","leave-a-comment":"Оставить комментарий",comment:"Комментарий","support-markdown":"Поддерживается Markdown","login-with-github":"Вход через Github","first-comment-person":"Будьте первым, кто оставил комментарий",commented:"прокомментированный","load-more":"Загрузить ещё",counts:"%{counts} комментарий |||| %{counts} комментарьев","sort-asc":"Сортировать по старым","sort-desc":"Сортировать по последним",logout:"Выход",anonymous:"Анонимный"}},function(e,t){},function(e,t,n){e.exports={default:n(153),__esModule:!0}},function(e,t,n){n(154),e.exports=n(0).Object.keys},function(e,t,n){var r=n(22),o=n(17);n(63)("keys",function(){return function(e){return o(r(e))}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(156),i=r(o),a=n(159),u=r(a);t.default=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=(0,u.default)(e);!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if((0,i.default)(Object(t)))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(e,t,n){e.exports={default:n(157),__esModule:!0}},function(e,t,n){n(26),n(20),e.exports=n(158)},function(e,t,n){var r=n(41),o=n(1)("iterator"),i=n(16);e.exports=n(0).isIterable=function(e){var t=Object(e);return void 0!==t[o]||"@@iterator"in t||i.hasOwnProperty(r(t))}},function(e,t,n){e.exports={default:n(160),__esModule:!0}},function(e,t,n){n(26),n(20),e.exports=n(161)},function(e,t,n){var r=n(8),o=n(42);e.exports=n(0).getIterator=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},function(e,t,n){e.exports=n(163)},function(e,t,n){"use strict";function r(e){var t=new a(e),n=i(a.prototype.request,t);return o.extend(n,a.prototype,t),o.extend(n,t),n}var o=n(3),i=n(68),a=n(165),u=n(47),s=r(u);s.Axios=a,s.create=function(e){return r(o.merge(u,e))},s.Cancel=n(72),s.CancelToken=n(179),s.isCancel=n(71),s.all=function(e){return Promise.all(e)},s.spread=n(180),e.exports=s,e.exports.default=s},function(e,t){function n(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function r(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&n(e.slice(0,0))}/*! + * Determine if an object is a Buffer + * + * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org> + * @license MIT + */ +e.exports=function(e){return null!=e&&(n(e)||r(e)||!!e._isBuffer)}},function(e,t,n){"use strict";function r(e){this.defaults=e,this.interceptors={request:new a,response:new a}}var o=n(47),i=n(3),a=n(174),u=n(175),s=n(177),c=n(178);r.prototype.request=function(e){"string"==typeof e&&(e=i.merge({url:arguments[0]},arguments[1])),e=i.merge(o,this.defaults,{method:"get"},e),e.method=e.method.toLowerCase(),e.baseURL&&!s(e.url)&&(e.url=c(e.baseURL,e.url));var t=[u,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)n=n.then(t.shift(),t.shift());return n},i.forEach(["delete","get","head","options"],function(e){r.prototype[e]=function(t,n){return this.request(i.merge(n||{},{method:e,url:t}))}}),i.forEach(["post","put","patch"],function(e){r.prototype[e]=function(t,n,r){return this.request(i.merge(r||{},{method:e,url:t,data:n}))}}),e.exports=r},function(e,t,n){"use strict";var r=n(3);e.exports=function(e,t){r.forEach(e,function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])})}},function(e,t,n){"use strict";var r=n(70);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e}},function(e,t,n){"use strict";function r(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var o=n(3);e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(o.isURLSearchParams(t))i=t.toString();else{var a=[];o.forEach(t,function(e,t){null!==e&&void 0!==e&&(o.isArray(e)&&(t+="[]"),o.isArray(e)||(e=[e]),o.forEach(e,function(e){o.isDate(e)?e=e.toISOString():o.isObject(e)&&(e=JSON.stringify(e)),a.push(r(t)+"="+r(e))}))}),i=a.join("&")}return i&&(e+=(-1===e.indexOf("?")?"?":"&")+i),e}},function(e,t,n){"use strict";var r=n(3);e.exports=function(e){var t,n,o,i={};return e?(r.forEach(e.split("\n"),function(e){o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),n=r.trim(e.substr(o+1)),t&&(i[t]=i[t]?i[t]+", "+n:n)}),i):i}},function(e,t,n){"use strict";var r=n(3);e.exports=r.isStandardBrowserEnv()?function(){function e(e){var t=e;return n&&(o.setAttribute("href",t),t=o.href),o.setAttribute("href",t),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:"/"===o.pathname.charAt(0)?o.pathname:"/"+o.pathname}}var t,n=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");return t=e(window.location.href),function(n){var o=r.isString(n)?e(n):n;return o.protocol===t.protocol&&o.host===t.host}}():function(){return function(){return!0}}()},function(e,t,n){"use strict";function r(){this.message="String contains an invalid character"}function o(e){for(var t,n,o=String(e),a="",u=0,s=i;o.charAt(0|u)||(s="=",u%1);a+=s.charAt(63&t>>8-u%1*8)){if((n=o.charCodeAt(u+=.75))>255)throw new r;t=t<<8|n}return a}var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.prototype=new Error,r.prototype.code=5,r.prototype.name="InvalidCharacterError",e.exports=o},function(e,t,n){"use strict";var r=n(3);e.exports=r.isStandardBrowserEnv()?function(){return{write:function(e,t,n,o,i,a){var u=[];u.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&u.push("expires="+new Date(n).toGMTString()),r.isString(o)&&u.push("path="+o),r.isString(i)&&u.push("domain="+i),!0===a&&u.push("secure"),document.cookie=u.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},function(e,t,n){"use strict";function r(){this.handlers=[]}var o=n(3);r.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},r.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},r.prototype.forEach=function(e){o.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=r},function(e,t,n){"use strict";function r(e){e.cancelToken&&e.cancelToken.throwIfRequested()}var o=n(3),i=n(176),a=n(71),u=n(47);e.exports=function(e){return r(e),e.headers=e.headers||{},e.data=i(e.data,e.headers,e.transformRequest),e.headers=o.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),o.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||u.adapter)(e).then(function(t){return r(e),t.data=i(t.data,t.headers,e.transformResponse),t},function(t){return a(t)||(r(e),t&&t.response&&(t.response.data=i(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},function(e,t,n){"use strict";var r=n(3);e.exports=function(e,t,n){return r.forEach(n,function(n){e=n(e,t)}),e}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";function r(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new o(e),t(n.reason))})}var o=n(72);r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var e;return{token:new r(function(t){e=t}),cancel:e}},e.exports=r},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e){var t=e.className,n=e.getRef,r=e.onClick,i=e.onMouseDown,a=e.text,u=e.isLoading;return o.default.createElement("button",{ref:function(e){return n&&n(e)},className:"gt-btn "+t,onClick:r,onMouseDown:i},o.default.createElement("span",{className:"gt-btn-text"},a),u&&o.default.createElement("span",{className:"gt-btn-loading gt-spinner"}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e){var t=e.className,n=e.onClick,r=e.text;return o.default.createElement("a",{className:"gt-action "+t,onClick:n},o.default.createElement("span",{className:"gt-action-text"},r))}},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(4),i=r(o),a=n(73),u=r(a),s=n(74),c=r(s),l=n(192),f=r(l),p=n(205),d=r(p),h=n(206),m=r(h),v=n(207),g=r(v),y=n(208),b=r(y),_=n(209),w=r(_);n(210);var x=(0,d.default)(),E=(0,m.default)(),N=(0,g.default)(),C=(0,b.default)(),S=(0,w.default)();window.GT_i18n_distanceInWordsLocaleMap={zh:x,"zh-CN":x,"zh-TW":E,"es-ES":N,fr:C,ru:S},t.default=function(e){var t=e.comment,n=e.user,r=e.language,o=e.commentedText,a=void 0===o?"":o,s=e.admin,l=void 0===s?[]:s,p=e.replyCallback,d=e.likeCallback,h=n&&t.user.login===n.login,m=~[].concat(l).map(function(e){return e.toLowerCase()}).indexOf(t.user.login.toLowerCase()),v=t.reactions,g="";return v&&v.totalCount&&(g=v.totalCount,100===v.totalCount&&v.pageInfo&&v.pageInfo.hasNextPage&&(g="100+")),i.default.createElement("div",{className:"gt-comment "+(m?"gt-comment-admin":"")},i.default.createElement(u.default,{className:"gt-comment-avatar",src:t.user&&t.user.avatar_url}),i.default.createElement("div",{className:"gt-comment-content"},i.default.createElement("div",{className:"gt-comment-header"},i.default.createElement("a",{className:"gt-comment-username",href:t.user&&t.user.html_url},t.user&&t.user.login),i.default.createElement("span",{className:"gt-comment-text"},a),i.default.createElement("span",{className:"gt-comment-date"},(0,f.default)(t.created_at,{addSuffix:!0,locale:{distanceInWords:window.GT_i18n_distanceInWordsLocaleMap[r]}})),v&&i.default.createElement("a",{className:"gt-comment-like",onClick:d},v.viewerHasReacted?i.default.createElement(c.default,{className:"gt-ico-heart",name:"heart_on",text:g}):i.default.createElement(c.default,{className:"gt-ico-heart",name:"heart",text:g})),h?i.default.createElement("a",{href:t.html_url,className:"gt-comment-edit",target:"_blank"},i.default.createElement(c.default,{className:"gt-ico-edit",name:"edit"})):i.default.createElement("a",{className:"gt-comment-reply",onClick:p},i.default.createElement(c.default,{className:"gt-ico-reply",name:"reply"}))),i.default.createElement("div",{className:"gt-comment-body markdown-body",dangerouslySetInnerHTML:{__html:t.body_html}})))}},function(e,t,n){function r(e){return n(o(e))}function o(e){var t=i[e];if(!(t+1))throw new Error("Cannot find module '"+e+"'.");return t}var i={"./arrow_down.svg":185,"./edit.svg":186,"./github.svg":187,"./heart.svg":188,"./heart_on.svg":189,"./reply.svg":190,"./tip.svg":191};r.keys=function(){return Object.keys(i)},r.resolve=o,e.exports=r,r.id=184},function(e,t){e.exports='<svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="1619"><path d="M511.872 676.8c-0.003 0-0.006 0-0.008 0-9.137 0-17.379-3.829-23.21-9.97l-251.277-265.614c-5.415-5.72-8.743-13.464-8.744-21.984 0-17.678 14.33-32.008 32.008-32.008 9.157 0 17.416 3.845 23.25 10.009l228.045 241.103 228.224-241.088c5.855-6.165 14.113-10.001 23.266-10.001 8.516 0 16.256 3.32 21.998 8.736 12.784 12.145 13.36 32.434 1.264 45.233l-251.52 265.6c-5.844 6.155-14.086 9.984-23.223 9.984-0.025 0-0.051 0-0.076 0z" p-id="1620"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg">\n <path d="M785.333333 85.333333C774.666667 85.333333 763.2 90.133333 754.666667 98.666667L682.666667 170.666667 853.333333 341.333333 925.333333 269.333333C942.4 252.266667 942.4 222.133333 925.333333 209.333333L814.666667 98.666667C806.133333 90.133333 796 85.333333 785.333333 85.333333zM640 217.333333 85.333333 768 85.333333 938.666667 256 938.666667 806.666667 384 640 217.333333z"></path>\n</svg>\n'},function(e,t){e.exports='<svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg">\n <path d="M64 524C64 719.602 189.356 885.926 364.113 947.017 387.65799 953 384 936.115 384 924.767L384 847.107C248.118 863.007 242.674 773.052 233.5 758.001 215 726.501 171.5 718.501 184.5 703.501 215.5 687.501 247 707.501 283.5 761.501 309.956 800.642 361.366 794.075 387.658 787.497 393.403 763.997 405.637 743.042 422.353 726.638 281.774 701.609 223 615.67 223 513.5 223 464.053 239.322 418.406 271.465 381.627 251.142 320.928 273.421 269.19 276.337 261.415 334.458 256.131 394.888 302.993 399.549 306.685 432.663 297.835 470.341 293 512.5 293 554.924 293 592.81 297.896 626.075 306.853 637.426 298.219 693.46 258.054 747.5 262.966 750.382 270.652 772.185 321.292 753.058 381.083 785.516 417.956 802 463.809 802 513.5 802 615.874 742.99 701.953 601.803 726.786 625.381 750.003 640 782.295 640 818.008L640 930.653C640.752 939.626 640 948.664978 655.086 948.665 832.344 888.962 960 721.389 960 524 960 276.576 759.424 76 512 76 264.577 76 64 276.576 64 524Z"></path>\n</svg>\n'},function(e,t){e.exports='<svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n <path d="M527.061333 166.528A277.333333 277.333333 0 0 1 1000.618667 362.666667a277.333333 277.333333 0 0 1-81.28 196.138666l-377.173334 377.173334a42.666667 42.666667 0 0 1-60.330666 0l-377.173334-377.173334a277.376 277.376 0 0 1 392.277334-392.277333l15.061333 15.061333 15.061333-15.061333z m286.72 377.173333l45.226667-45.226666a192 192 0 0 0-135.808-327.893334 192 192 0 0 0-135.808 56.32l-45.226667 45.226667a42.666667 42.666667 0 0 1-60.330666 0l-45.226667-45.226667a192.042667 192.042667 0 0 0-271.616 271.573334L512 845.482667l301.781333-301.781334z"></path>\n</svg>\n'},function(e,t){e.exports='<svg t="1512463363724" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n <path d="M527.061333 166.528A277.333333 277.333333 0 0 1 1000.618667 362.666667a277.333333 277.333333 0 0 1-81.28 196.138666l-377.173334 377.173334a42.666667 42.666667 0 0 1-60.330666 0l-377.173334-377.173334a277.376 277.376 0 0 1 392.277334-392.277333l15.061333 15.061333 15.061333-15.061333z"></path>\n</svg>\n'},function(e,t){e.exports='<svg viewBox="0 0 1332 1024" version="1.1" xmlns="http://www.w3.org/2000/svg">\n <path d="M529.066665 273.066666 529.066665 0 51.2 477.866666 529.066665 955.733335 529.066665 675.84C870.4 675.84 1109.333335 785.066665 1280 1024 1211.733335 682.666665 1006.933335 341.333334 529.066665 273.066666"></path>\n</svg>\n'},function(e,t){e.exports='<svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg">\n <path d="M512 366.949535c-16.065554 0-29.982212 13.405016-29.982212 29.879884l0 359.070251c0 16.167882 13.405016 29.879884 29.982212 29.879884 15.963226 0 29.879884-13.405016 29.879884-29.879884L541.879884 396.829419C541.879884 380.763865 528.474868 366.949535 512 366.949535L512 366.949535z"\n p-id="3083"></path>\n <path d="M482.017788 287.645048c0-7.776956 3.274508-15.553912 8.80024-21.181973 5.525732-5.525732 13.302688-8.80024 21.181973-8.80024 7.776956 0 15.553912 3.274508 21.079644 8.80024 5.525732 5.62806 8.80024 13.405016 8.80024 21.181973 0 7.776956-3.274508 15.656241-8.80024 21.181973-5.525732 5.525732-13.405016 8.697911-21.079644 8.697911-7.879285 0-15.656241-3.274508-21.181973-8.697911C485.292295 303.301289 482.017788 295.524333 482.017788 287.645048L482.017788 287.645048z"\n p-id="3084"></path>\n <path d="M512 946.844409c-239.8577 0-434.895573-195.037873-434.895573-434.895573 0-239.8577 195.037873-434.895573 434.895573-434.895573 239.755371 0 434.895573 195.037873 434.895573 434.895573C946.895573 751.806535 751.755371 946.844409 512 946.844409zM512 126.17088c-212.740682 0-385.880284 173.037274-385.880284 385.777955 0 212.740682 173.037274 385.777955 385.880284 385.777955 212.740682 0 385.777955-173.037274 385.777955-385.777955C897.777955 299.208154 724.740682 126.17088 512 126.17088z"\n p-id="3085"></path>\n</svg>\n'},function(e,t,n){function r(e,t){return o(Date.now(),e,t)}var o=n(193);e.exports=r},function(e,t,n){function r(e,t,n){var r=n||{},d=o(e,t),h=r.locale,m=s.distanceInWords.localize;h&&h.distanceInWords&&h.distanceInWords.localize&&(m=h.distanceInWords.localize);var v,g,y={addSuffix:Boolean(r.addSuffix),comparison:d};d>0?(v=i(e),g=i(t)):(v=i(t),g=i(e));var b,_=a(g,v),w=g.getTimezoneOffset()-v.getTimezoneOffset(),x=Math.round(_/60)-w;if(x<2)return r.includeSeconds?_<5?m("lessThanXSeconds",5,y):_<10?m("lessThanXSeconds",10,y):_<20?m("lessThanXSeconds",20,y):_<40?m("halfAMinute",null,y):_<60?m("lessThanXMinutes",1,y):m("xMinutes",1,y):0===x?m("lessThanXMinutes",1,y):m("xMinutes",x,y);if(x<45)return m("xMinutes",x,y);if(x<90)return m("aboutXHours",1,y);if(x<c){return m("aboutXHours",Math.round(x/60),y)}if(x<l)return m("xDays",1,y);if(x<f){return m("xDays",Math.round(x/c),y)}if(x<p)return b=Math.round(x/f),m("aboutXMonths",b,y);if((b=u(g,v))<12){return m("xMonths",Math.round(x/f),y)}var E=b%12,N=Math.floor(b/12);return E<3?m("aboutXYears",N,y):E<9?m("overXYears",N,y):m("almostXYears",N+1,y)}var o=n(194),i=n(18),a=n(196),u=n(198),s=n(201),c=1440,l=2520,f=43200,p=86400;e.exports=r},function(e,t,n){function r(e,t){var n=o(e),r=n.getTime(),i=o(t),a=i.getTime();return r>a?-1:r<a?1:0}var o=n(18);e.exports=r},function(e,t){function n(e){return e instanceof Date}e.exports=n},function(e,t,n){function r(e,t){var n=o(e,t)/1e3;return n>0?Math.floor(n):Math.ceil(n)}var o=n(197);e.exports=r},function(e,t,n){function r(e,t){var n=o(e),r=o(t);return n.getTime()-r.getTime()}var o=n(18);e.exports=r},function(e,t,n){function r(e,t){var n=o(e),r=o(t),u=a(n,r),s=Math.abs(i(n,r));return n.setMonth(n.getMonth()-u*s),u*(s-(a(n,r)===-u))}var o=n(18),i=n(199),a=n(200);e.exports=r},function(e,t,n){function r(e,t){var n=o(e),r=o(t);return 12*(n.getFullYear()-r.getFullYear())+(n.getMonth()-r.getMonth())}var o=n(18);e.exports=r},function(e,t,n){function r(e,t){var n=o(e),r=n.getTime(),i=o(t),a=i.getTime();return r<a?-1:r>a?1:0}var o=n(18);e.exports=r},function(e,t,n){var r=n(202),o=n(203);e.exports={distanceInWords:r(),format:o()}},function(e,t){function n(){function e(e,n,r){r=r||{};var o;return o="string"==typeof t[e]?t[e]:1===n?t[e].one:t[e].other.replace("{{count}}",n),r.addSuffix?r.comparison>0?"in "+o:o+" ago":o}var t={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};return{localize:e}}e.exports=n},function(e,t,n){function r(){var e=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],t=["January","February","March","April","May","June","July","August","September","October","November","December"],n=["Su","Mo","Tu","We","Th","Fr","Sa"],r=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],a=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],u=["AM","PM"],s=["am","pm"],c=["a.m.","p.m."],l={MMM:function(t){return e[t.getMonth()]},MMMM:function(e){return t[e.getMonth()]},dd:function(e){return n[e.getDay()]},ddd:function(e){return r[e.getDay()]},dddd:function(e){return a[e.getDay()]},A:function(e){return e.getHours()/12>=1?u[1]:u[0]},a:function(e){return e.getHours()/12>=1?s[1]:s[0]},aa:function(e){return e.getHours()/12>=1?c[1]:c[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){l[e+"o"]=function(t,n){return o(n[e](t))}}),{formatters:l,formattingTokensRegExp:i(l)}}function o(e){var t=e%100;if(t>20||t<10)switch(t%10){case 1:return e+"st";case 2:return e+"nd";case 3:return e+"rd"}return e+"th"}var i=n(204);e.exports=r},function(e,t){function n(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);var o=r.concat(t).sort().reverse();return new RegExp("(\\[[^\\[]*\\])|(\\\\)?("+o.join("|")+"|.)","g")}var r=["M","MM","Q","D","DD","DDD","DDDD","d","E","W","WW","YY","YYYY","GG","GGGG","H","HH","h","hh","m","mm","s","ss","S","SS","SSS","Z","ZZ","X","x"];e.exports=n},function(e,t){function n(){function e(e,n,r){r=r||{};var o;return o="string"==typeof t[e]?t[e]:1===n?t[e].one:t[e].other.replace("{{count}}",n),r.addSuffix?r.comparison>0?o+"内":o+"前":o}var t={lessThanXSeconds:{one:"不到 1 秒",other:"不到 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分钟",lessThanXMinutes:{one:"不到 1 分钟",other:"不到 {{count}} 分钟"},xMinutes:{one:"1 分钟",other:"{{count}} 分钟"},xHours:{one:"1 小时",other:"{{count}} 小时"},aboutXHours:{one:"大约 1 小时",other:"大约 {{count}} 小时"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXMonths:{one:"大约 1 个月",other:"大约 {{count}} 个月"},xMonths:{one:"1 个月",other:"{{count}} 个月"},aboutXYears:{one:"大约 1 年",other:"大约 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超过 1 年",other:"超过 {{count}} 年"},almostXYears:{one:"将近 1 年",other:"将近 {{count}} 年"}};return{localize:e}}e.exports=n},function(e,t){function n(){function e(e,n,r){r=r||{};var o;return o="string"==typeof t[e]?t[e]:1===n?t[e].one:t[e].other.replace("{{count}}",n),r.addSuffix?r.comparison>0?o+"內":o+"前":o}var t={lessThanXSeconds:{one:"少於 1 秒",other:"少於 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分鐘",lessThanXMinutes:{one:"少於 1 分鐘",other:"少於 {{count}} 分鐘"},xMinutes:{one:"1 分鐘",other:"{{count}} 分鐘"},xHours:{one:"1 小時",other:"{{count}} 小時"},aboutXHours:{one:"大約 1 小時",other:"大約 {{count}} 小時"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXMonths:{one:"大約 1 個月",other:"大約 {{count}} 個月"},xMonths:{one:"1 個月",other:"{{count}} 個月"},aboutXYears:{one:"大約 1 年",other:"大約 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超過 1 年",other:"超過 {{count}} 年"},almostXYears:{one:"將近 1 年",other:"將近 {{count}} 年"}};return{localize:e}}e.exports=n},function(e,t){function n(){function e(e,n,r){r=r||{};var o;return o="string"==typeof t[e]?t[e]:1===n?t[e].one:t[e].other.replace("{{count}}",n),r.addSuffix?r.comparison>0?"en "+o:"hace "+o:o}var t={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 día",other:"{{count}} días"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 año",other:"alrededor de {{count}} años"},xYears:{one:"1 año",other:"{{count}} años"},overXYears:{one:"más de 1 año",other:"más de {{count}} años"},almostXYears:{one:"casi 1 año",other:"casi {{count}} años"}};return{localize:e}}e.exports=n},function(e,t){function n(){function e(e,n,r){r=r||{};var o;return o="string"==typeof t[e]?t[e]:1===n?t[e].one:t[e].other.replace("{{count}}",n),r.addSuffix?r.comparison>0?"dans "+o:"il y a "+o:o}var t={lessThanXSeconds:{one:"moins d’une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d’une minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus d’un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu’un an",other:"presque {{count}} ans"}};return{localize:e}}e.exports=n},function(e,t){function n(e,t){if(void 0!==e.one&&1===t)return e.one;var n=t%10,r=t%100;return 1===n&&11!==r?e.singularNominative.replace("{{count}}",t):n>=2&&n<=4&&(r<10||r>20)?e.singularGenitive.replace("{{count}}",t):e.pluralGenitive.replace("{{count}}",t)}function r(e){return function(t,r){return r.addSuffix?r.comparison>0?e.future?n(e.future,t):"через "+n(e.regular,t):e.past?n(e.past,t):n(e.regular,t)+" назад":n(e.regular,t)}}function o(){function e(e,n,r){return r=r||{},t[e](n,r)}var t={lessThanXSeconds:r({regular:{one:"меньше секунды",singularNominative:"меньше {{count}} секунды",singularGenitive:"меньше {{count}} секунд",pluralGenitive:"меньше {{count}} секунд"},future:{one:"меньше, чем через секунду",singularNominative:"меньше, чем через {{count}} секунду",singularGenitive:"меньше, чем через {{count}} секунды",pluralGenitive:"меньше, чем через {{count}} секунд"}}),xSeconds:r({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунды",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду назад",singularGenitive:"{{count}} секунды назад",pluralGenitive:"{{count}} секунд назад"},future:{singularNominative:"через {{count}} секунду",singularGenitive:"через {{count}} секунды",pluralGenitive:"через {{count}} секунд"}}),halfAMinute:function(e,t){return t.addSuffix?t.comparison>0?"через полминуты":"полминуты назад":"полминуты"},lessThanXMinutes:r({regular:{one:"меньше минуты",singularNominative:"меньше {{count}} минуты",singularGenitive:"меньше {{count}} минут",pluralGenitive:"меньше {{count}} минут"},future:{one:"меньше, чем через минуту",singularNominative:"меньше, чем через {{count}} минуту",singularGenitive:"меньше, чем через {{count}} минуты",pluralGenitive:"меньше, чем через {{count}} минут"}}),xMinutes:r({regular:{singularNominative:"{{count}} минута",singularGenitive:"{{count}} минуты",pluralGenitive:"{{count}} минут"},past:{singularNominative:"{{count}} минуту назад",singularGenitive:"{{count}} минуты назад",pluralGenitive:"{{count}} минут назад"},future:{singularNominative:"через {{count}} минуту",singularGenitive:"через {{count}} минуты",pluralGenitive:"через {{count}} минут"}}),aboutXHours:r({regular:{singularNominative:"около {{count}} часа",singularGenitive:"около {{count}} часов",pluralGenitive:"около {{count}} часов"},future:{singularNominative:"приблизительно через {{count}} час",singularGenitive:"приблизительно через {{count}} часа",pluralGenitive:"приблизительно через {{count}} часов"}}),xHours:r({regular:{singularNominative:"{{count}} час",singularGenitive:"{{count}} часа",pluralGenitive:"{{count}} часов"}}),xDays:r({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} дня",pluralGenitive:"{{count}} дней"}}),aboutXMonths:r({regular:{singularNominative:"около {{count}} месяца",singularGenitive:"около {{count}} месяцев",pluralGenitive:"около {{count}} месяцев"},future:{singularNominative:"приблизительно через {{count}} месяц",singularGenitive:"приблизительно через {{count}} месяца",pluralGenitive:"приблизительно через {{count}} месяцев"}}),xMonths:r({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяца",pluralGenitive:"{{count}} месяцев"}}),aboutXYears:r({regular:{singularNominative:"около {{count}} года",singularGenitive:"около {{count}} лет",pluralGenitive:"около {{count}} лет"},future:{singularNominative:"приблизительно через {{count}} год",singularGenitive:"приблизительно через {{count}} года",pluralGenitive:"приблизительно через {{count}} лет"}}),xYears:r({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} года",pluralGenitive:"{{count}} лет"}}),overXYears:r({regular:{singularNominative:"больше {{count}} года",singularGenitive:"больше {{count}} лет",pluralGenitive:"больше {{count}} лет"},future:{singularNominative:"больше, чем через {{count}} год",singularGenitive:"больше, чем через {{count}} года",pluralGenitive:"больше, чем через {{count}} лет"}}),almostXYears:r({regular:{singularNominative:"почти {{count}} год",singularGenitive:"почти {{count}} года",pluralGenitive:"почти {{count}} лет"},future:{singularNominative:"почти через {{count}} год",singularGenitive:"почти через {{count}} года",pluralGenitive:"почти через {{count}} лет"}})};return{localize:e}}e.exports=o},function(e,t){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.GT_ACCESS_TOKEN="GT_ACCESS_TOKEN",t.GT_VERSION="1.2.2",t.GT_COMMENT="GT_COMMENT"},function(e,t,n){"use strict";function r(e){var t=this,n=this.options,r=n.owner,o=n.repo,s=n.perPage,c=n.pagerDirection,l=this.state,f=l.cursor,p=l.comments;return a.axiosGithub.post("/graphql",u({owner:r,repo:o,id:e.number,pageSize:s,cursor:f},c),{headers:{Authorization:"bearer "+this.accessToken}}).then(function(n){var a=n.data.data.repository.issue.comments,u=a.nodes.map(function(t){return{id:t.databaseId,gId:t.id,user:{avatar_url:t.author.avatarUrl,login:t.author.login,html_url:t.author.url},created_at:t.createdAt,body_html:t.bodyHTML,body:t.body,html_url:"https://github.com/"+r+"/"+o+"/issues/"+e.number+"#issuecomment-"+t.databaseId,reactions:t.reactions}}),s=void 0;s="last"===c?[].concat((0,i.default)(u),(0,i.default)(p)):[].concat((0,i.default)(p),(0,i.default)(u));var l=!1===a.pageInfo.hasPreviousPage||!1===a.pageInfo.hasNextPage;return t.setState({comments:s,isLoadOver:l,cursor:a.pageInfo.startCursor||a.pageInfo.endCursor}),s})}Object.defineProperty(t,"__esModule",{value:!0});var o=n(213),i=function(e){return e&&e.__esModule?e:{default:e}}(o),a=n(67),u=function(e,t){var n="last"===t?"before":"after",r="\n query getIssueAndComments(\n $owner: String!,\n $repo: String!,\n $id: Int!,\n $cursor: String,\n $pageSize: Int!\n ) {\n repository(owner: $owner, name: $repo) {\n issue(number: $id) {\n title\n url\n bodyHTML\n createdAt\n comments("+t+": $pageSize, "+n+": $cursor) {\n totalCount\n pageInfo {\n "+("last"===t?"hasPreviousPage":"hasNextPage")+"\n "+("before"===n?"startCursor":"endCursor")+"\n }\n nodes {\n id\n databaseId\n author {\n avatarUrl\n login\n url\n }\n bodyHTML\n body\n createdAt\n reactions(first: 100, content: HEART) {\n totalCount\n viewerHasReacted\n pageInfo{\n hasNextPage\n }\n nodes {\n id\n databaseId\n user {\n login\n }\n }\n }\n }\n }\n }\n }\n }\n ";return null===e.cursor&&delete e.cursor,{operationName:"getIssueAndComments",query:r,variables:e}};t.default=r},function(e,t,n){"use strict";t.__esModule=!0;var r=n(214),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return(0,o.default)(e)}},function(e,t,n){e.exports={default:n(215),__esModule:!0}},function(e,t,n){n(20),n(216),e.exports=n(0).Array.from},function(e,t,n){"use strict";var r=n(13),o=n(6),i=n(22),a=n(59),u=n(60),s=n(37),c=n(217),l=n(42);o(o.S+o.F*!n(62)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,o,f,p=i(e),d="function"==typeof this?this:Array,h=arguments.length,m=h>1?arguments[1]:void 0,v=void 0!==m,g=0,y=l(p);if(v&&(m=r(m,h>2?arguments[2]:void 0,2)),void 0==y||d==Array&&u(y))for(t=s(p.length),n=new d(t);t>g;g++)c(n,g,v?m(p[g],g):p[g]);else for(f=y.call(p),n=new d;!(o=f.next()).done;g++)c(n,g,v?a(f,m,[o.value,g],!0):o.value);return n.length=g,n}})},function(e,t,n){"use strict";var r=n(7),o=n(19);e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}}])}); diff --git a/themes/even/static/lib/gitment/gitment-0.0.3.min.css b/themes/even/static/lib/gitment/gitment-0.0.3.min.css new file mode 100644 index 0000000..9ec26a6 --- /dev/null +++ b/themes/even/static/lib/gitment/gitment-0.0.3.min.css @@ -0,0 +1 @@ +.gitment-markdown hr::after,.gitment-markdown::after{clear:both}.gitment-container{font-family:sans-serif;font-size:14px;line-height:1.5;color:#333;word-wrap:break-word}.gitment-container *{box-sizing:border-box}.gitment-container :disabled{cursor:not-allowed}.gitment-container a,.gitment-container a:visited{cursor:pointer;text-decoration:none}.gitment-container a:hover{text-decoration:underline}.gitment-container .gitment-hidden{display:none}.gitment-container .gitment-spinner-icon{fill:#333;-webkit-animation:gitment-spin 1s steps(12) infinite;animation:gitment-spin 1s steps(12) infinite}@-webkit-keyframes gitment-spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes gitment-spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.gitment-header-container,.gitment-root-container{margin:19px 0}.gitment-comment-like-btn,.gitment-comment-reply-btn,.gitment-header-like-btn{cursor:pointer}.gitment-comment-like-btn,.gitment-comment-reply-btn{float:right}.gitment-comment-like-btn.liked{color:#F44336}.gitment-header-like-btn svg{vertical-align:middle;height:30px}.gitment-comment-like-btn svg,.gitment-comment-reply-btn svg{vertical-align:middle;height:20px}.gitment-comment-like-btn.liked svg,.gitment-header-like-btn.liked svg{fill:#F44336}a.gitment-header-issue-link,a.gitment-header-issue-link:visited{float:right;line-height:30px;color:#666}a.gitment-header-issue-link:hover{color:#666}.gitment-comments-empty,.gitment-comments-error,.gitment-comments-loading{text-align:center;margin:50px 0}.gitment-comments-list{list-style:none;padding-left:0;margin:0 0 38px}.gitment-comment,.gitment-editor-container{position:relative;min-height:60px;padding-left:60px;margin:19px 0}.gitment-comment-avatar,.gitment-editor-avatar{float:left;margin-left:-60px}.gitment-comment-avatar,.gitment-comment-avatar-img,.gitment-editor-avatar svg,.gitment-editor-avatar-img{width:44px;height:44px;border-radius:3px}.gitment-editor-avatar .gitment-github-icon{fill:#fff;background-color:#333}.gitment-comment-main,.gitment-editor-main{position:relative;border:1px solid #CFD8DC;border-radius:0}.gitment-comment-main::after,.gitment-comment-main::before,.gitment-editor-main::after,.gitment-editor-main::before{position:absolute;top:11px;left:-16px;display:block;width:0;height:0;pointer-events:none;content:"";border-color:transparent;border-style:solid solid outset}.gitment-comment-main::before,.gitment-editor-main::before{border-width:8px;border-right-color:#CFD8DC}.gitment-comment-main::after,.gitment-editor-main::after{margin-top:1px;margin-left:2px;border-width:7px;border-right-color:#fff}.gitment-comment-header{margin:12px 15px;color:#666;background-color:#fff;border-radius:3px}.gitment-editor-header{padding:0;margin:0;border-bottom:1px solid #CFD8DC}a.gitment-comment-name,a.gitment-comment-name:visited{font-weight:600;color:#666}.gitment-editor-tabs{margin-bottom:-1px;margin-left:-1px}.gitment-editor-tab{display:inline-block;padding:11px 12px;font-size:14px;line-height:20px;color:#666;text-decoration:none;background-color:transparent;border-width:0 1px;border-style:solid;border-color:transparent;border-radius:0;white-space:nowrap;cursor:pointer;user-select:none;outline:0}.gitment-editor-tab.gitment-selected{color:#333;background-color:#fff;border-color:#CFD8DC}.gitment-editor-login{float:right;margin-top:-30px;margin-right:15px}a.gitment-editor-login-link,a.gitment-editor-login-link:visited,a.gitment-footer-project-link,a.gitment-footer-project-link:visited{color:#2196F3}a.gitment-editor-logout-link,a.gitment-editor-logout-link:visited{color:#666}a.gitment-editor-logout-link:hover{color:#2196F3;text-decoration:none}.gitment-comment-body{position:relative;margin:12px 15px;overflow:hidden;border-radius:3px}.gitment-comment-body-folded::after,.gitment-comment-body-folded::before{display:block!important;position:absolute;left:0;pointer-events:none;width:100%}.gitment-comment-body-folded{cursor:pointer}.gitment-comment-body-folded::before{content:"";top:0;bottom:50px;background:-webkit-linear-gradient(top,rgba(255,255,255,0),rgba(255,255,255,.9));background:linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.9))}.gitment-comment-body-folded::after{content:"Click to Expand"!important;text-align:center;color:#666;height:50px;line-height:50px;bottom:0;background:rgba(255,255,255,.9)}.gitment-editor-body{margin:0}.gitment-comment-body>:first-child,.gitment-editor-preview>:first-child{margin-top:0!important}.gitment-comment-body>:last-child,.gitment-editor-preview>:last-child{margin-bottom:0!important}.gitment-editor-body textarea{display:block;width:100%;min-height:150px;max-height:500px;padding:16px;resize:vertical;max-width:100%;margin:0;font-size:14px;line-height:1.6;background-color:#fff;color:#333;vertical-align:middle;border:none;border-radius:0;outline:0;box-shadow:none;overflow:visible}.gitment-editor-body textarea:focus{background-color:#fff}.gitment-editor-preview{min-height:150px;padding:16px;background-color:transparent;width:100%;font-size:14px;line-height:1.5;word-wrap:break-word}.gitment-editor-footer{padding:0;margin-top:10px}.gitment-editor-footer::after{display:table;clear:both;content:""}a.gitment-editor-footer-tip{display:inline-block;padding-top:10px;font-size:12px;color:#666}a.gitment-editor-footer-tip:hover{color:#2196F3;text-decoration:none}.gitment-comments-pagination{list-style:none;text-align:right;border-radius:0;margin:-19px 0 19px}.gitment-comments-page-item{display:inline-block;cursor:pointer;border:1px solid #CFD8DC;margin-left:-1px;padding:.25rem .5rem}.gitment-comments-page-item.gitment-selected,.gitment-comments-page-item:hover{background-color:#f5f5f5}.gitment-comments-init-btn,.gitment-editor-submit{color:#fff;background-color:#00BCD4;position:relative;display:inline-block;padding:7px 13px;font-size:14px;font-weight:600;line-height:20px;white-space:nowrap;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-size:110% 110%;border:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.gitment-comments-init-btn:hover,.gitment-editor-submit:hover{background-color:#00ACC1}.gitment-comments-init-btn:disabled,.gitment-editor-submit:disabled{color:rgba(255,255,255,.75);background-color:#4DD0E1;box-shadow:none}.gitment-editor-submit{float:right}.gitment-footer-container{margin-top:30px;margin-bottom:20px;text-align:right;font-size:12px}.gitment-markdown{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;color:#333;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:16px;line-height:1.5;word-wrap:break-word}.gitment-markdown .pl-c{color:#969896}.gitment-markdown .pl-c1,.gitment-markdown .pl-s .pl-v{color:#0086b3}.gitment-markdown .pl-e,.gitment-markdown .pl-en{color:#795da3}.gitment-markdown .pl-s .pl-s1,.gitment-markdown .pl-smi{color:#333}.gitment-markdown .pl-ent{color:#63a35c}.gitment-markdown .pl-k{color:#a71d5d}.gitment-markdown .pl-pds,.gitment-markdown .pl-s,.gitment-markdown .pl-s .pl-pse .pl-s1,.gitment-markdown .pl-sr,.gitment-markdown .pl-sr .pl-cce,.gitment-markdown .pl-sr .pl-sra,.gitment-markdown .pl-sr .pl-sre{color:#183691}.gitment-markdown .pl-smw,.gitment-markdown .pl-v{color:#ed6a43}.gitment-markdown .pl-bu{color:#b52a1d}.gitment-markdown .pl-c2,.gitment-markdown .pl-ii{color:#f8f8f8;background-color:#b52a1d}.gitment-markdown .pl-c2::before{content:"^M"}.gitment-markdown .pl-sr .pl-cce{font-weight:700;color:#63a35c}.gitment-markdown .pl-ml{color:#693a17}.gitment-markdown .pl-mh,.gitment-markdown .pl-mh .pl-en,.gitment-markdown .pl-ms{font-weight:700;color:#1d3e81}.gitment-markdown .pl-mq{color:teal}.gitment-markdown .pl-mi{font-style:italic;color:#333}.gitment-markdown .pl-mb{font-weight:700;color:#333}.gitment-markdown .pl-md{color:#bd2c00;background-color:#ffecec}.gitment-markdown .pl-mi1{color:#55a532;background-color:#eaffea}.gitment-markdown .pl-mc{color:#ef9700;background-color:#ffe3b4}.gitment-markdown .pl-mi2{color:#d8d8d8;background-color:grey}.gitment-markdown .pl-mdr{font-weight:700;color:#795da3}.gitment-markdown .pl-mo{color:#1d3e81}.gitment-markdown .pl-ba{color:#595e62}.gitment-markdown .pl-sg{color:silver}.gitment-markdown .pl-corl{text-decoration:underline;color:#183691}.gitment-markdown .octicon{display:inline-block;fill:currentColor;vertical-align:text-bottom}.gitment-markdown hr::after,.gitment-markdown hr::before,.gitment-markdown::after,.gitment-markdown::before{display:table;content:""}.gitment-markdown a{background-color:transparent;-webkit-text-decoration-skip:objects;color:#0366d6;text-decoration:none}.gitment-markdown a:active,.gitment-markdown a:hover{outline-width:0}.gitment-markdown h1{margin:.67em 0}.gitment-markdown img{border-style:none}.gitment-markdown svg:not(:root){overflow:hidden}.gitment-markdown hr{box-sizing:content-box}.gitment-markdown input{font:inherit;margin:0;overflow:visible;font-family:inherit;font-size:inherit;line-height:inherit}.gitment-markdown [type=checkbox]{box-sizing:border-box;padding:0}.gitment-markdown *{box-sizing:border-box}.gitment-markdown a:hover{text-decoration:underline}.gitment-markdown strong{font-weight:600}.gitment-markdown td,.gitment-markdown th{padding:0}.gitment-markdown blockquote{margin:0}.gitment-markdown ol ol,.gitment-markdown ul ol{list-style-type:lower-roman}.gitment-markdown ol ol ol,.gitment-markdown ol ul ol,.gitment-markdown ul ol ol,.gitment-markdown ul ul ol{list-style-type:lower-alpha}.gitment-markdown dd{margin-left:0}.gitment-markdown code{font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace}.gitment-markdown pre{font:12px SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;word-wrap:normal}.gitment-markdown .pl-0{padding-left:0!important}.gitment-markdown .pl-1{padding-left:4px!important}.gitment-markdown .pl-2{padding-left:8px!important}.gitment-markdown .pl-3{padding-left:16px!important}.gitment-markdown .pl-4{padding-left:24px!important}.gitment-markdown .pl-5{padding-left:32px!important}.gitment-markdown .pl-6{padding-left:40px!important}.gitment-markdown>:first-child{margin-top:0!important}.gitment-markdown>:last-child{margin-bottom:0!important}.gitment-markdown a:not([href]){color:inherit;text-decoration:none}.gitment-markdown .anchor{float:left;padding-right:4px;margin-left:-20px;line-height:1}.gitment-markdown .anchor:focus{outline:0}.gitment-markdown blockquote,.gitment-markdown dl,.gitment-markdown ol,.gitment-markdown p,.gitment-markdown pre,.gitment-markdown table,.gitment-markdown ul{margin-top:0;margin-bottom:16px}.gitment-markdown hr{overflow:hidden;background:#e1e4e8;height:.25em;padding:0;margin:24px 0;border:0}.gitment-markdown blockquote{padding:0 1em;color:#6a737d;border-left:.25em solid #dfe2e5}.gitment-markdown h1,.gitment-markdown h2{padding-bottom:.3em;border-bottom:1px solid #eaecef}.gitment-markdown blockquote>:first-child{margin-top:0}.gitment-markdown blockquote>:last-child{margin-bottom:0}.gitment-markdown h1,.gitment-markdown h2,.gitment-markdown h3,.gitment-markdown h4,.gitment-markdown h5,.gitment-markdown h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}.gitment-markdown h1 .octicon-link,.gitment-markdown h2 .octicon-link,.gitment-markdown h3 .octicon-link,.gitment-markdown h4 .octicon-link,.gitment-markdown h5 .octicon-link,.gitment-markdown h6 .octicon-link{color:#1b1f23;vertical-align:middle;visibility:hidden}.gitment-markdown h1:hover .anchor,.gitment-markdown h2:hover .anchor,.gitment-markdown h3:hover .anchor,.gitment-markdown h4:hover .anchor,.gitment-markdown h5:hover .anchor,.gitment-markdown h6:hover .anchor{text-decoration:none}.gitment-markdown h1:hover .anchor .octicon-link,.gitment-markdown h2:hover .anchor .octicon-link,.gitment-markdown h3:hover .anchor .octicon-link,.gitment-markdown h4:hover .anchor .octicon-link,.gitment-markdown h5:hover .anchor .octicon-link,.gitment-markdown h6:hover .anchor .octicon-link{visibility:visible}.gitment-markdown h1{font-size:2em}.gitment-markdown h2{font-size:1.5em}.gitment-markdown h3{font-size:1.25em}.gitment-markdown h4{font-size:1em}.gitment-markdown h5{font-size:.875em}.gitment-markdown h6{font-size:.85em;color:#6a737d}.gitment-markdown ol,.gitment-markdown ul{padding-left:2em}.gitment-markdown ol ol,.gitment-markdown ol ul,.gitment-markdown ul ol,.gitment-markdown ul ul{margin-top:0;margin-bottom:0}.gitment-markdown li>p{margin-top:16px}.gitment-markdown li+li{margin-top:.25em}.gitment-markdown dl{padding:0}.gitment-markdown dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:600}.gitment-markdown dl dd{padding:0 16px;margin-bottom:16px}.gitment-markdown table{border-spacing:0;border-collapse:collapse;display:block;width:100%;overflow:auto}.gitment-markdown table th{font-weight:600}.gitment-markdown table td,.gitment-markdown table th{padding:6px 13px;border:1px solid #dfe2e5}.gitment-markdown table tr{background-color:#fff;border-top:1px solid #c6cbd1}.gitment-markdown table tr:nth-child(2n){background-color:#f5f5f5}.gitment-markdown img{max-width:100%;box-sizing:content-box;background-color:#fff}.gitment-markdown code{padding:.2em 0;margin:0;font-size:85%;background-color:rgba(27,31,35,.05);border-radius:0}.gitment-markdown code::after,.gitment-markdown code::before{letter-spacing:-.2em;content:"\00a0"}.gitment-markdown pre>code{padding:0;margin:0;font-size:100%;word-break:normal;white-space:pre;background:0 0;border:0}.gitment-markdown .highlight{margin-bottom:16px}.gitment-markdown .highlight pre{margin-bottom:0;word-break:normal}.gitment-markdown .highlight pre,.gitment-markdown pre{padding:16px;overflow:auto;font-size:85%;line-height:1.45;background-color:#f5f5f5;border-radius:0}.gitment-markdown pre code{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.gitment-markdown pre code::after,.gitment-markdown pre code::before{content:normal}.gitment-markdown .full-commit .btn-outline:not(:disabled):hover{color:#005cc5;border-color:#005cc5}.gitment-markdown kbd{display:inline-block;padding:3px 5px;font:11px SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;line-height:10px;color:#444d56;vertical-align:middle;background-color:#fcfcfc;border:1px solid #c6cbd1;border-bottom-color:#959da5;border-radius:0;box-shadow:inset 0 -1px 0 #959da5}.gitment-markdown :checked+.radio-label{position:relative;z-index:1;border-color:#0366d6}.gitment-markdown .task-list-item{list-style-type:none}.gitment-markdown .task-list-item+.task-list-item{margin-top:3px}.gitment-markdown .task-list-item input{margin:0 .2em .25em -1.6em;vertical-align:middle}.gitment-markdown hr{border-bottom-color:#eee}
\ No newline at end of file diff --git a/themes/even/static/lib/gitment/gitment-0.0.3.min.js b/themes/even/static/lib/gitment/gitment-0.0.3.min.js new file mode 100644 index 0000000..9b2592d --- /dev/null +++ b/themes/even/static/lib/gitment/gitment-0.0.3.min.js @@ -0,0 +1 @@ +var Gitment=function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=5)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.LS_ACCESS_TOKEN_KEY="gitment-comments-token",t.LS_USER_KEY="gitment-user-info",t.NOT_INITIALIZED_ERROR=new Error("Comments Not Initialized")},function(e,t,n){"use strict";(function(n){function r(e){return function(t,n,r){return r&&"function"==typeof r.value?(r.value=V(e,r.value),r.enumerable=!1,r.configurable=!0,r):Kt(e).apply(this,arguments)}}function i(e,t,n){var r="string"==typeof e?e:e.name||"<unnamed action>",i="function"==typeof e?e:t,o="function"==typeof e?t:n;return wt("function"==typeof i,vt("m002")),wt(0===i.length,vt("m003")),wt("string"==typeof r&&r.length>0,"actions should have valid names, got: '"+r+"'"),z(r,i,o,void 0)}function o(e){return"function"==typeof e&&!0===e.isMobxAction}function a(e,t,n){var r=function(){return z(t,n,e,arguments)};r.isMobxAction=!0,Ct(e,t,r)}function s(e,t,n){function r(){a(u)}var i,a,s;"string"==typeof e?(i=e,a=t,s=n):(i=e.name||"Autorun@"+bt(),a=e,s=t),wt("function"==typeof a,vt("m004")),wt(!1===o(a),vt("m005")),s&&(a=a.bind(s));var u=new fn(i,function(){this.track(r)});return u.schedule(),u.getDisposer()}function u(e,t,n,r){var i,o,a,u;return"string"==typeof e?(i=e,o=t,a=n,u=r):(i="When@"+bt(),o=e,a=t,u=n),s(i,function(e){if(o.call(u)){e.dispose();var t=te();a.call(u),ne(t)}})}function c(e,t,n,r){function i(){s(h)}var a,s,u,c;"string"==typeof e?(a=e,s=t,u=n,c=r):(a=e.name||"AutorunAsync@"+bt(),s=e,u=t,c=n),wt(!1===o(s),vt("m006")),void 0===u&&(u=1),c&&(s=s.bind(c));var l=!1,h=new fn(a,function(){l||(l=!0,setTimeout(function(){l=!1,h.isDisposed||h.track(i)},u))});return h.schedule(),h.getDisposer()}function l(e,t,n){function r(){if(!u.isDisposed){var n=!1;u.track(function(){var t=e(u);n=Tt(i.compareStructural,o,t),o=t}),a&&i.fireImmediately&&t(o,u),a||!0!==n||t(o,u),a&&(a=!1)}}arguments.length>3&&yt(vt("m007")),Ve(e)&&yt(vt("m008"));var i;i="object"===(void 0===n?"undefined":Ut(n))?n:{},i.name=i.name||e.name||t.name||"Reaction@"+bt(),i.fireImmediately=!0===n||!0===i.fireImmediately,i.delay=i.delay||0,i.compareStructural=i.compareStructural||i.struct||!1,t=Yt(i.name,i.context?t.bind(i.context):t),i.context&&(e=e.bind(i.context));var o,a=!0,s=!1,u=new fn(i.name,function(){a||i.delay<1?r():s||(s=!0,setTimeout(function(){s=!1,r()},i.delay))});return u.schedule(),u.getDisposer()}function h(e){return ct(function(t,n,r,i,o){wt(void 0!==o,vt("m009")),wt("function"==typeof o.get,vt("m010")),Ze(Fe(t,""),n,o.get,o.set,e,!1)},function(e){var t=this.$mobx.values[e];if(void 0!==t)return t.get()},function(e,t){this.$mobx.values[e].set(t)},!1,!1)}function d(e,t){wt("function"==typeof e&&e.length<2,"createTransformer expects a function that accepts one argument");var n={},r=pn.resetId,i=function(r){function i(t,n){var i=r.call(this,function(){return e(n)},void 0,!1,"Transformer-"+e.name+"-"+t,void 0)||this;return i.sourceIdentifier=t,i.sourceObject=n,i}return Ht(i,r),i.prototype.onBecomeUnobserved=function(){var e=this.value;r.prototype.onBecomeUnobserved.call(this),delete n[this.sourceIdentifier],t&&t(e,this.sourceObject)},i}(sn);return function(e){r!==pn.resetId&&(n={},r=pn.resetId);var t=p(e),o=n[t];return o?o.get():(o=n[t]=new i(t,e),o.get())}}function p(e){if("string"==typeof e||"number"==typeof e)return e;if(null===e||"object"!==(void 0===e?"undefined":Ut(e)))throw new Error("[mobx] transform expected some kind of object or primitive value, got: "+e);var t=e.$transformId;return void 0===t&&(t=bt(),Ct(e,"$transformId",t)),t}function f(e,t){return J()||console.warn(vt("m013")),Jt(e,{context:t}).get()}function m(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return g(e,Be,t)}function v(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return g(e,Ue,t)}function g(e,t,n){wt(arguments.length>=2,vt("m014")),wt("object"===(void 0===e?"undefined":Ut(e)),vt("m015")),wt(!Tn(e),vt("m016")),n.forEach(function(e){wt("object"===(void 0===e?"undefined":Ut(e)),vt("m017")),wt(!A(e),vt("m018"))});for(var r=Fe(e),i={},o=n.length-1;o>=0;o--){var a=n[o];for(var s in a)if(!0!==i[s]&&Lt(a,s)){if(i[s]=!0,e===a&&!jt(e,s))continue;var u=Object.getOwnPropertyDescriptor(a,s);Xe(r,s,u,t)}}return e}function b(e,t){return y(at(e,t))}function y(e){var t={name:e.name};return e.observing&&e.observing.length>0&&(t.dependencies=St(e.observing).map(y)),t}function w(e,t){return _(at(e,t))}function _(e){var t={name:e.name};return se(e)&&(t.observers=ue(e).map(_)),t}function x(e,t,n){return"function"==typeof n?O(e,t,n):S(e,t)}function S(e,t){return st(e).intercept(t)}function O(e,t,n){return st(e,t).intercept(n)}function k(e,t){if(null===e||void 0===e)return!1;if(void 0!==t){if(!1===ot(e))return!1;var n=at(e,t);return cn(n)}return cn(e)}function A(e,t){if(null===e||void 0===e)return!1;if(void 0!==t){if(qe(e)||Tn(e))throw new Error(vt("m019"));if(ot(e)){var n=e.$mobx;return n.values&&!!n.values[t]}return!1}return ot(e)||!!e.$mobx||an(e)||gn(e)||cn(e)}function E(e){if(void 0===e&&(e=void 0),"string"==typeof arguments[1])return Ft.apply(null,arguments);if(wt(arguments.length<=1,vt("m021")),wt(!Ve(e),vt("m020")),A(e))return e;var t=Be(e,void 0,void 0);return t!==e?t:nn.box(e)}function T(e){yt("Expected one or two arguments to observable."+e+". Did you accidentally try to use observable."+e+" as decorator?")}function L(e){return wt(!!e,":("),ct(function(t,n,r,i,o){Rt(t,n),wt(!o||!o.get,vt("m022")),Qe(Fe(t,void 0),n,r,e)},function(e){var t=this.$mobx.values[e];if(void 0!==t)return t.get()},function(e,t){rt(this,e,t)},!0,!1)}function C(e,t,n,r){return"function"==typeof n?j(e,t,n,r):I(e,t,n)}function I(e,t,n){return st(e).observe(t,n)}function j(e,t,n,r){return st(e,t).observe(n,r)}function R(e,t,n){function r(r){return t&&n.push([e,r]),r}if(void 0===t&&(t=!0),void 0===n&&(n=[]),A(e)){if(t&&null===n&&(n=[]),t&&null!==e&&"object"===(void 0===e?"undefined":Ut(e)))for(var i=0,o=n.length;i<o;i++)if(n[i][0]===e)return n[i][1];if(qe(e)){var a=r([]),s=e.map(function(e){return R(e,t,n)});a.length=s.length;for(var i=0,o=s.length;i<o;i++)a[i]=s[i];return a}if(ot(e)){var a=r({});for(var u in e)a[u]=R(e[u],t,n);return a}if(Tn(e)){var c=r({});return e.forEach(function(e,r){return c[r]=R(e,t,n)}),c}if(Mn(e))return R(e.get(),t,n)}return e}function P(e,t){return void 0===t&&(t=void 0),_t(vt("m023")),M.apply(void 0,arguments)}function M(e,t){return void 0===t&&(t=void 0),z("",e)}function D(e){return console.log(e),e}function N(e,t){switch(arguments.length){case 0:if(!(e=pn.trackingDerivation))return D(vt("m024"));break;case 2:e=at(e,t)}return e=at(e),cn(e)?D(e.whyRun()):gn(e)?D(e.whyRun()):yt(vt("m025"))}function V(e,t){wt("function"==typeof t,vt("m026")),wt("string"==typeof e&&e.length>0,"actions should have valid names, got: '"+e+"'");var n=function(){return z(e,t,this,arguments)};return n.originalFn=t,n.isMobxAction=!0,n}function z(e,t,n,r){var i=B(e,t,n,r);try{return t.apply(n,r)}finally{$(i)}}function B(e,t,n,r){var i=Se()&&!!e,o=0;if(i){o=Date.now();var a=r&&r.length||0,s=new Array(a);if(a>0)for(var u=0;u<a;u++)s[u]=r[u];ke({type:"action",name:e,fn:t,object:n,arguments:s})}var c=te();return de(),{prevDerivation:c,prevAllowStateChanges:G(!0),notifySpy:i,startTime:o}}function $(e){Y(e.prevAllowStateChanges),pe(),ne(e.prevDerivation),e.notifySpy&&Ae({time:Date.now()-e.startTime})}function U(e){wt(null===pn.trackingDerivation,vt("m028")),pn.strictMode=e,pn.allowStateChanges=!e}function H(){return pn.strictMode}function K(e,t){var n,r=G(e);try{n=t()}finally{Y(r)}return n}function G(e){var t=pn.allowStateChanges;return pn.allowStateChanges=e,t}function Y(e){pn.allowStateChanges=e}function W(e){return e instanceof ln}function q(e){switch(e.dependenciesState){case un.UP_TO_DATE:return!1;case un.NOT_TRACKING:case un.STALE:return!0;case un.POSSIBLY_STALE:for(var t=te(),n=e.observing,r=n.length,i=0;i<r;i++){var o=n[i];if(cn(o)){try{o.get()}catch(e){return ne(t),!0}if(e.dependenciesState===un.STALE)return ne(t),!0}}return re(e),ne(t),!1}}function J(){return null!==pn.trackingDerivation}function F(e){var t=e.observers.length>0;pn.computationDepth>0&&t&&yt(vt("m031")+e.name),!pn.allowStateChanges&&t&&yt(vt(pn.strictMode?"m030a":"m030b")+e.name)}function X(e,t,n){re(e),e.newObserving=new Array(e.observing.length+100),e.unboundDepsCount=0,e.runId=++pn.runId;var r=pn.trackingDerivation;pn.trackingDerivation=e;var i;try{i=t.call(n)}catch(e){i=new ln(e)}return pn.trackingDerivation=r,Q(e),i}function Q(e){var t=e.observing,n=e.observing=e.newObserving,r=un.UP_TO_DATE;e.newObserving=null;for(var i=0,o=e.unboundDepsCount,a=0;a<o;a++){var s=n[a];0===s.diffValue&&(s.diffValue=1,i!==a&&(n[i]=s),i++),s.dependenciesState>r&&(r=s.dependenciesState)}for(n.length=i,o=t.length;o--;){var s=t[o];0===s.diffValue&&le(s,e),s.diffValue=0}for(;i--;){var s=n[i];1===s.diffValue&&(s.diffValue=0,ce(s,e))}r!==un.UP_TO_DATE&&(e.dependenciesState=r,e.onBecomeStale())}function Z(e){var t=e.observing;e.observing=[];for(var n=t.length;n--;)le(t[n],e);e.dependenciesState=un.NOT_TRACKING}function ee(e){var t=te(),n=e();return ne(t),n}function te(){var e=pn.trackingDerivation;return pn.trackingDerivation=null,e}function ne(e){pn.trackingDerivation=e}function re(e){if(e.dependenciesState!==un.UP_TO_DATE){e.dependenciesState=un.UP_TO_DATE;for(var t=e.observing,n=t.length;n--;)t[n].lowestObserverState=un.UP_TO_DATE}}function ie(){var e=gt(),t=pn;if(e.__mobservableTrackingStack||e.__mobservableViewStack)throw new Error("[mobx] An incompatible version of mobservable is already loaded.");if(e.__mobxGlobal&&e.__mobxGlobal.version!==t.version)throw new Error("[mobx] An incompatible version of mobx is already loaded.");e.__mobxGlobal?pn=e.__mobxGlobal:e.__mobxGlobal=t}function oe(){return pn}function ae(){pn.resetId++;var e=new dn;for(var t in e)-1===hn.indexOf(t)&&(pn[t]=e[t]);pn.allowStateChanges=!pn.strictMode}function se(e){return e.observers&&e.observers.length>0}function ue(e){return e.observers}function ce(e,t){var n=e.observers.length;n&&(e.observersIndexes[t.__mapid]=n),e.observers[n]=t,e.lowestObserverState>t.dependenciesState&&(e.lowestObserverState=t.dependenciesState)}function le(e,t){if(1===e.observers.length)e.observers.length=0,he(e);else{var n=e.observers,r=e.observersIndexes,i=n.pop();if(i!==t){var o=r[t.__mapid]||0;o?r[i.__mapid]=o:delete r[i.__mapid],n[o]=i}delete r[t.__mapid]}}function he(e){e.isPendingUnobservation||(e.isPendingUnobservation=!0,pn.pendingUnobservations.push(e))}function de(){pn.inBatch++}function pe(){if(0==--pn.inBatch){we();for(var e=pn.pendingUnobservations,t=0;t<e.length;t++){var n=e[t];n.isPendingUnobservation=!1,0===n.observers.length&&n.onBecomeUnobserved()}pn.pendingUnobservations=[]}}function fe(e){var t=pn.trackingDerivation;null!==t?t.runId!==e.lastAccessedBy&&(e.lastAccessedBy=t.runId,t.newObserving[t.unboundDepsCount++]=e):0===e.observers.length&&he(e)}function me(e){if(e.lowestObserverState!==un.STALE){e.lowestObserverState=un.STALE;for(var t=e.observers,n=t.length;n--;){var r=t[n];r.dependenciesState===un.UP_TO_DATE&&r.onBecomeStale(),r.dependenciesState=un.STALE}}}function ve(e){if(e.lowestObserverState!==un.STALE){e.lowestObserverState=un.STALE;for(var t=e.observers,n=t.length;n--;){var r=t[n];r.dependenciesState===un.POSSIBLY_STALE?r.dependenciesState=un.STALE:r.dependenciesState===un.UP_TO_DATE&&(e.lowestObserverState=un.UP_TO_DATE)}}}function ge(e){if(e.lowestObserverState===un.UP_TO_DATE){e.lowestObserverState=un.POSSIBLY_STALE;for(var t=e.observers,n=t.length;n--;){var r=t[n];r.dependenciesState===un.UP_TO_DATE&&(r.dependenciesState=un.POSSIBLY_STALE,r.onBecomeStale())}}}function be(e){wt(this&&this.$mobx&&gn(this.$mobx),"Invalid `this`"),wt(!this.$mobx.errorHandler,"Only one onErrorHandler can be registered"),this.$mobx.errorHandler=e}function ye(e){return pn.globalReactionErrorHandlers.push(e),function(){var t=pn.globalReactionErrorHandlers.indexOf(e);t>=0&&pn.globalReactionErrorHandlers.splice(t,1)}}function we(){pn.inBatch>0||pn.isRunningReactions||vn(_e)}function _e(){pn.isRunningReactions=!0;for(var e=pn.pendingReactions,t=0;e.length>0;){++t===mn&&(console.error("Reaction doesn't converge to a stable state after "+mn+" iterations. Probably there is a cycle in the reactive function: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,i=n.length;r<i;r++)n[r].runReaction()}pn.isRunningReactions=!1}function xe(e){var t=vn;vn=function(n){return e(function(){return t(n)})}}function Se(){return!!pn.spyListeners.length}function Oe(e){if(pn.spyListeners.length)for(var t=pn.spyListeners,n=0,r=t.length;n<r;n++)t[n](e)}function ke(e){Oe(Et({},e,{spyReportStart:!0}))}function Ae(e){Oe(e?Et({},e,bn):bn)}function Ee(e){return pn.spyListeners.push(e),xt(function(){var t=pn.spyListeners.indexOf(e);-1!==t&&pn.spyListeners.splice(t,1)})}function Te(e){return e.interceptors&&e.interceptors.length>0}function Le(e,t){var n=e.interceptors||(e.interceptors=[]);return n.push(t),xt(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function Ce(e,t){var n=te();try{var r=e.interceptors;if(r)for(var i=0,o=r.length;i<o&&(t=r[i](t),wt(!t||t.type,"Intercept handlers should return nothing or a change object"),t);i++);return t}finally{ne(n)}}function Ie(e){return e.changeListeners&&e.changeListeners.length>0}function je(e,t){var n=e.changeListeners||(e.changeListeners=[]);return n.push(t),xt(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function Re(e,t){var n=te(),r=e.changeListeners;if(r){r=r.slice();for(var i=0,o=r.length;i<o;i++)r[i](t);ne(n)}}function Pe(e){return _t("asReference is deprecated, use observable.ref instead"),nn.ref(e)}function Me(e){return _t("asStructure is deprecated. Use observable.struct, computed.struct or reaction options instead."),nn.struct(e)}function De(e){return _t("asFlat is deprecated, use observable.shallow instead"),nn.shallow(e)}function Ne(e){return _t("asMap is deprecated, use observable.map or observable.shallowMap instead"),nn.map(e||{})}function Ve(e){return"object"===(void 0===e?"undefined":Ut(e))&&null!==e&&!0===e.isMobxModifierDescriptor}function ze(e,t){return wt(!Ve(t),"Modifiers cannot be nested"),{isMobxModifierDescriptor:!0,initialValue:t,enhancer:e}}function Be(e,t,n){return Ve(e)&&yt("You tried to assign a modifier wrapped value to a collection, please define modifiers when creating the collection, not when modifying it"),A(e)?e:Array.isArray(e)?nn.array(e,n):At(e)?nn.object(e,n):zt(e)?nn.map(e,n):e}function $e(e,t,n){return Ve(e)&&yt("You tried to assign a modifier wrapped value to a collection, please define modifiers when creating the collection, not when modifying it"),void 0===e||null===e?e:ot(e)||qe(e)||Tn(e)?e:Array.isArray(e)?nn.shallowArray(e,n):At(e)?nn.shallowObject(e,n):zt(e)?nn.shallowMap(e,n):yt("The shallow modifier / decorator can only used in combination with arrays, objects and maps")}function Ue(e){return e}function He(e,t,n){if(Mt(e,t))return t;if(A(e))return e;if(Array.isArray(e))return new Sn(e,He,n);if(zt(e))return new En(e,He,n);if(At(e)){var r={};return Fe(r,n),g(r,He,[e]),r}return e}function Ke(e,t,n){return Mt(e,t)?t:e}function Ge(e){return{enumerable:!1,configurable:!1,get:function(){return this.get(e)},set:function(t){this.set(e,t)}}}function Ye(e){Object.defineProperty(Sn.prototype,""+e,Ge(e))}function We(e){for(var t=wn;t<e;t++)Ye(t);wn=e}function qe(e){return kt(e)&&kn(e.$mobx)}function Je(e){return _t("`mobx.map` is deprecated, use `new ObservableMap` or `mobx.observable.map` instead"),nn.map(e)}function Fe(e,t){if(ot(e))return e.$mobx;wt(Object.isExtensible(e),vt("m035")),At(e)||(t=(e.constructor.name||"ObservableObject")+"@"+bt()),t||(t="ObservableObject@"+bt());var n=new Ln(e,t);return It(e,"$mobx",n),n}function Xe(e,t,n,r){if(e.values[t])return wt("value"in n,"The property "+t+" in "+e.name+" is already observable, cannot redefine it as computed property"),void(e.target[t]=n.value);if("value"in n)if(Ve(n.value)){var i=n.value;Qe(e,t,i.initialValue,i.enhancer)}else o(n.value)&&!0===n.value.autoBind?a(e.target,t,n.value.originalFn):cn(n.value)?et(e,t,n.value):Qe(e,t,n.value,r);else Ze(e,t,n.get,n.set,!1,!0)}function Qe(e,t,n,r){if(Rt(e.target,t),Te(e)){var i=Ce(e,{object:e.target,name:t,type:"add",newValue:n});if(!i)return;n=i.newValue}n=(e.values[t]=new Pn(n,r,e.name+"."+t,!1)).value,Object.defineProperty(e.target,t,tt(t)),it(e,e.target,t,n)}function Ze(e,t,n,r,i,o){o&&Rt(e.target,t),e.values[t]=new sn(n,e.target,i,e.name+"."+t,r),o&&Object.defineProperty(e.target,t,nt(t))}function et(e,t,n){var r=e.name+"."+t;n.name=r,n.scope||(n.scope=e.target),e.values[t]=n,Object.defineProperty(e.target,t,nt(t))}function tt(e){return Cn[e]||(Cn[e]={configurable:!0,enumerable:!0,get:function(){return this.$mobx.values[e].get()},set:function(t){rt(this,e,t)}})}function nt(e){return In[e]||(In[e]={configurable:!0,enumerable:!1,get:function(){return this.$mobx.values[e].get()},set:function(t){return this.$mobx.values[e].set(t)}})}function rt(e,t,n){var r=e.$mobx,i=r.values[t];if(Te(r)){var o=Ce(r,{type:"update",object:e,name:t,newValue:n});if(!o)return;n=o.newValue}if((n=i.prepareNewValue(n))!==Rn){var a=Ie(r),s=Se(),o=a||s?{type:"update",object:e,oldValue:i.value,name:t,newValue:n}:null;s&&ke(o),i.setNewValue(n),a&&Re(r,o),s&&Ae()}}function it(e,t,n,r){var i=Ie(e),o=Se(),a=i||o?{type:"add",object:t,name:n,newValue:r}:null;o&&ke(a),i&&Re(e,a),o&&Ae()}function ot(e){return!!kt(e)&&(ht(e),jn(e.$mobx))}function at(e,t){if("object"===(void 0===e?"undefined":Ut(e))&&null!==e){if(qe(e))return wt(void 0===t,vt("m036")),e.$mobx.atom;if(Tn(e)){var n=e;if(void 0===t)return at(n._keys);var r=n._data[t]||n._hasMap[t];return wt(!!r,"the entry '"+t+"' does not exist in the observable map '"+ut(e)+"'"),r}if(ht(e),ot(e)){if(!t)return yt("please specify a property");var i=e.$mobx.values[t];return wt(!!i,"no observable property '"+t+"' found on the observable object '"+ut(e)+"'"),i}if(an(e)||cn(e)||gn(e))return e}else if("function"==typeof e&&gn(e.$mobx))return e.$mobx;return yt("Cannot obtain atom from "+e)}function st(e,t){return wt(e,"Expecting some object"),void 0!==t?st(at(e,t)):an(e)||cn(e)||gn(e)?e:Tn(e)?e:(ht(e),e.$mobx?e.$mobx:void wt(!1,"Cannot obtain administration from "+e))}function ut(e,t){var n;return n=void 0!==t?at(e,t):ot(e)||Tn(e)?st(e):at(e),n.name}function ct(e,t,n,r,i){function o(o,a,s,u,c){if(void 0===c&&(c=0),wt(i||dt(arguments),"This function is a decorator, but it wasn't invoked like a decorator"),s){Lt(o,"__mobxLazyInitializers")||Ct(o,"__mobxLazyInitializers",o.__mobxLazyInitializers&&o.__mobxLazyInitializers.slice()||[]);var l=s.value,h=s.initializer;return o.__mobxLazyInitializers.push(function(t){e(t,a,h?h.call(t):l,u,s)}),{enumerable:r,configurable:!0,get:function(){return!0!==this.__mobxDidRunLazyInitializers&&ht(this),t.call(this,a)},set:function(e){!0!==this.__mobxDidRunLazyInitializers&&ht(this),n.call(this,a,e)}}}var d={enumerable:r,configurable:!0,get:function(){return this.__mobxInitializedProps&&!0===this.__mobxInitializedProps[a]||lt(this,a,void 0,e,u,s),t.call(this,a)},set:function(t){this.__mobxInitializedProps&&!0===this.__mobxInitializedProps[a]?n.call(this,a,t):lt(this,a,t,e,u,s)}};return(arguments.length<3||5===arguments.length&&c<3)&&Object.defineProperty(o,a,d),d}return i?function(){if(dt(arguments))return o.apply(null,arguments);var e=arguments,t=arguments.length;return function(n,r,i){return o(n,r,i,e,t)}}:o}function lt(e,t,n,r,i,o){Lt(e,"__mobxInitializedProps")||Ct(e,"__mobxInitializedProps",{}),e.__mobxInitializedProps[t]=!0,r(e,t,n,i,o)}function ht(e){!0!==e.__mobxDidRunLazyInitializers&&e.__mobxLazyInitializers&&(Ct(e,"__mobxDidRunLazyInitializers",!0),e.__mobxDidRunLazyInitializers&&e.__mobxLazyInitializers.forEach(function(t){return t(e)}))}function dt(e){return(2===e.length||3===e.length)&&"string"==typeof e[1]}function pt(){return"function"==typeof Symbol&&Symbol.iterator||"@@iterator"}function ft(e){wt(!0!==e[Dn],"Illegal state: cannot recycle array as iterator"),It(e,Dn,!0);var t=-1;return It(e,"next",function(){return t++,{done:t>=this.length,value:t<this.length?this[t]:void 0}}),e}function mt(e,t){It(e,pt(),t)}function vt(e){return Nn[e]}function gt(){return n}function bt(){return++pn.mobxGuid}function yt(e,t){throw wt(!1,e,t),"X"}function wt(e,t,n){if(!e)throw new Error("[mobx] Invariant failed: "+t+(n?" in '"+n+"'":""))}function _t(e){return-1===zn.indexOf(e)&&(zn.push(e),console.error("[mobx] Deprecated: "+e),!0)}function xt(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}function St(e){var t=[];return e.forEach(function(e){-1===t.indexOf(e)&&t.push(e)}),t}function Ot(e,t,n){return void 0===t&&(t=100),void 0===n&&(n=" - "),e?e.slice(0,t).join(n)+(e.length>t?" (... and "+(e.length-t)+"more)":""):""}function kt(e){return null!==e&&"object"===(void 0===e?"undefined":Ut(e))}function At(e){if(null===e||"object"!==(void 0===e?"undefined":Ut(e)))return!1;var t=Object.getPrototypeOf(e);return t===Object.prototype||null===t}function Et(){for(var e=arguments[0],t=1,n=arguments.length;t<n;t++){var r=arguments[t];for(var i in r)Lt(r,i)&&(e[i]=r[i])}return e}function Tt(e,t,n){return"number"==typeof t&&isNaN(t)?"number"!=typeof n||!isNaN(n):e?!Mt(t,n):t!==n}function Lt(e,t){return $n.call(e,t)}function Ct(e,t,n){Object.defineProperty(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function It(e,t,n){Object.defineProperty(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function jt(e,t){var n=Object.getOwnPropertyDescriptor(e,t);return!n||!1!==n.configurable&&!1!==n.writable}function Rt(e,t){wt(jt(e,t),"Cannot make property '"+t+"' observable, it is not configurable and writable in the target object")}function Pt(e){var t=[];for(var n in e)t.push(n);return t}function Mt(e,t){if(null===e&&null===t)return!0;if(void 0===e&&void 0===t)return!0;if("object"!==(void 0===e?"undefined":Ut(e)))return e===t;var n=Nt(e),r=Vt(e);if(n!==Nt(t))return!1;if(r!==Vt(t))return!1;if(n){if(e.length!==t.length)return!1;for(var i=e.length-1;i>=0;i--)if(!Mt(e[i],t[i]))return!1;return!0}if(r){if(e.size!==t.size)return!1;var o=!0;return e.forEach(function(e,n){o=o&&Mt(t.get(n),e)}),o}if("object"===(void 0===e?"undefined":Ut(e))&&"object"===(void 0===t?"undefined":Ut(t))){if(null===e||null===t)return!1;if(Vt(e)&&Vt(t))return e.size===t.size&&Mt(nn.shallowMap(e).entries(),nn.shallowMap(t).entries());if(Pt(e).length!==Pt(t).length)return!1;for(var a in e){if(!(a in t))return!1;if(!Mt(e[a],t[a]))return!1}return!0}return!1}function Dt(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return kt(e)&&!0===e[n]}}function Nt(e){return Array.isArray(e)||qe(e)}function Vt(e){return zt(e)||Tn(e)}function zt(e){return void 0!==gt().Map&&e instanceof gt().Map}function Bt(){return"function"==typeof Symbol&&Symbol.toPrimitive||"@@toPrimitive"}function $t(e){return null===e?null:"object"===(void 0===e?"undefined":Ut(e))?""+e:e}var Ut="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},Ht=function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.extras={allowStateChanges:K,deepEqual:Mt,getAtom:at,getDebugName:ut,getDependencyTree:b,getAdministration:st,getGlobalState:oe,getObserverTree:w,isComputingDerivation:J,isSpyEnabled:Se,onReactionError:ye,reserveArrayBuffer:We,resetGlobalState:ae,shareGlobalState:ie,spyReport:Oe,spyReportEnd:Ae,spyReportStart:ke,setReactionScheduler:xe},"object"===("undefined"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__?"undefined":Ut(__MOBX_DEVTOOLS_GLOBAL_HOOK__))&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx(e.exports),e.exports.default=e.exports;var Kt=ct(function(e,t,n,r,i){var o=r&&1===r.length?r[0]:n.name||t||"<unnamed action>";Ct(e,t,Yt(o,n))},function(e){return this[e]},function(){wt(!1,vt("m001"))},!1,!0),Gt=ct(function(e,t,n){a(e,t,n)},function(e){return this[e]},function(){wt(!1,vt("m001"))},!1,!1),Yt=function(e,t,n,i){return 1===arguments.length&&"function"==typeof e?V(e.name||"<unnamed action>",e):2===arguments.length&&"function"==typeof t?V(e,t):1===arguments.length&&"string"==typeof e?r(e):r(t).apply(null,arguments)};t.action=Yt,Yt.bound=function(e,t,n){if("function"==typeof e){var r=V("<not yet bound action>",e);return r.autoBind=!0,r}return Gt.apply(null,arguments)},t.runInAction=i,t.isAction=o,t.autorun=s,t.when=u,t.autorunAsync=c,t.reaction=l;var Wt=h(!1),qt=h(!0),Jt=function(e,t,n){if("string"==typeof t)return Wt.apply(null,arguments);wt("function"==typeof e,vt("m011")),wt(arguments.length<3,vt("m012"));var r="object"===(void 0===t?"undefined":Ut(t))?t:{};return r.setter="function"==typeof t?t:r.setter,new sn(e,r.context,r.compareStructural||r.struct||!1,r.name||e.name||"",r.setter)};t.computed=Jt,Jt.struct=qt,t.createTransformer=d,t.expr=f,t.extendObservable=m,t.extendShallowObservable=v,t.intercept=x,t.isComputed=k,t.isObservable=A;var Ft=L(Be),Xt=L($e),Qt=L(Ue),Zt=L(He),en=L(Ke),tn=function(){function e(){}return e.prototype.box=function(e,t){return arguments.length>2&&T("box"),new Pn(e,Be,t)},e.prototype.shallowBox=function(e,t){return arguments.length>2&&T("shallowBox"),new Pn(e,Ue,t)},e.prototype.array=function(e,t){return arguments.length>2&&T("array"),new Sn(e,Be,t)},e.prototype.shallowArray=function(e,t){return arguments.length>2&&T("shallowArray"),new Sn(e,Ue,t)},e.prototype.map=function(e,t){return arguments.length>2&&T("map"),new En(e,Be,t)},e.prototype.shallowMap=function(e,t){return arguments.length>2&&T("shallowMap"),new En(e,Ue,t)},e.prototype.object=function(e,t){arguments.length>2&&T("object");var n={};return Fe(n,t),m(n,e),n},e.prototype.shallowObject=function(e,t){arguments.length>2&&T("shallowObject");var n={};return Fe(n,t),v(n,e),n},e.prototype.ref=function(){return arguments.length<2?ze(Ue,arguments[0]):Qt.apply(null,arguments)},e.prototype.shallow=function(){return arguments.length<2?ze($e,arguments[0]):Xt.apply(null,arguments)},e.prototype.deep=function(){return arguments.length<2?ze(Be,arguments[0]):Ft.apply(null,arguments)},e.prototype.struct=function(){return arguments.length<2?ze(He,arguments[0]):Zt.apply(null,arguments)},e}();t.IObservableFactories=tn;var nn=E;t.observable=nn,Object.keys(tn.prototype).forEach(function(e){return nn[e]=tn.prototype[e]}),nn.deep.struct=nn.struct,nn.ref.struct=function(){return arguments.length<2?ze(Ke,arguments[0]):en.apply(null,arguments)},t.observe=C,t.toJS=R,t.transaction=P,t.whyRun=N,t.useStrict=U,t.isStrictModeEnabled=H;var rn=function(){function e(e){void 0===e&&(e="Atom@"+bt()),this.name=e,this.isPendingUnobservation=!0,this.observers=[],this.observersIndexes={},this.diffValue=0,this.lastAccessedBy=0,this.lowestObserverState=un.NOT_TRACKING}return e.prototype.onBecomeUnobserved=function(){},e.prototype.reportObserved=function(){fe(this)},e.prototype.reportChanged=function(){de(),me(this),pe()},e.prototype.toString=function(){return this.name},e}();t.BaseAtom=rn;var on=function(e){function t(t,n,r){void 0===t&&(t="Atom@"+bt()),void 0===n&&(n=Bn),void 0===r&&(r=Bn);var i=e.call(this,t)||this;return i.name=t,i.onBecomeObservedHandler=n,i.onBecomeUnobservedHandler=r,i.isPendingUnobservation=!1,i.isBeingTracked=!1,i}return Ht(t,e),t.prototype.reportObserved=function(){return de(),e.prototype.reportObserved.call(this),this.isBeingTracked||(this.isBeingTracked=!0,this.onBecomeObservedHandler()),pe(),!!pn.trackingDerivation},t.prototype.onBecomeUnobserved=function(){this.isBeingTracked=!1,this.onBecomeUnobservedHandler()},t}(rn);t.Atom=on;var an=Dt("Atom",rn),sn=function(){function e(e,t,n,r,i){this.derivation=e,this.scope=t,this.compareStructural=n,this.dependenciesState=un.NOT_TRACKING,this.observing=[],this.newObserving=null,this.isPendingUnobservation=!1,this.observers=[],this.observersIndexes={},this.diffValue=0,this.runId=0,this.lastAccessedBy=0,this.lowestObserverState=un.UP_TO_DATE,this.unboundDepsCount=0,this.__mapid="#"+bt(),this.value=void 0,this.isComputing=!1,this.isRunningSetter=!1,this.name=r||"ComputedValue@"+bt(),i&&(this.setter=V(r+"-setter",i))}return e.prototype.onBecomeStale=function(){ge(this)},e.prototype.onBecomeUnobserved=function(){Z(this),this.value=void 0},e.prototype.get=function(){wt(!this.isComputing,"Cycle detected in computation "+this.name,this.derivation),0===pn.inBatch?(de(),q(this)&&(this.value=this.computeValue(!1)),pe()):(fe(this),q(this)&&this.trackAndCompute()&&ve(this));var e=this.value;if(W(e))throw e.cause;return e},e.prototype.peek=function(){var e=this.computeValue(!1);if(W(e))throw e.cause;return e},e.prototype.set=function(e){if(this.setter){wt(!this.isRunningSetter,"The setter of computed value '"+this.name+"' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?"),this.isRunningSetter=!0;try{this.setter.call(this.scope,e)}finally{this.isRunningSetter=!1}}else wt(!1,"[ComputedValue '"+this.name+"'] It is not possible to assign a new value to a computed value.")},e.prototype.trackAndCompute=function(){Se()&&Oe({object:this.scope,type:"compute",fn:this.derivation});var e=this.value,t=this.value=this.computeValue(!0);return W(t)||Tt(this.compareStructural,t,e)},e.prototype.computeValue=function(e){this.isComputing=!0,pn.computationDepth++;var t;if(e)t=X(this,this.derivation,this.scope);else try{t=this.derivation.call(this.scope)}catch(e){t=new ln(e)}return pn.computationDepth--,this.isComputing=!1,t},e.prototype.observe=function(e,t){var n=this,r=!0,i=void 0;return s(function(){var o=n.get();if(!r||t){var a=te();e({type:"update",object:n,newValue:o,oldValue:i}),ne(a)}r=!1,i=o})},e.prototype.toJSON=function(){return this.get()},e.prototype.toString=function(){return this.name+"["+this.derivation.toString()+"]"},e.prototype.valueOf=function(){return $t(this.get())},e.prototype.whyRun=function(){var e=Boolean(pn.trackingDerivation),t=St(this.isComputing?this.newObserving:this.observing).map(function(e){return e.name}),n=St(ue(this).map(function(e){return e.name}));return"\nWhyRun? computation '"+this.name+"':\n * Running because: "+(e?"[active] the value of this computation is needed by a reaction":this.isComputing?"[get] The value of this computed was requested outside a reaction":"[idle] not running at the moment")+"\n"+(this.dependenciesState===un.NOT_TRACKING?vt("m032"):" * This computation will re-run if any of the following observables changes:\n "+Ot(t)+"\n "+(this.isComputing&&e?" (... or any observable accessed during the remainder of the current run)":"")+"\n\t"+vt("m038")+"\n\n * If the outcome of this computation changes, the following observers will be re-run:\n "+Ot(n)+"\n")},e}();sn.prototype[Bt()]=sn.prototype.valueOf;var un,cn=Dt("ComputedValue",sn);!function(e){e[e.NOT_TRACKING=-1]="NOT_TRACKING",e[e.UP_TO_DATE=0]="UP_TO_DATE",e[e.POSSIBLY_STALE=1]="POSSIBLY_STALE",e[e.STALE=2]="STALE"}(un||(un={})),t.IDerivationState=un;var ln=function(){function e(e){this.cause=e}return e}();t.untracked=ee;var hn=["mobxGuid","resetId","spyListeners","strictMode","runId"],dn=function(){function e(){this.version=5,this.trackingDerivation=null,this.computationDepth=0,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!0,this.strictMode=!1,this.resetId=0,this.spyListeners=[],this.globalReactionErrorHandlers=[]}return e}(),pn=new dn,fn=function(){function e(e,t){void 0===e&&(e="Reaction@"+bt()),this.name=e,this.onInvalidate=t,this.observing=[],this.newObserving=[],this.dependenciesState=un.NOT_TRACKING,this.diffValue=0,this.runId=0,this.unboundDepsCount=0,this.__mapid="#"+bt(),this.isDisposed=!1,this._isScheduled=!1,this._isTrackPending=!1,this._isRunning=!1}return e.prototype.onBecomeStale=function(){this.schedule()},e.prototype.schedule=function(){this._isScheduled||(this._isScheduled=!0,pn.pendingReactions.push(this),we())},e.prototype.isScheduled=function(){return this._isScheduled},e.prototype.runReaction=function(){this.isDisposed||(de(),this._isScheduled=!1,q(this)&&(this._isTrackPending=!0,this.onInvalidate(),this._isTrackPending&&Se()&&Oe({object:this,type:"scheduled-reaction"})),pe())},e.prototype.track=function(e){de();var t,n=Se();n&&(t=Date.now(),ke({object:this,type:"reaction",fn:e})),this._isRunning=!0;var r=X(this,e,void 0);this._isRunning=!1,this._isTrackPending=!1,this.isDisposed&&Z(this),W(r)&&this.reportExceptionInDerivation(r.cause),n&&Ae({time:Date.now()-t}),pe()},e.prototype.reportExceptionInDerivation=function(e){var t=this;if(this.errorHandler)return void this.errorHandler(e,this);var n="[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '"+this,r=vt("m037");console.error(n||r,e),Se()&&Oe({type:"error",message:n,error:e,object:this}),pn.globalReactionErrorHandlers.forEach(function(n){return n(e,t)})},e.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this._isRunning||(de(),Z(this),pe()))},e.prototype.getDisposer=function(){var e=this.dispose.bind(this);return e.$mobx=this,e.onError=be,e},e.prototype.toString=function(){return"Reaction["+this.name+"]"},e.prototype.whyRun=function(){var e=St(this._isRunning?this.newObserving:this.observing).map(function(e){return e.name});return"\nWhyRun? reaction '"+this.name+"':\n * Status: ["+(this.isDisposed?"stopped":this._isRunning?"running":this.isScheduled()?"scheduled":"idle")+"]\n * This reaction will re-run if any of the following observables changes:\n "+Ot(e)+"\n "+(this._isRunning?" (... or any observable accessed during the remainder of the current run)":"")+"\n\t"+vt("m038")+"\n"},e}();t.Reaction=fn;var mn=100,vn=function(e){return e()},gn=Dt("Reaction",fn),bn={spyReportEnd:!0};t.spy=Ee,t.asReference=Pe,t.asStructure=Me,t.asFlat=De,t.asMap=Ne,t.isModifierDescriptor=Ve;var yn=function(){var e=!1,t={};return Object.defineProperty(t,"0",{set:function(){e=!0}}),Object.create(t)[0]=1,!1===e}(),wn=0,_n=function(){function e(){}return e}();_n.prototype=[];var xn=function(){function e(e,t,n,r){this.array=n,this.owned=r,this.lastKnownLength=0,this.interceptors=null,this.changeListeners=null,this.atom=new rn(e||"ObservableArray@"+bt()),this.enhancer=function(n,r){return t(n,r,e+"[..]")}}return e.prototype.intercept=function(e){return Le(this,e)},e.prototype.observe=function(e,t){return void 0===t&&(t=!1),t&&e({object:this.array,type:"splice",index:0,added:this.values.slice(),addedCount:this.values.length,removed:[],removedCount:0}),je(this,e)},e.prototype.getArrayLength=function(){return this.atom.reportObserved(),this.values.length},e.prototype.setArrayLength=function(e){if("number"!=typeof e||e<0)throw new Error("[mobx.array] Out of range: "+e);var t=this.values.length;if(e!==t)if(e>t){for(var n=new Array(e-t),r=0;r<e-t;r++)n[r]=void 0;this.spliceWithArray(t,0,n)}else this.spliceWithArray(e,t-e)},e.prototype.updateArrayLength=function(e,t){if(e!==this.lastKnownLength)throw new Error("[mobx] Modification exception: the internal structure of an observable array was changed. Did you use peek() to change it?");this.lastKnownLength+=t,t>0&&e+t+1>wn&&We(e+t+1)},e.prototype.spliceWithArray=function(e,t,n){var r=this;F(this.atom);var i=this.values.length;if(void 0===e?e=0:e>i?e=i:e<0&&(e=Math.max(0,i+e)),t=1===arguments.length?i-e:void 0===t||null===t?0:Math.max(0,Math.min(t,i-e)),void 0===n&&(n=[]),Te(this)){var o=Ce(this,{object:this.array,type:"splice",index:e,removedCount:t,added:n});if(!o)return Vn;t=o.removedCount,n=o.added}n=n.map(function(e){return r.enhancer(e,void 0)});var a=n.length-t;this.updateArrayLength(i,a);var s=this.spliceItemsIntoValues(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice(e,n,s),s},e.prototype.spliceItemsIntoValues=function(e,t,n){if(n.length<1e4)return(i=this.values).splice.apply(i,[e,t].concat(n));var r=this.values.slice(e,e+t);return this.values=this.values.slice(0,e).concat(n,this.values.slice(e+t)),r;var i},e.prototype.notifyArrayChildUpdate=function(e,t,n){var r=!this.owned&&Se(),i=Ie(this),o=i||r?{object:this.array,type:"update",index:e,newValue:t,oldValue:n}:null;r&&ke(o),this.atom.reportChanged(),i&&Re(this,o),r&&Ae()},e.prototype.notifyArraySplice=function(e,t,n){var r=!this.owned&&Se(),i=Ie(this),o=i||r?{object:this.array,type:"splice",index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;r&&ke(o),this.atom.reportChanged(),i&&Re(this,o),r&&Ae()},e}(),Sn=function(e){function t(t,n,r,i){void 0===r&&(r="ObservableArray@"+bt()),void 0===i&&(i=!1);var o=e.call(this)||this,a=new xn(r,n,o,i);return It(o,"$mobx",a),t&&t.length?(a.updateArrayLength(0,t.length),a.values=t.map(function(e){return n(e,void 0,r+"[..]")}),a.notifyArraySplice(0,a.values.slice(),Vn)):a.values=[],yn&&Object.defineProperty(a.array,"0",On),o}return Ht(t,e),t.prototype.intercept=function(e){return this.$mobx.intercept(e)},t.prototype.observe=function(e,t){return void 0===t&&(t=!1),this.$mobx.observe(e,t)},t.prototype.clear=function(){return this.splice(0)},t.prototype.concat=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.$mobx.atom.reportObserved(),Array.prototype.concat.apply(this.peek(),e.map(function(e){return qe(e)?e.peek():e}))},t.prototype.replace=function(e){return this.$mobx.spliceWithArray(0,this.$mobx.values.length,e)},t.prototype.toJS=function(){return this.slice()},t.prototype.toJSON=function(){return this.toJS()},t.prototype.peek=function(){return this.$mobx.values},t.prototype.find=function(e,t,n){void 0===n&&(n=0),this.$mobx.atom.reportObserved();for(var r=this.$mobx.values,i=r.length,o=n;o<i;o++)if(e.call(t,r[o],o,this))return r[o]},t.prototype.splice=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];switch(arguments.length){case 0:return[];case 1:return this.$mobx.spliceWithArray(e);case 2:return this.$mobx.spliceWithArray(e,t)}return this.$mobx.spliceWithArray(e,t,n)},t.prototype.spliceWithArray=function(e,t,n){return this.$mobx.spliceWithArray(e,t,n)},t.prototype.push=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=this.$mobx;return n.spliceWithArray(n.values.length,0,e),n.values.length},t.prototype.pop=function(){return this.splice(Math.max(this.$mobx.values.length-1,0),1)[0]},t.prototype.shift=function(){return this.splice(0,1)[0]},t.prototype.unshift=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=this.$mobx;return n.spliceWithArray(0,0,e),n.values.length},t.prototype.reverse=function(){this.$mobx.atom.reportObserved();var e=this.slice();return e.reverse.apply(e,arguments)},t.prototype.sort=function(e){this.$mobx.atom.reportObserved();var t=this.slice();return t.sort.apply(t,arguments)},t.prototype.remove=function(e){var t=this.$mobx.values.indexOf(e);return t>-1&&(this.splice(t,1),!0)},t.prototype.move=function(e,t){function n(e){if(e<0)throw new Error("[mobx.array] Index out of bounds: "+e+" is negative");var t=this.$mobx.values.length;if(e>=t)throw new Error("[mobx.array] Index out of bounds: "+e+" is not smaller than "+t)}if(n.call(this,e),n.call(this,t),e!==t){var r,i=this.$mobx.values;r=e<t?i.slice(0,e).concat(i.slice(e+1,t+1),[i[e]],i.slice(t+1)):i.slice(0,t).concat([i[e]],i.slice(t,e),i.slice(e+1)),this.replace(r)}},t.prototype.toString=function(){return this.$mobx.atom.reportObserved(),Array.prototype.toString.apply(this.$mobx.values,arguments)},t.prototype.toLocaleString=function(){return this.$mobx.atom.reportObserved(),Array.prototype.toLocaleString.apply(this.$mobx.values,arguments)},t.prototype.get=function(e){var t=this.$mobx;if(t){if(e<t.values.length)return t.atom.reportObserved(),t.values[e];console.warn("[mobx.array] Attempt to read an array index ("+e+") that is out of bounds ("+t.values.length+"). Please check length first. Out of bound indices will not be tracked by MobX")}},t.prototype.set=function(e,t){var n=this.$mobx,r=n.values;if(e<r.length){F(n.atom);var i=r[e];if(Te(n)){var o=Ce(n,{type:"update",object:this,index:e,newValue:t});if(!o)return;t=o.newValue}t=n.enhancer(t,i);t!==i&&(r[e]=t,n.notifyArrayChildUpdate(e,t,i))}else{if(e!==r.length)throw new Error("[mobx.array] Index out of bounds, "+e+" is larger than "+r.length);n.spliceWithArray(e,0,[t])}},t}(_n);mt(Sn.prototype,function(){return ft(this.slice())}),function(e,t){for(var n=0;n<t.length;n++)Ct(e,t[n],e[t[n]])}(Sn.prototype,["constructor","intercept","observe","clear","concat","get","replace","toJS","toJSON","peek","find","splice","spliceWithArray","push","pop","set","shift","unshift","reverse","sort","remove","move","toString","toLocaleString"]),Object.defineProperty(Sn.prototype,"length",{enumerable:!1,configurable:!0,get:function(){return this.$mobx.getArrayLength()},set:function(e){this.$mobx.setArrayLength(e)}}),["every","filter","forEach","indexOf","join","lastIndexOf","map","reduce","reduceRight","slice","some"].forEach(function(e){var t=Array.prototype[e];wt("function"==typeof t,"Base function not defined on Array prototype: '"+e+"'"),Ct(Sn.prototype,e,function(){return this.$mobx.atom.reportObserved(),t.apply(this.$mobx.values,arguments)})});var On=Ge(0);We(1e3);var kn=Dt("ObservableArrayAdministration",xn);t.isObservableArray=qe;var An={},En=function(){function e(e,t,n){void 0===t&&(t=Be),void 0===n&&(n="ObservableMap@"+bt()),this.enhancer=t,this.name=n,this.$mobx=An,this._data=Object.create(null),this._hasMap=Object.create(null),this._keys=new Sn(void 0,Ue,this.name+".keys()",!0),this.interceptors=null,this.changeListeners=null,this.merge(e)}return e.prototype._has=function(e){return void 0!==this._data[e]},e.prototype.has=function(e){return!!this.isValidKey(e)&&(e=""+e,this._hasMap[e]?this._hasMap[e].get():this._updateHasMapEntry(e,!1).get())},e.prototype.set=function(e,t){this.assertValidKey(e),e=""+e;var n=this._has(e);if(Te(this)){var r=Ce(this,{type:n?"update":"add",object:this,newValue:t,name:e});if(!r)return this;t=r.newValue}return n?this._updateValue(e,t):this._addValue(e,t),this},e.prototype.delete=function(e){var t=this;if(this.assertValidKey(e),e=""+e,Te(this)){var n=Ce(this,{type:"delete",object:this,name:e});if(!n)return!1}if(this._has(e)){var r=Se(),i=Ie(this),n=i||r?{type:"delete",object:this,oldValue:this._data[e].value,name:e}:null;return r&&ke(n),M(function(){t._keys.remove(e),t._updateHasMapEntry(e,!1),t._data[e].setNewValue(void 0),t._data[e]=void 0}),i&&Re(this,n),r&&Ae(),!0}return!1},e.prototype._updateHasMapEntry=function(e,t){var n=this._hasMap[e];return n?n.setNewValue(t):n=this._hasMap[e]=new Pn(t,Ue,this.name+"."+e+"?",!1),n},e.prototype._updateValue=function(e,t){var n=this._data[e];if((t=n.prepareNewValue(t))!==Rn){var r=Se(),i=Ie(this),o=i||r?{type:"update",object:this,oldValue:n.value,name:e,newValue:t}:null;r&&ke(o),n.setNewValue(t),i&&Re(this,o),r&&Ae()}},e.prototype._addValue=function(e,t){var n=this;M(function(){var r=n._data[e]=new Pn(t,n.enhancer,n.name+"."+e,!1);t=r.value,n._updateHasMapEntry(e,!0),n._keys.push(e)});var r=Se(),i=Ie(this),o=i||r?{type:"add",object:this,name:e,newValue:t}:null;r&&ke(o),i&&Re(this,o),r&&Ae()},e.prototype.get=function(e){if(e=""+e,this.has(e))return this._data[e].get()},e.prototype.keys=function(){return ft(this._keys.slice())},e.prototype.values=function(){return ft(this._keys.map(this.get,this))},e.prototype.entries=function(){var e=this;return ft(this._keys.map(function(t){return[t,e.get(t)]}))},e.prototype.forEach=function(e,t){var n=this;this.keys().forEach(function(r){return e.call(t,n.get(r),r,n)})},e.prototype.merge=function(e){var t=this;return Tn(e)&&(e=e.toJS()),M(function(){At(e)?Object.keys(e).forEach(function(n){return t.set(n,e[n])}):Array.isArray(e)?e.forEach(function(e){var n=e[0],r=e[1];return t.set(n,r)}):zt(e)?e.forEach(function(e,n){return t.set(n,e)}):null!==e&&void 0!==e&&yt("Cannot initialize map from "+e)}),this},e.prototype.clear=function(){var e=this;M(function(){ee(function(){e.keys().forEach(e.delete,e)})})},e.prototype.replace=function(e){var t=this;return M(function(){t.clear(),t.merge(e)}),this},Object.defineProperty(e.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),e.prototype.toJS=function(){var e=this,t={};return this.keys().forEach(function(n){return t[n]=e.get(n)}),t},e.prototype.toJSON=function(){return this.toJS()},e.prototype.isValidKey=function(e){return null!==e&&void 0!==e&&("string"==typeof e||"number"==typeof e||"boolean"==typeof e)},e.prototype.assertValidKey=function(e){if(!this.isValidKey(e))throw new Error("[mobx.map] Invalid key: '"+e+"', only strings, numbers and booleans are accepted as key in observable maps.")},e.prototype.toString=function(){var e=this;return this.name+"[{ "+this.keys().map(function(t){return t+": "+e.get(t)}).join(", ")+" }]"},e.prototype.observe=function(e,t){return wt(!0!==t,vt("m033")),je(this,e)},e.prototype.intercept=function(e){return Le(this,e)},e}();t.ObservableMap=En,mt(En.prototype,function(){return this.entries()}),t.map=Je;var Tn=Dt("ObservableMap",En);t.isObservableMap=Tn;var Ln=function(){function e(e,t){this.target=e,this.name=t,this.values={},this.changeListeners=null,this.interceptors=null}return e.prototype.observe=function(e,t){return wt(!0!==t,"`observe` doesn't support the fire immediately property for observable objects."),je(this,e)},e.prototype.intercept=function(e){return Le(this,e)},e}(),Cn={},In={},jn=Dt("ObservableObjectAdministration",Ln);t.isObservableObject=ot;var Rn={},Pn=function(e){function t(t,n,r,i){void 0===r&&(r="ObservableValue@"+bt()),void 0===i&&(i=!0);var o=e.call(this,r)||this;return o.enhancer=n,o.hasUnreportedChange=!1,o.value=n(t,void 0,r),i&&Se()&&Oe({type:"create",object:o,newValue:o.value}),o}return Ht(t,e),t.prototype.set=function(e){var t=this.value;if((e=this.prepareNewValue(e))!==Rn){var n=Se();n&&ke({type:"update",object:this,newValue:e,oldValue:t}),this.setNewValue(e),n&&Ae()}},t.prototype.prepareNewValue=function(e){if(F(this),Te(this)){var t=Ce(this,{object:this,type:"update",newValue:e});if(!t)return Rn;e=t.newValue}return e=this.enhancer(e,this.value,this.name),this.value!==e?e:Rn},t.prototype.setNewValue=function(e){var t=this.value;this.value=e,this.reportChanged(),Ie(this)&&Re(this,{type:"update",object:this,newValue:e,oldValue:t})},t.prototype.get=function(){return this.reportObserved(),this.value},t.prototype.intercept=function(e){return Le(this,e)},t.prototype.observe=function(e,t){return t&&e({object:this,type:"update",newValue:this.value,oldValue:void 0}),je(this,e)},t.prototype.toJSON=function(){return this.get()},t.prototype.toString=function(){return this.name+"["+this.value+"]"},t.prototype.valueOf=function(){return $t(this.get())},t}(rn);Pn.prototype[Bt()]=Pn.prototype.valueOf;var Mn=Dt("ObservableValue",Pn);t.isBoxedObservable=Mn;var Dn="__$$iterating",Nn={m001:"It is not allowed to assign new values to @action fields",m002:"`runInAction` expects a function",m003:"`runInAction` expects a function without arguments",m004:"autorun expects a function",m005:"Warning: attempted to pass an action to autorun. Actions are untracked and will not trigger on state changes. Use `reaction` or wrap only your state modification code in an action.",m006:"Warning: attempted to pass an action to autorunAsync. Actions are untracked and will not trigger on state changes. Use `reaction` or wrap only your state modification code in an action.",m007:"reaction only accepts 2 or 3 arguments. If migrating from MobX 2, please provide an options object",m008:"wrapping reaction expression in `asReference` is no longer supported, use options object instead",m009:"@computed can only be used on getter functions, like: '@computed get myProps() { return ...; }'. It looks like it was used on a property.",m010:"@computed can only be used on getter functions, like: '@computed get myProps() { return ...; }'",m011:"First argument to `computed` should be an expression. If using computed as decorator, don't pass it arguments",m012:"computed takes one or two arguments if used as function",m013:"[mobx.expr] 'expr' should only be used inside other reactive functions.",m014:"extendObservable expected 2 or more arguments",m015:"extendObservable expects an object as first argument",m016:"extendObservable should not be used on maps, use map.merge instead",m017:"all arguments of extendObservable should be objects",m018:"extending an object with another observable (object) is not supported. Please construct an explicit propertymap, using `toJS` if need. See issue #540",m019:"[mobx.isObservable] isObservable(object, propertyName) is not supported for arrays and maps. Use map.has or array.length instead.",m020:"modifiers can only be used for individual object properties",m021:"observable expects zero or one arguments",m022:"@observable can not be used on getters, use @computed instead",m023:"Using `transaction` is deprecated, use `runInAction` or `(@)action` instead.",m024:"whyRun() can only be used if a derivation is active, or by passing an computed value / reaction explicitly. If you invoked whyRun from inside a computation; the computation is currently suspended but re-evaluating because somebody requested its value.",m025:"whyRun can only be used on reactions and computed values",m026:"`action` can only be invoked on functions",m028:"It is not allowed to set `useStrict` when a derivation is running",m029:"INTERNAL ERROR only onBecomeUnobserved shouldn't be called twice in a row",m030a:"Since strict-mode is enabled, changing observed observable values outside actions is not allowed. Please wrap the code in an `action` if this change is intended. Tried to modify: ",m030b:"Side effects like changing state are not allowed at this point. Are you trying to modify state from, for example, the render function of a React component? Tried to modify: ",m031:"Computed values are not allowed to not cause side effects by changing observables that are already being observed. Tried to modify: ",m032:"* This computation is suspended (not in use by any reaction) and won't run automatically.\n\tDidn't expect this computation to be suspended at this point?\n\t 1. Make sure this computation is used by a reaction (reaction, autorun, observer).\n\t 2. Check whether you are using this computation synchronously (in the same stack as they reaction that needs it).",m033:"`observe` doesn't support the fire immediately property for observable maps.",m034:"`mobx.map` is deprecated, use `new ObservableMap` or `mobx.observable.map` instead",m035:"Cannot make the designated object observable; it is not extensible",m036:"It is not possible to get index atoms from arrays",m037:'Hi there! I\'m sorry you have just run into an exception.\nIf your debugger ends up here, know that some reaction (like the render() of an observer component, autorun or reaction)\nthrew an exception and that mobx caught it, to avoid that it brings the rest of your application down.\nThe original cause of the exception (the code that caused this reaction to run (again)), is still in the stack.\n\nHowever, more interesting is the actual stack trace of the error itself.\nHopefully the error is an instanceof Error, because in that case you can inspect the original stack of the error from where it was thrown.\nSee `error.stack` property, or press the very subtle "(...)" link you see near the console.error message that probably brought you here.\nThat stack is more interesting than the stack of this console.error itself.\n\nIf the exception you see is an exception you created yourself, make sure to use `throw new Error("Oops")` instead of `throw "Oops"`,\nbecause the javascript environment will only preserve the original stack trace in the first form.\n\nYou can also make sure the debugger pauses the next time this very same exception is thrown by enabling "Pause on caught exception".\n(Note that it might pause on many other, unrelated exception as well).\n\nIf that all doesn\'t help you out, feel free to open an issue https://github.com/mobxjs/mobx/issues!\n',m038:"Missing items in this list?\n 1. Check whether all used values are properly marked as observable (use isObservable to verify)\n 2. Make sure you didn't dereference values too early. MobX observes props, not primitives. E.g: use 'person.name' instead of 'name' in your computation.\n"},Vn=[];Object.freeze(Vn);var zn=[],Bn=function(){},$n=Object.prototype.hasOwnProperty;t.isArrayLike=Nt}).call(t,n(4))},function(e,t,n){"use strict";function r(e,t){var n=e.meta,r=e.user,i=e.reactions,o=document.createElement("div");o.lang="en-US",o.className="gitment-container gitment-header-container";var a=document.createElement("span"),s=i.find(function(e){return"heart"===e.content&&e.user.login===r.login});a.className="gitment-header-like-btn",a.innerHTML="\n "+c.heart+"\n "+(s?"Unlike":"Like")+"\n "+(n.reactions&&n.reactions.heart?" • <strong>"+n.reactions.heart+"</strong> Liked":"")+"\n ",s?(a.classList.add("liked"),a.onclick=function(){return t.unlike()}):(a.classList.remove("liked"),a.onclick=function(){return t.like()}),o.appendChild(a);var u=document.createElement("span");u.innerHTML="\n "+(n.comments?" • <strong>"+n.comments+"</strong> Comments":"")+"\n ",o.appendChild(u);var l=document.createElement("a");return l.className="gitment-header-issue-link",l.href=n.html_url,l.target="_blank",l.innerText="Issue Page",o.appendChild(l),o}function i(e,t){var n=e.meta,r=e.comments,i=e.commentReactions,o=e.currentPage,a=e.user,s=e.error,u=document.createElement("div");if(u.lang="en-US",u.className="gitment-container gitment-comments-container",s){var h=document.createElement("div");if(h.className="gitment-comments-error",s===l.NOT_INITIALIZED_ERROR&&a.login&&a.login.toLowerCase()===t.owner.toLowerCase()){var d=document.createElement("div"),p=document.createElement("button");p.className="gitment-comments-init-btn",p.onclick=function(){p.setAttribute("disabled",!0),t.init().catch(function(e){p.removeAttribute("disabled"),alert(e)})},p.innerText="Initialize Comments",d.appendChild(p),h.appendChild(d)}else h.innerText=s;return u.appendChild(h),u}if(void 0===r){var f=document.createElement("div");return f.innerText="Loading comments...",f.className="gitment-comments-loading",u.appendChild(f),u}if(!r.length){var m=document.createElement("div");return m.className="gitment-comments-empty",m.innerText="No Comment Yet",u.appendChild(m),u}var v=document.createElement("ul");if(v.className="gitment-comments-list",r.forEach(function(e){var n=new Date(e.created_at),r=new Date(e.updated_at),o=document.createElement("li");o.className="gitment-comment",o.innerHTML='\n <a class="gitment-comment-avatar" href="'+e.user.html_url+'" target="_blank">\n <img class="gitment-comment-avatar-img" src="'+e.user.avatar_url+'"/>\n </a>\n <div class="gitment-comment-main">\n <div class="gitment-comment-header">\n <a class="gitment-comment-name" href="'+e.user.html_url+'" target="_blank">\n '+e.user.login+'\n </a>\n commented on\n <span title="'+n+'">'+n.toDateString()+"</span>\n "+(n.toString()!==r.toString()?' • <span title="comment was edited at '+r+'">edited</span>':"")+'\n <div class="gitment-comment-reply-btn">'+c.reply+'</div>\n <div class="gitment-comment-like-btn">'+c.heart+" "+(e.reactions.heart||"")+'</div>\n </div>\n <div class="gitment-comment-body gitment-markdown">'+e.body_html+"</div>\n </div>\n ";var s=o.querySelector(".gitment-comment-like-btn");i[e.id]&&i[e.id].find(function(e){return"heart"===e.content&&e.user.login===a.login})?(s.classList.add("liked"),s.onclick=function(){return t.unlikeAComment(e.id)}):(s.classList.remove("liked"),s.onclick=function(){return t.likeAComment(e.id)}),o.querySelector(".gitment-comment-reply-btn").onclick=function(){return t.replyAComment(e.user.login)};var u=document.createElement("img"),l=o.querySelector(".gitment-comment-body");u.className="gitment-hidden",u.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",u.onload=function(){l.clientHeight>t.maxCommentHeight&&(l.classList.add("gitment-comment-body-folded"),l.style.maxHeight=t.maxCommentHeight+"px",l.title="Click to Expand",l.onclick=function(){l.classList.remove("gitment-comment-body-folded"),l.style.maxHeight="",l.title="",l.onclick=null})},o.appendChild(u),v.appendChild(o)}),u.appendChild(v),n){var g=Math.ceil(n.comments/t.perPage);if(g>1){var b=document.createElement("ul");if(b.className="gitment-comments-pagination",o>1){var y=document.createElement("li");y.className="gitment-comments-page-item",y.innerText="Previous",y.onclick=function(){return t.goto(o-1)},b.appendChild(y)}for(var w=1;w<=g;w++)!function(e){var n=document.createElement("li");n.className="gitment-comments-page-item",n.innerText=e,n.onclick=function(){return t.goto(e)},o===e&&n.classList.add("gitment-selected"),b.appendChild(n)}(w);if(o<g){var _=document.createElement("li");_.className="gitment-comments-page-item",_.innerText="Next",_.onclick=function(){return t.goto(o+1)},b.appendChild(_)}u.appendChild(b)}}return u}function o(e,t){var n=e.user,r=e.error,i=document.createElement("div");i.lang="en-US",i.className="gitment-container gitment-editor-container";var o=n.login&&!r?"":"disabled",a=n.login?"":"Login to Comment";i.innerHTML="\n "+(n.login?'<a class="gitment-editor-avatar" href="'+n.html_url+'" target="_blank">\n <img class="gitment-editor-avatar-img" src="'+n.avatar_url+'"/>\n </a>':n.isLoggingIn?'<div class="gitment-editor-avatar">'+c.spinner+"</div>":'<a class="gitment-editor-avatar" href="'+t.loginLink+'" title="login with GitHub">\n '+c.github+"\n </a>")+'\n </a>\n <div class="gitment-editor-main">\n <div class="gitment-editor-header">\n <nav class="gitment-editor-tabs">\n <button class="gitment-editor-tab gitment-selected">Write</button>\n <button class="gitment-editor-tab">Preview</button>\n </nav>\n <div class="gitment-editor-login">\n '+(n.login?'<a class="gitment-editor-logout-link">Logout</a>':n.isLoggingIn?"Logging in...":'<a class="gitment-editor-login-link" href="'+t.loginLink+'">Login</a> with GitHub')+'\n </div>\n </div>\n <div class="gitment-editor-body">\n <div class="gitment-editor-write-field">\n <textarea placeholder="Leave a comment" id="gitment-editor" title="'+a+'" '+o+'></textarea>\n </div>\n <div class="gitment-editor-preview-field gitment-hidden">\n <div class="gitment-editor-preview gitment-markdown"></div>\n </div>\n </div>\n </div>\n <div class="gitment-editor-footer">\n <a class="gitment-editor-footer-tip" href="https://guides.github.com/features/mastering-markdown/" target="_blank">\n Styling with Markdown is supported\n </a>\n <button class="gitment-editor-submit" title="'+a+'" '+o+">Comment</button>\n </div>\n ",n.login&&(i.querySelector(".gitment-editor-logout-link").onclick=function(){return t.logout()});var s=i.querySelector(".gitment-editor-write-field"),l=i.querySelector(".gitment-editor-preview-field"),h=s.querySelector("textarea");h.oninput=function(){h.style.height="auto";var e=window.getComputedStyle(h,null),t=parseInt(e.height,10),n=h.clientHeight,r=h.scrollHeight;n<r&&(h.style.height=t+r-n+"px")};var d=i.querySelectorAll(".gitment-editor-tab"),p=u(d,2),f=p[0],m=p[1];f.onclick=function(){f.classList.add("gitment-selected"),m.classList.remove("gitment-selected"),s.classList.remove("gitment-hidden"),l.classList.add("gitment-hidden"),h.focus()},m.onclick=function(){m.classList.add("gitment-selected"),f.classList.remove("gitment-selected"),l.classList.remove("gitment-hidden"),s.classList.add("gitment-hidden");var e=l.querySelector(".gitment-editor-preview"),n=h.value.trim();if(!n)return void(e.innerText="Nothing to preview");e.innerText="Loading preview...",t.markdown(n).then(function(t){return e.innerHTML=t})};var v=i.querySelector(".gitment-editor-submit");return v.onclick=function(){v.innerText="Submitting...",v.setAttribute("disabled",!0),t.post(h.value.trim()).then(function(e){h.value="",h.style.height="auto",v.removeAttribute("disabled"),v.innerText="Comment"}).catch(function(e){alert(e),v.removeAttribute("disabled"),v.innerText="Comment"})},i}function a(){var e=document.createElement("div");return e.lang="en-US",e.className="gitment-container gitment-footer-container",e.innerHTML='\n Powered by\n <a class="gitment-footer-project-link" href="https://github.com/imsun/gitment" target="_blank">\n Gitment\n </a>\n ',e}function s(e,t){var n=document.createElement("div");return n.lang="en-US",n.className="gitment-container gitment-root-container",n.appendChild(t.renderHeader(e,t)),n.appendChild(t.renderComments(e,t)),n.appendChild(t.renderEditor(e,t)),n.appendChild(t.renderFooter(e,t)),n}Object.defineProperty(t,"__esModule",{value:!0});var u=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),c=n(6),l=n(0);t.default={render:s,renderHeader:r,renderComments:i,renderEditor:o,renderFooter:a}},function(e,t,n){"use strict";function r(e){return e instanceof Element?e:s(e)?document.getElementById(e):document.createElement("div")}function i(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"https://api.github.com",i=new XMLHttpRequest,o=localStorage.getItem(a.LS_ACCESS_TOKEN_KEY),s=""+r+t,c=null;"GET"!==e&&"DELETE"!==e||(s+=u.stringify(n));var l=new Promise(function(e,t){i.addEventListener("load",function(){var n=i.getResponseHeader("content-type"),r=i.responseText;if(!/json/.test(n))return void e(r);var o=i.responseText?JSON.parse(r):{};o.message?t(new Error(o.message)):e(o)}),i.addEventListener("error",function(e){return t(e)})});return i.open(e,s,!0),i.setRequestHeader("Accept","application/vnd.github.squirrel-girl-preview, application/vnd.github.html+json"),o&&i.setRequestHeader("Authorization","token "+o),"GET"!==e&&"DELETE"!==e&&(c=JSON.stringify(n),i.setRequestHeader("Content-Type","application/json")),i.send(c),l}}Object.defineProperty(t,"__esModule",{value:!0}),t.http=t.Query=t.isString=void 0;var o=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();t.getTargetContainer=r;var a=n(0),s=t.isString=function(e){return"[object String]"===toString.call(e)},u=t.Query={parse:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.search;if(!e)return{};var t="?"===e[0]?e.substring(1):e,n={};return t.split("&").forEach(function(e){var t=e.split("="),r=o(t,2),i=r[0],a=r[1];i&&(n[i]=a)}),n},stringify:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"?",n=Object.keys(e).map(function(t){return t+"="+encodeURIComponent(e[t]||"")}).join("&");return n?t+n:""}};t.http={get:i("GET"),post:i("POST"),delete:i("DELETE"),put:i("PUT")}},function(e,t,n){"use strict";var r,i="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};r=function(){return this}();try{r=r||Function("return this")()||(0,eval)("this")}catch(e){"object"===("undefined"==typeof window?"undefined":i(window))&&(r=window)}e.exports=r},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){e[t]=function(n){var r=(0,u.getTargetContainer)(n),i=e.theme[t]||e.defaultTheme[t];return(0,a.autorun)(function(){var t=i(e.state,e);r.firstChild?r.replaceChild(t,r.firstChild):r.appendChild(t)}),r}}var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(1),s=n(0),u=n(3),c=n(2),l=function(e){return e&&e.__esModule?e:{default:e}}(c),h=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r(this,e),this.defaultTheme=l.default,this.useTheme(l.default),Object.assign(this,{id:window.location.href,title:window.document.title,link:window.location.href,desc:"",labels:[],theme:l.default,oauth:{},perPage:20,maxCommentHeight:250},n),this.useTheme(this.theme);var i={};try{var o=localStorage.getItem(s.LS_USER_KEY);this.accessToken&&o&&Object.assign(i,JSON.parse(o),{fromCache:!0})}catch(e){localStorage.removeItem(s.LS_USER_KEY)}this.state=(0,a.observable)({user:i,error:null,meta:{},comments:void 0,reactions:[],commentReactions:{},currentPage:1});var c=u.Query.parse();if(c.code){var h=this.oauth,d=h.client_id,p=h.client_secret,f=c.code;delete c.code;var m=u.Query.stringify(c),v=""+window.location.origin+window.location.pathname+m+window.location.hash;history.replaceState({},"",v),Object.assign(this,{id:v,link:v},n),this.state.user.isLoggingIn=!0,u.http.post("https://gh-oauth.imsun.net",{code:f,client_id:d,client_secret:p},"").then(function(e){t.accessToken=e.access_token,t.update()}).catch(function(e){t.state.user.isLoggingIn=!1,alert(e)})}else this.update()}return o(e,[{key:"accessToken",get:function(){return localStorage.getItem(s.LS_ACCESS_TOKEN_KEY)},set:function(e){localStorage.setItem(s.LS_ACCESS_TOKEN_KEY,e)}},{key:"loginLink",get:function(){var e=this.oauth.redirect_uri||window.location.href,t=Object.assign({scope:"public_repo",redirect_uri:e},this.oauth);return"https://github.com/login/oauth/authorize"+u.Query.stringify(t)}}]),o(e,[{key:"init",value:function(){var e=this;return this.createIssue().then(function(){return e.loadComments()}).then(function(t){return e.state.error=null,t})}},{key:"useTheme",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.theme=t,Object.keys(this.theme).forEach(function(t){return i(e,t)})}},{key:"update",value:function(){var e=this;return Promise.all([this.loadMeta(),this.loadUserInfo()]).then(function(){return Promise.all([e.loadComments().then(function(){return e.loadCommentReactions()}),e.loadReactions()])}).catch(function(t){return e.state.error=t})}},{key:"markdown",value:function(e){return u.http.post("/markdown",{text:e,mode:"gfm"})}},{key:"createIssue",value:function(){var e=this,t=this.id,n=this.owner,r=this.repo,i=this.title,o=this.link,a=this.desc,s=this.labels;return u.http.post("/repos/"+n+"/"+r+"/issues",{title:i,labels:s.concat(["gitment",t]),body:o+"\n\n"+a}).then(function(t){return e.state.meta=t,t})}},{key:"getIssue",value:function(){return this.state.meta.id?Promise.resolve(this.state.meta):this.loadMeta()}},{key:"post",value:function(e){var t=this;return this.getIssue().then(function(t){return u.http.post(t.comments_url,{body:e},"")}).then(function(e){t.state.meta.comments++;var n=Math.ceil(t.state.meta.comments/t.perPage);return t.state.currentPage===n&&t.state.comments.push(e),e})}},{key:"loadMeta",value:function(){var e=this,t=this.id,n=this.owner,r=this.repo;return u.http.get("/repos/"+n+"/"+r+"/issues",{creator:n,labels:t}).then(function(t){return t.length?(e.state.meta=t[0],t[0]):Promise.reject(s.NOT_INITIALIZED_ERROR)})}},{key:"loadComments",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state.currentPage;return this.getIssue().then(function(n){return u.http.get(n.comments_url,{page:t,per_page:e.perPage},"")}).then(function(t){return e.state.comments=t,t})}},{key:"loadUserInfo",value:function(){var e=this;return this.accessToken?u.http.get("/user").then(function(t){return e.state.user=t,localStorage.setItem(s.LS_USER_KEY,JSON.stringify(t)),t}):(this.logout(),Promise.resolve({}))}},{key:"loadReactions",value:function(){var e=this;return this.accessToken?this.getIssue().then(function(e){return e.reactions.total_count?u.http.get(e.reactions.url,{},""):[]}).then(function(t){return e.state.reactions=t,t}):(this.state.reactions=[],Promise.resolve([]))}},{key:"loadCommentReactions",value:function(){var e=this;if(!this.accessToken)return this.state.commentReactions={},Promise.resolve([]);var t=this.state.comments,n={};return Promise.all(t.map(function(t){if(!t.reactions.total_count)return[];var n=e.owner,r=e.repo;return u.http.get("/repos/"+n+"/"+r+"/issues/comments/"+t.id+"/reactions",{})})).then(function(r){return t.forEach(function(e,t){n[e.id]=r[t]}),e.state.commentReactions=n,n})}},{key:"login",value:function(){window.location.href=this.loginLink}},{key:"logout",value:function(){localStorage.removeItem(s.LS_ACCESS_TOKEN_KEY),localStorage.removeItem(s.LS_USER_KEY),this.state.user={}}},{key:"goto",value:function(e){return this.state.currentPage=e,this.state.comments=void 0,this.loadComments(e)}},{key:"like",value:function(){var e=this;if(!this.accessToken)return alert("Login to Like"),Promise.reject();var t=this.owner,n=this.repo;return u.http.post("/repos/"+t+"/"+n+"/issues/"+this.state.meta.number+"/reactions",{content:"heart"}).then(function(t){e.state.reactions.push(t),e.state.meta.reactions.heart++})}},{key:"unlike",value:function(){var e=this;if(!this.accessToken)return Promise.reject();var t=this.state,n=t.user,r=t.reactions,i=r.findIndex(function(e){return e.user.login===n.login});return u.http.delete("/reactions/"+r[i].id).then(function(){r.splice(i,1),e.state.meta.reactions.heart--})}},{key:"likeAComment",value:function(e){var t=this;if(!this.accessToken)return alert("Login to Like"),Promise.reject();var n=this.owner,r=this.repo,i=this.state.comments.find(function(t){return t.id===e});return u.http.post("/repos/"+n+"/"+r+"/issues/comments/"+e+"/reactions",{content:"heart"}).then(function(n){t.state.commentReactions[e].push(n),i.reactions.heart++})}},{key:"unlikeAComment",value:function(e){if(!this.accessToken)return Promise.reject();var t=this.state.commentReactions[e],n=this.state.comments.find(function(t){return t.id===e}),r=this.state.user,i=t.findIndex(function(e){return e.user.login===r.login});return u.http.delete("/reactions/"+t[i].id).then(function(){t.splice(i,1),n.reactions.heart--})}},{key:"replyAComment",value:function(e){if(!this.accessToken)return Promise.reject();var t=document.getElementById("gitment-editor");t.innerText+="@"+e+" ",t.focus()}}]),e}();e.exports=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.close='<svg class="gitment-close-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><path d="M37.304 11.282l1.414 1.414-26.022 26.02-1.414-1.413z"/><path d="M12.696 11.282l26.022 26.02-1.414 1.415-26.022-26.02z"/></svg>',t.github='<svg class="gitment-github-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><path d="M25 10c-8.3 0-15 6.7-15 15 0 6.6 4.3 12.2 10.3 14.2.8.1 1-.3 1-.7v-2.6c-4.2.9-5.1-2-5.1-2-.7-1.7-1.7-2.2-1.7-2.2-1.4-.9.1-.9.1-.9 1.5.1 2.3 1.5 2.3 1.5 1.3 2.3 3.5 1.6 4.4 1.2.1-1 .5-1.6 1-2-3.3-.4-6.8-1.7-6.8-7.4 0-1.6.6-3 1.5-4-.2-.4-.7-1.9.1-4 0 0 1.3-.4 4.1 1.5 1.2-.3 2.5-.5 3.8-.5 1.3 0 2.6.2 3.8.5 2.9-1.9 4.1-1.5 4.1-1.5.8 2.1.3 3.6.1 4 1 1 1.5 2.4 1.5 4 0 5.8-3.5 7-6.8 7.4.5.5 1 1.4 1 2.8v4.1c0 .4.3.9 1 .7 6-2 10.2-7.6 10.2-14.2C40 16.7 33.3 10 25 10z"/></svg>',t.heart='<svg class="gitment-heart-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><path d="M25 39.7l-.6-.5C11.5 28.7 8 25 8 19c0-5 4-9 9-9 4.1 0 6.4 2.3 8 4.1 1.6-1.8 3.9-4.1 8-4.1 5 0 9 4 9 9 0 6-3.5 9.7-16.4 20.2l-.6.5zM17 12c-3.9 0-7 3.1-7 7 0 5.1 3.2 8.5 15 18.1 11.8-9.6 15-13 15-18.1 0-3.9-3.1-7-7-7-3.5 0-5.4 2.1-6.9 3.8L25 17.1l-1.1-1.3C22.4 14.1 20.5 12 17 12z"/></svg>',t.spinner='<svg class="gitment-spinner-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><path d="M25 18c-.6 0-1-.4-1-1V9c0-.6.4-1 1-1s1 .4 1 1v8c0 .6-.4 1-1 1z"/><path opacity=".3" d="M25 42c-.6 0-1-.4-1-1v-8c0-.6.4-1 1-1s1 .4 1 1v8c0 .6-.4 1-1 1z"/><path opacity=".3" d="M29 19c-.2 0-.3 0-.5-.1-.4-.3-.6-.8-.3-1.3l4-6.9c.3-.4.8-.6 1.3-.3.4.3.6.8.3 1.3l-4 6.9c-.2.2-.5.4-.8.4z"/><path opacity=".3" d="M17 39.8c-.2 0-.3 0-.5-.1-.4-.3-.6-.8-.3-1.3l4-6.9c.3-.4.8-.6 1.3-.3.4.3.6.8.3 1.3l-4 6.9c-.2.2-.5.4-.8.4z"/><path opacity=".93" d="M21 19c-.3 0-.6-.2-.8-.5l-4-6.9c-.3-.4-.1-1 .3-1.3.4-.3 1-.1 1.3.3l4 6.9c.3.4.1 1-.3 1.3-.2.2-.3.2-.5.2z"/><path opacity=".3" d="M33 39.8c-.3 0-.6-.2-.8-.5l-4-6.9c-.3-.4-.1-1 .3-1.3.4-.3 1-.1 1.3.3l4 6.9c.3.4.1 1-.3 1.3-.2.1-.3.2-.5.2z"/><path opacity=".65" d="M17 26H9c-.6 0-1-.4-1-1s.4-1 1-1h8c.6 0 1 .4 1 1s-.4 1-1 1z"/><path opacity=".3" d="M41 26h-8c-.6 0-1-.4-1-1s.4-1 1-1h8c.6 0 1 .4 1 1s-.4 1-1 1z"/><path opacity=".86" d="M18.1 21.9c-.2 0-.3 0-.5-.1l-6.9-4c-.4-.3-.6-.8-.3-1.3.3-.4.8-.6 1.3-.3l6.9 4c.4.3.6.8.3 1.3-.2.3-.5.4-.8.4z"/><path opacity=".3" d="M38.9 33.9c-.2 0-.3 0-.5-.1l-6.9-4c-.4-.3-.6-.8-.3-1.3.3-.4.8-.6 1.3-.3l6.9 4c.4.3.6.8.3 1.3-.2.3-.5.4-.8.4z"/><path opacity=".44" d="M11.1 33.9c-.3 0-.6-.2-.8-.5-.3-.4-.1-1 .3-1.3l6.9-4c.4-.3 1-.1 1.3.3.3.4.1 1-.3 1.3l-6.9 4c-.1.2-.3.2-.5.2z"/><path opacity=".3" d="M31.9 21.9c-.3 0-.6-.2-.8-.5-.3-.4-.1-1 .3-1.3l6.9-4c.4-.3 1-.1 1.3.3.3.4.1 1-.3 1.3l-6.9 4c-.2.2-.3.2-.5.2z"/></svg>',t.reply='<svg class="gitment-reply-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19 19"><path d="M1.307,5.988 L6.616,1.343 C7.027,0.933 7.507,0.864 7.918,1.275 L7.918,4.407 C8.014,4.406 8.098,4.406 8.147,4.406 C13.163,4.406 16.885,7.969 16.885,12.816 C16.885,14.504 16.111,13.889 15.788,13.3 C14.266,10.52 11.591,8.623 8.107,8.623 C8.066,8.623 7.996,8.624 7.917,8.624 L7.917,11.689 C7.506,12.099 6.976,12.05 6.615,11.757 L1.306,7.474 C0.897,7.064 0.897,6.399 1.307,5.988 L1.307,5.988 Z" fill="#434343" class="si-glyph-fill"></path></svg>'}]);
\ No newline at end of file diff --git a/themes/even/static/lib/highlight/highlight.pack.js b/themes/even/static/lib/highlight/highlight.pack.js new file mode 100644 index 0000000..f688617 --- /dev/null +++ b/themes/even/static/lib/highlight/highlight.pack.js @@ -0,0 +1,2 @@ +/*! highlight.js v9.12.0 | BSD3 License | git.io/hljslicense */ +!function(e){var n="object"==typeof window&&window||"object"==typeof self&&self;"undefined"!=typeof exports?e(exports):n&&(n.hljs=e({}),"function"==typeof define&&define.amd&&define([],function(){return n.hljs}))}(function(e){function n(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function t(e){return e.nodeName.toLowerCase()}function r(e,n){var t=e&&e.exec(n);return t&&0===t.index}function a(e){return k.test(e)}function i(e){var n,t,r,i,o=e.className+" ";if(o+=e.parentNode?e.parentNode.className:"",t=B.exec(o))return w(t[1])?t[1]:"no-highlight";for(o=o.split(/\s+/),n=0,r=o.length;r>n;n++)if(i=o[n],a(i)||w(i))return i}function o(e){var n,t={},r=Array.prototype.slice.call(arguments,1);for(n in e)t[n]=e[n];return r.forEach(function(e){for(n in e)t[n]=e[n]}),t}function u(e){var n=[];return function r(e,a){for(var i=e.firstChild;i;i=i.nextSibling)3===i.nodeType?a+=i.nodeValue.length:1===i.nodeType&&(n.push({event:"start",offset:a,node:i}),a=r(i,a),t(i).match(/br|hr|img|input/)||n.push({event:"stop",offset:a,node:i}));return a}(e,0),n}function c(e,r,a){function i(){return e.length&&r.length?e[0].offset!==r[0].offset?e[0].offset<r[0].offset?e:r:"start"===r[0].event?e:r:e.length?e:r}function o(e){function r(e){return" "+e.nodeName+'="'+n(e.value).replace('"',""")+'"'}s+="<"+t(e)+E.map.call(e.attributes,r).join("")+">"}function u(e){s+="</"+t(e)+">"}function c(e){("start"===e.event?o:u)(e.node)}for(var l=0,s="",f=[];e.length||r.length;){var g=i();if(s+=n(a.substring(l,g[0].offset)),l=g[0].offset,g===e){f.reverse().forEach(u);do c(g.splice(0,1)[0]),g=i();while(g===e&&g.length&&g[0].offset===l);f.reverse().forEach(o)}else"start"===g[0].event?f.push(g[0].node):f.pop(),c(g.splice(0,1)[0])}return s+n(a.substr(l))}function l(e){return e.v&&!e.cached_variants&&(e.cached_variants=e.v.map(function(n){return o(e,{v:null},n)})),e.cached_variants||e.eW&&[o(e)]||[e]}function s(e){function n(e){return e&&e.source||e}function t(t,r){return new RegExp(n(t),"m"+(e.cI?"i":"")+(r?"g":""))}function r(a,i){if(!a.compiled){if(a.compiled=!0,a.k=a.k||a.bK,a.k){var o={},u=function(n,t){e.cI&&(t=t.toLowerCase()),t.split(" ").forEach(function(e){var t=e.split("|");o[t[0]]=[n,t[1]?Number(t[1]):1]})};"string"==typeof a.k?u("keyword",a.k):x(a.k).forEach(function(e){u(e,a.k[e])}),a.k=o}a.lR=t(a.l||/\w+/,!0),i&&(a.bK&&(a.b="\\b("+a.bK.split(" ").join("|")+")\\b"),a.b||(a.b=/\B|\b/),a.bR=t(a.b),a.e||a.eW||(a.e=/\B|\b/),a.e&&(a.eR=t(a.e)),a.tE=n(a.e)||"",a.eW&&i.tE&&(a.tE+=(a.e?"|":"")+i.tE)),a.i&&(a.iR=t(a.i)),null==a.r&&(a.r=1),a.c||(a.c=[]),a.c=Array.prototype.concat.apply([],a.c.map(function(e){return l("self"===e?a:e)})),a.c.forEach(function(e){r(e,a)}),a.starts&&r(a.starts,i);var c=a.c.map(function(e){return e.bK?"\\.?("+e.b+")\\.?":e.b}).concat([a.tE,a.i]).map(n).filter(Boolean);a.t=c.length?t(c.join("|"),!0):{exec:function(){return null}}}}r(e)}function f(e,t,a,i){function o(e,n){var t,a;for(t=0,a=n.c.length;a>t;t++)if(r(n.c[t].bR,e))return n.c[t]}function u(e,n){if(r(e.eR,n)){for(;e.endsParent&&e.parent;)e=e.parent;return e}return e.eW?u(e.parent,n):void 0}function c(e,n){return!a&&r(n.iR,e)}function l(e,n){var t=N.cI?n[0].toLowerCase():n[0];return e.k.hasOwnProperty(t)&&e.k[t]}function p(e,n,t,r){var a=r?"":I.classPrefix,i='<span class="'+a,o=t?"":C;return i+=e+'">',i+n+o}function h(){var e,t,r,a;if(!E.k)return n(k);for(a="",t=0,E.lR.lastIndex=0,r=E.lR.exec(k);r;)a+=n(k.substring(t,r.index)),e=l(E,r),e?(B+=e[1],a+=p(e[0],n(r[0]))):a+=n(r[0]),t=E.lR.lastIndex,r=E.lR.exec(k);return a+n(k.substr(t))}function d(){var e="string"==typeof E.sL;if(e&&!y[E.sL])return n(k);var t=e?f(E.sL,k,!0,x[E.sL]):g(k,E.sL.length?E.sL:void 0);return E.r>0&&(B+=t.r),e&&(x[E.sL]=t.top),p(t.language,t.value,!1,!0)}function b(){L+=null!=E.sL?d():h(),k=""}function v(e){L+=e.cN?p(e.cN,"",!0):"",E=Object.create(e,{parent:{value:E}})}function m(e,n){if(k+=e,null==n)return b(),0;var t=o(n,E);if(t)return t.skip?k+=n:(t.eB&&(k+=n),b(),t.rB||t.eB||(k=n)),v(t,n),t.rB?0:n.length;var r=u(E,n);if(r){var a=E;a.skip?k+=n:(a.rE||a.eE||(k+=n),b(),a.eE&&(k=n));do E.cN&&(L+=C),E.skip||(B+=E.r),E=E.parent;while(E!==r.parent);return r.starts&&v(r.starts,""),a.rE?0:n.length}if(c(n,E))throw new Error('Illegal lexeme "'+n+'" for mode "'+(E.cN||"<unnamed>")+'"');return k+=n,n.length||1}var N=w(e);if(!N)throw new Error('Unknown language: "'+e+'"');s(N);var R,E=i||N,x={},L="";for(R=E;R!==N;R=R.parent)R.cN&&(L=p(R.cN,"",!0)+L);var k="",B=0;try{for(var M,j,O=0;;){if(E.t.lastIndex=O,M=E.t.exec(t),!M)break;j=m(t.substring(O,M.index),M[0]),O=M.index+j}for(m(t.substr(O)),R=E;R.parent;R=R.parent)R.cN&&(L+=C);return{r:B,value:L,language:e,top:E}}catch(T){if(T.message&&-1!==T.message.indexOf("Illegal"))return{r:0,value:n(t)};throw T}}function g(e,t){t=t||I.languages||x(y);var r={r:0,value:n(e)},a=r;return t.filter(w).forEach(function(n){var t=f(n,e,!1);t.language=n,t.r>a.r&&(a=t),t.r>r.r&&(a=r,r=t)}),a.language&&(r.second_best=a),r}function p(e){return I.tabReplace||I.useBR?e.replace(M,function(e,n){return I.useBR&&"\n"===e?"<br>":I.tabReplace?n.replace(/\t/g,I.tabReplace):""}):e}function h(e,n,t){var r=n?L[n]:t,a=[e.trim()];return e.match(/\bhljs\b/)||a.push("hljs"),-1===e.indexOf(r)&&a.push(r),a.join(" ").trim()}function d(e){var n,t,r,o,l,s=i(e);a(s)||(I.useBR?(n=document.createElementNS("http://www.w3.org/1999/xhtml","div"),n.innerHTML=e.innerHTML.replace(/\n/g,"").replace(/<br[ \/]*>/g,"\n")):n=e,l=n.textContent,r=s?f(s,l,!0):g(l),t=u(n),t.length&&(o=document.createElementNS("http://www.w3.org/1999/xhtml","div"),o.innerHTML=r.value,r.value=c(t,u(o),l)),r.value=p(r.value),e.innerHTML=r.value,e.className=h(e.className,s,r.language),e.result={language:r.language,re:r.r},r.second_best&&(e.second_best={language:r.second_best.language,re:r.second_best.r}))}function b(e){I=o(I,e)}function v(){if(!v.called){v.called=!0;var e=document.querySelectorAll("pre code");E.forEach.call(e,d)}}function m(){addEventListener("DOMContentLoaded",v,!1),addEventListener("load",v,!1)}function N(n,t){var r=y[n]=t(e);r.aliases&&r.aliases.forEach(function(e){L[e]=n})}function R(){return x(y)}function w(e){return e=(e||"").toLowerCase(),y[e]||y[L[e]]}var E=[],x=Object.keys,y={},L={},k=/^(no-?highlight|plain|text)$/i,B=/\blang(?:uage)?-([\w-]+)\b/i,M=/((^(<[^>]+>|\t|)+|(?:\n)))/gm,C="</span>",I={classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:void 0};return e.highlight=f,e.highlightAuto=g,e.fixMarkup=p,e.highlightBlock=d,e.configure=b,e.initHighlighting=v,e.initHighlightingOnLoad=m,e.registerLanguage=N,e.listLanguages=R,e.getLanguage=w,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|they|like|more)\b/},e.C=function(n,t,r){var a=e.inherit({cN:"comment",b:n,e:t,c:[]},r||{});return a.c.push(e.PWM),a.c.push({cN:"doctag",b:"(?:TODO|FIXME|NOTE|BUG|XXX):",r:0}),a},e.CLCM=e.C("//","$"),e.CBCM=e.C("/\\*","\\*/"),e.HCM=e.C("#","$"),e.NM={cN:"number",b:e.NR,r:0},e.CNM={cN:"number",b:e.CNR,r:0},e.BNM={cN:"number",b:e.BNR,r:0},e.CSSNM={cN:"number",b:e.NR+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",r:0},e.RM={cN:"regexp",b:/\//,e:/\/[gimuy]*/,i:/\n/,c:[e.BE,{b:/\[/,e:/\]/,r:0,c:[e.BE]}]},e.TM={cN:"title",b:e.IR,r:0},e.UTM={cN:"title",b:e.UIR,r:0},e.METHOD_GUARD={b:"\\.\\s*"+e.UIR,r:0},e});hljs.registerLanguage("scss",function(e){var t="[a-zA-Z-][a-zA-Z0-9_-]*",i={cN:"variable",b:"(\\$"+t+")\\b"},r={cN:"number",b:"#[0-9A-Fa-f]+"};({cN:"attribute",b:"[A-Z\\_\\.\\-]+",e:":",eE:!0,i:"[^\\s]",starts:{eW:!0,eE:!0,c:[r,e.CSSNM,e.QSM,e.ASM,e.CBCM,{cN:"meta",b:"!important"}]}});return{cI:!0,i:"[=/|']",c:[e.CLCM,e.CBCM,{cN:"selector-id",b:"\\#[A-Za-z0-9_-]+",r:0},{cN:"selector-class",b:"\\.[A-Za-z0-9_-]+",r:0},{cN:"selector-attr",b:"\\[",e:"\\]",i:"$"},{cN:"selector-tag",b:"\\b(a|abbr|acronym|address|area|article|aside|audio|b|base|big|blockquote|body|br|button|canvas|caption|cite|code|col|colgroup|command|datalist|dd|del|details|dfn|div|dl|dt|em|embed|fieldset|figcaption|figure|footer|form|frame|frameset|(h[1-6])|head|header|hgroup|hr|html|i|iframe|img|input|ins|kbd|keygen|label|legend|li|link|map|mark|meta|meter|nav|noframes|noscript|object|ol|optgroup|option|output|p|param|pre|progress|q|rp|rt|ruby|samp|script|section|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|tt|ul|var|video)\\b",r:0},{b:":(visited|valid|root|right|required|read-write|read-only|out-range|optional|only-of-type|only-child|nth-of-type|nth-last-of-type|nth-last-child|nth-child|not|link|left|last-of-type|last-child|lang|invalid|indeterminate|in-range|hover|focus|first-of-type|first-line|first-letter|first-child|first|enabled|empty|disabled|default|checked|before|after|active)"},{b:"::(after|before|choices|first-letter|first-line|repeat-index|repeat-item|selection|value)"},i,{cN:"attribute",b:"\\b(z-index|word-wrap|word-spacing|word-break|width|widows|white-space|visibility|vertical-align|unicode-bidi|transition-timing-function|transition-property|transition-duration|transition-delay|transition|transform-style|transform-origin|transform|top|text-underline-position|text-transform|text-shadow|text-rendering|text-overflow|text-indent|text-decoration-style|text-decoration-line|text-decoration-color|text-decoration|text-align-last|text-align|tab-size|table-layout|right|resize|quotes|position|pointer-events|perspective-origin|perspective|page-break-inside|page-break-before|page-break-after|padding-top|padding-right|padding-left|padding-bottom|padding|overflow-y|overflow-x|overflow-wrap|overflow|outline-width|outline-style|outline-offset|outline-color|outline|orphans|order|opacity|object-position|object-fit|normal|none|nav-up|nav-right|nav-left|nav-index|nav-down|min-width|min-height|max-width|max-height|mask|marks|margin-top|margin-right|margin-left|margin-bottom|margin|list-style-type|list-style-position|list-style-image|list-style|line-height|letter-spacing|left|justify-content|initial|inherit|ime-mode|image-orientation|image-resolution|image-rendering|icon|hyphens|height|font-weight|font-variant-ligatures|font-variant|font-style|font-stretch|font-size-adjust|font-size|font-language-override|font-kerning|font-feature-settings|font-family|font|float|flex-wrap|flex-shrink|flex-grow|flex-flow|flex-direction|flex-basis|flex|filter|empty-cells|display|direction|cursor|counter-reset|counter-increment|content|column-width|column-span|column-rule-width|column-rule-style|column-rule-color|column-rule|column-gap|column-fill|column-count|columns|color|clip-path|clip|clear|caption-side|break-inside|break-before|break-after|box-sizing|box-shadow|box-decoration-break|bottom|border-width|border-top-width|border-top-style|border-top-right-radius|border-top-left-radius|border-top-color|border-top|border-style|border-spacing|border-right-width|border-right-style|border-right-color|border-right|border-radius|border-left-width|border-left-style|border-left-color|border-left|border-image-width|border-image-source|border-image-slice|border-image-repeat|border-image-outset|border-image|border-color|border-collapse|border-bottom-width|border-bottom-style|border-bottom-right-radius|border-bottom-left-radius|border-bottom-color|border-bottom|border|background-size|background-repeat|background-position|background-origin|background-image|background-color|background-clip|background-attachment|background-blend-mode|background|backface-visibility|auto|animation-timing-function|animation-play-state|animation-name|animation-iteration-count|animation-fill-mode|animation-duration|animation-direction|animation-delay|animation|align-self|align-items|align-content)\\b",i:"[^\\s]"},{b:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{b:":",e:";",c:[i,r,e.CSSNM,e.QSM,e.ASM,{cN:"meta",b:"!important"}]},{b:"@",e:"[{;]",k:"mixin include extend for if else each while charset import debug media page content font-face namespace warn",c:[i,e.QSM,e.ASM,r,e.CSSNM,{b:"\\s[A-Za-z0-9_.-]+",r:0}]}]}});hljs.registerLanguage("sql",function(e){var t=e.C("--","$");return{cI:!0,i:/[<>{}*#]/,c:[{bK:"begin end start commit rollback savepoint lock alter create drop rename call delete do handler insert load replace select truncate update set show pragma grant merge describe use explain help declare prepare execute deallocate release unlock purge reset change stop analyze cache flush optimize repair kill install uninstall checksum restore check backup revoke comment",e:/;/,eW:!0,l:/[\w\.]+/,k:{keyword:"abort abs absolute acc acce accep accept access accessed accessible account acos action activate add addtime admin administer advanced advise aes_decrypt aes_encrypt after agent aggregate ali alia alias allocate allow alter always analyze ancillary and any anydata anydataset anyschema anytype apply archive archived archivelog are as asc ascii asin assembly assertion associate asynchronous at atan atn2 attr attri attrib attribu attribut attribute attributes audit authenticated authentication authid authors auto autoallocate autodblink autoextend automatic availability avg backup badfile basicfile before begin beginning benchmark between bfile bfile_base big bigfile bin binary_double binary_float binlog bit_and bit_count bit_length bit_or bit_xor bitmap blob_base block blocksize body both bound buffer_cache buffer_pool build bulk by byte byteordermark bytes cache caching call calling cancel capacity cascade cascaded case cast catalog category ceil ceiling chain change changed char_base char_length character_length characters characterset charindex charset charsetform charsetid check checksum checksum_agg child choose chr chunk class cleanup clear client clob clob_base clone close cluster_id cluster_probability cluster_set clustering coalesce coercibility col collate collation collect colu colum column column_value columns columns_updated comment commit compact compatibility compiled complete composite_limit compound compress compute concat concat_ws concurrent confirm conn connec connect connect_by_iscycle connect_by_isleaf connect_by_root connect_time connection consider consistent constant constraint constraints constructor container content contents context contributors controlfile conv convert convert_tz corr corr_k corr_s corresponding corruption cos cost count count_big counted covar_pop covar_samp cpu_per_call cpu_per_session crc32 create creation critical cross cube cume_dist curdate current current_date current_time current_timestamp current_user cursor curtime customdatum cycle data database databases datafile datafiles datalength date_add date_cache date_format date_sub dateadd datediff datefromparts datename datepart datetime2fromparts day day_to_second dayname dayofmonth dayofweek dayofyear days db_role_change dbtimezone ddl deallocate declare decode decompose decrement decrypt deduplicate def defa defau defaul default defaults deferred defi defin define degrees delayed delegate delete delete_all delimited demand dense_rank depth dequeue des_decrypt des_encrypt des_key_file desc descr descri describ describe descriptor deterministic diagnostics difference dimension direct_load directory disable disable_all disallow disassociate discardfile disconnect diskgroup distinct distinctrow distribute distributed div do document domain dotnet double downgrade drop dumpfile duplicate duration each edition editionable editions element ellipsis else elsif elt empty enable enable_all enclosed encode encoding encrypt end end-exec endian enforced engine engines enqueue enterprise entityescaping eomonth error errors escaped evalname evaluate event eventdata events except exception exceptions exchange exclude excluding execu execut execute exempt exists exit exp expire explain export export_set extended extent external external_1 external_2 externally extract failed failed_login_attempts failover failure far fast feature_set feature_value fetch field fields file file_name_convert filesystem_like_logging final finish first first_value fixed flash_cache flashback floor flush following follows for forall force form forma format found found_rows freelist freelists freepools fresh from from_base64 from_days ftp full function general generated get get_format get_lock getdate getutcdate global global_name globally go goto grant grants greatest group group_concat group_id grouping grouping_id groups gtid_subtract guarantee guard handler hash hashkeys having hea head headi headin heading heap help hex hierarchy high high_priority hosts hour http id ident_current ident_incr ident_seed identified identity idle_time if ifnull ignore iif ilike ilm immediate import in include including increment index indexes indexing indextype indicator indices inet6_aton inet6_ntoa inet_aton inet_ntoa infile initial initialized initially initrans inmemory inner innodb input insert install instance instantiable instr interface interleaved intersect into invalidate invisible is is_free_lock is_ipv4 is_ipv4_compat is_not is_not_null is_used_lock isdate isnull isolation iterate java join json json_exists keep keep_duplicates key keys kill language large last last_day last_insert_id last_value lax lcase lead leading least leaves left len lenght length less level levels library like like2 like4 likec limit lines link list listagg little ln load load_file lob lobs local localtime localtimestamp locate locator lock locked log log10 log2 logfile logfiles logging logical logical_reads_per_call logoff logon logs long loop low low_priority lower lpad lrtrim ltrim main make_set makedate maketime managed management manual map mapping mask master master_pos_wait match matched materialized max maxextents maximize maxinstances maxlen maxlogfiles maxloghistory maxlogmembers maxsize maxtrans md5 measures median medium member memcompress memory merge microsecond mid migration min minextents minimum mining minus minute minvalue missing mod mode model modification modify module monitoring month months mount move movement multiset mutex name name_const names nan national native natural nav nchar nclob nested never new newline next nextval no no_write_to_binlog noarchivelog noaudit nobadfile nocheck nocompress nocopy nocycle nodelay nodiscardfile noentityescaping noguarantee nokeep nologfile nomapping nomaxvalue nominimize nominvalue nomonitoring none noneditionable nonschema noorder nopr nopro noprom nopromp noprompt norely noresetlogs noreverse normal norowdependencies noschemacheck noswitch not nothing notice notrim novalidate now nowait nth_value nullif nulls num numb numbe nvarchar nvarchar2 object ocicoll ocidate ocidatetime ociduration ociinterval ociloblocator ocinumber ociref ocirefcursor ocirowid ocistring ocitype oct octet_length of off offline offset oid oidindex old on online only opaque open operations operator optimal optimize option optionally or oracle oracle_date oradata ord ordaudio orddicom orddoc order ordimage ordinality ordvideo organization orlany orlvary out outer outfile outline output over overflow overriding package pad parallel parallel_enable parameters parent parse partial partition partitions pascal passing password password_grace_time password_lock_time password_reuse_max password_reuse_time password_verify_function patch path patindex pctincrease pctthreshold pctused pctversion percent percent_rank percentile_cont percentile_disc performance period period_add period_diff permanent physical pi pipe pipelined pivot pluggable plugin policy position post_transaction pow power pragma prebuilt precedes preceding precision prediction prediction_cost prediction_details prediction_probability prediction_set prepare present preserve prior priority private private_sga privileges procedural procedure procedure_analyze processlist profiles project prompt protection public publishingservername purge quarter query quick quiesce quota quotename radians raise rand range rank raw read reads readsize rebuild record records recover recovery recursive recycle redo reduced ref reference referenced references referencing refresh regexp_like register regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy reject rekey relational relative relaylog release release_lock relies_on relocate rely rem remainder rename repair repeat replace replicate replication required reset resetlogs resize resource respect restore restricted result result_cache resumable resume retention return returning returns reuse reverse revoke right rlike role roles rollback rolling rollup round row row_count rowdependencies rowid rownum rows rtrim rules safe salt sample save savepoint sb1 sb2 sb4 scan schema schemacheck scn scope scroll sdo_georaster sdo_topo_geometry search sec_to_time second section securefile security seed segment select self sequence sequential serializable server servererror session session_user sessions_per_user set sets settings sha sha1 sha2 share shared shared_pool short show shrink shutdown si_averagecolor si_colorhistogram si_featurelist si_positionalcolor si_stillimage si_texture siblings sid sign sin size size_t sizes skip slave sleep smalldatetimefromparts smallfile snapshot some soname sort soundex source space sparse spfile split sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_small_result sql_variant_property sqlcode sqldata sqlerror sqlname sqlstate sqrt square standalone standby start starting startup statement static statistics stats_binomial_test stats_crosstab stats_ks_test stats_mode stats_mw_test stats_one_way_anova stats_t_test_ stats_t_test_indep stats_t_test_one stats_t_test_paired stats_wsr_test status std stddev stddev_pop stddev_samp stdev stop storage store stored str str_to_date straight_join strcmp strict string struct stuff style subdate subpartition subpartitions substitutable substr substring subtime subtring_index subtype success sum suspend switch switchoffset switchover sync synchronous synonym sys sys_xmlagg sysasm sysaux sysdate sysdatetimeoffset sysdba sysoper system system_user sysutcdatetime table tables tablespace tan tdo template temporary terminated tertiary_weights test than then thread through tier ties time time_format time_zone timediff timefromparts timeout timestamp timestampadd timestampdiff timezone_abbr timezone_minute timezone_region to to_base64 to_date to_days to_seconds todatetimeoffset trace tracking transaction transactional translate translation treat trigger trigger_nestlevel triggers trim truncate try_cast try_convert try_parse type ub1 ub2 ub4 ucase unarchived unbounded uncompress under undo unhex unicode uniform uninstall union unique unix_timestamp unknown unlimited unlock unpivot unrecoverable unsafe unsigned until untrusted unusable unused update updated upgrade upped upper upsert url urowid usable usage use use_stored_outlines user user_data user_resources users using utc_date utc_timestamp uuid uuid_short validate validate_password_strength validation valist value values var var_samp varcharc vari varia variab variabl variable variables variance varp varraw varrawc varray verify version versions view virtual visible void wait wallet warning warnings week weekday weekofyear wellformed when whene whenev wheneve whenever where while whitespace with within without work wrapped xdb xml xmlagg xmlattributes xmlcast xmlcolattval xmlelement xmlexists xmlforest xmlindex xmlnamespaces xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltype xor year year_to_month years yearweek",literal:"true false null",built_in:"array bigint binary bit blob boolean char character date dec decimal float int int8 integer interval number numeric real record serial serial8 smallint text varchar varying void"},c:[{cN:"string",b:"'",e:"'",c:[e.BE,{b:"''"}]},{cN:"string",b:'"',e:'"',c:[e.BE,{b:'""'}]},{cN:"string",b:"`",e:"`",c:[e.BE]},e.CNM,e.CBCM,t]},e.CBCM,t]}});hljs.registerLanguage("perl",function(e){var t="getpwent getservent quotemeta msgrcv scalar kill dbmclose undef lc ma syswrite tr send umask sysopen shmwrite vec qx utime local oct semctl localtime readpipe do return format read sprintf dbmopen pop getpgrp not getpwnam rewinddir qqfileno qw endprotoent wait sethostent bless s|0 opendir continue each sleep endgrent shutdown dump chomp connect getsockname die socketpair close flock exists index shmgetsub for endpwent redo lstat msgctl setpgrp abs exit select print ref gethostbyaddr unshift fcntl syscall goto getnetbyaddr join gmtime symlink semget splice x|0 getpeername recv log setsockopt cos last reverse gethostbyname getgrnam study formline endhostent times chop length gethostent getnetent pack getprotoent getservbyname rand mkdir pos chmod y|0 substr endnetent printf next open msgsnd readdir use unlink getsockopt getpriority rindex wantarray hex system getservbyport endservent int chr untie rmdir prototype tell listen fork shmread ucfirst setprotoent else sysseek link getgrgid shmctl waitpid unpack getnetbyname reset chdir grep split require caller lcfirst until warn while values shift telldir getpwuid my getprotobynumber delete and sort uc defined srand accept package seekdir getprotobyname semop our rename seek if q|0 chroot sysread setpwent no crypt getc chown sqrt write setnetent setpriority foreach tie sin msgget map stat getlogin unless elsif truncate exec keys glob tied closedirioctl socket readlink eval xor readline binmode setservent eof ord bind alarm pipe atan2 getgrent exp time push setgrent gt lt or ne m|0 break given say state when",r={cN:"subst",b:"[$@]\\{",e:"\\}",k:t},s={b:"->{",e:"}"},n={v:[{b:/\$\d/},{b:/[\$%@](\^\w\b|#\w+(::\w+)*|{\w+}|\w+(::\w*)*)/},{b:/[\$%@][^\s\w{]/,r:0}]},i=[e.BE,r,n],o=[n,e.HCM,e.C("^\\=\\w","\\=cut",{eW:!0}),s,{cN:"string",c:i,v:[{b:"q[qwxr]?\\s*\\(",e:"\\)",r:5},{b:"q[qwxr]?\\s*\\[",e:"\\]",r:5},{b:"q[qwxr]?\\s*\\{",e:"\\}",r:5},{b:"q[qwxr]?\\s*\\|",e:"\\|",r:5},{b:"q[qwxr]?\\s*\\<",e:"\\>",r:5},{b:"qw\\s+q",e:"q",r:5},{b:"'",e:"'",c:[e.BE]},{b:'"',e:'"'},{b:"`",e:"`",c:[e.BE]},{b:"{\\w+}",c:[],r:0},{b:"-?\\w+\\s*\\=\\>",c:[],r:0}]},{cN:"number",b:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",r:0},{b:"(\\/\\/|"+e.RSR+"|\\b(split|return|print|reverse|grep)\\b)\\s*",k:"split return print reverse grep",r:0,c:[e.HCM,{cN:"regexp",b:"(s|tr|y)/(\\\\.|[^/])*/(\\\\.|[^/])*/[a-z]*",r:10},{cN:"regexp",b:"(m|qr)?/",e:"/[a-z]*",c:[e.BE],r:0}]},{cN:"function",bK:"sub",e:"(\\s*\\(.*?\\))?[;{]",eE:!0,r:5,c:[e.TM]},{b:"-\\w\\b",r:0},{b:"^__DATA__$",e:"^__END__$",sL:"mojolicious",c:[{b:"^@@.*",e:"$",cN:"comment"}]}];return r.c=o,s.c=o,{aliases:["pl","pm"],l:/[\w\.]+/,k:t,c:o}});hljs.registerLanguage("ini",function(e){var b={cN:"string",c:[e.BE],v:[{b:"'''",e:"'''",r:10},{b:'"""',e:'"""',r:10},{b:'"',e:'"'},{b:"'",e:"'"}]};return{aliases:["toml"],cI:!0,i:/\S/,c:[e.C(";","$"),e.HCM,{cN:"section",b:/^\s*\[+/,e:/\]+/},{b:/^[a-z0-9\[\]_-]+\s*=\s*/,e:"$",rB:!0,c:[{cN:"attr",b:/[a-z0-9\[\]_-]+/},{b:/=/,eW:!0,r:0,c:[{cN:"literal",b:/\bon|off|true|false|yes|no\b/},{cN:"variable",v:[{b:/\$[\w\d"][\w\d_]*/},{b:/\$\{(.*?)}/}]},b,{cN:"number",b:/([\+\-]+)?[\d]+_[\d_]+/},e.NM]}]}]}});hljs.registerLanguage("diff",function(e){return{aliases:["patch"],c:[{cN:"meta",r:10,v:[{b:/^@@ +\-\d+,\d+ +\+\d+,\d+ +@@$/},{b:/^\*\*\* +\d+,\d+ +\*\*\*\*$/},{b:/^\-\-\- +\d+,\d+ +\-\-\-\-$/}]},{cN:"comment",v:[{b:/Index: /,e:/$/},{b:/={3,}/,e:/$/},{b:/^\-{3}/,e:/$/},{b:/^\*{3} /,e:/$/},{b:/^\+{3}/,e:/$/},{b:/\*{5}/,e:/\*{5}$/}]},{cN:"addition",b:"^\\+",e:"$"},{cN:"deletion",b:"^\\-",e:"$"},{cN:"addition",b:"^\\!",e:"$"}]}});hljs.registerLanguage("erlang",function(e){var r="[a-z'][a-zA-Z0-9_']*",c="("+r+":"+r+"|"+r+")",b={keyword:"after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor",literal:"false true"},i=e.C("%","$"),n={cN:"number",b:"\\b(\\d+#[a-fA-F0-9]+|\\d+(\\.\\d+)?([eE][-+]?\\d+)?)",r:0},a={b:"fun\\s+"+r+"/\\d+"},d={b:c+"\\(",e:"\\)",rB:!0,r:0,c:[{b:c,r:0},{b:"\\(",e:"\\)",eW:!0,rE:!0,r:0}]},o={b:"{",e:"}",r:0},t={b:"\\b_([A-Z][A-Za-z0-9_]*)?",r:0},f={b:"[A-Z][a-zA-Z0-9_]*",r:0},l={b:"#"+e.UIR,r:0,rB:!0,c:[{b:"#"+e.UIR,r:0},{b:"{",e:"}",r:0}]},s={bK:"fun receive if try case",e:"end",k:b};s.c=[i,a,e.inherit(e.ASM,{cN:""}),s,d,e.QSM,n,o,t,f,l];var u=[i,a,s,d,e.QSM,n,o,t,f,l];d.c[1].c=u,o.c=u,l.c[1].c=u;var h={cN:"params",b:"\\(",e:"\\)",c:u};return{aliases:["erl"],k:b,i:"(</|\\*=|\\+=|-=|/\\*|\\*/|\\(\\*|\\*\\))",c:[{cN:"function",b:"^"+r+"\\s*\\(",e:"->",rB:!0,i:"\\(|#|//|/\\*|\\\\|:|;",c:[h,e.inherit(e.TM,{b:r})],starts:{e:";|\\.",k:b,c:u}},i,{b:"^-",e:"\\.",r:0,eE:!0,rB:!0,l:"-"+e.IR,k:"-module -record -undef -export -ifdef -ifndef -author -copyright -doc -vsn -import -include -include_lib -compile -define -else -endif -file -behaviour -behavior -spec",c:[h]},n,e.QSM,l,t,f,o,{b:/\.$/}]}});hljs.registerLanguage("go",function(e){var t={keyword:"break default func interface select case map struct chan else goto package switch const fallthrough if range type continue for import return var go defer bool byte complex64 complex128 float32 float64 int8 int16 int32 int64 string uint8 uint16 uint32 uint64 int uint uintptr rune",literal:"true false iota nil",built_in:"append cap close complex copy imag len make new panic print println real recover delete"};return{aliases:["golang"],k:t,i:"</",c:[e.CLCM,e.CBCM,{cN:"string",v:[e.QSM,{b:"'",e:"[^\\\\]'"},{b:"`",e:"`"}]},{cN:"number",v:[{b:e.CNR+"[dflsi]",r:1},e.CNM]},{b:/:=/},{cN:"function",bK:"func",e:/\s*\{/,eE:!0,c:[e.TM,{cN:"params",b:/\(/,e:/\)/,k:t,i:/["']/}]}]}});hljs.registerLanguage("rust",function(e){var t="([ui](8|16|32|64|128|size)|f(32|64))?",r="alignof as be box break const continue crate do else enum extern false fn for if impl in let loop match mod mut offsetof once priv proc pub pure ref return self Self sizeof static struct super trait true type typeof unsafe unsized use virtual while where yield move default",n="drop i8 i16 i32 i64 i128 isize u8 u16 u32 u64 u128 usize f32 f64 str char bool Box Option Result String Vec Copy Send Sized Sync Drop Fn FnMut FnOnce ToOwned Clone Debug PartialEq PartialOrd Eq Ord AsRef AsMut Into From Default Iterator Extend IntoIterator DoubleEndedIterator ExactSizeIterator SliceConcatExt ToString assert! assert_eq! bitflags! bytes! cfg! col! concat! concat_idents! debug_assert! debug_assert_eq! env! panic! file! format! format_args! include_bin! include_str! line! local_data_key! module_path! option_env! print! println! select! stringify! try! unimplemented! unreachable! vec! write! writeln! macro_rules! assert_ne! debug_assert_ne!";return{aliases:["rs"],k:{keyword:r,literal:"true false Some None Ok Err",built_in:n},l:e.IR+"!?",i:"</",c:[e.CLCM,e.C("/\\*","\\*/",{c:["self"]}),e.inherit(e.QSM,{b:/b?"/,i:null}),{cN:"string",v:[{b:/r(#*)"(.|\n)*?"\1(?!#)/},{b:/b?'\\?(x\w{2}|u\w{4}|U\w{8}|.)'/}]},{cN:"symbol",b:/'[a-zA-Z_][a-zA-Z0-9_]*/},{cN:"number",v:[{b:"\\b0b([01_]+)"+t},{b:"\\b0o([0-7_]+)"+t},{b:"\\b0x([A-Fa-f0-9_]+)"+t},{b:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+t}],r:0},{cN:"function",bK:"fn",e:"(\\(|<)",eE:!0,c:[e.UTM]},{cN:"meta",b:"#\\!?\\[",e:"\\]",c:[{cN:"meta-string",b:/"/,e:/"/}]},{cN:"class",bK:"type",e:";",c:[e.inherit(e.UTM,{endsParent:!0})],i:"\\S"},{cN:"class",bK:"trait enum struct union",e:"{",c:[e.inherit(e.UTM,{endsParent:!0})],i:"[\\w\\d]"},{b:e.IR+"::",k:{built_in:n}},{b:"->"}]}});hljs.registerLanguage("bash",function(e){var t={cN:"variable",v:[{b:/\$[\w\d#@][\w\d_]*/},{b:/\$\{(.*?)}/}]},s={cN:"string",b:/"/,e:/"/,c:[e.BE,t,{cN:"variable",b:/\$\(/,e:/\)/,c:[e.BE]}]},a={cN:"string",b:/'/,e:/'/};return{aliases:["sh","zsh"],l:/\b-?[a-z\._]+\b/,k:{keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp",_:"-ne -eq -lt -gt -f -d -e -s -l -a"},c:[{cN:"meta",b:/^#![^\n]+sh\s*$/,r:10},{cN:"function",b:/\w[\w\d_]*\s*\(\s*\)\s*\{/,rB:!0,c:[e.inherit(e.TM,{b:/\w[\w\d_]*/})],r:0},e.HCM,s,a,t]}});hljs.registerLanguage("php",function(e){var c={b:"\\$+[a-zA-Z_-ÿ][a-zA-Z0-9_-ÿ]*"},i={cN:"meta",b:/<\?(php)?|\?>/},t={cN:"string",c:[e.BE,i],v:[{b:'b"',e:'"'},{b:"b'",e:"'"},e.inherit(e.ASM,{i:null}),e.inherit(e.QSM,{i:null})]},a={v:[e.BNM,e.CNM]};return{aliases:["php3","php4","php5","php6"],cI:!0,k:"and include_once list abstract global private echo interface as static endswitch array null if endwhile or const for endforeach self var while isset public protected exit foreach throw elseif include __FILE__ empty require_once do xor return parent clone use __CLASS__ __LINE__ else break print eval new catch __METHOD__ case exception default die require __FUNCTION__ enddeclare final try switch continue endfor endif declare unset true false trait goto instanceof insteadof __DIR__ __NAMESPACE__ yield finally",c:[e.HCM,e.C("//","$",{c:[i]}),e.C("/\\*","\\*/",{c:[{cN:"doctag",b:"@[A-Za-z]+"}]}),e.C("__halt_compiler.+?;",!1,{eW:!0,k:"__halt_compiler",l:e.UIR}),{cN:"string",b:/<<<['"]?\w+['"]?$/,e:/^\w+;?$/,c:[e.BE,{cN:"subst",v:[{b:/\$\w+/},{b:/\{\$/,e:/\}/}]}]},i,{cN:"keyword",b:/\$this\b/},c,{b:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{cN:"function",bK:"function",e:/[;{]/,eE:!0,i:"\\$|\\[|%",c:[e.UTM,{cN:"params",b:"\\(",e:"\\)",c:["self",c,e.CBCM,t,a]}]},{cN:"class",bK:"class interface",e:"{",eE:!0,i:/[:\(\$"]/,c:[{bK:"extends implements"},e.UTM]},{bK:"namespace",e:";",i:/[\.']/,c:[e.UTM]},{bK:"use",e:";",c:[e.UTM]},{b:"=>"},t,a]}});hljs.registerLanguage("swift",function(e){var i={keyword:"__COLUMN__ __FILE__ __FUNCTION__ __LINE__ as as! as? associativity break case catch class continue convenience default defer deinit didSet do dynamic dynamicType else enum extension fallthrough false fileprivate final for func get guard if import in indirect infix init inout internal is lazy left let mutating nil none nonmutating open operator optional override postfix precedence prefix private protocol Protocol public repeat required rethrows return right self Self set static struct subscript super switch throw throws true try try! try? Type typealias unowned var weak where while willSet",literal:"true false nil",built_in:"abs advance alignof alignofValue anyGenerator assert assertionFailure bridgeFromObjectiveC bridgeFromObjectiveCUnconditional bridgeToObjectiveC bridgeToObjectiveCUnconditional c contains count countElements countLeadingZeros debugPrint debugPrintln distance dropFirst dropLast dump encodeBitsAsWords enumerate equal fatalError filter find getBridgedObjectiveCType getVaList indices insertionSort isBridgedToObjectiveC isBridgedVerbatimToObjectiveC isUniquelyReferenced isUniquelyReferencedNonObjC join lazy lexicographicalCompare map max maxElement min minElement numericCast overlaps partition posix precondition preconditionFailure print println quickSort readLine reduce reflect reinterpretCast reverse roundUpToAlignment sizeof sizeofValue sort split startsWith stride strideof strideofValue swap toString transcode underestimateCount unsafeAddressOf unsafeBitCast unsafeDowncast unsafeUnwrap unsafeReflect withExtendedLifetime withObjectAtPlusZero withUnsafePointer withUnsafePointerToObject withUnsafeMutablePointer withUnsafeMutablePointers withUnsafePointer withUnsafePointers withVaList zip"},t={cN:"type",b:"\\b[A-Z][\\wÀ-ʸ']*",r:0},n=e.C("/\\*","\\*/",{c:["self"]}),r={cN:"subst",b:/\\\(/,e:"\\)",k:i,c:[]},a={cN:"number",b:"\\b([\\d_]+(\\.[\\deE_]+)?|0x[a-fA-F0-9_]+(\\.[a-fA-F0-9p_]+)?|0b[01_]+|0o[0-7_]+)\\b",r:0},o=e.inherit(e.QSM,{c:[r,e.BE]});return r.c=[a],{k:i,c:[o,e.CLCM,n,t,a,{cN:"function",bK:"func",e:"{",eE:!0,c:[e.inherit(e.TM,{b:/[A-Za-z$_][0-9A-Za-z$_]*/}),{b:/</,e:/>/},{cN:"params",b:/\(/,e:/\)/,endsParent:!0,k:i,c:["self",a,o,e.CBCM,{b:":"}],i:/["']/}],i:/\[|%/},{cN:"class",bK:"struct protocol class extension enum",k:i,e:"\\{",eE:!0,c:[e.inherit(e.TM,{b:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/})]},{cN:"meta",b:"(@warn_unused_result|@exported|@lazy|@noescape|@NSCopying|@NSManaged|@objc|@convention|@required|@noreturn|@IBAction|@IBDesignable|@IBInspectable|@IBOutlet|@infix|@prefix|@postfix|@autoclosure|@testable|@available|@nonobjc|@NSApplicationMain|@UIApplicationMain)"},{bK:"import",e:/$/,c:[e.CLCM,n]}]}});hljs.registerLanguage("python",function(e){var r={keyword:"and elif is global as in if from raise for except finally print import pass return exec else break not with class assert yield try while continue del or def lambda async await nonlocal|10 None True False",built_in:"Ellipsis NotImplemented"},b={cN:"meta",b:/^(>>>|\.\.\.) /},c={cN:"subst",b:/\{/,e:/\}/,k:r,i:/#/},a={cN:"string",c:[e.BE],v:[{b:/(u|b)?r?'''/,e:/'''/,c:[b],r:10},{b:/(u|b)?r?"""/,e:/"""/,c:[b],r:10},{b:/(fr|rf|f)'''/,e:/'''/,c:[b,c]},{b:/(fr|rf|f)"""/,e:/"""/,c:[b,c]},{b:/(u|r|ur)'/,e:/'/,r:10},{b:/(u|r|ur)"/,e:/"/,r:10},{b:/(b|br)'/,e:/'/},{b:/(b|br)"/,e:/"/},{b:/(fr|rf|f)'/,e:/'/,c:[c]},{b:/(fr|rf|f)"/,e:/"/,c:[c]},e.ASM,e.QSM]},s={cN:"number",r:0,v:[{b:e.BNR+"[lLjJ]?"},{b:"\\b(0o[0-7]+)[lLjJ]?"},{b:e.CNR+"[lLjJ]?"}]},i={cN:"params",b:/\(/,e:/\)/,c:["self",b,s,a]};return c.c=[a,s,b],{aliases:["py","gyp"],k:r,i:/(<\/|->|\?)|=>/,c:[b,s,a,e.HCM,{v:[{cN:"function",bK:"def"},{cN:"class",bK:"class"}],e:/:/,i:/[${=;\n,]/,c:[e.UTM,i,{b:/->/,eW:!0,k:"None"}]},{cN:"meta",b:/^[\t ]*@/,e:/$/},{b:/\b(print|exec)\(/}]}});hljs.registerLanguage("coffeescript",function(e){var c={keyword:"in if for while finally new do return else break catch instanceof throw try this switch continue typeof delete debugger super yield import export from as default await then unless until loop of by when and or is isnt not",literal:"true false null undefined yes no on off",built_in:"npm require console print module global window document"},n="[A-Za-z$_][0-9A-Za-z$_]*",r={cN:"subst",b:/#\{/,e:/}/,k:c},i=[e.BNM,e.inherit(e.CNM,{starts:{e:"(\\s*/)?",r:0}}),{cN:"string",v:[{b:/'''/,e:/'''/,c:[e.BE]},{b:/'/,e:/'/,c:[e.BE]},{b:/"""/,e:/"""/,c:[e.BE,r]},{b:/"/,e:/"/,c:[e.BE,r]}]},{cN:"regexp",v:[{b:"///",e:"///",c:[r,e.HCM]},{b:"//[gim]*",r:0},{b:/\/(?![ *])(\\\/|.)*?\/[gim]*(?=\W|$)/}]},{b:"@"+n},{sL:"javascript",eB:!0,eE:!0,v:[{b:"```",e:"```"},{b:"`",e:"`"}]}];r.c=i;var s=e.inherit(e.TM,{b:n}),t="(\\(.*\\))?\\s*\\B[-=]>",o={cN:"params",b:"\\([^\\(]",rB:!0,c:[{b:/\(/,e:/\)/,k:c,c:["self"].concat(i)}]};return{aliases:["coffee","cson","iced"],k:c,i:/\/\*/,c:i.concat([e.C("###","###"),e.HCM,{cN:"function",b:"^\\s*"+n+"\\s*=\\s*"+t,e:"[-=]>",rB:!0,c:[s,o]},{b:/[:\(,=]\s*/,r:0,c:[{cN:"function",b:t,e:"[-=]>",rB:!0,c:[o]}]},{cN:"class",bK:"class",e:"$",i:/[:="\[\]]/,c:[{bK:"extends",eW:!0,i:/[:="\[\]]/,c:[s]},s]},{b:n+":",e:":",rB:!0,rE:!0,r:0}])}});hljs.registerLanguage("cpp",function(t){var e={cN:"keyword",b:"\\b[a-z\\d_]*_t\\b"},r={cN:"string",v:[{b:'(u8?|U)?L?"',e:'"',i:"\\n",c:[t.BE]},{b:'(u8?|U)?R"',e:'"',c:[t.BE]},{b:"'\\\\?.",e:"'",i:"."}]},s={cN:"number",v:[{b:"\\b(0b[01']+)"},{b:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{b:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],r:0},i={cN:"meta",b:/#\s*[a-z]+\b/,e:/$/,k:{"meta-keyword":"if else elif endif define undef warning error line pragma ifdef ifndef include"},c:[{b:/\\\n/,r:0},t.inherit(r,{cN:"meta-string"}),{cN:"meta-string",b:/<[^\n>]*>/,e:/$/,i:"\\n"},t.CLCM,t.CBCM]},a=t.IR+"\\s*\\(",c={keyword:"int float while private char catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignof constexpr decltype noexcept static_assert thread_local restrict _Bool complex _Complex _Imaginary atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and or not",built_in:"std string cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap array shared_ptr abort abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr",literal:"true false nullptr NULL"},n=[e,t.CLCM,t.CBCM,s,r];return{aliases:["c","cc","h","c++","h++","hpp"],k:c,i:"</",c:n.concat([i,{b:"\\b(deque|list|queue|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<",e:">",k:c,c:["self",e]},{b:t.IR+"::",k:c},{v:[{b:/=/,e:/;/},{b:/\(/,e:/\)/},{bK:"new throw return else",e:/;/}],k:c,c:n.concat([{b:/\(/,e:/\)/,k:c,c:n.concat(["self"]),r:0}]),r:0},{cN:"function",b:"("+t.IR+"[\\*&\\s]+)+"+a,rB:!0,e:/[{;=]/,eE:!0,k:c,i:/[^\w\s\*&]/,c:[{b:a,rB:!0,c:[t.TM],r:0},{cN:"params",b:/\(/,e:/\)/,k:c,r:0,c:[t.CLCM,t.CBCM,r,s,e]},t.CLCM,t.CBCM,i]},{cN:"class",bK:"class struct",e:/[{;:]/,c:[{b:/</,e:/>/,c:["self"]},t.TM]}]),exports:{preprocessor:i,strings:r,k:c}}});hljs.registerLanguage("ruby",function(e){var b="[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",r={keyword:"and then defined module in return redo if BEGIN retry end for self when next until do begin unless END rescue else break undef not super class case require yield alias while ensure elsif or include attr_reader attr_writer attr_accessor",literal:"true false nil"},c={cN:"doctag",b:"@[A-Za-z]+"},a={b:"#<",e:">"},s=[e.C("#","$",{c:[c]}),e.C("^\\=begin","^\\=end",{c:[c],r:10}),e.C("^__END__","\\n$")],n={cN:"subst",b:"#\\{",e:"}",k:r},t={cN:"string",c:[e.BE,n],v:[{b:/'/,e:/'/},{b:/"/,e:/"/},{b:/`/,e:/`/},{b:"%[qQwWx]?\\(",e:"\\)"},{b:"%[qQwWx]?\\[",e:"\\]"},{b:"%[qQwWx]?{",e:"}"},{b:"%[qQwWx]?<",e:">"},{b:"%[qQwWx]?/",e:"/"},{b:"%[qQwWx]?%",e:"%"},{b:"%[qQwWx]?-",e:"-"},{b:"%[qQwWx]?\\|",e:"\\|"},{b:/\B\?(\\\d{1,3}|\\x[A-Fa-f0-9]{1,2}|\\u[A-Fa-f0-9]{4}|\\?\S)\b/},{b:/<<(-?)\w+$/,e:/^\s*\w+$/}]},i={cN:"params",b:"\\(",e:"\\)",endsParent:!0,k:r},d=[t,a,{cN:"class",bK:"class module",e:"$|;",i:/=/,c:[e.inherit(e.TM,{b:"[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?"}),{b:"<\\s*",c:[{b:"("+e.IR+"::)?"+e.IR}]}].concat(s)},{cN:"function",bK:"def",e:"$|;",c:[e.inherit(e.TM,{b:b}),i].concat(s)},{b:e.IR+"::"},{cN:"symbol",b:e.UIR+"(\\!|\\?)?:",r:0},{cN:"symbol",b:":(?!\\s)",c:[t,{b:b}],r:0},{cN:"number",b:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",r:0},{b:"(\\$\\W)|((\\$|\\@\\@?)(\\w+))"},{cN:"params",b:/\|/,e:/\|/,k:r},{b:"("+e.RSR+"|unless)\\s*",k:"unless",c:[a,{cN:"regexp",c:[e.BE,n],i:/\n/,v:[{b:"/",e:"/[a-z]*"},{b:"%r{",e:"}[a-z]*"},{b:"%r\\(",e:"\\)[a-z]*"},{b:"%r!",e:"![a-z]*"},{b:"%r\\[",e:"\\][a-z]*"}]}].concat(s),r:0}].concat(s);n.c=d,i.c=d;var l="[>?]>",o="[\\w#]+\\(\\w+\\):\\d+:\\d+>",u="(\\w+-)?\\d+\\.\\d+\\.\\d(p\\d+)?[^>]+>",w=[{b:/^\s*=>/,starts:{e:"$",c:d}},{cN:"meta",b:"^("+l+"|"+o+"|"+u+")",starts:{e:"$",c:d}}];return{aliases:["rb","gemspec","podspec","thor","irb"],k:r,i:/\/\*/,c:s.concat(w).concat(d)}});hljs.registerLanguage("yaml",function(e){var b="true false yes no null",a="^[ \\-]*",r="[a-zA-Z_][\\w\\-]*",t={cN:"attr",v:[{b:a+r+":"},{b:a+'"'+r+'":'},{b:a+"'"+r+"':"}]},c={cN:"template-variable",v:[{b:"{{",e:"}}"},{b:"%{",e:"}"}]},l={cN:"string",r:0,v:[{b:/'/,e:/'/},{b:/"/,e:/"/},{b:/\S+/}],c:[e.BE,c]};return{cI:!0,aliases:["yml","YAML","yaml"],c:[t,{cN:"meta",b:"^---s*$",r:10},{cN:"string",b:"[\\|>] *$",rE:!0,c:l.c,e:t.v[0].b},{b:"<%[%=-]?",e:"[%-]?%>",sL:"ruby",eB:!0,eE:!0,r:0},{cN:"type",b:"!!"+e.UIR},{cN:"meta",b:"&"+e.UIR+"$"},{cN:"meta",b:"\\*"+e.UIR+"$"},{cN:"bullet",b:"^ *-",r:0},e.HCM,{bK:b,k:{literal:b}},e.CNM,l]}});hljs.registerLanguage("haskell",function(e){var i={v:[e.C("--","$"),e.C("{-","-}",{c:["self"]})]},a={cN:"meta",b:"{-#",e:"#-}"},l={cN:"meta",b:"^#",e:"$"},c={cN:"type",b:"\\b[A-Z][\\w']*",r:0},n={b:"\\(",e:"\\)",i:'"',c:[a,l,{cN:"type",b:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},e.inherit(e.TM,{b:"[_a-z][\\w']*"}),i]},s={b:"{",e:"}",c:n.c};return{aliases:["hs"],k:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",c:[{bK:"module",e:"where",k:"module where",c:[n,i],i:"\\W\\.|;"},{b:"\\bimport\\b",e:"$",k:"import qualified as hiding",c:[n,i],i:"\\W\\.|;"},{cN:"class",b:"^(\\s*)?(class|instance)\\b",e:"where",k:"class family instance where",c:[c,n,i]},{cN:"class",b:"\\b(data|(new)?type)\\b",e:"$",k:"data family type newtype deriving",c:[a,c,n,s,i]},{bK:"default",e:"$",c:[c,n,i]},{bK:"infix infixl infixr",e:"$",c:[e.CNM,i]},{b:"\\bforeign\\b",e:"$",k:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",c:[c,e.QSM,i]},{cN:"meta",b:"#!\\/usr\\/bin\\/env runhaskell",e:"$"},a,l,e.QSM,e.CNM,c,e.inherit(e.TM,{b:"^[_a-z][\\w']*"}),i,{b:"->|<-"}]}});hljs.registerLanguage("cs",function(e){var i={keyword:"abstract as base bool break byte case catch char checked const continue decimal default delegate do double enum event explicit extern finally fixed float for foreach goto if implicit in int interface internal is lock long nameof object operator out override params private protected public readonly ref sbyte sealed short sizeof stackalloc static string struct switch this try typeof uint ulong unchecked unsafe ushort using virtual void volatile while add alias ascending async await by descending dynamic equals from get global group into join let on orderby partial remove select set value var where yield",literal:"null false true"},t={cN:"string",b:'@"',e:'"',c:[{b:'""'}]},r=e.inherit(t,{i:/\n/}),a={cN:"subst",b:"{",e:"}",k:i},c=e.inherit(a,{i:/\n/}),n={cN:"string",b:/\$"/,e:'"',i:/\n/,c:[{b:"{{"},{b:"}}"},e.BE,c]},s={cN:"string",b:/\$@"/,e:'"',c:[{b:"{{"},{b:"}}"},{b:'""'},a]},o=e.inherit(s,{i:/\n/,c:[{b:"{{"},{b:"}}"},{b:'""'},c]});a.c=[s,n,t,e.ASM,e.QSM,e.CNM,e.CBCM],c.c=[o,n,r,e.ASM,e.QSM,e.CNM,e.inherit(e.CBCM,{i:/\n/})];var l={v:[s,n,t,e.ASM,e.QSM]},b=e.IR+"(<"+e.IR+"(\\s*,\\s*"+e.IR+")*>)?(\\[\\])?";return{aliases:["csharp"],k:i,i:/::/,c:[e.C("///","$",{rB:!0,c:[{cN:"doctag",v:[{b:"///",r:0},{b:"<!--|-->"},{b:"</?",e:">"}]}]}),e.CLCM,e.CBCM,{cN:"meta",b:"#",e:"$",k:{"meta-keyword":"if else elif endif define undef warning error line region endregion pragma checksum"}},l,e.CNM,{bK:"class interface",e:/[{;=]/,i:/[^\s:]/,c:[e.TM,e.CLCM,e.CBCM]},{bK:"namespace",e:/[{;=]/,i:/[^\s:]/,c:[e.inherit(e.TM,{b:"[a-zA-Z](\\.?\\w)*"}),e.CLCM,e.CBCM]},{cN:"meta",b:"^\\s*\\[",eB:!0,e:"\\]",eE:!0,c:[{cN:"meta-string",b:/"/,e:/"/}]},{bK:"new return throw await else",r:0},{cN:"function",b:"("+b+"\\s+)+"+e.IR+"\\s*\\(",rB:!0,e:/[{;=]/,eE:!0,k:i,c:[{b:e.IR+"\\s*\\(",rB:!0,c:[e.TM],r:0},{cN:"params",b:/\(/,e:/\)/,eB:!0,eE:!0,k:i,r:0,c:[l,e.CNM,e.CBCM]},e.CLCM,e.CBCM]}]}});hljs.registerLanguage("lisp",function(b){var e="[a-zA-Z_\\-\\+\\*\\/\\<\\=\\>\\&\\#][a-zA-Z0-9_\\-\\+\\*\\/\\<\\=\\>\\&\\#!]*",c="\\|[^]*?\\|",r="(\\-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|\\-)?\\d+)?",a={cN:"meta",b:"^#!",e:"$"},l={cN:"literal",b:"\\b(t{1}|nil)\\b"},n={cN:"number",v:[{b:r,r:0},{b:"#(b|B)[0-1]+(/[0-1]+)?"},{b:"#(o|O)[0-7]+(/[0-7]+)?"},{b:"#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?"},{b:"#(c|C)\\("+r+" +"+r,e:"\\)"}]},i=b.inherit(b.QSM,{i:null}),t=b.C(";","$",{r:0}),s={b:"\\*",e:"\\*"},u={cN:"symbol",b:"[:&]"+e},d={b:e,r:0},f={b:c},m={b:"\\(",e:"\\)",c:["self",l,i,n,d]},o={c:[n,i,s,u,m,d],v:[{b:"['`]\\(",e:"\\)"},{b:"\\(quote ",e:"\\)",k:{name:"quote"}},{b:"'"+c}]},v={v:[{b:"'"+e},{b:"#'"+e+"(::"+e+")*"}]},N={b:"\\(\\s*",e:"\\)"},A={eW:!0,r:0};return N.c=[{cN:"name",v:[{b:e},{b:c}]},A],A.c=[o,v,N,l,n,i,t,s,u,f,d],{i:/\S/,c:[n,a,l,i,t,o,v,N,d]}});hljs.registerLanguage("shell",function(s){return{aliases:["console"],c:[{cN:"meta",b:"^\\s{0,3}[\\w\\d\\[\\]()@-]*[>%$#]",starts:{e:"$",sL:"bash"}}]}});hljs.registerLanguage("typescript",function(e){var r={keyword:"in if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const class public private protected get set super static implements enum export import declare type namespace abstract as from extends async await",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document any number boolean string void Promise"};return{aliases:["ts"],k:r,c:[{cN:"meta",b:/^\s*['"]use strict['"]/},e.ASM,e.QSM,{cN:"string",b:"`",e:"`",c:[e.BE,{cN:"subst",b:"\\$\\{",e:"\\}"}]},e.CLCM,e.CBCM,{cN:"number",v:[{b:"\\b(0[bB][01]+)"},{b:"\\b(0[oO][0-7]+)"},{b:e.CNR}],r:0},{b:"("+e.RSR+"|\\b(case|return|throw)\\b)\\s*",k:"return throw case",c:[e.CLCM,e.CBCM,e.RM,{cN:"function",b:"(\\(.*?\\)|"+e.IR+")\\s*=>",rB:!0,e:"\\s*=>",c:[{cN:"params",v:[{b:e.IR},{b:/\(\s*\)/},{b:/\(/,e:/\)/,eB:!0,eE:!0,k:r,c:["self",e.CLCM,e.CBCM]}]}]}],r:0},{cN:"function",b:"function",e:/[\{;]/,eE:!0,k:r,c:["self",e.inherit(e.TM,{b:/[A-Za-z$_][0-9A-Za-z$_]*/}),{cN:"params",b:/\(/,e:/\)/,eB:!0,eE:!0,k:r,c:[e.CLCM,e.CBCM],i:/["'\(]/}],i:/%/,r:0},{bK:"constructor",e:/\{/,eE:!0,c:["self",{cN:"params",b:/\(/,e:/\)/,eB:!0,eE:!0,k:r,c:[e.CLCM,e.CBCM],i:/["'\(]/}]},{b:/module\./,k:{built_in:"module"},r:0},{bK:"module",e:/\{/,eE:!0},{bK:"interface",e:/\{/,eE:!0,k:"interface extends"},{b:/\$[(.]/},{b:"\\."+e.IR,r:0},{cN:"meta",b:"@[A-Za-z]+"}]}});hljs.registerLanguage("less",function(e){var r="[\\w-]+",t="("+r+"|@{"+r+"})",a=[],c=[],s=function(e){return{cN:"string",b:"~?"+e+".*?"+e}},b=function(e,r,t){return{cN:e,b:r,r:t}},n={b:"\\(",e:"\\)",c:c,r:0};c.push(e.CLCM,e.CBCM,s("'"),s('"'),e.CSSNM,{b:"(url|data-uri)\\(",starts:{cN:"string",e:"[\\)\\n]",eE:!0}},b("number","#[0-9A-Fa-f]+\\b"),n,b("variable","@@?"+r,10),b("variable","@{"+r+"}"),b("built_in","~?`[^`]*?`"),{cN:"attribute",b:r+"\\s*:",e:":",rB:!0,eE:!0},{cN:"meta",b:"!important"});var i=c.concat({b:"{",e:"}",c:a}),o={bK:"when",eW:!0,c:[{bK:"and not"}].concat(c)},u={b:t+"\\s*:",rB:!0,e:"[;}]",r:0,c:[{cN:"attribute",b:t,e:":",eE:!0,starts:{eW:!0,i:"[<=$]",r:0,c:c}}]},l={cN:"keyword",b:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{e:"[;{}]",rE:!0,c:c,r:0}},C={cN:"variable",v:[{b:"@"+r+"\\s*:",r:15},{b:"@"+r}],starts:{e:"[;}]",rE:!0,c:i}},p={v:[{b:"[\\.#:&\\[>]",e:"[;{}]"},{b:t,e:"{"}],rB:!0,rE:!0,i:"[<='$\"]",r:0,c:[e.CLCM,e.CBCM,o,b("keyword","all\\b"),b("variable","@{"+r+"}"),b("selector-tag",t+"%?",0),b("selector-id","#"+t),b("selector-class","\\."+t,0),b("selector-tag","&",0),{cN:"selector-attr",b:"\\[",e:"\\]"},{cN:"selector-pseudo",b:/:(:)?[a-zA-Z0-9\_\-\+\(\)"'.]+/},{b:"\\(",e:"\\)",c:i},{b:"!important"}]};return a.push(e.CLCM,e.CBCM,l,C,u,p),{cI:!0,i:"[=>'/<($\"]",c:a}});hljs.registerLanguage("css",function(e){var c="[a-zA-Z-][a-zA-Z0-9_-]*",t={b:/[A-Z\_\.\-]+\s*:/,rB:!0,e:";",eW:!0,c:[{cN:"attribute",b:/\S/,e:":",eE:!0,starts:{eW:!0,eE:!0,c:[{b:/[\w-]+\(/,rB:!0,c:[{cN:"built_in",b:/[\w-]+/},{b:/\(/,e:/\)/,c:[e.ASM,e.QSM]}]},e.CSSNM,e.QSM,e.ASM,e.CBCM,{cN:"number",b:"#[0-9A-Fa-f]+"},{cN:"meta",b:"!important"}]}}]};return{cI:!0,i:/[=\/|'\$]/,c:[e.CBCM,{cN:"selector-id",b:/#[A-Za-z0-9_-]+/},{cN:"selector-class",b:/\.[A-Za-z0-9_-]+/},{cN:"selector-attr",b:/\[/,e:/\]/,i:"$"},{cN:"selector-pseudo",b:/:(:)?[a-zA-Z0-9\_\-\+\(\)"'.]+/},{b:"@(font-face|page)",l:"[a-z-]+",k:"font-face page"},{b:"@",e:"[{;]",i:/:/,c:[{cN:"keyword",b:/\w+/},{b:/\s/,eW:!0,eE:!0,r:0,c:[e.ASM,e.QSM,e.CSSNM]}]},{cN:"selector-tag",b:c,r:0},{b:"{",e:"}",i:/\S/,c:[e.CBCM,t]}]}});hljs.registerLanguage("nginx",function(e){var r={cN:"variable",v:[{b:/\$\d+/},{b:/\$\{/,e:/}/},{b:"[\\$\\@]"+e.UIR}]},b={eW:!0,l:"[a-z/_]+",k:{literal:"on off yes no true false none blocked debug info notice warn error crit select break last permanent redirect kqueue rtsig epoll poll /dev/poll"},r:0,i:"=>",c:[e.HCM,{cN:"string",c:[e.BE,r],v:[{b:/"/,e:/"/},{b:/'/,e:/'/}]},{b:"([a-z]+):/",e:"\\s",eW:!0,eE:!0,c:[r]},{cN:"regexp",c:[e.BE,r],v:[{b:"\\s\\^",e:"\\s|{|;",rE:!0},{b:"~\\*?\\s+",e:"\\s|{|;",rE:!0},{b:"\\*(\\.[a-z\\-]+)+"},{b:"([a-z\\-]+\\.)+\\*"}]},{cN:"number",b:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{cN:"number",b:"\\b\\d+[kKmMgGdshdwy]*\\b",r:0},r]};return{aliases:["nginxconf"],c:[e.HCM,{b:e.UIR+"\\s+{",rB:!0,e:"{",c:[{cN:"section",b:e.UIR}],r:0},{b:e.UIR+"\\s",e:";|{",rB:!0,c:[{cN:"attribute",b:e.UIR,starts:b}],r:0}],i:"[^\\s\\}]"}});hljs.registerLanguage("groovy",function(e){return{k:{literal:"true false null",keyword:"byte short char int long boolean float double void def as in assert trait super this abstract static volatile transient public private protected synchronized final class interface enum if else for while switch case break default continue throw throws try catch finally implements extends new import package return instanceof"},c:[e.C("/\\*\\*","\\*/",{r:0,c:[{b:/\w+@/,r:0},{cN:"doctag",b:"@[A-Za-z]+"}]}),e.CLCM,e.CBCM,{cN:"string",b:'"""',e:'"""'},{cN:"string",b:"'''",e:"'''"},{cN:"string",b:"\\$/",e:"/\\$",r:10},e.ASM,{cN:"regexp",b:/~?\/[^\/\n]+\//,c:[e.BE]},e.QSM,{cN:"meta",b:"^#!/usr/bin/env",e:"$",i:"\n"},e.BNM,{cN:"class",bK:"class interface trait enum",e:"{",i:":",c:[{bK:"extends implements"},e.UTM]},e.CNM,{cN:"meta",b:"@[A-Za-z]+"},{cN:"string",b:/[^\?]{0}[A-Za-z0-9_$]+ *:/},{b:/\?/,e:/\:/},{cN:"symbol",b:"^\\s*[A-Za-z0-9_$]+:",r:0}],i:/#|<\//}});hljs.registerLanguage("makefile",function(e){var i={cN:"variable",v:[{b:"\\$\\("+e.UIR+"\\)",c:[e.BE]},{b:/\$[@%<?\^\+\*]/}]},r={cN:"string",b:/"/,e:/"/,c:[e.BE,i]},a={cN:"variable",b:/\$\([\w-]+\s/,e:/\)/,k:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},c:[i]},n={b:"^"+e.UIR+"\\s*[:+?]?=",i:"\\n",rB:!0,c:[{b:"^"+e.UIR,e:"[:+?]?=",eE:!0}]},t={cN:"meta",b:/^\.PHONY:/,e:/$/,k:{"meta-keyword":".PHONY"},l:/[\.\w]+/},l={cN:"section",b:/^[^\s]+:/,e:/$/,c:[i]};return{aliases:["mk","mak"],k:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath",l:/[\w-]+/,c:[e.HCM,i,r,a,n,t,l]}});hljs.registerLanguage("java",function(e){var a="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",t=a+"(<"+a+"(\\s*,\\s*"+a+")*>)?",r="false synchronized int abstract float private char boolean static null if const for true while long strictfp finally protected import native final void enum else break transient catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private module requires exports do",s="\\b(0[bB]([01]+[01_]+[01]+|[01]+)|0[xX]([a-fA-F0-9]+[a-fA-F0-9_]+[a-fA-F0-9]+|[a-fA-F0-9]+)|(([\\d]+[\\d_]+[\\d]+|[\\d]+)(\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))?|\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))([eE][-+]?\\d+)?)[lLfF]?",c={cN:"number",b:s,r:0};return{aliases:["jsp"],k:r,i:/<\/|#/,c:[e.C("/\\*\\*","\\*/",{r:0,c:[{b:/\w+@/,r:0},{cN:"doctag",b:"@[A-Za-z]+"}]}),e.CLCM,e.CBCM,e.ASM,e.QSM,{cN:"class",bK:"class interface",e:/[{;=]/,eE:!0,k:"class interface",i:/[:"\[\]]/,c:[{bK:"extends implements"},e.UTM]},{bK:"new throw return else",r:0},{cN:"function",b:"("+t+"\\s+)+"+e.UIR+"\\s*\\(",rB:!0,e:/[{;=]/,eE:!0,k:r,c:[{b:e.UIR+"\\s*\\(",rB:!0,r:0,c:[e.UTM]},{cN:"params",b:/\(/,e:/\)/,k:r,r:0,c:[e.ASM,e.QSM,e.CNM,e.CBCM]},e.CLCM,e.CBCM]},c,{cN:"meta",b:"@[A-Za-z]+"}]}});hljs.registerLanguage("http",function(e){var t="HTTP/[0-9\\.]+";return{aliases:["https"],i:"\\S",c:[{b:"^"+t,e:"$",c:[{cN:"number",b:"\\b\\d{3}\\b"}]},{b:"^[A-Z]+ (.*?) "+t+"$",rB:!0,e:"$",c:[{cN:"string",b:" ",e:" ",eB:!0,eE:!0},{b:t},{cN:"keyword",b:"[A-Z]+"}]},{cN:"attribute",b:"^\\w",e:": ",eE:!0,i:"\\n|\\s|=",starts:{e:"$",r:0}},{b:"\\n\\n",starts:{sL:[],eW:!0}}]}});hljs.registerLanguage("objectivec",function(e){var t={cN:"built_in",b:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},_={keyword:"int float while char export sizeof typedef const struct for union unsigned long volatile static bool mutable if do return goto void enum else break extern asm case short default double register explicit signed typename this switch continue wchar_t inline readonly assign readwrite self @synchronized id typeof nonatomic super unichar IBOutlet IBAction strong weak copy in out inout bycopy byref oneway __strong __weak __block __autoreleasing @private @protected @public @try @property @end @throw @catch @finally @autoreleasepool @synthesize @dynamic @selector @optional @required @encode @package @import @defs @compatibility_alias __bridge __bridge_transfer __bridge_retained __bridge_retain __covariant __contravariant __kindof _Nonnull _Nullable _Null_unspecified __FUNCTION__ __PRETTY_FUNCTION__ __attribute__ getter setter retain unsafe_unretained nonnull nullable null_unspecified null_resettable class instancetype NS_DESIGNATED_INITIALIZER NS_UNAVAILABLE NS_REQUIRES_SUPER NS_RETURNS_INNER_POINTER NS_INLINE NS_AVAILABLE NS_DEPRECATED NS_ENUM NS_OPTIONS NS_SWIFT_UNAVAILABLE NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END NS_REFINED_FOR_SWIFT NS_SWIFT_NAME NS_SWIFT_NOTHROW NS_DURING NS_HANDLER NS_ENDHANDLER NS_VALUERETURN NS_VOIDRETURN",literal:"false true FALSE TRUE nil YES NO NULL",built_in:"BOOL dispatch_once_t dispatch_queue_t dispatch_sync dispatch_async dispatch_once"},i=/[a-zA-Z@][a-zA-Z0-9_]*/,n="@interface @class @protocol @implementation";return{aliases:["mm","objc","obj-c"],k:_,l:i,i:"</",c:[t,e.CLCM,e.CBCM,e.CNM,e.QSM,{cN:"string",v:[{b:'@"',e:'"',i:"\\n",c:[e.BE]},{b:"'",e:"[^\\\\]'",i:"[^\\\\][^']"}]},{cN:"meta",b:"#",e:"$",c:[{cN:"meta-string",v:[{b:'"',e:'"'},{b:"<",e:">"}]}]},{cN:"class",b:"("+n.split(" ").join("|")+")\\b",e:"({|$)",eE:!0,k:n,l:i,c:[e.UTM]},{b:"\\."+e.UIR,r:0}]}});hljs.registerLanguage("javascript",function(e){var r="[A-Za-z$_][0-9A-Za-z$_]*",t={keyword:"in of if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await static import from as",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Promise"},a={cN:"number",v:[{b:"\\b(0[bB][01]+)"},{b:"\\b(0[oO][0-7]+)"},{b:e.CNR}],r:0},n={cN:"subst",b:"\\$\\{",e:"\\}",k:t,c:[]},c={cN:"string",b:"`",e:"`",c:[e.BE,n]};n.c=[e.ASM,e.QSM,c,a,e.RM];var s=n.c.concat([e.CBCM,e.CLCM]);return{aliases:["js","jsx"],k:t,c:[{cN:"meta",r:10,b:/^\s*['"]use (strict|asm)['"]/},{cN:"meta",b:/^#!/,e:/$/},e.ASM,e.QSM,c,e.CLCM,e.CBCM,a,{b:/[{,]\s*/,r:0,c:[{b:r+"\\s*:",rB:!0,r:0,c:[{cN:"attr",b:r,r:0}]}]},{b:"("+e.RSR+"|\\b(case|return|throw)\\b)\\s*",k:"return throw case",c:[e.CLCM,e.CBCM,e.RM,{cN:"function",b:"(\\(.*?\\)|"+r+")\\s*=>",rB:!0,e:"\\s*=>",c:[{cN:"params",v:[{b:r},{b:/\(\s*\)/},{b:/\(/,e:/\)/,eB:!0,eE:!0,k:t,c:s}]}]},{b:/</,e:/(\/\w+|\w+\/)>/,sL:"xml",c:[{b:/<\w+\s*\/>/,skip:!0},{b:/<\w+/,e:/(\/\w+|\w+\/)>/,skip:!0,c:[{b:/<\w+\s*\/>/,skip:!0},"self"]}]}],r:0},{cN:"function",bK:"function",e:/\{/,eE:!0,c:[e.inherit(e.TM,{b:r}),{cN:"params",b:/\(/,e:/\)/,eB:!0,eE:!0,c:s}],i:/\[|%/},{b:/\$[(.]/},e.METHOD_GUARD,{cN:"class",bK:"class",e:/[{;=]/,eE:!0,i:/[:"\[\]]/,c:[{bK:"extends"},e.UTM]},{bK:"constructor",e:/\{/,eE:!0}],i:/#(?!!)/}});hljs.registerLanguage("lua",function(e){var t="\\[=*\\[",a="\\]=*\\]",r={b:t,e:a,c:["self"]},n=[e.C("--(?!"+t+")","$"),e.C("--"+t,a,{c:[r],r:10})];return{l:e.UIR,k:{literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstringmodule next pairs pcall print rawequal rawget rawset require select setfenvsetmetatable tonumber tostring type unpack xpcall arg selfcoroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},c:n.concat([{cN:"function",bK:"function",e:"\\)",c:[e.inherit(e.TM,{b:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{cN:"params",b:"\\(",eW:!0,c:n}].concat(n)},e.CNM,e.ASM,e.QSM,{cN:"string",b:t,e:a,c:[r],r:5}])}});hljs.registerLanguage("apache",function(e){var r={cN:"number",b:"[\\$%]\\d+"};return{aliases:["apacheconf"],cI:!0,c:[e.HCM,{cN:"section",b:"</?",e:">"},{cN:"attribute",b:/\w+/,r:0,k:{nomarkup:"order deny allow setenv rewriterule rewriteengine rewritecond documentroot sethandler errordocument loadmodule options header listen serverroot servername"},starts:{e:/$/,r:0,k:{literal:"on off all"},c:[{cN:"meta",b:"\\s\\[",e:"\\]$"},{cN:"variable",b:"[\\$%]\\{",e:"\\}",c:["self",r]},r,e.QSM]}}],i:/\S/}});hljs.registerLanguage("xml",function(s){var e="[A-Za-z0-9\\._:-]+",t={eW:!0,i:/</,r:0,c:[{cN:"attr",b:e,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:"\\]"}]},s.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:[t],starts:{e:"</style>",rE:!0,sL:["css","xml"]}},{cN:"tag",b:"<script(?=\\s|>|$)",e:">",k:{name:"script"},c:[t],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},t]}]}});hljs.registerLanguage("markdown",function(e){return{aliases:["md","mkdown","mkd"],c:[{cN:"section",v:[{b:"^#{1,6}",e:"$"},{b:"^.+?\\n[=-]{2,}$"}]},{b:"<",e:">",sL:"xml",r:0},{cN:"bullet",b:"^([*+-]|(\\d+\\.))\\s+"},{cN:"strong",b:"[*_]{2}.+?[*_]{2}"},{cN:"emphasis",v:[{b:"\\*.+?\\*"},{b:"_.+?_",r:0}]},{cN:"quote",b:"^>\\s+",e:"$"},{cN:"code",v:[{b:"^```w*s*$",e:"^```s*$"},{b:"`.+?`"},{b:"^( {4}| )",e:"$",r:0}]},{b:"^[-\\*]{3,}",e:"$"},{b:"\\[.+?\\][\\(\\[].*?[\\)\\]]",rB:!0,c:[{cN:"string",b:"\\[",e:"\\]",eB:!0,rE:!0,r:0},{cN:"link",b:"\\]\\(",e:"\\)",eB:!0,eE:!0},{cN:"symbol",b:"\\]\\[",e:"\\]",eB:!0,eE:!0}],r:10},{b:/^\[[^\n]+\]:/,rB:!0,c:[{cN:"symbol",b:/\[/,e:/\]/,eB:!0,eE:!0},{cN:"link",b:/:\s*/,e:/$/,eB:!0}]}]}});hljs.registerLanguage("scala",function(e){var t={cN:"meta",b:"@[A-Za-z]+"},a={cN:"subst",v:[{b:"\\$[A-Za-z0-9_]+"},{b:"\\${",e:"}"}]},r={cN:"string",v:[{b:'"',e:'"',i:"\\n",c:[e.BE]},{b:'"""',e:'"""',r:10},{b:'[a-z]+"',e:'"',i:"\\n",c:[e.BE,a]},{cN:"string",b:'[a-z]+"""',e:'"""',c:[a],r:10}]},c={cN:"symbol",b:"'\\w[\\w\\d_]*(?!')"},i={cN:"type",b:"\\b[A-Z][A-Za-z0-9_]*",r:0},s={cN:"title",b:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,r:0},n={cN:"class",bK:"class object trait type",e:/[:={\[\n;]/,eE:!0,c:[{bK:"extends with",r:10},{b:/\[/,e:/\]/,eB:!0,eE:!0,r:0,c:[i]},{cN:"params",b:/\(/,e:/\)/,eB:!0,eE:!0,r:0,c:[i]},s]},l={cN:"function",bK:"def",e:/[:={\[(\n;]/,eE:!0,c:[s]};return{k:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if forSome for while throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit"},c:[e.CLCM,e.CBCM,r,c,i,l,n,e.CNM,t]}});hljs.registerLanguage("matlab",function(e){var a=[e.CNM,{cN:"string",b:"'",e:"'",c:[e.BE,{b:"''"}]}],s={r:0,c:[{b:/'['\.]*/}]};return{k:{keyword:"break case catch classdef continue else elseif end enumerated events for function global if methods otherwise parfor persistent properties return spmd switch try while",built_in:"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i inf nan isnan isinf isfinite j why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson"},i:'(//|"|#|/\\*|\\s+/\\w+)',c:[{cN:"function",bK:"function",e:"$",c:[e.UTM,{cN:"params",v:[{b:"\\(",e:"\\)"},{b:"\\[",e:"\\]"}]}]},{b:/[a-zA-Z_][a-zA-Z_0-9]*'['\.]*/,rB:!0,r:0,c:[{b:/[a-zA-Z_][a-zA-Z_0-9]*/,r:0},s.c[0]]},{b:"\\[",e:"\\]",c:a,r:0,starts:s},{b:"\\{",e:/}/,c:a,r:0,starts:s},{b:/\)/,r:0,starts:s},e.C("^\\s*\\%\\{\\s*$","^\\s*\\%\\}\\s*$"),e.C("\\%","$")].concat(a)}});hljs.registerLanguage("json",function(e){var i={literal:"true false null"},n=[e.QSM,e.CNM],r={e:",",eW:!0,eE:!0,c:n,k:i},t={b:"{",e:"}",c:[{cN:"attr",b:/"/,e:/"/,c:[e.BE],i:"\\n"},e.inherit(r,{b:/:/})],i:"\\S"},c={b:"\\[",e:"\\]",c:[e.inherit(r)],i:"\\S"};return n.splice(n.length,0,t,c),{c:n,k:i,i:"\\S"}});hljs.registerLanguage("kotlin",function(e){var t={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit initinterface annotation data sealed internal infix operator out by constructor super trait volatile transient native default",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},r={cN:"keyword",b:/\b(break|continue|return|this)\b/,starts:{c:[{cN:"symbol",b:/@\w+/}]}},i={cN:"symbol",b:e.UIR+"@"},n={cN:"subst",b:"\\${",e:"}",c:[e.ASM,e.CNM]},a={cN:"variable",b:"\\$"+e.UIR},c={cN:"string",v:[{b:'"""',e:'"""',c:[a,n]},{b:"'",e:"'",i:/\n/,c:[e.BE]},{b:'"',e:'"',i:/\n/,c:[e.BE,a,n]}]},s={cN:"meta",b:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UIR+")?"},o={cN:"meta",b:"@"+e.UIR,c:[{b:/\(/,e:/\)/,c:[e.inherit(c,{cN:"meta-string"})]}]};return{k:t,c:[e.C("/\\*\\*","\\*/",{r:0,c:[{cN:"doctag",b:"@[A-Za-z]+"}]}),e.CLCM,e.CBCM,r,i,s,o,{cN:"function",bK:"fun",e:"[(]|$",rB:!0,eE:!0,k:t,i:/fun\s+(<.*>)?[^\s\(]+(\s+[^\s\(]+)\s*=/,r:5,c:[{b:e.UIR+"\\s*\\(",rB:!0,r:0,c:[e.UTM]},{cN:"type",b:/</,e:/>/,k:"reified",r:0},{cN:"params",b:/\(/,e:/\)/,endsParent:!0,k:t,r:0,c:[{b:/:/,e:/[=,\/]/,eW:!0,c:[{cN:"type",b:e.UIR},e.CLCM,e.CBCM],r:0},e.CLCM,e.CBCM,s,o,c,e.CNM]},e.CBCM]},{cN:"class",bK:"class interface trait",e:/[:\{(]|$/,eE:!0,i:"extends implements",c:[{bK:"public protected internal private constructor"},e.UTM,{cN:"type",b:/</,e:/>/,eB:!0,eE:!0,r:0},{cN:"type",b:/[,:]\s*/,e:/[<\(,]|$/,eB:!0,rE:!0},s,o]},c,{cN:"meta",b:"^#!/usr/bin/env",e:"$",i:"\n"},e.CNM]}});
\ No newline at end of file diff --git a/themes/even/static/lib/jquery/jquery-3.2.1.min.js b/themes/even/static/lib/jquery/jquery-3.2.1.min.js new file mode 100644 index 0000000..644d35e --- /dev/null +++ b/themes/even/static/lib/jquery/jquery-3.2.1.min.js @@ -0,0 +1,4 @@ +/*! jQuery v3.2.1 | (c) JS Foundation and other contributors | jquery.org/license */ +!function(a,b){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){"use strict";var c=[],d=a.document,e=Object.getPrototypeOf,f=c.slice,g=c.concat,h=c.push,i=c.indexOf,j={},k=j.toString,l=j.hasOwnProperty,m=l.toString,n=m.call(Object),o={};function p(a,b){b=b||d;var c=b.createElement("script");c.text=a,b.head.appendChild(c).parentNode.removeChild(c)}var q="3.2.1",r=function(a,b){return new r.fn.init(a,b)},s=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,t=/^-ms-/,u=/-([a-z])/g,v=function(a,b){return b.toUpperCase()};r.fn=r.prototype={jquery:q,constructor:r,length:0,toArray:function(){return f.call(this)},get:function(a){return null==a?f.call(this):a<0?this[a+this.length]:this[a]},pushStack:function(a){var b=r.merge(this.constructor(),a);return b.prevObject=this,b},each:function(a){return r.each(this,a)},map:function(a){return this.pushStack(r.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(f.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(a<0?b:0);return this.pushStack(c>=0&&c<b?[this[c]]:[])},end:function(){return this.prevObject||this.constructor()},push:h,sort:c.sort,splice:c.splice},r.extend=r.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||r.isFunction(g)||(g={}),h===i&&(g=this,h--);h<i;h++)if(null!=(a=arguments[h]))for(b in a)c=g[b],d=a[b],g!==d&&(j&&d&&(r.isPlainObject(d)||(e=Array.isArray(d)))?(e?(e=!1,f=c&&Array.isArray(c)?c:[]):f=c&&r.isPlainObject(c)?c:{},g[b]=r.extend(j,f,d)):void 0!==d&&(g[b]=d));return g},r.extend({expando:"jQuery"+(q+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===r.type(a)},isWindow:function(a){return null!=a&&a===a.window},isNumeric:function(a){var b=r.type(a);return("number"===b||"string"===b)&&!isNaN(a-parseFloat(a))},isPlainObject:function(a){var b,c;return!(!a||"[object Object]"!==k.call(a))&&(!(b=e(a))||(c=l.call(b,"constructor")&&b.constructor,"function"==typeof c&&m.call(c)===n))},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?j[k.call(a)]||"object":typeof a},globalEval:function(a){p(a)},camelCase:function(a){return a.replace(t,"ms-").replace(u,v)},each:function(a,b){var c,d=0;if(w(a)){for(c=a.length;d<c;d++)if(b.call(a[d],d,a[d])===!1)break}else for(d in a)if(b.call(a[d],d,a[d])===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(s,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(w(Object(a))?r.merge(c,"string"==typeof a?[a]:a):h.call(c,a)),c},inArray:function(a,b,c){return null==b?-1:i.call(b,a,c)},merge:function(a,b){for(var c=+b.length,d=0,e=a.length;d<c;d++)a[e++]=b[d];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;f<g;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,e,f=0,h=[];if(w(a))for(d=a.length;f<d;f++)e=b(a[f],f,c),null!=e&&h.push(e);else for(f in a)e=b(a[f],f,c),null!=e&&h.push(e);return g.apply([],h)},guid:1,proxy:function(a,b){var c,d,e;if("string"==typeof b&&(c=a[b],b=a,a=c),r.isFunction(a))return d=f.call(arguments,2),e=function(){return a.apply(b||this,d.concat(f.call(arguments)))},e.guid=a.guid=a.guid||r.guid++,e},now:Date.now,support:o}),"function"==typeof Symbol&&(r.fn[Symbol.iterator]=c[Symbol.iterator]),r.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(a,b){j["[object "+b+"]"]=b.toLowerCase()});function w(a){var b=!!a&&"length"in a&&a.length,c=r.type(a);return"function"!==c&&!r.isWindow(a)&&("array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a)}var x=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*new Date,v=a.document,w=0,x=0,y=ha(),z=ha(),A=ha(),B=function(a,b){return a===b&&(l=!0),0},C={}.hasOwnProperty,D=[],E=D.pop,F=D.push,G=D.push,H=D.slice,I=function(a,b){for(var c=0,d=a.length;c<d;c++)if(a[c]===b)return c;return-1},J="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",K="[\\x20\\t\\r\\n\\f]",L="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",M="\\["+K+"*("+L+")(?:"+K+"*([*^$|!~]?=)"+K+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+L+"))|)"+K+"*\\]",N=":("+L+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+M+")*)|.*)\\)|)",O=new RegExp(K+"+","g"),P=new RegExp("^"+K+"+|((?:^|[^\\\\])(?:\\\\.)*)"+K+"+$","g"),Q=new RegExp("^"+K+"*,"+K+"*"),R=new RegExp("^"+K+"*([>+~]|"+K+")"+K+"*"),S=new RegExp("="+K+"*([^\\]'\"]*?)"+K+"*\\]","g"),T=new RegExp(N),U=new RegExp("^"+L+"$"),V={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),TAG:new RegExp("^("+L+"|[*])"),ATTR:new RegExp("^"+M),PSEUDO:new RegExp("^"+N),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+K+"*(even|odd|(([+-]|)(\\d*)n|)"+K+"*(?:([+-]|)"+K+"*(\\d+)|))"+K+"*\\)|)","i"),bool:new RegExp("^(?:"+J+")$","i"),needsContext:new RegExp("^"+K+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+K+"*((?:-\\d)?\\d*)"+K+"*\\)|)(?=[^-]|$)","i")},W=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,Y=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,$=/[+~]/,_=new RegExp("\\\\([\\da-f]{1,6}"+K+"?|("+K+")|.)","ig"),aa=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:d<0?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},ba=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ca=function(a,b){return b?"\0"===a?"\ufffd":a.slice(0,-1)+"\\"+a.charCodeAt(a.length-1).toString(16)+" ":"\\"+a},da=function(){m()},ea=ta(function(a){return a.disabled===!0&&("form"in a||"label"in a)},{dir:"parentNode",next:"legend"});try{G.apply(D=H.call(v.childNodes),v.childNodes),D[v.childNodes.length].nodeType}catch(fa){G={apply:D.length?function(a,b){F.apply(a,H.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function ga(a,b,d,e){var f,h,j,k,l,o,r,s=b&&b.ownerDocument,w=b?b.nodeType:9;if(d=d||[],"string"!=typeof a||!a||1!==w&&9!==w&&11!==w)return d;if(!e&&((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,p)){if(11!==w&&(l=Z.exec(a)))if(f=l[1]){if(9===w){if(!(j=b.getElementById(f)))return d;if(j.id===f)return d.push(j),d}else if(s&&(j=s.getElementById(f))&&t(b,j)&&j.id===f)return d.push(j),d}else{if(l[2])return G.apply(d,b.getElementsByTagName(a)),d;if((f=l[3])&&c.getElementsByClassName&&b.getElementsByClassName)return G.apply(d,b.getElementsByClassName(f)),d}if(c.qsa&&!A[a+" "]&&(!q||!q.test(a))){if(1!==w)s=b,r=a;else if("object"!==b.nodeName.toLowerCase()){(k=b.getAttribute("id"))?k=k.replace(ba,ca):b.setAttribute("id",k=u),o=g(a),h=o.length;while(h--)o[h]="#"+k+" "+sa(o[h]);r=o.join(","),s=$.test(a)&&qa(b.parentNode)||b}if(r)try{return G.apply(d,s.querySelectorAll(r)),d}catch(x){}finally{k===u&&b.removeAttribute("id")}}}return i(a.replace(P,"$1"),b,d,e)}function ha(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ia(a){return a[u]=!0,a}function ja(a){var b=n.createElement("fieldset");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ka(a,b){var c=a.split("|"),e=c.length;while(e--)d.attrHandle[c[e]]=b}function la(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&a.sourceIndex-b.sourceIndex;if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function na(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function oa(a){return function(b){return"form"in b?b.parentNode&&b.disabled===!1?"label"in b?"label"in b.parentNode?b.parentNode.disabled===a:b.disabled===a:b.isDisabled===a||b.isDisabled!==!a&&ea(b)===a:b.disabled===a:"label"in b&&b.disabled===a}}function pa(a){return ia(function(b){return b=+b,ia(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function qa(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=ga.support={},f=ga.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return!!b&&"HTML"!==b.nodeName},m=ga.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=n.documentElement,p=!f(n),v!==n&&(e=n.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",da,!1):e.attachEvent&&e.attachEvent("onunload",da)),c.attributes=ja(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ja(function(a){return a.appendChild(n.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=Y.test(n.getElementsByClassName),c.getById=ja(function(a){return o.appendChild(a).id=u,!n.getElementsByName||!n.getElementsByName(u).length}),c.getById?(d.filter.ID=function(a){var b=a.replace(_,aa);return function(a){return a.getAttribute("id")===b}},d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c?[c]:[]}}):(d.filter.ID=function(a){var b=a.replace(_,aa);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}},d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c,d,e,f=b.getElementById(a);if(f){if(c=f.getAttributeNode("id"),c&&c.value===a)return[f];e=b.getElementsByName(a),d=0;while(f=e[d++])if(c=f.getAttributeNode("id"),c&&c.value===a)return[f]}return[]}}),d.find.TAG=c.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){if("undefined"!=typeof b.getElementsByClassName&&p)return b.getElementsByClassName(a)},r=[],q=[],(c.qsa=Y.test(n.querySelectorAll))&&(ja(function(a){o.appendChild(a).innerHTML="<a id='"+u+"'></a><select id='"+u+"-\r\\' msallowcapture=''><option selected=''></option></select>",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+K+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+K+"*(?:value|"+J+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ja(function(a){a.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var b=n.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+K+"*[*^$|!~]?="),2!==a.querySelectorAll(":enabled").length&&q.push(":enabled",":disabled"),o.appendChild(a).disabled=!0,2!==a.querySelectorAll(":disabled").length&&q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=Y.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ja(function(a){c.disconnectedMatch=s.call(a,"*"),s.call(a,"[s!='']:x"),r.push("!=",N)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=Y.test(o.compareDocumentPosition),t=b||Y.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===n||a.ownerDocument===v&&t(v,a)?-1:b===n||b.ownerDocument===v&&t(v,b)?1:k?I(k,a)-I(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,g=[a],h=[b];if(!e||!f)return a===n?-1:b===n?1:e?-1:f?1:k?I(k,a)-I(k,b):0;if(e===f)return la(a,b);c=a;while(c=c.parentNode)g.unshift(c);c=b;while(c=c.parentNode)h.unshift(c);while(g[d]===h[d])d++;return d?la(g[d],h[d]):g[d]===v?-1:h[d]===v?1:0},n):n},ga.matches=function(a,b){return ga(a,null,null,b)},ga.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(S,"='$1']"),c.matchesSelector&&p&&!A[b+" "]&&(!r||!r.test(b))&&(!q||!q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return ga(b,n,null,[a]).length>0},ga.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},ga.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&C.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},ga.escape=function(a){return(a+"").replace(ba,ca)},ga.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},ga.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=ga.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=ga.selectors={cacheLength:50,createPseudo:ia,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(_,aa),a[3]=(a[3]||a[4]||a[5]||"").replace(_,aa),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||ga.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&ga.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return V.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&T.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(_,aa).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+K+")"+a+"("+K+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=ga.attr(d,a);return null==e?"!="===b:!b||(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(O," ")+" ").indexOf(c)>-1:"|="===b&&(e===c||e.slice(0,c.length+1)===c+"-"))}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h,t=!1;if(q){if(f){while(p){m=b;while(m=m[p])if(h?m.nodeName.toLowerCase()===r:1===m.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){m=q,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n&&j[2],m=n&&q.childNodes[n];while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if(1===m.nodeType&&++t&&m===b){k[a]=[w,n,t];break}}else if(s&&(m=b,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n),t===!1)while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if((h?m.nodeName.toLowerCase()===r:1===m.nodeType)&&++t&&(s&&(l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),k[a]=[w,t]),m===b))break;return t-=e,t===d||t%d===0&&t/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||ga.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ia(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=I(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ia(function(a){var b=[],c=[],d=h(a.replace(P,"$1"));return d[u]?ia(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ia(function(a){return function(b){return ga(a,b).length>0}}),contains:ia(function(a){return a=a.replace(_,aa),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ia(function(a){return U.test(a||"")||ga.error("unsupported lang: "+a),a=a.replace(_,aa).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:oa(!1),disabled:oa(!0),checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return X.test(a.nodeName)},input:function(a){return W.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:pa(function(){return[0]}),last:pa(function(a,b){return[b-1]}),eq:pa(function(a,b,c){return[c<0?c+b:c]}),even:pa(function(a,b){for(var c=0;c<b;c+=2)a.push(c);return a}),odd:pa(function(a,b){for(var c=1;c<b;c+=2)a.push(c);return a}),lt:pa(function(a,b,c){for(var d=c<0?c+b:c;--d>=0;)a.push(d);return a}),gt:pa(function(a,b,c){for(var d=c<0?c+b:c;++d<b;)a.push(d);return a})}},d.pseudos.nth=d.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudos[b]=ma(b);for(b in{submit:!0,reset:!0})d.pseudos[b]=na(b);function ra(){}ra.prototype=d.filters=d.pseudos,d.setFilters=new ra,g=ga.tokenize=function(a,b){var c,e,f,g,h,i,j,k=z[a+" "];if(k)return b?0:k.slice(0);h=a,i=[],j=d.preFilter;while(h){c&&!(e=Q.exec(h))||(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=R.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(P," ")}),h=h.slice(c.length));for(g in d.filter)!(e=V[g].exec(h))||j[g]&&!(e=j[g](e))||(c=e.shift(),f.push({value:c,type:g,matches:e}),h=h.slice(c.length));if(!c)break}return b?h.length:h?ga.error(a):z(a,i).slice(0)};function sa(a){for(var b=0,c=a.length,d="";b<c;b++)d+=a[b].value;return d}function ta(a,b,c){var d=b.dir,e=b.next,f=e||d,g=c&&"parentNode"===f,h=x++;return b.first?function(b,c,e){while(b=b[d])if(1===b.nodeType||g)return a(b,c,e);return!1}:function(b,c,i){var j,k,l,m=[w,h];if(i){while(b=b[d])if((1===b.nodeType||g)&&a(b,c,i))return!0}else while(b=b[d])if(1===b.nodeType||g)if(l=b[u]||(b[u]={}),k=l[b.uniqueID]||(l[b.uniqueID]={}),e&&e===b.nodeName.toLowerCase())b=b[d]||b;else{if((j=k[f])&&j[0]===w&&j[1]===h)return m[2]=j[2];if(k[f]=m,m[2]=a(b,c,i))return!0}return!1}}function ua(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function va(a,b,c){for(var d=0,e=b.length;d<e;d++)ga(a,b[d],c);return c}function wa(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;h<i;h++)(f=a[h])&&(c&&!c(f,d,e)||(g.push(f),j&&b.push(h)));return g}function xa(a,b,c,d,e,f){return d&&!d[u]&&(d=xa(d)),e&&!e[u]&&(e=xa(e,f)),ia(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||va(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:wa(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=wa(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?I(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=wa(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):G.apply(g,r)})}function ya(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=ta(function(a){return a===b},h,!0),l=ta(function(a){return I(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];i<f;i++)if(c=d.relative[a[i].type])m=[ta(ua(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;e<f;e++)if(d.relative[a[e].type])break;return xa(i>1&&ua(m),i>1&&sa(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(P,"$1"),c,i<e&&ya(a.slice(i,e)),e<f&&ya(a=a.slice(e)),e<f&&sa(a))}m.push(c)}return ua(m)}function za(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,o,q,r=0,s="0",t=f&&[],u=[],v=j,x=f||e&&d.find.TAG("*",k),y=w+=null==v?1:Math.random()||.1,z=x.length;for(k&&(j=g===n||g||k);s!==z&&null!=(l=x[s]);s++){if(e&&l){o=0,g||l.ownerDocument===n||(m(l),h=!p);while(q=a[o++])if(q(l,g||n,h)){i.push(l);break}k&&(w=y)}c&&((l=!q&&l)&&r--,f&&t.push(l))}if(r+=s,c&&s!==r){o=0;while(q=b[o++])q(t,u,g,h);if(f){if(r>0)while(s--)t[s]||u[s]||(u[s]=E.call(i));u=wa(u)}G.apply(i,u),k&&!f&&u.length>0&&r+b.length>1&&ga.uniqueSort(i)}return k&&(w=y,j=v),t};return c?ia(f):f}return h=ga.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=ya(b[c]),f[u]?d.push(f):e.push(f);f=A(a,za(e,d)),f.selector=a}return f},i=ga.select=function(a,b,c,e){var f,i,j,k,l,m="function"==typeof a&&a,n=!e&&g(a=m.selector||a);if(c=c||[],1===n.length){if(i=n[0]=n[0].slice(0),i.length>2&&"ID"===(j=i[0]).type&&9===b.nodeType&&p&&d.relative[i[1].type]){if(b=(d.find.ID(j.matches[0].replace(_,aa),b)||[])[0],!b)return c;m&&(b=b.parentNode),a=a.slice(i.shift().value.length)}f=V.needsContext.test(a)?0:i.length;while(f--){if(j=i[f],d.relative[k=j.type])break;if((l=d.find[k])&&(e=l(j.matches[0].replace(_,aa),$.test(i[0].type)&&qa(b.parentNode)||b))){if(i.splice(f,1),a=e.length&&sa(i),!a)return G.apply(c,e),c;break}}}return(m||h(a,n))(e,b,!p,c,!b||$.test(a)&&qa(b.parentNode)||b),c},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ja(function(a){return 1&a.compareDocumentPosition(n.createElement("fieldset"))}),ja(function(a){return a.innerHTML="<a href='#'></a>","#"===a.firstChild.getAttribute("href")})||ka("type|href|height|width",function(a,b,c){if(!c)return a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ja(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ka("value",function(a,b,c){if(!c&&"input"===a.nodeName.toLowerCase())return a.defaultValue}),ja(function(a){return null==a.getAttribute("disabled")})||ka(J,function(a,b,c){var d;if(!c)return a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),ga}(a);r.find=x,r.expr=x.selectors,r.expr[":"]=r.expr.pseudos,r.uniqueSort=r.unique=x.uniqueSort,r.text=x.getText,r.isXMLDoc=x.isXML,r.contains=x.contains,r.escapeSelector=x.escape;var y=function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&r(a).is(c))break;d.push(a)}return d},z=function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c},A=r.expr.match.needsContext;function B(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()}var C=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,D=/^.[^:#\[\.,]*$/;function E(a,b,c){return r.isFunction(b)?r.grep(a,function(a,d){return!!b.call(a,d,a)!==c}):b.nodeType?r.grep(a,function(a){return a===b!==c}):"string"!=typeof b?r.grep(a,function(a){return i.call(b,a)>-1!==c}):D.test(b)?r.filter(b,a,c):(b=r.filter(b,a),r.grep(a,function(a){return i.call(b,a)>-1!==c&&1===a.nodeType}))}r.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?r.find.matchesSelector(d,a)?[d]:[]:r.find.matches(a,r.grep(b,function(a){return 1===a.nodeType}))},r.fn.extend({find:function(a){var b,c,d=this.length,e=this;if("string"!=typeof a)return this.pushStack(r(a).filter(function(){for(b=0;b<d;b++)if(r.contains(e[b],this))return!0}));for(c=this.pushStack([]),b=0;b<d;b++)r.find(a,e[b],c);return d>1?r.uniqueSort(c):c},filter:function(a){return this.pushStack(E(this,a||[],!1))},not:function(a){return this.pushStack(E(this,a||[],!0))},is:function(a){return!!E(this,"string"==typeof a&&A.test(a)?r(a):a||[],!1).length}});var F,G=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,H=r.fn.init=function(a,b,c){var e,f;if(!a)return this;if(c=c||F,"string"==typeof a){if(e="<"===a[0]&&">"===a[a.length-1]&&a.length>=3?[null,a,null]:G.exec(a),!e||!e[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(e[1]){if(b=b instanceof r?b[0]:b,r.merge(this,r.parseHTML(e[1],b&&b.nodeType?b.ownerDocument||b:d,!0)),C.test(e[1])&&r.isPlainObject(b))for(e in b)r.isFunction(this[e])?this[e](b[e]):this.attr(e,b[e]);return this}return f=d.getElementById(e[2]),f&&(this[0]=f,this.length=1),this}return a.nodeType?(this[0]=a,this.length=1,this):r.isFunction(a)?void 0!==c.ready?c.ready(a):a(r):r.makeArray(a,this)};H.prototype=r.fn,F=r(d);var I=/^(?:parents|prev(?:Until|All))/,J={children:!0,contents:!0,next:!0,prev:!0};r.fn.extend({has:function(a){var b=r(a,this),c=b.length;return this.filter(function(){for(var a=0;a<c;a++)if(r.contains(this,b[a]))return!0})},closest:function(a,b){var c,d=0,e=this.length,f=[],g="string"!=typeof a&&r(a);if(!A.test(a))for(;d<e;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&r.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?r.uniqueSort(f):f)},index:function(a){return a?"string"==typeof a?i.call(r(a),this[0]):i.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(r.uniqueSort(r.merge(this.get(),r(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function K(a,b){while((a=a[b])&&1!==a.nodeType);return a}r.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return y(a,"parentNode")},parentsUntil:function(a,b,c){return y(a,"parentNode",c)},next:function(a){return K(a,"nextSibling")},prev:function(a){return K(a,"previousSibling")},nextAll:function(a){return y(a,"nextSibling")},prevAll:function(a){return y(a,"previousSibling")},nextUntil:function(a,b,c){return y(a,"nextSibling",c)},prevUntil:function(a,b,c){return y(a,"previousSibling",c)},siblings:function(a){return z((a.parentNode||{}).firstChild,a)},children:function(a){return z(a.firstChild)},contents:function(a){return B(a,"iframe")?a.contentDocument:(B(a,"template")&&(a=a.content||a),r.merge([],a.childNodes))}},function(a,b){r.fn[a]=function(c,d){var e=r.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=r.filter(d,e)),this.length>1&&(J[a]||r.uniqueSort(e),I.test(a)&&e.reverse()),this.pushStack(e)}});var L=/[^\x20\t\r\n\f]+/g;function M(a){var b={};return r.each(a.match(L)||[],function(a,c){b[c]=!0}),b}r.Callbacks=function(a){a="string"==typeof a?M(a):r.extend({},a);var b,c,d,e,f=[],g=[],h=-1,i=function(){for(e=e||a.once,d=b=!0;g.length;h=-1){c=g.shift();while(++h<f.length)f[h].apply(c[0],c[1])===!1&&a.stopOnFalse&&(h=f.length,c=!1)}a.memory||(c=!1),b=!1,e&&(f=c?[]:"")},j={add:function(){return f&&(c&&!b&&(h=f.length-1,g.push(c)),function d(b){r.each(b,function(b,c){r.isFunction(c)?a.unique&&j.has(c)||f.push(c):c&&c.length&&"string"!==r.type(c)&&d(c)})}(arguments),c&&!b&&i()),this},remove:function(){return r.each(arguments,function(a,b){var c;while((c=r.inArray(b,f,c))>-1)f.splice(c,1),c<=h&&h--}),this},has:function(a){return a?r.inArray(a,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return e=g=[],f=c="",this},disabled:function(){return!f},lock:function(){return e=g=[],c||b||(f=c=""),this},locked:function(){return!!e},fireWith:function(a,c){return e||(c=c||[],c=[a,c.slice?c.slice():c],g.push(c),b||i()),this},fire:function(){return j.fireWith(this,arguments),this},fired:function(){return!!d}};return j};function N(a){return a}function O(a){throw a}function P(a,b,c,d){var e;try{a&&r.isFunction(e=a.promise)?e.call(a).done(b).fail(c):a&&r.isFunction(e=a.then)?e.call(a,b,c):b.apply(void 0,[a].slice(d))}catch(a){c.apply(void 0,[a])}}r.extend({Deferred:function(b){var c=[["notify","progress",r.Callbacks("memory"),r.Callbacks("memory"),2],["resolve","done",r.Callbacks("once memory"),r.Callbacks("once memory"),0,"resolved"],["reject","fail",r.Callbacks("once memory"),r.Callbacks("once memory"),1,"rejected"]],d="pending",e={state:function(){return d},always:function(){return f.done(arguments).fail(arguments),this},"catch":function(a){return e.then(null,a)},pipe:function(){var a=arguments;return r.Deferred(function(b){r.each(c,function(c,d){var e=r.isFunction(a[d[4]])&&a[d[4]];f[d[1]](function(){var a=e&&e.apply(this,arguments);a&&r.isFunction(a.promise)?a.promise().progress(b.notify).done(b.resolve).fail(b.reject):b[d[0]+"With"](this,e?[a]:arguments)})}),a=null}).promise()},then:function(b,d,e){var f=0;function g(b,c,d,e){return function(){var h=this,i=arguments,j=function(){var a,j;if(!(b<f)){if(a=d.apply(h,i),a===c.promise())throw new TypeError("Thenable self-resolution");j=a&&("object"==typeof a||"function"==typeof a)&&a.then,r.isFunction(j)?e?j.call(a,g(f,c,N,e),g(f,c,O,e)):(f++,j.call(a,g(f,c,N,e),g(f,c,O,e),g(f,c,N,c.notifyWith))):(d!==N&&(h=void 0,i=[a]),(e||c.resolveWith)(h,i))}},k=e?j:function(){try{j()}catch(a){r.Deferred.exceptionHook&&r.Deferred.exceptionHook(a,k.stackTrace),b+1>=f&&(d!==O&&(h=void 0,i=[a]),c.rejectWith(h,i))}};b?k():(r.Deferred.getStackHook&&(k.stackTrace=r.Deferred.getStackHook()),a.setTimeout(k))}}return r.Deferred(function(a){c[0][3].add(g(0,a,r.isFunction(e)?e:N,a.notifyWith)),c[1][3].add(g(0,a,r.isFunction(b)?b:N)),c[2][3].add(g(0,a,r.isFunction(d)?d:O))}).promise()},promise:function(a){return null!=a?r.extend(a,e):e}},f={};return r.each(c,function(a,b){var g=b[2],h=b[5];e[b[1]]=g.add,h&&g.add(function(){d=h},c[3-a][2].disable,c[0][2].lock),g.add(b[3].fire),f[b[0]]=function(){return f[b[0]+"With"](this===f?void 0:this,arguments),this},f[b[0]+"With"]=g.fireWith}),e.promise(f),b&&b.call(f,f),f},when:function(a){var b=arguments.length,c=b,d=Array(c),e=f.call(arguments),g=r.Deferred(),h=function(a){return function(c){d[a]=this,e[a]=arguments.length>1?f.call(arguments):c,--b||g.resolveWith(d,e)}};if(b<=1&&(P(a,g.done(h(c)).resolve,g.reject,!b),"pending"===g.state()||r.isFunction(e[c]&&e[c].then)))return g.then();while(c--)P(e[c],h(c),g.reject);return g.promise()}});var Q=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;r.Deferred.exceptionHook=function(b,c){a.console&&a.console.warn&&b&&Q.test(b.name)&&a.console.warn("jQuery.Deferred exception: "+b.message,b.stack,c)},r.readyException=function(b){a.setTimeout(function(){throw b})};var R=r.Deferred();r.fn.ready=function(a){return R.then(a)["catch"](function(a){r.readyException(a)}),this},r.extend({isReady:!1,readyWait:1,ready:function(a){(a===!0?--r.readyWait:r.isReady)||(r.isReady=!0,a!==!0&&--r.readyWait>0||R.resolveWith(d,[r]))}}),r.ready.then=R.then;function S(){d.removeEventListener("DOMContentLoaded",S), +a.removeEventListener("load",S),r.ready()}"complete"===d.readyState||"loading"!==d.readyState&&!d.documentElement.doScroll?a.setTimeout(r.ready):(d.addEventListener("DOMContentLoaded",S),a.addEventListener("load",S));var T=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===r.type(c)){e=!0;for(h in c)T(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,r.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(r(a),c)})),b))for(;h<i;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},U=function(a){return 1===a.nodeType||9===a.nodeType||!+a.nodeType};function V(){this.expando=r.expando+V.uid++}V.uid=1,V.prototype={cache:function(a){var b=a[this.expando];return b||(b={},U(a)&&(a.nodeType?a[this.expando]=b:Object.defineProperty(a,this.expando,{value:b,configurable:!0}))),b},set:function(a,b,c){var d,e=this.cache(a);if("string"==typeof b)e[r.camelCase(b)]=c;else for(d in b)e[r.camelCase(d)]=b[d];return e},get:function(a,b){return void 0===b?this.cache(a):a[this.expando]&&a[this.expando][r.camelCase(b)]},access:function(a,b,c){return void 0===b||b&&"string"==typeof b&&void 0===c?this.get(a,b):(this.set(a,b,c),void 0!==c?c:b)},remove:function(a,b){var c,d=a[this.expando];if(void 0!==d){if(void 0!==b){Array.isArray(b)?b=b.map(r.camelCase):(b=r.camelCase(b),b=b in d?[b]:b.match(L)||[]),c=b.length;while(c--)delete d[b[c]]}(void 0===b||r.isEmptyObject(d))&&(a.nodeType?a[this.expando]=void 0:delete a[this.expando])}},hasData:function(a){var b=a[this.expando];return void 0!==b&&!r.isEmptyObject(b)}};var W=new V,X=new V,Y=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Z=/[A-Z]/g;function $(a){return"true"===a||"false"!==a&&("null"===a?null:a===+a+""?+a:Y.test(a)?JSON.parse(a):a)}function _(a,b,c){var d;if(void 0===c&&1===a.nodeType)if(d="data-"+b.replace(Z,"-$&").toLowerCase(),c=a.getAttribute(d),"string"==typeof c){try{c=$(c)}catch(e){}X.set(a,b,c)}else c=void 0;return c}r.extend({hasData:function(a){return X.hasData(a)||W.hasData(a)},data:function(a,b,c){return X.access(a,b,c)},removeData:function(a,b){X.remove(a,b)},_data:function(a,b,c){return W.access(a,b,c)},_removeData:function(a,b){W.remove(a,b)}}),r.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=X.get(f),1===f.nodeType&&!W.get(f,"hasDataAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=r.camelCase(d.slice(5)),_(f,d,e[d])));W.set(f,"hasDataAttrs",!0)}return e}return"object"==typeof a?this.each(function(){X.set(this,a)}):T(this,function(b){var c;if(f&&void 0===b){if(c=X.get(f,a),void 0!==c)return c;if(c=_(f,a),void 0!==c)return c}else this.each(function(){X.set(this,a,b)})},null,b,arguments.length>1,null,!0)},removeData:function(a){return this.each(function(){X.remove(this,a)})}}),r.extend({queue:function(a,b,c){var d;if(a)return b=(b||"fx")+"queue",d=W.get(a,b),c&&(!d||Array.isArray(c)?d=W.access(a,b,r.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||"fx";var c=r.queue(a,b),d=c.length,e=c.shift(),f=r._queueHooks(a,b),g=function(){r.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return W.get(a,c)||W.access(a,c,{empty:r.Callbacks("once memory").add(function(){W.remove(a,[b+"queue",c])})})}}),r.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length<c?r.queue(this[0],a):void 0===b?this:this.each(function(){var c=r.queue(this,a,b);r._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&&r.dequeue(this,a)})},dequeue:function(a){return this.each(function(){r.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,d=1,e=r.Deferred(),f=this,g=this.length,h=function(){--d||e.resolveWith(f,[f])};"string"!=typeof a&&(b=a,a=void 0),a=a||"fx";while(g--)c=W.get(f[g],a+"queueHooks"),c&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}});var aa=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ba=new RegExp("^(?:([+-])=|)("+aa+")([a-z%]*)$","i"),ca=["Top","Right","Bottom","Left"],da=function(a,b){return a=b||a,"none"===a.style.display||""===a.style.display&&r.contains(a.ownerDocument,a)&&"none"===r.css(a,"display")},ea=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e};function fa(a,b,c,d){var e,f=1,g=20,h=d?function(){return d.cur()}:function(){return r.css(a,b,"")},i=h(),j=c&&c[3]||(r.cssNumber[b]?"":"px"),k=(r.cssNumber[b]||"px"!==j&&+i)&&ba.exec(r.css(a,b));if(k&&k[3]!==j){j=j||k[3],c=c||[],k=+i||1;do f=f||".5",k/=f,r.style(a,b,k+j);while(f!==(f=h()/i)&&1!==f&&--g)}return c&&(k=+k||+i||0,e=c[1]?k+(c[1]+1)*c[2]:+c[2],d&&(d.unit=j,d.start=k,d.end=e)),e}var ga={};function ha(a){var b,c=a.ownerDocument,d=a.nodeName,e=ga[d];return e?e:(b=c.body.appendChild(c.createElement(d)),e=r.css(b,"display"),b.parentNode.removeChild(b),"none"===e&&(e="block"),ga[d]=e,e)}function ia(a,b){for(var c,d,e=[],f=0,g=a.length;f<g;f++)d=a[f],d.style&&(c=d.style.display,b?("none"===c&&(e[f]=W.get(d,"display")||null,e[f]||(d.style.display="")),""===d.style.display&&da(d)&&(e[f]=ha(d))):"none"!==c&&(e[f]="none",W.set(d,"display",c)));for(f=0;f<g;f++)null!=e[f]&&(a[f].style.display=e[f]);return a}r.fn.extend({show:function(){return ia(this,!0)},hide:function(){return ia(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){da(this)?r(this).show():r(this).hide()})}});var ja=/^(?:checkbox|radio)$/i,ka=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,la=/^$|\/(?:java|ecma)script/i,ma={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};ma.optgroup=ma.option,ma.tbody=ma.tfoot=ma.colgroup=ma.caption=ma.thead,ma.th=ma.td;function na(a,b){var c;return c="undefined"!=typeof a.getElementsByTagName?a.getElementsByTagName(b||"*"):"undefined"!=typeof a.querySelectorAll?a.querySelectorAll(b||"*"):[],void 0===b||b&&B(a,b)?r.merge([a],c):c}function oa(a,b){for(var c=0,d=a.length;c<d;c++)W.set(a[c],"globalEval",!b||W.get(b[c],"globalEval"))}var pa=/<|&#?\w+;/;function qa(a,b,c,d,e){for(var f,g,h,i,j,k,l=b.createDocumentFragment(),m=[],n=0,o=a.length;n<o;n++)if(f=a[n],f||0===f)if("object"===r.type(f))r.merge(m,f.nodeType?[f]:f);else if(pa.test(f)){g=g||l.appendChild(b.createElement("div")),h=(ka.exec(f)||["",""])[1].toLowerCase(),i=ma[h]||ma._default,g.innerHTML=i[1]+r.htmlPrefilter(f)+i[2],k=i[0];while(k--)g=g.lastChild;r.merge(m,g.childNodes),g=l.firstChild,g.textContent=""}else m.push(b.createTextNode(f));l.textContent="",n=0;while(f=m[n++])if(d&&r.inArray(f,d)>-1)e&&e.push(f);else if(j=r.contains(f.ownerDocument,f),g=na(l.appendChild(f),"script"),j&&oa(g),c){k=0;while(f=g[k++])la.test(f.type||"")&&c.push(f)}return l}!function(){var a=d.createDocumentFragment(),b=a.appendChild(d.createElement("div")),c=d.createElement("input");c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),b.appendChild(c),o.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML="<textarea>x</textarea>",o.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var ra=d.documentElement,sa=/^key/,ta=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ua=/^([^.]*)(?:\.(.+)|)/;function va(){return!0}function wa(){return!1}function xa(){try{return d.activeElement}catch(a){}}function ya(a,b,c,d,e,f){var g,h;if("object"==typeof b){"string"!=typeof c&&(d=d||c,c=void 0);for(h in b)ya(a,h,c,d,b[h],f);return a}if(null==d&&null==e?(e=c,d=c=void 0):null==e&&("string"==typeof c?(e=d,d=void 0):(e=d,d=c,c=void 0)),e===!1)e=wa;else if(!e)return a;return 1===f&&(g=e,e=function(a){return r().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=r.guid++)),a.each(function(){r.event.add(this,b,e,d,c)})}r.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=W.get(a);if(q){c.handler&&(f=c,c=f.handler,e=f.selector),e&&r.find.matchesSelector(ra,e),c.guid||(c.guid=r.guid++),(i=q.events)||(i=q.events={}),(g=q.handle)||(g=q.handle=function(b){return"undefined"!=typeof r&&r.event.triggered!==b.type?r.event.dispatch.apply(a,arguments):void 0}),b=(b||"").match(L)||[""],j=b.length;while(j--)h=ua.exec(b[j])||[],n=p=h[1],o=(h[2]||"").split(".").sort(),n&&(l=r.event.special[n]||{},n=(e?l.delegateType:l.bindType)||n,l=r.event.special[n]||{},k=r.extend({type:n,origType:p,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&r.expr.match.needsContext.test(e),namespace:o.join(".")},f),(m=i[n])||(m=i[n]=[],m.delegateCount=0,l.setup&&l.setup.call(a,d,o,g)!==!1||a.addEventListener&&a.addEventListener(n,g)),l.add&&(l.add.call(a,k),k.handler.guid||(k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),r.event.global[n]=!0)}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=W.hasData(a)&&W.get(a);if(q&&(i=q.events)){b=(b||"").match(L)||[""],j=b.length;while(j--)if(h=ua.exec(b[j])||[],n=p=h[1],o=(h[2]||"").split(".").sort(),n){l=r.event.special[n]||{},n=(d?l.delegateType:l.bindType)||n,m=i[n]||[],h=h[2]&&new RegExp("(^|\\.)"+o.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=f=m.length;while(f--)k=m[f],!e&&p!==k.origType||c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&("**"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,o,q.handle)!==!1||r.removeEvent(a,n,q.handle),delete i[n])}else for(n in i)r.event.remove(a,n+b[j],c,d,!0);r.isEmptyObject(i)&&W.remove(a,"handle events")}},dispatch:function(a){var b=r.event.fix(a),c,d,e,f,g,h,i=new Array(arguments.length),j=(W.get(this,"events")||{})[b.type]||[],k=r.event.special[b.type]||{};for(i[0]=b,c=1;c<arguments.length;c++)i[c]=arguments[c];if(b.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,b)!==!1){h=r.event.handlers.call(this,b,j),c=0;while((f=h[c++])&&!b.isPropagationStopped()){b.currentTarget=f.elem,d=0;while((g=f.handlers[d++])&&!b.isImmediatePropagationStopped())b.rnamespace&&!b.rnamespace.test(g.namespace)||(b.handleObj=g,b.data=g.data,e=((r.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i),void 0!==e&&(b.result=e)===!1&&(b.preventDefault(),b.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,b),b.result}},handlers:function(a,b){var c,d,e,f,g,h=[],i=b.delegateCount,j=a.target;if(i&&j.nodeType&&!("click"===a.type&&a.button>=1))for(;j!==this;j=j.parentNode||this)if(1===j.nodeType&&("click"!==a.type||j.disabled!==!0)){for(f=[],g={},c=0;c<i;c++)d=b[c],e=d.selector+" ",void 0===g[e]&&(g[e]=d.needsContext?r(e,this).index(j)>-1:r.find(e,this,null,[j]).length),g[e]&&f.push(d);f.length&&h.push({elem:j,handlers:f})}return j=this,i<b.length&&h.push({elem:j,handlers:b.slice(i)}),h},addProp:function(a,b){Object.defineProperty(r.Event.prototype,a,{enumerable:!0,configurable:!0,get:r.isFunction(b)?function(){if(this.originalEvent)return b(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[a]},set:function(b){Object.defineProperty(this,a,{enumerable:!0,configurable:!0,writable:!0,value:b})}})},fix:function(a){return a[r.expando]?a:new r.Event(a)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==xa()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===xa()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&B(this,"input"))return this.click(),!1},_default:function(a){return B(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}}},r.removeEvent=function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c)},r.Event=function(a,b){return this instanceof r.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&a.returnValue===!1?va:wa,this.target=a.target&&3===a.target.nodeType?a.target.parentNode:a.target,this.currentTarget=a.currentTarget,this.relatedTarget=a.relatedTarget):this.type=a,b&&r.extend(this,b),this.timeStamp=a&&a.timeStamp||r.now(),void(this[r.expando]=!0)):new r.Event(a,b)},r.Event.prototype={constructor:r.Event,isDefaultPrevented:wa,isPropagationStopped:wa,isImmediatePropagationStopped:wa,isSimulated:!1,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=va,a&&!this.isSimulated&&a.preventDefault()},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=va,a&&!this.isSimulated&&a.stopPropagation()},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=va,a&&!this.isSimulated&&a.stopImmediatePropagation(),this.stopPropagation()}},r.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(a){var b=a.button;return null==a.which&&sa.test(a.type)?null!=a.charCode?a.charCode:a.keyCode:!a.which&&void 0!==b&&ta.test(a.type)?1&b?1:2&b?3:4&b?2:0:a.which}},r.event.addProp),r.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){r.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;return e&&(e===d||r.contains(d,e))||(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),r.fn.extend({on:function(a,b,c,d){return ya(this,a,b,c,d)},one:function(a,b,c,d){return ya(this,a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return d=a.handleObj,r(a.delegateTarget).off(d.namespace?d.origType+"."+d.namespace:d.origType,d.selector,d.handler),this;if("object"==typeof a){for(e in a)this.off(e,b,a[e]);return this}return b!==!1&&"function"!=typeof b||(c=b,b=void 0),c===!1&&(c=wa),this.each(function(){r.event.remove(this,a,c,b)})}});var za=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Aa=/<script|<style|<link/i,Ba=/checked\s*(?:[^=]|=\s*.checked.)/i,Ca=/^true\/(.*)/,Da=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Ea(a,b){return B(a,"table")&&B(11!==b.nodeType?b:b.firstChild,"tr")?r(">tbody",a)[0]||a:a}function Fa(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function Ga(a){var b=Ca.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function Ha(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(W.hasData(a)&&(f=W.access(a),g=W.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;c<d;c++)r.event.add(b,e,j[e][c])}X.hasData(a)&&(h=X.access(a),i=r.extend({},h),X.set(b,i))}}function Ia(a,b){var c=b.nodeName.toLowerCase();"input"===c&&ja.test(a.type)?b.checked=a.checked:"input"!==c&&"textarea"!==c||(b.defaultValue=a.defaultValue)}function Ja(a,b,c,d){b=g.apply([],b);var e,f,h,i,j,k,l=0,m=a.length,n=m-1,q=b[0],s=r.isFunction(q);if(s||m>1&&"string"==typeof q&&!o.checkClone&&Ba.test(q))return a.each(function(e){var f=a.eq(e);s&&(b[0]=q.call(this,e,f.html())),Ja(f,b,c,d)});if(m&&(e=qa(b,a[0].ownerDocument,!1,a,d),f=e.firstChild,1===e.childNodes.length&&(e=f),f||d)){for(h=r.map(na(e,"script"),Fa),i=h.length;l<m;l++)j=e,l!==n&&(j=r.clone(j,!0,!0),i&&r.merge(h,na(j,"script"))),c.call(a[l],j,l);if(i)for(k=h[h.length-1].ownerDocument,r.map(h,Ga),l=0;l<i;l++)j=h[l],la.test(j.type||"")&&!W.access(j,"globalEval")&&r.contains(k,j)&&(j.src?r._evalUrl&&r._evalUrl(j.src):p(j.textContent.replace(Da,""),k))}return a}function Ka(a,b,c){for(var d,e=b?r.filter(b,a):a,f=0;null!=(d=e[f]);f++)c||1!==d.nodeType||r.cleanData(na(d)),d.parentNode&&(c&&r.contains(d.ownerDocument,d)&&oa(na(d,"script")),d.parentNode.removeChild(d));return a}r.extend({htmlPrefilter:function(a){return a.replace(za,"<$1></$2>")},clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=r.contains(a.ownerDocument,a);if(!(o.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||r.isXMLDoc(a)))for(g=na(h),f=na(a),d=0,e=f.length;d<e;d++)Ia(f[d],g[d]);if(b)if(c)for(f=f||na(a),g=g||na(h),d=0,e=f.length;d<e;d++)Ha(f[d],g[d]);else Ha(a,h);return g=na(h,"script"),g.length>0&&oa(g,!i&&na(a,"script")),h},cleanData:function(a){for(var b,c,d,e=r.event.special,f=0;void 0!==(c=a[f]);f++)if(U(c)){if(b=c[W.expando]){if(b.events)for(d in b.events)e[d]?r.event.remove(c,d):r.removeEvent(c,d,b.handle);c[W.expando]=void 0}c[X.expando]&&(c[X.expando]=void 0)}}}),r.fn.extend({detach:function(a){return Ka(this,a,!0)},remove:function(a){return Ka(this,a)},text:function(a){return T(this,function(a){return void 0===a?r.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=a)})},null,a,arguments.length)},append:function(){return Ja(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ea(this,a);b.appendChild(a)}})},prepend:function(){return Ja(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ea(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return Ja(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return Ja(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(r.cleanData(na(a,!1)),a.textContent="");return this},clone:function(a,b){return a=null!=a&&a,b=null==b?a:b,this.map(function(){return r.clone(this,a,b)})},html:function(a){return T(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if("string"==typeof a&&!Aa.test(a)&&!ma[(ka.exec(a)||["",""])[1].toLowerCase()]){a=r.htmlPrefilter(a);try{for(;c<d;c++)b=this[c]||{},1===b.nodeType&&(r.cleanData(na(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=[];return Ja(this,arguments,function(b){var c=this.parentNode;r.inArray(this,a)<0&&(r.cleanData(na(this)),c&&c.replaceChild(b,this))},a)}}),r.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){r.fn[a]=function(a){for(var c,d=[],e=r(a),f=e.length-1,g=0;g<=f;g++)c=g===f?this:this.clone(!0),r(e[g])[b](c),h.apply(d,c.get());return this.pushStack(d)}});var La=/^margin/,Ma=new RegExp("^("+aa+")(?!px)[a-z%]+$","i"),Na=function(b){var c=b.ownerDocument.defaultView;return c&&c.opener||(c=a),c.getComputedStyle(b)};!function(){function b(){if(i){i.style.cssText="box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",i.innerHTML="",ra.appendChild(h);var b=a.getComputedStyle(i);c="1%"!==b.top,g="2px"===b.marginLeft,e="4px"===b.width,i.style.marginRight="50%",f="4px"===b.marginRight,ra.removeChild(h),i=null}}var c,e,f,g,h=d.createElement("div"),i=d.createElement("div");i.style&&(i.style.backgroundClip="content-box",i.cloneNode(!0).style.backgroundClip="",o.clearCloneStyle="content-box"===i.style.backgroundClip,h.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",h.appendChild(i),r.extend(o,{pixelPosition:function(){return b(),c},boxSizingReliable:function(){return b(),e},pixelMarginRight:function(){return b(),f},reliableMarginLeft:function(){return b(),g}}))}();function Oa(a,b,c){var d,e,f,g,h=a.style;return c=c||Na(a),c&&(g=c.getPropertyValue(b)||c[b],""!==g||r.contains(a.ownerDocument,a)||(g=r.style(a,b)),!o.pixelMarginRight()&&Ma.test(g)&&La.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f)),void 0!==g?g+"":g}function Pa(a,b){return{get:function(){return a()?void delete this.get:(this.get=b).apply(this,arguments)}}}var Qa=/^(none|table(?!-c[ea]).+)/,Ra=/^--/,Sa={position:"absolute",visibility:"hidden",display:"block"},Ta={letterSpacing:"0",fontWeight:"400"},Ua=["Webkit","Moz","ms"],Va=d.createElement("div").style;function Wa(a){if(a in Va)return a;var b=a[0].toUpperCase()+a.slice(1),c=Ua.length;while(c--)if(a=Ua[c]+b,a in Va)return a}function Xa(a){var b=r.cssProps[a];return b||(b=r.cssProps[a]=Wa(a)||a),b}function Ya(a,b,c){var d=ba.exec(b);return d?Math.max(0,d[2]-(c||0))+(d[3]||"px"):b}function Za(a,b,c,d,e){var f,g=0;for(f=c===(d?"border":"content")?4:"width"===b?1:0;f<4;f+=2)"margin"===c&&(g+=r.css(a,c+ca[f],!0,e)),d?("content"===c&&(g-=r.css(a,"padding"+ca[f],!0,e)),"margin"!==c&&(g-=r.css(a,"border"+ca[f]+"Width",!0,e))):(g+=r.css(a,"padding"+ca[f],!0,e),"padding"!==c&&(g+=r.css(a,"border"+ca[f]+"Width",!0,e)));return g}function $a(a,b,c){var d,e=Na(a),f=Oa(a,b,e),g="border-box"===r.css(a,"boxSizing",!1,e);return Ma.test(f)?f:(d=g&&(o.boxSizingReliable()||f===a.style[b]),"auto"===f&&(f=a["offset"+b[0].toUpperCase()+b.slice(1)]),f=parseFloat(f)||0,f+Za(a,b,c||(g?"border":"content"),d,e)+"px")}r.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=Oa(a,"opacity");return""===c?"1":c}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=r.camelCase(b),i=Ra.test(b),j=a.style;return i||(b=Xa(h)),g=r.cssHooks[b]||r.cssHooks[h],void 0===c?g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:j[b]:(f=typeof c,"string"===f&&(e=ba.exec(c))&&e[1]&&(c=fa(a,b,e),f="number"),null!=c&&c===c&&("number"===f&&(c+=e&&e[3]||(r.cssNumber[h]?"":"px")),o.clearCloneStyle||""!==c||0!==b.indexOf("background")||(j[b]="inherit"),g&&"set"in g&&void 0===(c=g.set(a,c,d))||(i?j.setProperty(b,c):j[b]=c)),void 0)}},css:function(a,b,c,d){var e,f,g,h=r.camelCase(b),i=Ra.test(b);return i||(b=Xa(h)),g=r.cssHooks[b]||r.cssHooks[h],g&&"get"in g&&(e=g.get(a,!0,c)),void 0===e&&(e=Oa(a,b,d)),"normal"===e&&b in Ta&&(e=Ta[b]),""===c||c?(f=parseFloat(e),c===!0||isFinite(f)?f||0:e):e}}),r.each(["height","width"],function(a,b){r.cssHooks[b]={get:function(a,c,d){if(c)return!Qa.test(r.css(a,"display"))||a.getClientRects().length&&a.getBoundingClientRect().width?$a(a,b,d):ea(a,Sa,function(){return $a(a,b,d)})},set:function(a,c,d){var e,f=d&&Na(a),g=d&&Za(a,b,d,"border-box"===r.css(a,"boxSizing",!1,f),f);return g&&(e=ba.exec(c))&&"px"!==(e[3]||"px")&&(a.style[b]=c,c=r.css(a,b)),Ya(a,c,g)}}}),r.cssHooks.marginLeft=Pa(o.reliableMarginLeft,function(a,b){if(b)return(parseFloat(Oa(a,"marginLeft"))||a.getBoundingClientRect().left-ea(a,{marginLeft:0},function(){return a.getBoundingClientRect().left}))+"px"}),r.each({margin:"",padding:"",border:"Width"},function(a,b){r.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];d<4;d++)e[a+ca[d]+b]=f[d]||f[d-2]||f[0];return e}},La.test(a)||(r.cssHooks[a+b].set=Ya)}),r.fn.extend({css:function(a,b){return T(this,function(a,b,c){var d,e,f={},g=0;if(Array.isArray(b)){for(d=Na(a),e=b.length;g<e;g++)f[b[g]]=r.css(a,b[g],!1,d);return f}return void 0!==c?r.style(a,b,c):r.css(a,b)},a,b,arguments.length>1)}});function _a(a,b,c,d,e){return new _a.prototype.init(a,b,c,d,e)}r.Tween=_a,_a.prototype={constructor:_a,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||r.easing._default,this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(r.cssNumber[c]?"":"px")},cur:function(){var a=_a.propHooks[this.prop];return a&&a.get?a.get(this):_a.propHooks._default.get(this)},run:function(a){var b,c=_a.propHooks[this.prop];return this.options.duration?this.pos=b=r.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):this.pos=b=a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):_a.propHooks._default.set(this),this}},_a.prototype.init.prototype=_a.prototype,_a.propHooks={_default:{get:function(a){var b;return 1!==a.elem.nodeType||null!=a.elem[a.prop]&&null==a.elem.style[a.prop]?a.elem[a.prop]:(b=r.css(a.elem,a.prop,""),b&&"auto"!==b?b:0)},set:function(a){r.fx.step[a.prop]?r.fx.step[a.prop](a):1!==a.elem.nodeType||null==a.elem.style[r.cssProps[a.prop]]&&!r.cssHooks[a.prop]?a.elem[a.prop]=a.now:r.style(a.elem,a.prop,a.now+a.unit)}}},_a.propHooks.scrollTop=_a.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},r.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2},_default:"swing"},r.fx=_a.prototype.init,r.fx.step={};var ab,bb,cb=/^(?:toggle|show|hide)$/,db=/queueHooks$/;function eb(){bb&&(d.hidden===!1&&a.requestAnimationFrame?a.requestAnimationFrame(eb):a.setTimeout(eb,r.fx.interval),r.fx.tick())}function fb(){return a.setTimeout(function(){ab=void 0}),ab=r.now()}function gb(a,b){var c,d=0,e={height:a};for(b=b?1:0;d<4;d+=2-b)c=ca[d],e["margin"+c]=e["padding"+c]=a;return b&&(e.opacity=e.width=a),e}function hb(a,b,c){for(var d,e=(kb.tweeners[b]||[]).concat(kb.tweeners["*"]),f=0,g=e.length;f<g;f++)if(d=e[f].call(c,b,a))return d}function ib(a,b,c){var d,e,f,g,h,i,j,k,l="width"in b||"height"in b,m=this,n={},o=a.style,p=a.nodeType&&da(a),q=W.get(a,"fxshow");c.queue||(g=r._queueHooks(a,"fx"),null==g.unqueued&&(g.unqueued=0,h=g.empty.fire,g.empty.fire=function(){g.unqueued||h()}),g.unqueued++,m.always(function(){m.always(function(){g.unqueued--,r.queue(a,"fx").length||g.empty.fire()})}));for(d in b)if(e=b[d],cb.test(e)){if(delete b[d],f=f||"toggle"===e,e===(p?"hide":"show")){if("show"!==e||!q||void 0===q[d])continue;p=!0}n[d]=q&&q[d]||r.style(a,d)}if(i=!r.isEmptyObject(b),i||!r.isEmptyObject(n)){l&&1===a.nodeType&&(c.overflow=[o.overflow,o.overflowX,o.overflowY],j=q&&q.display,null==j&&(j=W.get(a,"display")),k=r.css(a,"display"),"none"===k&&(j?k=j:(ia([a],!0),j=a.style.display||j,k=r.css(a,"display"),ia([a]))),("inline"===k||"inline-block"===k&&null!=j)&&"none"===r.css(a,"float")&&(i||(m.done(function(){o.display=j}),null==j&&(k=o.display,j="none"===k?"":k)),o.display="inline-block")),c.overflow&&(o.overflow="hidden",m.always(function(){o.overflow=c.overflow[0],o.overflowX=c.overflow[1],o.overflowY=c.overflow[2]})),i=!1;for(d in n)i||(q?"hidden"in q&&(p=q.hidden):q=W.access(a,"fxshow",{display:j}),f&&(q.hidden=!p),p&&ia([a],!0),m.done(function(){p||ia([a]),W.remove(a,"fxshow");for(d in n)r.style(a,d,n[d])})),i=hb(p?q[d]:0,d,m),d in q||(q[d]=i.start,p&&(i.end=i.start,i.start=0))}}function jb(a,b){var c,d,e,f,g;for(c in a)if(d=r.camelCase(c),e=b[d],f=a[c],Array.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=r.cssHooks[d],g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function kb(a,b,c){var d,e,f=0,g=kb.prefilters.length,h=r.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=ab||fb(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;g<i;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),f<1&&i?c:(i||h.notifyWith(a,[j,1,0]),h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:r.extend({},b),opts:r.extend(!0,{specialEasing:{},easing:r.easing._default},c),originalProperties:b,originalOptions:c,startTime:ab||fb(),duration:c.duration,tweens:[],createTween:function(b,c){var d=r.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(d),d},stop:function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;for(e=!0;c<d;c++)j.tweens[c].run(1);return b?(h.notifyWith(a,[j,1,0]),h.resolveWith(a,[j,b])):h.rejectWith(a,[j,b]),this}}),k=j.props;for(jb(k,j.opts.specialEasing);f<g;f++)if(d=kb.prefilters[f].call(j,a,k,j.opts))return r.isFunction(d.stop)&&(r._queueHooks(j.elem,j.opts.queue).stop=r.proxy(d.stop,d)),d;return r.map(k,hb,j),r.isFunction(j.opts.start)&&j.opts.start.call(a,j),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always),r.fx.timer(r.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j}r.Animation=r.extend(kb,{tweeners:{"*":[function(a,b){var c=this.createTween(a,b);return fa(c.elem,a,ba.exec(b),c),c}]},tweener:function(a,b){r.isFunction(a)?(b=a,a=["*"]):a=a.match(L);for(var c,d=0,e=a.length;d<e;d++)c=a[d],kb.tweeners[c]=kb.tweeners[c]||[],kb.tweeners[c].unshift(b)},prefilters:[ib],prefilter:function(a,b){b?kb.prefilters.unshift(a):kb.prefilters.push(a)}}),r.speed=function(a,b,c){var d=a&&"object"==typeof a?r.extend({},a):{complete:c||!c&&b||r.isFunction(a)&&a,duration:a,easing:c&&b||b&&!r.isFunction(b)&&b};return r.fx.off?d.duration=0:"number"!=typeof d.duration&&(d.duration in r.fx.speeds?d.duration=r.fx.speeds[d.duration]:d.duration=r.fx.speeds._default),null!=d.queue&&d.queue!==!0||(d.queue="fx"),d.old=d.complete,d.complete=function(){r.isFunction(d.old)&&d.old.call(this),d.queue&&r.dequeue(this,d.queue)},d},r.fn.extend({fadeTo:function(a,b,c,d){return this.filter(da).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=r.isEmptyObject(a),f=r.speed(b,c,d),g=function(){var b=kb(this,r.extend({},a),f);(e||W.get(this,"finish"))&&b.stop(!0)};return g.finish=g,e||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(a,b,c){var d=function(a){var b=a.stop;delete a.stop,b(c)};return"string"!=typeof a&&(c=b,b=a,a=void 0),b&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var b=!0,e=null!=a&&a+"queueHooks",f=r.timers,g=W.get(this);if(e)g[e]&&g[e].stop&&d(g[e]);else for(e in g)g[e]&&g[e].stop&&db.test(e)&&d(g[e]);for(e=f.length;e--;)f[e].elem!==this||null!=a&&f[e].queue!==a||(f[e].anim.stop(c),b=!1,f.splice(e,1));!b&&c||r.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var b,c=W.get(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=r.timers,g=d?d.length:0;for(c.finish=!0,r.queue(this,a,[]),e&&e.stop&&e.stop.call(this,!0),b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;b<g;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),r.each(["toggle","show","hide"],function(a,b){var c=r.fn[b];r.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(gb(b,!0),a,d,e)}}),r.each({slideDown:gb("show"),slideUp:gb("hide"),slideToggle:gb("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){r.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),r.timers=[],r.fx.tick=function(){var a,b=0,c=r.timers;for(ab=r.now();b<c.length;b++)a=c[b],a()||c[b]!==a||c.splice(b--,1);c.length||r.fx.stop(),ab=void 0},r.fx.timer=function(a){r.timers.push(a),r.fx.start()},r.fx.interval=13,r.fx.start=function(){bb||(bb=!0,eb())},r.fx.stop=function(){bb=null},r.fx.speeds={slow:600,fast:200,_default:400},r.fn.delay=function(b,c){return b=r.fx?r.fx.speeds[b]||b:b,c=c||"fx",this.queue(c,function(c,d){var e=a.setTimeout(c,b);d.stop=function(){a.clearTimeout(e)}})},function(){var a=d.createElement("input"),b=d.createElement("select"),c=b.appendChild(d.createElement("option"));a.type="checkbox",o.checkOn=""!==a.value,o.optSelected=c.selected,a=d.createElement("input"),a.value="t",a.type="radio",o.radioValue="t"===a.value}();var lb,mb=r.expr.attrHandle;r.fn.extend({attr:function(a,b){return T(this,r.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){r.removeAttr(this,a)})}}),r.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return"undefined"==typeof a.getAttribute?r.prop(a,b,c):(1===f&&r.isXMLDoc(a)||(e=r.attrHooks[b.toLowerCase()]||(r.expr.match.bool.test(b)?lb:void 0)),void 0!==c?null===c?void r.removeAttr(a,b):e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:(a.setAttribute(b,c+""),c):e&&"get"in e&&null!==(d=e.get(a,b))?d:(d=r.find.attr(a,b), +null==d?void 0:d))},attrHooks:{type:{set:function(a,b){if(!o.radioValue&&"radio"===b&&B(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}},removeAttr:function(a,b){var c,d=0,e=b&&b.match(L);if(e&&1===a.nodeType)while(c=e[d++])a.removeAttribute(c)}}),lb={set:function(a,b,c){return b===!1?r.removeAttr(a,c):a.setAttribute(c,c),c}},r.each(r.expr.match.bool.source.match(/\w+/g),function(a,b){var c=mb[b]||r.find.attr;mb[b]=function(a,b,d){var e,f,g=b.toLowerCase();return d||(f=mb[g],mb[g]=e,e=null!=c(a,b,d)?g:null,mb[g]=f),e}});var nb=/^(?:input|select|textarea|button)$/i,ob=/^(?:a|area)$/i;r.fn.extend({prop:function(a,b){return T(this,r.prop,a,b,arguments.length>1)},removeProp:function(a){return this.each(function(){delete this[r.propFix[a]||a]})}}),r.extend({prop:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return 1===f&&r.isXMLDoc(a)||(b=r.propFix[b]||b,e=r.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){var b=r.find.attr(a,"tabindex");return b?parseInt(b,10):nb.test(a.nodeName)||ob.test(a.nodeName)&&a.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),o.optSelected||(r.propHooks.selected={get:function(a){var b=a.parentNode;return b&&b.parentNode&&b.parentNode.selectedIndex,null},set:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}}),r.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){r.propFix[this.toLowerCase()]=this});function pb(a){var b=a.match(L)||[];return b.join(" ")}function qb(a){return a.getAttribute&&a.getAttribute("class")||""}r.fn.extend({addClass:function(a){var b,c,d,e,f,g,h,i=0;if(r.isFunction(a))return this.each(function(b){r(this).addClass(a.call(this,b,qb(this)))});if("string"==typeof a&&a){b=a.match(L)||[];while(c=this[i++])if(e=qb(c),d=1===c.nodeType&&" "+pb(e)+" "){g=0;while(f=b[g++])d.indexOf(" "+f+" ")<0&&(d+=f+" ");h=pb(d),e!==h&&c.setAttribute("class",h)}}return this},removeClass:function(a){var b,c,d,e,f,g,h,i=0;if(r.isFunction(a))return this.each(function(b){r(this).removeClass(a.call(this,b,qb(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof a&&a){b=a.match(L)||[];while(c=this[i++])if(e=qb(c),d=1===c.nodeType&&" "+pb(e)+" "){g=0;while(f=b[g++])while(d.indexOf(" "+f+" ")>-1)d=d.replace(" "+f+" "," ");h=pb(d),e!==h&&c.setAttribute("class",h)}}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):r.isFunction(a)?this.each(function(c){r(this).toggleClass(a.call(this,c,qb(this),b),b)}):this.each(function(){var b,d,e,f;if("string"===c){d=0,e=r(this),f=a.match(L)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else void 0!==a&&"boolean"!==c||(b=qb(this),b&&W.set(this,"__className__",b),this.setAttribute&&this.setAttribute("class",b||a===!1?"":W.get(this,"__className__")||""))})},hasClass:function(a){var b,c,d=0;b=" "+a+" ";while(c=this[d++])if(1===c.nodeType&&(" "+pb(qb(c))+" ").indexOf(b)>-1)return!0;return!1}});var rb=/\r/g;r.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=r.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,r(this).val()):a,null==e?e="":"number"==typeof e?e+="":Array.isArray(e)&&(e=r.map(e,function(a){return null==a?"":a+""})),b=r.valHooks[this.type]||r.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=r.valHooks[e.type]||r.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(rb,""):null==c?"":c)}}}),r.extend({valHooks:{option:{get:function(a){var b=r.find.attr(a,"value");return null!=b?b:pb(r.text(a))}},select:{get:function(a){var b,c,d,e=a.options,f=a.selectedIndex,g="select-one"===a.type,h=g?null:[],i=g?f+1:e.length;for(d=f<0?i:g?f:0;d<i;d++)if(c=e[d],(c.selected||d===f)&&!c.disabled&&(!c.parentNode.disabled||!B(c.parentNode,"optgroup"))){if(b=r(c).val(),g)return b;h.push(b)}return h},set:function(a,b){var c,d,e=a.options,f=r.makeArray(b),g=e.length;while(g--)d=e[g],(d.selected=r.inArray(r.valHooks.option.get(d),f)>-1)&&(c=!0);return c||(a.selectedIndex=-1),f}}}}),r.each(["radio","checkbox"],function(){r.valHooks[this]={set:function(a,b){if(Array.isArray(b))return a.checked=r.inArray(r(a).val(),b)>-1}},o.checkOn||(r.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var sb=/^(?:focusinfocus|focusoutblur)$/;r.extend(r.event,{trigger:function(b,c,e,f){var g,h,i,j,k,m,n,o=[e||d],p=l.call(b,"type")?b.type:b,q=l.call(b,"namespace")?b.namespace.split("."):[];if(h=i=e=e||d,3!==e.nodeType&&8!==e.nodeType&&!sb.test(p+r.event.triggered)&&(p.indexOf(".")>-1&&(q=p.split("."),p=q.shift(),q.sort()),k=p.indexOf(":")<0&&"on"+p,b=b[r.expando]?b:new r.Event(p,"object"==typeof b&&b),b.isTrigger=f?2:3,b.namespace=q.join("."),b.rnamespace=b.namespace?new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=e),c=null==c?[b]:r.makeArray(c,[b]),n=r.event.special[p]||{},f||!n.trigger||n.trigger.apply(e,c)!==!1)){if(!f&&!n.noBubble&&!r.isWindow(e)){for(j=n.delegateType||p,sb.test(j+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),i=h;i===(e.ownerDocument||d)&&o.push(i.defaultView||i.parentWindow||a)}g=0;while((h=o[g++])&&!b.isPropagationStopped())b.type=g>1?j:n.bindType||p,m=(W.get(h,"events")||{})[b.type]&&W.get(h,"handle"),m&&m.apply(h,c),m=k&&h[k],m&&m.apply&&U(h)&&(b.result=m.apply(h,c),b.result===!1&&b.preventDefault());return b.type=p,f||b.isDefaultPrevented()||n._default&&n._default.apply(o.pop(),c)!==!1||!U(e)||k&&r.isFunction(e[p])&&!r.isWindow(e)&&(i=e[k],i&&(e[k]=null),r.event.triggered=p,e[p](),r.event.triggered=void 0,i&&(e[k]=i)),b.result}},simulate:function(a,b,c){var d=r.extend(new r.Event,c,{type:a,isSimulated:!0});r.event.trigger(d,null,b)}}),r.fn.extend({trigger:function(a,b){return this.each(function(){r.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];if(c)return r.event.trigger(a,b,c,!0)}}),r.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(a,b){r.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),r.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),o.focusin="onfocusin"in a,o.focusin||r.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){r.event.simulate(b,a.target,r.event.fix(a))};r.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=W.access(d,b);e||d.addEventListener(a,c,!0),W.access(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=W.access(d,b)-1;e?W.access(d,b,e):(d.removeEventListener(a,c,!0),W.remove(d,b))}}});var tb=a.location,ub=r.now(),vb=/\?/;r.parseXML=function(b){var c;if(!b||"string"!=typeof b)return null;try{c=(new a.DOMParser).parseFromString(b,"text/xml")}catch(d){c=void 0}return c&&!c.getElementsByTagName("parsererror").length||r.error("Invalid XML: "+b),c};var wb=/\[\]$/,xb=/\r?\n/g,yb=/^(?:submit|button|image|reset|file)$/i,zb=/^(?:input|select|textarea|keygen)/i;function Ab(a,b,c,d){var e;if(Array.isArray(b))r.each(b,function(b,e){c||wb.test(a)?d(a,e):Ab(a+"["+("object"==typeof e&&null!=e?b:"")+"]",e,c,d)});else if(c||"object"!==r.type(b))d(a,b);else for(e in b)Ab(a+"["+e+"]",b[e],c,d)}r.param=function(a,b){var c,d=[],e=function(a,b){var c=r.isFunction(b)?b():b;d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(null==c?"":c)};if(Array.isArray(a)||a.jquery&&!r.isPlainObject(a))r.each(a,function(){e(this.name,this.value)});else for(c in a)Ab(c,a[c],b,e);return d.join("&")},r.fn.extend({serialize:function(){return r.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=r.prop(this,"elements");return a?r.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!r(this).is(":disabled")&&zb.test(this.nodeName)&&!yb.test(a)&&(this.checked||!ja.test(a))}).map(function(a,b){var c=r(this).val();return null==c?null:Array.isArray(c)?r.map(c,function(a){return{name:b.name,value:a.replace(xb,"\r\n")}}):{name:b.name,value:c.replace(xb,"\r\n")}}).get()}});var Bb=/%20/g,Cb=/#.*$/,Db=/([?&])_=[^&]*/,Eb=/^(.*?):[ \t]*([^\r\n]*)$/gm,Fb=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Gb=/^(?:GET|HEAD)$/,Hb=/^\/\//,Ib={},Jb={},Kb="*/".concat("*"),Lb=d.createElement("a");Lb.href=tb.href;function Mb(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(L)||[];if(r.isFunction(c))while(d=f[e++])"+"===d[0]?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function Nb(a,b,c,d){var e={},f=a===Jb;function g(h){var i;return e[h]=!0,r.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e["*"]&&g("*")}function Ob(a,b){var c,d,e=r.ajaxSettings.flatOptions||{};for(c in b)void 0!==b[c]&&((e[c]?a:d||(d={}))[c]=b[c]);return d&&r.extend(!0,a,d),a}function Pb(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===d&&(d=a.mimeType||b.getResponseHeader("Content-Type"));if(d)for(e in h)if(h[e]&&h[e].test(d)){i.unshift(e);break}if(i[0]in c)f=i[0];else{for(e in c){if(!i[0]||a.converters[e+" "+i[0]]){f=e;break}g||(g=e)}f=f||g}if(f)return f!==i[0]&&i.unshift(f),c[f]}function Qb(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else if("*"!==i&&i!==f){if(g=j[i+" "+f]||j["* "+f],!g)for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==!0)if(g&&a["throws"])b=g(b);else try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from "+i+" to "+f}}}return{state:"success",data:b}}r.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:tb.href,type:"GET",isLocal:Fb.test(tb.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Kb,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":r.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?Ob(Ob(a,r.ajaxSettings),b):Ob(r.ajaxSettings,a)},ajaxPrefilter:Mb(Ib),ajaxTransport:Mb(Jb),ajax:function(b,c){"object"==typeof b&&(c=b,b=void 0),c=c||{};var e,f,g,h,i,j,k,l,m,n,o=r.ajaxSetup({},c),p=o.context||o,q=o.context&&(p.nodeType||p.jquery)?r(p):r.event,s=r.Deferred(),t=r.Callbacks("once memory"),u=o.statusCode||{},v={},w={},x="canceled",y={readyState:0,getResponseHeader:function(a){var b;if(k){if(!h){h={};while(b=Eb.exec(g))h[b[1].toLowerCase()]=b[2]}b=h[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return k?g:null},setRequestHeader:function(a,b){return null==k&&(a=w[a.toLowerCase()]=w[a.toLowerCase()]||a,v[a]=b),this},overrideMimeType:function(a){return null==k&&(o.mimeType=a),this},statusCode:function(a){var b;if(a)if(k)y.always(a[y.status]);else for(b in a)u[b]=[u[b],a[b]];return this},abort:function(a){var b=a||x;return e&&e.abort(b),A(0,b),this}};if(s.promise(y),o.url=((b||o.url||tb.href)+"").replace(Hb,tb.protocol+"//"),o.type=c.method||c.type||o.method||o.type,o.dataTypes=(o.dataType||"*").toLowerCase().match(L)||[""],null==o.crossDomain){j=d.createElement("a");try{j.href=o.url,j.href=j.href,o.crossDomain=Lb.protocol+"//"+Lb.host!=j.protocol+"//"+j.host}catch(z){o.crossDomain=!0}}if(o.data&&o.processData&&"string"!=typeof o.data&&(o.data=r.param(o.data,o.traditional)),Nb(Ib,o,c,y),k)return y;l=r.event&&o.global,l&&0===r.active++&&r.event.trigger("ajaxStart"),o.type=o.type.toUpperCase(),o.hasContent=!Gb.test(o.type),f=o.url.replace(Cb,""),o.hasContent?o.data&&o.processData&&0===(o.contentType||"").indexOf("application/x-www-form-urlencoded")&&(o.data=o.data.replace(Bb,"+")):(n=o.url.slice(f.length),o.data&&(f+=(vb.test(f)?"&":"?")+o.data,delete o.data),o.cache===!1&&(f=f.replace(Db,"$1"),n=(vb.test(f)?"&":"?")+"_="+ub++ +n),o.url=f+n),o.ifModified&&(r.lastModified[f]&&y.setRequestHeader("If-Modified-Since",r.lastModified[f]),r.etag[f]&&y.setRequestHeader("If-None-Match",r.etag[f])),(o.data&&o.hasContent&&o.contentType!==!1||c.contentType)&&y.setRequestHeader("Content-Type",o.contentType),y.setRequestHeader("Accept",o.dataTypes[0]&&o.accepts[o.dataTypes[0]]?o.accepts[o.dataTypes[0]]+("*"!==o.dataTypes[0]?", "+Kb+"; q=0.01":""):o.accepts["*"]);for(m in o.headers)y.setRequestHeader(m,o.headers[m]);if(o.beforeSend&&(o.beforeSend.call(p,y,o)===!1||k))return y.abort();if(x="abort",t.add(o.complete),y.done(o.success),y.fail(o.error),e=Nb(Jb,o,c,y)){if(y.readyState=1,l&&q.trigger("ajaxSend",[y,o]),k)return y;o.async&&o.timeout>0&&(i=a.setTimeout(function(){y.abort("timeout")},o.timeout));try{k=!1,e.send(v,A)}catch(z){if(k)throw z;A(-1,z)}}else A(-1,"No Transport");function A(b,c,d,h){var j,m,n,v,w,x=c;k||(k=!0,i&&a.clearTimeout(i),e=void 0,g=h||"",y.readyState=b>0?4:0,j=b>=200&&b<300||304===b,d&&(v=Pb(o,y,d)),v=Qb(o,v,y,j),j?(o.ifModified&&(w=y.getResponseHeader("Last-Modified"),w&&(r.lastModified[f]=w),w=y.getResponseHeader("etag"),w&&(r.etag[f]=w)),204===b||"HEAD"===o.type?x="nocontent":304===b?x="notmodified":(x=v.state,m=v.data,n=v.error,j=!n)):(n=x,!b&&x||(x="error",b<0&&(b=0))),y.status=b,y.statusText=(c||x)+"",j?s.resolveWith(p,[m,x,y]):s.rejectWith(p,[y,x,n]),y.statusCode(u),u=void 0,l&&q.trigger(j?"ajaxSuccess":"ajaxError",[y,o,j?m:n]),t.fireWith(p,[y,x]),l&&(q.trigger("ajaxComplete",[y,o]),--r.active||r.event.trigger("ajaxStop")))}return y},getJSON:function(a,b,c){return r.get(a,b,c,"json")},getScript:function(a,b){return r.get(a,void 0,b,"script")}}),r.each(["get","post"],function(a,b){r[b]=function(a,c,d,e){return r.isFunction(c)&&(e=e||d,d=c,c=void 0),r.ajax(r.extend({url:a,type:b,dataType:e,data:c,success:d},r.isPlainObject(a)&&a))}}),r._evalUrl=function(a){return r.ajax({url:a,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},r.fn.extend({wrapAll:function(a){var b;return this[0]&&(r.isFunction(a)&&(a=a.call(this[0])),b=r(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstElementChild)a=a.firstElementChild;return a}).append(this)),this},wrapInner:function(a){return r.isFunction(a)?this.each(function(b){r(this).wrapInner(a.call(this,b))}):this.each(function(){var b=r(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=r.isFunction(a);return this.each(function(c){r(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(a){return this.parent(a).not("body").each(function(){r(this).replaceWith(this.childNodes)}),this}}),r.expr.pseudos.hidden=function(a){return!r.expr.pseudos.visible(a)},r.expr.pseudos.visible=function(a){return!!(a.offsetWidth||a.offsetHeight||a.getClientRects().length)},r.ajaxSettings.xhr=function(){try{return new a.XMLHttpRequest}catch(b){}};var Rb={0:200,1223:204},Sb=r.ajaxSettings.xhr();o.cors=!!Sb&&"withCredentials"in Sb,o.ajax=Sb=!!Sb,r.ajaxTransport(function(b){var c,d;if(o.cors||Sb&&!b.crossDomain)return{send:function(e,f){var g,h=b.xhr();if(h.open(b.type,b.url,b.async,b.username,b.password),b.xhrFields)for(g in b.xhrFields)h[g]=b.xhrFields[g];b.mimeType&&h.overrideMimeType&&h.overrideMimeType(b.mimeType),b.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest");for(g in e)h.setRequestHeader(g,e[g]);c=function(a){return function(){c&&(c=d=h.onload=h.onerror=h.onabort=h.onreadystatechange=null,"abort"===a?h.abort():"error"===a?"number"!=typeof h.status?f(0,"error"):f(h.status,h.statusText):f(Rb[h.status]||h.status,h.statusText,"text"!==(h.responseType||"text")||"string"!=typeof h.responseText?{binary:h.response}:{text:h.responseText},h.getAllResponseHeaders()))}},h.onload=c(),d=h.onerror=c("error"),void 0!==h.onabort?h.onabort=d:h.onreadystatechange=function(){4===h.readyState&&a.setTimeout(function(){c&&d()})},c=c("abort");try{h.send(b.hasContent&&b.data||null)}catch(i){if(c)throw i}},abort:function(){c&&c()}}}),r.ajaxPrefilter(function(a){a.crossDomain&&(a.contents.script=!1)}),r.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(a){return r.globalEval(a),a}}}),r.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET")}),r.ajaxTransport("script",function(a){if(a.crossDomain){var b,c;return{send:function(e,f){b=r("<script>").prop({charset:a.scriptCharset,src:a.url}).on("load error",c=function(a){b.remove(),c=null,a&&f("error"===a.type?404:200,a.type)}),d.head.appendChild(b[0])},abort:function(){c&&c()}}}});var Tb=[],Ub=/(=)\?(?=&|$)|\?\?/;r.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=Tb.pop()||r.expando+"_"+ub++;return this[a]=!0,a}}),r.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=b.jsonp!==!1&&(Ub.test(b.url)?"url":"string"==typeof b.data&&0===(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ub.test(b.data)&&"data");if(h||"jsonp"===b.dataTypes[0])return e=b.jsonpCallback=r.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(Ub,"$1"+e):b.jsonp!==!1&&(b.url+=(vb.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){return g||r.error(e+" was not called"),g[0]},b.dataTypes[0]="json",f=a[e],a[e]=function(){g=arguments},d.always(function(){void 0===f?r(a).removeProp(e):a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,Tb.push(e)),g&&r.isFunction(f)&&f(g[0]),g=f=void 0}),"script"}),o.createHTMLDocument=function(){var a=d.implementation.createHTMLDocument("").body;return a.innerHTML="<form></form><form></form>",2===a.childNodes.length}(),r.parseHTML=function(a,b,c){if("string"!=typeof a)return[];"boolean"==typeof b&&(c=b,b=!1);var e,f,g;return b||(o.createHTMLDocument?(b=d.implementation.createHTMLDocument(""),e=b.createElement("base"),e.href=d.location.href,b.head.appendChild(e)):b=d),f=C.exec(a),g=!c&&[],f?[b.createElement(f[1])]:(f=qa([a],b,g),g&&g.length&&r(g).remove(),r.merge([],f.childNodes))},r.fn.load=function(a,b,c){var d,e,f,g=this,h=a.indexOf(" ");return h>-1&&(d=pb(a.slice(h)),a=a.slice(0,h)),r.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(e="POST"),g.length>0&&r.ajax({url:a,type:e||"GET",dataType:"html",data:b}).done(function(a){f=arguments,g.html(d?r("<div>").append(r.parseHTML(a)).find(d):a)}).always(c&&function(a,b){g.each(function(){c.apply(this,f||[a.responseText,b,a])})}),this},r.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){r.fn[b]=function(a){return this.on(b,a)}}),r.expr.pseudos.animated=function(a){return r.grep(r.timers,function(b){return a===b.elem}).length},r.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=r.css(a,"position"),l=r(a),m={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=r.css(a,"top"),i=r.css(a,"left"),j=("absolute"===k||"fixed"===k)&&(f+i).indexOf("auto")>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),r.isFunction(b)&&(b=b.call(a,c,r.extend({},h))),null!=b.top&&(m.top=b.top-h.top+g),null!=b.left&&(m.left=b.left-h.left+e),"using"in b?b.using.call(a,m):l.css(m)}},r.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){r.offset.setOffset(this,a,b)});var b,c,d,e,f=this[0];if(f)return f.getClientRects().length?(d=f.getBoundingClientRect(),b=f.ownerDocument,c=b.documentElement,e=b.defaultView,{top:d.top+e.pageYOffset-c.clientTop,left:d.left+e.pageXOffset-c.clientLeft}):{top:0,left:0}},position:function(){if(this[0]){var a,b,c=this[0],d={top:0,left:0};return"fixed"===r.css(c,"position")?b=c.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),B(a[0],"html")||(d=a.offset()),d={top:d.top+r.css(a[0],"borderTopWidth",!0),left:d.left+r.css(a[0],"borderLeftWidth",!0)}),{top:b.top-d.top-r.css(c,"marginTop",!0),left:b.left-d.left-r.css(c,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent;while(a&&"static"===r.css(a,"position"))a=a.offsetParent;return a||ra})}}),r.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c="pageYOffset"===b;r.fn[a]=function(d){return T(this,function(a,d,e){var f;return r.isWindow(a)?f=a:9===a.nodeType&&(f=a.defaultView),void 0===e?f?f[b]:a[d]:void(f?f.scrollTo(c?f.pageXOffset:e,c?e:f.pageYOffset):a[d]=e)},a,d,arguments.length)}}),r.each(["top","left"],function(a,b){r.cssHooks[b]=Pa(o.pixelPosition,function(a,c){if(c)return c=Oa(a,b),Ma.test(c)?r(a).position()[b]+"px":c})}),r.each({Height:"height",Width:"width"},function(a,b){r.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){r.fn[d]=function(e,f){var g=arguments.length&&(c||"boolean"!=typeof e),h=c||(e===!0||f===!0?"margin":"border");return T(this,function(b,c,e){var f;return r.isWindow(b)?0===d.indexOf("outer")?b["inner"+a]:b.document.documentElement["client"+a]:9===b.nodeType?(f=b.documentElement,Math.max(b.body["scroll"+a],f["scroll"+a],b.body["offset"+a],f["offset"+a],f["client"+a])):void 0===e?r.css(b,c,h):r.style(b,c,e,h)},b,g?e:void 0,g)}})}),r.fn.extend({bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)}}),r.holdReady=function(a){a?r.readyWait++:r.ready(!0)},r.isArray=Array.isArray,r.parseJSON=JSON.parse,r.nodeName=B,"function"==typeof define&&define.amd&&define("jquery",[],function(){return r});var Vb=a.jQuery,Wb=a.$;return r.noConflict=function(b){return a.$===r&&(a.$=Wb),b&&a.jQuery===r&&(a.jQuery=Vb),r},b||(a.jQuery=a.$=r),r}); diff --git a/themes/even/static/lib/slideout/slideout-1.0.1.min.js b/themes/even/static/lib/slideout/slideout-1.0.1.min.js new file mode 100644 index 0000000..30a90fb --- /dev/null +++ b/themes/even/static/lib/slideout/slideout-1.0.1.min.js @@ -0,0 +1 @@ +!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e;"undefined"!=typeof window?e=window:"undefined"!=typeof global?e=global:"undefined"!=typeof self&&(e=self),e.Slideout=t()}}(function(){var t,e,n;return function i(t,e,n){function o(r,a){if(!e[r]){if(!t[r]){var u=typeof require=="function"&&require;if(!a&&u)return u(r,!0);if(s)return s(r,!0);var l=new Error("Cannot find module '"+r+"'");throw l.code="MODULE_NOT_FOUND",l}var f=e[r]={exports:{}};t[r][0].call(f.exports,function(e){var n=t[r][1][e];return o(n?n:e)},f,f.exports,i,t,e,n)}return e[r].exports}var s=typeof require=="function"&&require;for(var r=0;r<n.length;r++)o(n[r]);return o}({1:[function(t,e,n){"use strict";var i=t("decouple");var o=t("emitter");var s;var r=false;var a=window.document;var u=a.documentElement;var l=window.navigator.msPointerEnabled;var f={start:l?"MSPointerDown":"touchstart",move:l?"MSPointerMove":"touchmove",end:l?"MSPointerUp":"touchend"};var h=function v(){var t=/^(Webkit|Khtml|Moz|ms|O)(?=[A-Z])/;var e=a.getElementsByTagName("script")[0].style;for(var n in e){if(t.test(n)){return"-"+n.match(t)[0].toLowerCase()+"-"}}if("WebkitOpacity"in e){return"-webkit-"}if("KhtmlOpacity"in e){return"-khtml-"}return""}();function c(t,e){for(var n in e){if(e[n]){t[n]=e[n]}}return t}function p(t,e){t.prototype=c(t.prototype||{},e.prototype)}function d(t){while(t.parentNode){if(t.getAttribute("data-slideout-ignore")!==null){return t}t=t.parentNode}return null}function _(t){t=t||{};this._startOffsetX=0;this._currentOffsetX=0;this._opening=false;this._moved=false;this._opened=false;this._preventOpen=false;this._touch=t.touch===undefined?true:t.touch&&true;this._side=t.side||"left";this.panel=t.panel;this.menu=t.menu;if(!this.panel.classList.contains("slideout-panel")){this.panel.classList.add("slideout-panel")}if(!this.panel.classList.contains("slideout-panel-"+this._side)){this.panel.classList.add("slideout-panel-"+this._side)}if(!this.menu.classList.contains("slideout-menu")){this.menu.classList.add("slideout-menu")}if(!this.menu.classList.contains("slideout-menu-"+this._side)){this.menu.classList.add("slideout-menu-"+this._side)}this._fx=t.fx||"ease";this._duration=parseInt(t.duration,10)||300;this._tolerance=parseInt(t.tolerance,10)||70;this._padding=this._translateTo=parseInt(t.padding,10)||256;this._orientation=this._side==="right"?-1:1;this._translateTo*=this._orientation;if(this._touch){this._initTouchEvents()}}p(_,o);_.prototype.open=function(){var t=this;this.emit("beforeopen");if(!u.classList.contains("slideout-open")){u.classList.add("slideout-open")}this._setTransition();this._translateXTo(this._translateTo);this._opened=true;setTimeout(function(){t.panel.style.transition=t.panel.style["-webkit-transition"]="";t.emit("open")},this._duration+50);return this};_.prototype.close=function(){var t=this;if(!this.isOpen()&&!this._opening){return this}this.emit("beforeclose");this._setTransition();this._translateXTo(0);this._opened=false;setTimeout(function(){u.classList.remove("slideout-open");t.panel.style.transition=t.panel.style["-webkit-transition"]=t.panel.style[h+"transform"]=t.panel.style.transform="";t.emit("close")},this._duration+50);return this};_.prototype.toggle=function(){return this.isOpen()?this.close():this.open()};_.prototype.isOpen=function(){return this._opened};_.prototype._translateXTo=function(t){this._currentOffsetX=t;this.panel.style[h+"transform"]=this.panel.style.transform="translateX("+t+"px)";return this};_.prototype._setTransition=function(){this.panel.style[h+"transition"]=this.panel.style.transition=h+"transform "+this._duration+"ms "+this._fx;return this};_.prototype._initTouchEvents=function(){var t=this;this._onScrollFn=i(a,"scroll",function(){if(!t._moved){clearTimeout(s);r=true;s=setTimeout(function(){r=false},250)}});this._preventMove=function(e){if(t._moved){e.preventDefault()}};a.addEventListener(f.move,this._preventMove);this._resetTouchFn=function(e){if(typeof e.touches==="undefined"){return}t._moved=false;t._opening=false;t._startOffsetX=e.touches[0].pageX;t._preventOpen=!t._touch||!t.isOpen()&&t.menu.clientWidth!==0};this.panel.addEventListener(f.start,this._resetTouchFn);this._onTouchCancelFn=function(){t._moved=false;t._opening=false};this.panel.addEventListener("touchcancel",this._onTouchCancelFn);this._onTouchEndFn=function(){if(t._moved){t.emit("translateend");t._opening&&Math.abs(t._currentOffsetX)>t._tolerance?t.open():t.close()}t._moved=false};this.panel.addEventListener(f.end,this._onTouchEndFn);this._onTouchMoveFn=function(e){if(r||t._preventOpen||typeof e.touches==="undefined"||d(e.target)){return}var n=e.touches[0].clientX-t._startOffsetX;var i=t._currentOffsetX=n;if(Math.abs(i)>t._padding){return}if(Math.abs(n)>20){t._opening=true;var o=n*t._orientation;if(t._opened&&o>0||!t._opened&&o<0){return}if(!t._moved){t.emit("translatestart")}if(o<=0){i=n+t._padding*t._orientation;t._opening=false}if(!(t._moved&&u.classList.contains("slideout-open"))){u.classList.add("slideout-open")}t.panel.style[h+"transform"]=t.panel.style.transform="translateX("+i+"px)";t.emit("translate",i);t._moved=true}};this.panel.addEventListener(f.move,this._onTouchMoveFn);return this};_.prototype.enableTouch=function(){this._touch=true;return this};_.prototype.disableTouch=function(){this._touch=false;return this};_.prototype.destroy=function(){this.close();a.removeEventListener(f.move,this._preventMove);this.panel.removeEventListener(f.start,this._resetTouchFn);this.panel.removeEventListener("touchcancel",this._onTouchCancelFn);this.panel.removeEventListener(f.end,this._onTouchEndFn);this.panel.removeEventListener(f.move,this._onTouchMoveFn);a.removeEventListener("scroll",this._onScrollFn);this.open=this.close=function(){};return this};e.exports=_},{decouple:2,emitter:3}],2:[function(t,e,n){"use strict";var i=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}();function o(t,e,n){var o,s=false;function r(t){o=t;a()}function a(){if(!s){i(u);s=true}}function u(){n.call(t,o);s=false}t.addEventListener(e,r,false);return r}e.exports=o},{}],3:[function(t,e,n){"use strict";var i=function(t,e){if(!(t instanceof e)){throw new TypeError("Cannot call a class as a function")}};n.__esModule=true;var o=function(){function t(){i(this,t)}t.prototype.on=function e(t,n){this._eventCollection=this._eventCollection||{};this._eventCollection[t]=this._eventCollection[t]||[];this._eventCollection[t].push(n);return this};t.prototype.once=function n(t,e){var n=this;function i(){n.off(t,i);e.apply(this,arguments)}i.listener=e;this.on(t,i);return this};t.prototype.off=function o(t,e){var n=undefined;if(!this._eventCollection||!(n=this._eventCollection[t])){return this}n.forEach(function(t,i){if(t===e||t.listener===e){n.splice(i,1)}});if(n.length===0){delete this._eventCollection[t]}return this};t.prototype.emit=function s(t){var e=this;for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++){i[o-1]=arguments[o]}var s=undefined;if(!this._eventCollection||!(s=this._eventCollection[t])){return this}s=s.slice(0);s.forEach(function(t){return t.apply(e,i)});return this};return t}();n["default"]=o;e.exports=n["default"]},{}]},{},[1])(1)});
\ No newline at end of file diff --git a/themes/even/static/lib/timeago/timeago-3.0.2.min.js b/themes/even/static/lib/timeago/timeago-3.0.2.min.js new file mode 100644 index 0000000..51d7b94 --- /dev/null +++ b/themes/even/static/lib/timeago/timeago-3.0.2.min.js @@ -0,0 +1 @@ +!function(t,e){"object"==typeof module&&module.exports?(module.exports=e(),module.exports.default=module.exports):t.timeago=e()}("undefined"!=typeof window?window:this,function(){function t(t){return t instanceof Date?t:isNaN(t)?/^\d+$/.test(t)?new Date(e(t)):(t=(t||"").trim().replace(/\.\d+/,"").replace(/-/,"/").replace(/-/,"/").replace(/(\d)T(\d)/,"$1 $2").replace(/Z/," UTC").replace(/([\+\-]\d\d)\:?(\d\d)/," $1$2"),new Date(t)):new Date(e(t))}function e(t){return parseInt(t)}function n(t,n,r){n=l[n]?n:l[r]?r:"en";for(var o=0,i=t<0?1:0,a=t=Math.abs(t);t>=p[o]&&o<h;o++)t/=p[o];return t=e(t),o*=2,t>(0===o?9:1)&&(o+=1),l[n](t,o,a)[i].replace("%s",t)}function r(e,n){return((n=n?t(n):new Date)-t(e))/1e3}function o(t){for(var e=1,n=0,r=Math.abs(t);t>=p[n]&&n<h;n++)t/=p[n],e*=p[n];return r%=e,r=r?e-r:e,Math.ceil(r)}function i(t){return a(t,"data-timeago")||a(t,"datetime")}function a(t,e){return t.getAttribute?t.getAttribute(e):t.attr?t.attr(e):void 0}function u(t,e){return t.setAttribute?t.setAttribute(m,e):t.attr?t.attr(m,e):void 0}function c(t,e){this.nowDate=t,this.defaultLocale=e||"en"}function d(t,e){return new c(t,e)}var f="second_minute_hour_day_week_month_year".split("_"),s="秒_分钟_小时_天_周_月_年".split("_"),l={en:function(t,e){if(0===e)return["just now","right now"];var n=f[parseInt(e/2)];return t>1&&(n+="s"),[t+" "+n+" ago","in "+t+" "+n]},zh_CN:function(t,e){if(0===e)return["刚刚","片刻后"];var n=s[parseInt(e/2)];return[t+n+"前",t+n+"后"]}},p=[60,60,24,7,365/7/12,12],h=6,m="data-tid",w={};return c.prototype.doRender=function(t,e,i){var a,c=r(e,this.nowDate),d=this;t.innerHTML=n(c,i,this.defaultLocale),w[a=setTimeout(function(){d.doRender(t,e,i),delete w[a]},Math.min(1e3*o(c),2147483647))]=0,u(t,a)},c.prototype.format=function(t,e){return n(r(t,this.nowDate),e,this.defaultLocale)},c.prototype.render=function(t,e){void 0===t.length&&(t=[t]);for(var n=0,r=t.length;n<r;n++)this.doRender(t[n],i(t[n]),e)},c.prototype.setLocale=function(t){this.defaultLocale=t},d.register=function(t,e){l[t]=e},d.cancel=function(t){var e;if(t)(e=a(t,m))&&(clearTimeout(e),delete w[e]);else{for(e in w)clearTimeout(e);w={}}},d}); diff --git a/themes/even/static/lib/timeago/timeago.locales-3.0.2.min.js b/themes/even/static/lib/timeago/timeago.locales-3.0.2.min.js new file mode 100644 index 0000000..7a3ae84 --- /dev/null +++ b/themes/even/static/lib/timeago/timeago.locales-3.0.2.min.js @@ -0,0 +1 @@ +!function(s){function n(a){if(e[a])return e[a].exports;var t=e[a]={exports:{},id:a,loaded:!1};return s[a].call(t.exports,t,t.exports,n),t.loaded=!0,t.exports}var e={};return n.m=s,n.c=e,n.p="",n(0)}([function(s,n,e){for(var a=e(1),t=null,u=a.length-1;u>=0;u--)t=a[u],"en"!=t&&"zh_CN"!=t&&timeago.register(t,e(2)("./"+t))},function(s,n){s.exports=["ar","be","bg","ca","da","de","el","en","en_short","es","eu","fa","fi","fr","he","hu","in_BG","in_HI","in_ID","it","ja","ko","ml","my","nb_NO","nl","nn_NO","pl","pt_BR","ro","ru","sv","ta","th","tr","uk","vi","zh_CN","zh_TW"]},function(s,n,e){function a(s){return e(t(s))}function t(s){return u[s]||function(){throw new Error("Cannot find module '"+s+"'.")}()}var u={"./ar":3,"./ar.js":3,"./be":4,"./be.js":4,"./bg":5,"./bg.js":5,"./ca":6,"./ca.js":6,"./da":7,"./da.js":7,"./de":8,"./de.js":8,"./el":9,"./el.js":9,"./en":10,"./en.js":10,"./en_short":11,"./en_short.js":11,"./es":12,"./es.js":12,"./eu":13,"./eu.js":13,"./fa":14,"./fa.js":14,"./fi":15,"./fi.js":15,"./fr":16,"./fr.js":16,"./he":17,"./he.js":17,"./hu":18,"./hu.js":18,"./in_BG":19,"./in_BG.js":19,"./in_HI":20,"./in_HI.js":20,"./in_ID":21,"./in_ID.js":21,"./it":22,"./it.js":22,"./ja":23,"./ja.js":23,"./ko":24,"./ko.js":24,"./locales":1,"./locales.js":1,"./ml":25,"./ml.js":25,"./my":26,"./my.js":26,"./nb_NO":27,"./nb_NO.js":27,"./nl":28,"./nl.js":28,"./nn_NO":29,"./nn_NO.js":29,"./pl":30,"./pl.js":30,"./pt_BR":31,"./pt_BR.js":31,"./ro":32,"./ro.js":32,"./ru":33,"./ru.js":33,"./sv":34,"./sv.js":34,"./ta":35,"./ta.js":35,"./th":36,"./th.js":36,"./tr":37,"./tr.js":37,"./uk":38,"./uk.js":38,"./vi":39,"./vi.js":39,"./zh_CN":40,"./zh_CN.js":40,"./zh_TW":41,"./zh_TW.js":41};a.keys=function(){return Object.keys(u)},a.resolve=t,s.exports=a,a.id=2},function(s,n){function e(s,n){return n<3?a[s][n-1]:n>=3&&n<=10?a[s][2]:a[s][3]}s.exports=function(s,n){if(0===n)return["منذ لحظات","بعد لحظات"];var a=e(Math.floor(n/2),s);return["منذ "+a,"بعد "+a]};var a=[["ثانية","ثانيتين","%s ثوان","%s ثانية"],["دقيقة","دقيقتين","%s دقائق","%s دقيقة"],["ساعة","ساعتين","%s ساعات","%s ساعة"],["يوم","يومين","%s أيام","%s يوماً"],["أسبوع","أسبوعين","%s أسابيع","%s أسبوعاً"],["شهر","شهرين","%s أشهر","%s شهراً"],["عام","عامين","%s أعوام","%s عاماً"]]},function(s,n){function e(s,n,e,a,t){var u=t%10,i=a;return 1===t?i=s:1===u&&t>20?i=n:u>1&&u<5&&(t>20||t<10)&&(i=e),i}var a=e.bind(null,"секунду","%s секунду","%s секунды","%s секунд"),t=e.bind(null,"хвіліну","%s хвіліну","%s хвіліны","%s хвілін"),u=e.bind(null,"гадзіну","%s гадзіну","%s гадзіны","%s гадзін"),i=e.bind(null,"дзень","%s дзень","%s дні","%s дзён"),r=e.bind(null,"тыдзень","%s тыдзень","%s тыдні","%s тыдняў"),o=e.bind(null,"месяц","%s месяц","%s месяцы","%s месяцаў"),m=e.bind(null,"год","%s год","%s гады","%s гадоў");s.exports=function(s,n){switch(n){case 0:return["толькі што","праз некалькі секунд"];case 1:return[a(s)+" таму","праз "+a(s)];case 2:case 3:return[t(s)+" таму","праз "+t(s)];case 4:case 5:return[u(s)+" таму","праз "+u(s)];case 6:case 7:return[i(s)+" таму","праз "+i(s)];case 8:case 9:return[r(s)+" таму","праз "+r(s)];case 10:case 11:return[o(s)+" таму","праз "+o(s)];case 12:case 13:return[m(s)+" таму","праз "+m(s)];default:return["",""]}}},function(s,n){s.exports=function(s,n){return[["току що","съвсем скоро"],["преди %s секунди","след %s секунди"],["преди 1 минута","след 1 минута"],["преди %s минути","след %s минути"],["преди 1 час","след 1 час"],["преди %s часа","след %s часа"],["преди 1 ден","след 1 ден"],["преди %s дни","след %s дни"],["преди 1 седмица","след 1 седмица"],["преди %s седмици","след %s седмици"],["преди 1 месец","след 1 месец"],["преди %s месеца","след %s месеца"],["преди 1 година","след 1 година"],["преди %s години","след %s години"]][n]}},function(s,n){s.exports=function(s,n){return[["fa un moment","d'aquí un moment"],["fa %s segons","d'aquí %s segons"],["fa 1 minut","d'aquí 1 minut"],["fa %s minuts","d'aquí %s minuts"],["fa 1 hora","d'aquí 1 hora"],["fa %s hores","d'aquí %s hores"],["fa 1 dia","d'aquí 1 dia"],["fa %s dies","d'aquí %s dies"],["fa 1 setmana","d'aquí 1 setmana"],["fa %s setmanes","d'aquí %s setmanes"],["fa 1 mes","d'aquí 1 mes"],["fa %s mesos","d'aquí %s mesos"],["fa 1 any","d'aquí 1 any"],["fa %s anys","d'aquí %s anys"]][n]}},function(s,n){s.exports=function(s,n){return[["for et øjeblik siden","om et øjeblik"],["for %s sekunder siden","om %s sekunder"],["for 1 minut siden","om 1 minut"],["for %s minutter siden","om %s minutter"],["for 1 time siden","om 1 time"],["for %s timer siden","om %s timer"],["for 1 dag siden","om 1 dag"],["for %s dage siden","om %s dage"],["for 1 uge siden","om 1 uge"],["for %s uger siden","om %s uger"],["for 1 måned siden","om 1 måned"],["for %s måneder siden","om %s måneder"],["for 1 år siden","om 1 år"],["for %s år siden","om %s år"]][n]}},function(s,n){s.exports=function(s,n){return[["gerade eben","vor einer Weile"],["vor %s Sekunden","in %s Sekunden"],["vor 1 Minute","in 1 Minute"],["vor %s Minuten","in %s Minuten"],["vor 1 Stunde","in 1 Stunde"],["vor %s Stunden","in %s Stunden"],["vor 1 Tag","in 1 Tag"],["vor %s Tagen","in %s Tagen"],["vor 1 Woche","in 1 Woche"],["vor %s Wochen","in %s Wochen"],["vor 1 Monat","in 1 Monat"],["vor %s Monaten","in %s Monaten"],["vor 1 Jahr","in 1 Jahr"],["vor %s Jahren","in %s Jahren"]][n]}},function(s,n){s.exports=function(s,n){return[["μόλις τώρα","σε λίγο"],["%s δευτερόλεπτα πριν","σε %s δευτερόλεπτα"],["1 λεπτό πριν","σε 1 λεπτό"],["%s λεπτά πριν","σε %s λεπτά"],["1 ώρα πριν","σε 1 ώρα"],["%s ώρες πριν","σε %s ώρες"],["1 μέρα πριν","σε 1 μέρα"],["%s μέρες πριν","σε %s μέρες"],["1 εβδομάδα πριν","σε 1 εβδομάδα"],["%s εβδομάδες πριν","σε %s εβδομάδες"],["1 μήνα πριν","σε 1 μήνα"],["%s μήνες πριν","σε %s μήνες"],["1 χρόνο πριν","σε 1 χρόνο"],["%s χρόνια πριν","σε %s χρόνια"]][n]}},function(s,n){s.exports=function(s,n){return[["just now","right now"],["%s seconds ago","in %s seconds"],["1 minute ago","in 1 minute"],["%s minutes ago","in %s minutes"],["1 hour ago","in 1 hour"],["%s hours ago","in %s hours"],["1 day ago","in 1 day"],["%s days ago","in %s days"],["1 week ago","in 1 week"],["%s weeks ago","in %s weeks"],["1 month ago","in 1 month"],["%s months ago","in %s months"],["1 year ago","in 1 year"],["%s years ago","in %s years"]][n]}},function(s,n){s.exports=function(s,n){return[["just now","right now"],["%ss ago","in %ss"],["1m ago","in 1m"],["%sm ago","in %sm"],["1h ago","in 1h"],["%sh ago","in %sh"],["1d ago","in 1d"],["%sd ago","in %sd"],["1w ago","in 1w"],["%sw ago","in %sw"],["1mo ago","in 1mo"],["%smo ago","in %smo"],["1yr ago","in 1yr"],["%syr ago","in %syr"]][n]}},function(s,n){s.exports=function(s,n){return[["justo ahora","en un rato"],["hace %s segundos","en %s segundos"],["hace 1 minuto","en 1 minuto"],["hace %s minutos","en %s minutos"],["hace 1 hora","en 1 hora"],["hace %s horas","en %s horas"],["hace 1 día","en 1 día"],["hace %s días","en %s días"],["hace 1 semana","en 1 semana"],["hace %s semanas","en %s semanas"],["hace 1 mes","en 1 mes"],["hace %s meses","en %s meses"],["hace 1 año","en 1 año"],["hace %s años","en %s años"]][n]}},function(s,n){s.exports=function(s,n){return[["orain","denbora bat barru"],["duela %s segundu","%s segundu barru"],["duela minutu 1","minutu 1 barru"],["duela %s minutu","%s minutu barru"],["duela ordu 1","ordu 1 barru"],["duela %s ordu","%s ordu barru"],["duela egun 1","egun 1 barru"],["duela %s egun","%s egun barru"],["duela aste 1","aste 1 barru"],["duela %s aste","%s aste barru"],["duela hillabete 1","hillabete 1 barru"],["duela %s hillabete","%s hillabete barru"],["duela urte 1","urte 1 barru"],["duela %s urte","%s urte barru"]][n]}},function(s,n){s.exports=function(s,n){return[["همین الآن","لحظاتی پیش"],["%s ثانیه پیش","حدود %s ثانیه پیش"],["1 دقیقه پیش","حدود 1 دقیقه پیش"],["%s دقیقه پیش","حدود %s دقیقه پیش"],["1 ساعت پیش","حدود 1 ساعت پیش"],["%s ساعت پیش","حدود %s ساعت پیش"],["1 روز پیش","حدود 1 روز پیش"],["%s روز پیش","حدود %s روز پیش"],["1 هفته پیش","حدود 1 هفته پیش"],["%s هفته پیش","حدود %s هفته پیش"],["1 ماه پیش","حدود 1 ماه پیش"],["%s ماه پیش","حدود %s ماه پیش"],["1 سال پیش","حدود 1 سال پیش"],["%s سال پیش","حدود %s سال پیش"]][n]}},function(s,n){s.exports=function(s,n){return[["juuri äsken","juuri nyt"],["%s sekuntia sitten","%s sekunnin päästä"],["minuutti sitten","minuutin päästä"],["%s minuuttia sitten","%s minuutin päästä"],["tunti sitten","tunnin päästä"],["%s tuntia sitten","%s tunnin päästä"],["päivä sitten","päivän päästä"],["%s päivää sitten","%s päivän päästä"],["viikko sitten","viikon päästä"],["%s viikkoa sitten","%s viikon päästä"],["kuukausi sitten","kuukauden päästä"],["%s kuukautta sitten","%s kuukauden päästä"],["vuosi sitten","vuoden päästä"],["%s vuotta sitten","%s vuoden päästä"]][n]}},function(s,n){s.exports=function(s,n){return[["à l'instant","dans un instant"],["il y a %s secondes","dans %s secondes"],["il y a 1 minute","dans 1 minute"],["il y a %s minutes","dans %s minutes"],["il y a 1 heure","dans 1 heure"],["il y a %s heures","dans %s heures"],["il y a 1 jour","dans 1 jour"],["il y a %s jours","dans %s jours"],["il y a 1 semaine","dans 1 semaine"],["il y a %s semaines","dans %s semaines"],["il y a 1 mois","dans 1 mois"],["il y a %s mois","dans %s mois"],["il y a 1 an","dans 1 an"],["il y a %s ans","dans %s ans"]][n]}},function(s,n){s.exports=function(s,n){return[["זה עתה","עכשיו"],["לפני %s שניות","בעוד %s שניות"],["לפני דקה","בעוד דקה"],["לפני %s דקות","בעוד %s דקות"],["לפני שעה","בעוד שעה"],["לפני %s שעות","בעוד %s שעות"],["אתמול","מחר"],["לפני %s ימים","בעוד %s ימים"],["לפני שבוע","בעוד שבוע"],["לפני %s שבועות","בעוד %s שבועות"],["לפני חודש","בעוד חודש"],["לפני %s חודשים","בעוד %s חודשים"],["לפני שנה","בעוד שנה"],["לפני %s שנים","בעוד %s שנים"]][n]}},function(s,n){s.exports=function(s,n){return[["éppen most","éppen most"],["%s másodperce","%s másodpercen belül"],["1 perce","1 percen belül"],["%s perce","%s percen belül"],["1 órája","1 órán belül"],["%s órája","%s órán belül"],["1 napja","1 napon belül"],["%s napja","%s napon belül"],["1 hete","1 héten belül"],["%s hete","%s héten belül"],["1 hónapja","1 hónapon belül"],["%s hónapja","%s hónapon belül"],["1 éve","1 éven belül"],["%s éve","%s éven belül"]][n]}},function(s,n){s.exports=function(s,n){return[["এইমাত্র","একটা সময়"],["%s সেকেন্ড আগে","%s এর সেকেন্ডের মধ্যে"],["1 মিনিট আগে","1 মিনিটে"],["%s এর মিনিট আগে","%s এর মিনিটের মধ্যে"],["1 ঘন্টা আগে","1 ঘন্টা"],["%s ঘণ্টা আগে","%s এর ঘন্টার মধ্যে"],["1 দিন আগে","1 দিনের মধ্যে"],["%s এর দিন আগে","%s এর দিন"],["1 সপ্তাহ আগে","1 সপ্তাহের মধ্যে"],["%s এর সপ্তাহ আগে","%s সপ্তাহের মধ্যে"],["1 মাস আগে","1 মাসে"],["%s মাস আগে","%s মাসে"],["1 বছর আগে","1 বছরের মধ্যে"],["%s বছর আগে","%s বছরে"]][n]}},function(s,n){s.exports=function(s,n){return[["अभी","कुछ समय"],["%s सेकंड पहले","%s सेकंड में"],["1 मिनट पहले","1 मिनट में"],["%s मिनट पहले","%s मिनट में"],["1 घंटे पहले","1 घंटे में"],["%s घंटे पहले","%s घंटे में"],["1 दिन पहले","1 दिन में"],["%s दिन पहले","%s दिनों में"],["1 सप्ताह पहले","1 सप्ताह में"],["%s हफ्ते पहले","%s हफ्तों में"],["1 महीने पहले","1 महीने में"],["%s महीने पहले","%s महीनों में"],["1 साल पहले","1 साल में"],["%s साल पहले","%s साल में"]][n]}},function(s,n){s.exports=function(s,n){return[["baru saja","sebentar"],["%s detik yang lalu","dalam %s detik"],["1 menit yang lalu","dalam 1 menit"],["%s menit yang lalu","dalam %s menit"],["1 jam yang lalu","dalam 1 jam"],["%s jam yang lalu","dalam %s jam"],["1 hari yang lalu","dalam 1 hari"],["%s hari yang lalu","dalam %s hari"],["1 minggu yang lalu","dalam 1 minggu"],["%s minggu yang lalu","dalam %s minggu"],["1 bulan yang lalu","dalam 1 bulan"],["%s bulan yang lalu","dalam %s bulan"],["1 tahun yang lalu","dalam 1 tahun"],["%s tahun yang lalu","dalam %s tahun"]][n]}},function(s,n){s.exports=function(s,n){return[["poco fa","tra poco"],["%s secondi fa","%s secondi da ora"],["un minuto fa","un minuto da ora"],["%s minuti fa","%s minuti da ora"],["un'ora fa","un'ora da ora"],["%s ore fa","%s ore da ora"],["un giorno fa","un giorno da ora"],["%s giorni fa","%s giorni da ora"],["una settimana fa","una settimana da ora"],["%s settimane fa","%s settimane da ora"],["un mese fa","un mese da ora"],["%s mesi fa","%s mesi da ora"],["un anno fa","un anno da ora"],["%s anni fa","%s anni da ora"]][n]}},function(s,n){s.exports=function(s,n){return[["すこし前","すぐに"],["%s秒前","%s秒以内"],["1分前","1分以内"],["%s分前","%s分以内"],["1時間前","1時間以内"],["%s時間前","%s時間以内"],["1日前","1日以内"],["%s日前","%s日以内"],["1週間前","1週間以内"],["%s週間前","%s週間以内"],["1ヶ月前","1ヶ月以内"],["%sヶ月前","%sヶ月以内"],["1年前","1年以内"],["%s年前","%s年以内"]][n]}},function(s,n){s.exports=function(s,n){return[["방금","곧"],["%s초 전","%s초 후"],["1분 전","1분 후"],["%s분 전","%s분 후"],["1시간 전","1시간 후"],["%s시간 전","%s시간 후"],["1일 전","1일 후"],["%s일 전","%s일 후"],["1주일 전","1주일 후"],["%s주일 전","%s주일 후"],["1개월 전","1개월 후"],["%s개월 전","%s개월 후"],["1년 전","1년 후"],["%s년 전","%s년 후"]][n]}},function(s,n){s.exports=function(s,n){return[["ഇപ്പോള്","കുറച്ചു മുന്പ്"],["%s സെക്കന്റ്കള്ക്ക് മുന്പ്","%s സെക്കന്റില്"],["1 മിനിറ്റിനു മുന്പ്","1 മിനിറ്റില്"],["%s മിനിറ്റുകള്ക്ക് മുന്പ","%s മിനിറ്റില്"],["1 മണിക്കൂറിനു മുന്പ്","1 മണിക്കൂറില്"],["%s മണിക്കൂറുകള്ക്കു മുന്പ്","%s മണിക്കൂറില്"],["1 ഒരു ദിവസം മുന്പ്","1 ദിവസത്തില്"],["%s ദിവസങ്ങള്ക് മുന്പ്","%s ദിവസങ്ങള്ക്കുള്ളില്"],["1 ആഴ്ച മുന്പ്","1 ആഴ്ചയില്"],["%s ആഴ്ചകള്ക്ക് മുന്പ്","%s ആഴ്ചകള്ക്കുള്ളില്"],["1 മാസത്തിനു മുന്പ്","1 മാസത്തിനുള്ളില്"],["%s മാസങ്ങള്ക്ക് മുന്പ്","%s മാസങ്ങള്ക്കുള്ളില്"],["1 വര്ഷത്തിനു മുന്പ്","1 വര്ഷത്തിനുള്ളില്"],["%s വര്ഷങ്ങള്ക്കു മുന്പ്","%s വര്ഷങ്ങള്ക്കുല്ല്ളില്"]][n]}},function(s,n){s.exports=function(s,n){return[["ယခုအတွင်း","ယခု"],["%s စက္ကန့် အကြာက","%s စက္ကန့်အတွင်း"],["1 မိနစ် အကြာက","1 မိနစ်အတွင်း"],["%s မိနစ် အကြာက","%s မိနစ်အတွင်း"],["1 နာရီ အကြာက","1 နာရီအတွင်း"],["%s နာရီ အကြာက","%s နာရီအတွင်း"],["1 ရက် အကြာက","1 ရက်အတွင်း"],["%s ရက် အကြာက","%s ရက်အတွင်း"],["1 ပတ် အကြာက","1 ပတ်အတွင်း"],["%s ပတ် အကြာက","%s ပတ်အတွင်း"],["1 လ အကြာက","1 လအတွင်း"],["%s လ အကြာက","%s လအတွင်း"],["1 နှစ် အကြာက","1 နှစ်အတွင်း"],["%s နှစ် အကြာက","%s နှစ်အတွင်း"]][n]}},function(s,n){s.exports=function(s,n){return[["akkurat nå","om litt"],["%s sekunder siden","om %s sekunder"],["1 minutt siden","om 1 minutt"],["%s minutter siden","om %s minutter"],["1 time siden","om 1 time"],["%s timer siden","om %s timer"],["1 dag siden","om 1 dag"],["%s dager siden","om %s dager"],["1 uke siden","om 1 uke"],["%s uker siden","om %s uker"],["1 måned siden","om 1 måned"],["%s måneder siden","om %s måneder"],["1 år siden","om 1 år"],["%s år siden","om %s år"]][n]}},function(s,n){s.exports=function(s,n){return[["recent","binnenkort"],["%s seconden geleden","binnen %s seconden"],["1 minuut geleden","binnen 1 minuut"],["%s minuten geleden","binnen %s minuten"],["1 uur geleden","binnen 1 uur"],["%s uren geleden","binnen %s uren"],["1 dag geleden","binnen 1 dag"],["%s dagen geleden","binnen %s dagen"],["1 week geleden","binnen 1 week"],["%s weken geleden","binnen %s weken"],["1 maand geleden","binnen 1 maand"],["%s maanden geleden","binnen %s maanden"],["1 jaar geleden","binnen 1 jaar"],["%s jaren geleden","binnen %s jaren"]][n]}},function(s,n){s.exports=function(s,n){return[["nett no","om litt"],["%s sekund sidan","om %s sekund"],["1 minutt sidan","om 1 minutt"],["%s minutt sidan","om %s minutt"],["1 time sidan","om 1 time"],["%s timar sidan","om %s timar"],["1 dag sidan","om 1 dag"],["%s dagar sidan","om %s dagar"],["1 veke sidan","om 1 veke"],["%s veker sidan","om %s veker"],["1 månad sidan","om 1 månad"],["%s månadar sidan","om %s månadar"],["1 år sidan","om 1 år"],["%s år sidan","om %s år"]][n]}},function(s,n){var e=[["w tej chwili","za chwilę"],["%s sekund temu","za %s sekund"],["1 minutę temu","za 1 minutę"],["%s minut temu","za %s minut"],["1 godzinę temu","za 1 godzinę"],["%s godzin temu","za %s godzin"],["1 dzień temu","za 1 dzień"],["%s dni temu","za %s dni"],["1 tydzień temu","za 1 tydzień"],["%s tygodni temu","za %s tygodni"],["1 miesiąc temu","za 1 miesiąc"],["%s miesięcy temu","za %s miesięcy"],["1 rok temu","za 1 rok"],["%s lat temu","za %s lat"],["%s sekundy temu","za %s sekundy"],["%s minuty temu","za %s minuty"],["%s godziny temu","za %s godziny"],["%s dni temu","za %s dni"],["%s tygodnie temu","za %s tygodnie"],["%s miesiące temu","za %s miesiące"],["%s lata temu","za %s lata"]];s.exports=function(s,n){return e[1&n?s%10>4||s%10<2||1===~~(s/10)%10?n:++n/2+13:n]}},function(s,n){s.exports=function(s,n){return[["agora mesmo","daqui um pouco"],["há %s segundos","em %s segundos"],["há um minuto","em um minuto"],["há %s minutos","em %s minutos"],["há uma hora","em uma hora"],["há %s horas","em %s horas"],["há um dia","em um dia"],["há %s dias","em %s dias"],["há uma semana","em uma semana"],["há %s semanas","em %s semanas"],["há um mês","em um mês"],["há %s meses","em %s meses"],["há um ano","em um ano"],["há %s anos","em %s anos"]][n]}},function(s,n){s.exports=function(s,n){var e=[["chiar acum","chiar acum"],["acum %s secunde","peste %s secunde"],["acum un minut","peste un minut"],["acum %s minute","peste %s minute"],["acum o oră","peste o oră"],["acum %s ore","peste %s ore"],["acum o zi","peste o zi"],["acum %s zile","peste %s zile"],["acum o săptămână","peste o săptămână"],["acum %s săptămâni","peste %s săptămâni"],["acum o lună","peste o lună"],["acum %s luni","peste %s luni"],["acum un an","peste un an"],["acum %s ani","peste %s ani"]];return s<20?e[n]:[e[n][0].replace("%s","%s de"),e[n][1].replace("%s","%s de")]}},function(s,n){function e(s,n,e,a,t){var u=t%10,i=a;return 1===t?i=s:1===u&&t>20?i=n:u>1&&u<5&&(t>20||t<10)&&(i=e),i}var a=e.bind(null,"секунду","%s секунду","%s секунды","%s секунд"),t=e.bind(null,"минуту","%s минуту","%s минуты","%s минут"),u=e.bind(null,"час","%s час","%s часа","%s часов"),i=e.bind(null,"день","%s день","%s дня","%s дней"),r=e.bind(null,"неделю","%s неделю","%s недели","%s недель"),o=e.bind(null,"месяц","%s месяц","%s месяца","%s месяцев"),m=e.bind(null,"год","%s год","%s года","%s лет");s.exports=function(s,n){switch(n){case 0:return["только что","через несколько секунд"];case 1:return[a(s)+" назад","через "+a(s)];case 2:case 3:return[t(s)+" назад","через "+t(s)];case 4:case 5:return[u(s)+" назад","через "+u(s)];case 6:return["вчера","завтра"];case 7:return[i(s)+" назад","через "+i(s)];case 8:case 9:return[r(s)+" назад","через "+r(s)];case 10:case 11:return[o(s)+" назад","через "+o(s)];case 12:case 13:return[m(s)+" назад","через "+m(s)];default:return["",""]}}},function(s,n){s.exports=function(s,n){return[["just nu","om en stund"],["%s sekunder sedan","om %s seconder"],["1 minut sedan","om 1 minut"],["%s minuter sedan","om %s minuter"],["1 timme sedan","om 1 timme"],["%s timmar sedan","om %s timmar"],["1 dag sedan","om 1 dag"],["%s dagar sedan","om %s dagar"],["1 vecka sedan","om 1 vecka"],["%s veckor sedan","om %s veckor"],["1 månad sedan","om 1 månad"],["%s månader sedan","om %s månader"],["1 år sedan","om 1 år"],["%s år sedan","om %s år"]][n]}},function(s,n){s.exports=function(s,n){return[["இப்போது","சற்று நேரம் முன்பு"],["%s நொடிக்கு முன்","%s நொடிகளில்"],["1 நிமிடத்திற்க்கு முன்","1 நிமிடத்தில்"],["%s நிமிடத்திற்க்கு முன்","%s நிமிடங்களில்"],["1 மணி நேரத்திற்கு முன்","1 மணி நேரத்திற்குள்"],["%s மணி நேரத்திற்கு முன்","%s மணி நேரத்திற்குள்"],["1 நாளுக்கு முன்","1 நாளில்"],["%s நாட்களுக்கு முன்","%s நாட்களில்"],["1 வாரத்திற்கு முன்","1 வாரத்தில்"],["%s வாரங்களுக்கு முன்","%s வாரங்களில்"],["1 மாதத்திற்கு முன்","1 மாதத்தில்"],["%s மாதங்களுக்கு முன்","%s மாதங்களில்"],["1 வருடத்திற்கு முன்","1 வருடத்தில்"],["%s வருடங்களுக்கு முன்","%s வருடங்களில்"]][n]}},function(s,n){s.exports=function(s,n){return[["เมื่อสักครู่นี้","อีกสักครู่"],["%s วินาทีที่แล้ว","ใน %s วินาที"],["1 นาทีที่แล้ว","ใน 1 นาที"],["%s นาทีที่แล้ว","ใน %s นาที"],["1 ชั่วโมงที่แล้ว","ใน 1 ชั่วโมง"],["%s ชั่วโมงที่แล้ว","ใน %s ชั่วโมง"],["1 วันที่แล้ว","ใน 1 วัน"],["%s วันที่แล้ว","ใน %s วัน"],["1 อาทิตย์ที่แล้ว","ใน 1 อาทิตย์"],["%s อาทิตย์ที่แล้ว","ใน %s อาทิตย์"],["1 เดือนที่แล้ว","ใน 1 เดือน"],["%s เดือนที่แล้ว","ใน %s เดือน"],["1 ปีที่แล้ว","ใน 1 ปี"],["%s ปีที่แล้ว","ใน %s ปี"]][n]}},function(s,n){s.exports=function(s,n){return[["az önce","şimdi"],["%s saniye önce","%s saniye içinde"],["1 dakika önce","1 dakika içinde"],["%s dakika önce","%s dakika içinde"],["1 saat önce","1 saat içinde"],["%s saat önce","%s saat içinde"],["1 gün önce","1 gün içinde"],["%s gün önce","%s gün içinde"],["1 hafta önce","1 hafta içinde"],["%s hafta önce","%s hafta içinde"],["1 ay önce","1 ay içinde"],["%s ay önce","%s ay içinde"],["1 yıl önce","1 yıl içinde"],["%s yıl önce","%s yıl içinde"]][n]}},function(s,n){function e(s,n,e,a,t){var u=t%10,i=a;return 1===t?i=s:1===u&&t>20?i=n:u>1&&u<5&&(t>20||t<10)&&(i=e),i}var a=e.bind(null,"секунду","%s секунду","%s секунди","%s секунд"),t=e.bind(null,"хвилину","%s хвилину","%s хвилини","%s хвилин"),u=e.bind(null,"годину","%s годину","%s години","%s годин"),i=e.bind(null,"день","%s день","%s дні","%s днів"),r=e.bind(null,"тиждень","%s тиждень","%s тиждні","%s тижднів"),o=e.bind(null,"місяць","%s місяць","%s місяці","%s місяців"),m=e.bind(null,"рік","%s рік","%s роки","%s років");s.exports=function(s,n){switch(n){case 0:return["щойно","через декілька секунд"];case 1:return[a(s)+" тому","через "+a(s)];case 2:case 3:return[t(s)+" тому","через "+t(s)];case 4:case 5:return[u(s)+" тому","через "+u(s)];case 6:case 7:return[i(s)+" тому","через "+i(s)];case 8:case 9:return[r(s)+" тому","через "+r(s)];case 10:case 11:return[o(s)+" тому","через "+o(s)];case 12:case 13:return[m(s)+" тому","через "+m(s)];default:return["",""]}}},function(s,n){s.exports=function(s,n){return[["vừa xong","một lúc"],["%s giây trước","trong %s giây"],["1 phút trước","trong 1 phút"],["%s phút trước","trong %s phút"],["1 giờ trước","trong 1 giờ"],["%s giờ trước","trong %s giờ"],["1 ngày trước","trong 1 ngày"],["%s ngày trước","trong %s ngày"],["1 tuần trước","trong 1 tuần"],["%s tuần trước","trong %s tuần"],["1 tháng trước","trong 1 tháng"],["%s tháng trước","trong %s tháng"],["1 năm trước","trong 1 năm"],["%s năm trước","trong %s năm"]][n]}},function(s,n){s.exports=function(s,n){return[["刚刚","片刻后"],["%s秒前","%s秒后"],["1分钟前","1分钟后"],["%s分钟前","%s分钟后"],["1小时前","1小时后"],["%s小时前","%s小时后"],["1天前","1天后"],["%s天前","%s天后"],["1周前","1周后"],["%s周前","%s周后"],["1月前","1月后"],["%s月前","%s月后"],["1年前","1年后"],["%s年前","%s年后"]][n]}},function(s,n){s.exports=function(s,n){return[["剛剛","片刻後"],["%s秒前","%s秒後"],["1分鐘前","1分鐘後"],["%s分鐘前","%s分鐘後"],["1小時前","1小時後"],["%s小時前","%s小時後"],["1天前","1天後"],["%s天前","%s天後"],["1周前","1周後"],["%s周前","%s周後"],["1月前","1月後"],["%s月前","%s月後"],["1年前","1年後"],["%s年前","%s年後"]][n]}}]); diff --git a/themes/even/static/manifest.json b/themes/even/static/manifest.json new file mode 100644 index 0000000..4fbe181 --- /dev/null +++ b/themes/even/static/manifest.json @@ -0,0 +1,18 @@ +{ + "name": "", + "icons": [ + { + "src": "/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ], + "theme_color": "#ffffff", + "background_color": "#ffffff", + "display": "standalone" +}
\ No newline at end of file diff --git a/themes/even/static/mstile-150x150.png b/themes/even/static/mstile-150x150.png Binary files differnew file mode 100644 index 0000000..28e92fc --- /dev/null +++ b/themes/even/static/mstile-150x150.png diff --git a/themes/even/static/safari-pinned-tab.svg b/themes/even/static/safari-pinned-tab.svg new file mode 100644 index 0000000..0166bff --- /dev/null +++ b/themes/even/static/safari-pinned-tab.svg @@ -0,0 +1,25 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" + "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> +<svg version="1.0" xmlns="http://www.w3.org/2000/svg" + width="512.000000pt" height="512.000000pt" viewBox="0 0 512.000000 512.000000" + preserveAspectRatio="xMidYMid meet"> +<metadata> +Created by potrace 1.11, written by Peter Selinger 2001-2013 +</metadata> +<g transform="translate(0.000000,512.000000) scale(0.100000,-0.100000)" +fill="#000000" stroke="none"> +<path d="M3119 4475 c-53 -14 -152 -63 -218 -107 -54 -37 -184 -130 -191 -138 +-3 -3 -30 -25 -60 -50 -355 -290 -974 -895 -1206 -1178 -10 -13 -27 -33 -38 +-45 -43 -50 -116 -171 -122 -203 -16 -84 71 -195 236 -305 93 -62 677 -399 +691 -399 15 0 10 -33 -20 -120 -44 -129 -176 -463 -246 -625 -7 -16 -29 -77 +-50 -135 -20 -58 -40 -116 -46 -130 -18 -50 -46 -196 -44 -240 2 -98 47 -145 +149 -156 73 -8 122 10 241 89 107 71 190 135 339 262 39 33 87 73 106 89 19 +16 60 51 90 79 30 27 100 91 155 141 55 50 208 198 340 329 208 207 275 278 +404 425 60 69 151 193 181 245 27 49 31 64 26 98 -17 105 -99 189 -319 327 +-54 34 -100 62 -102 62 -2 0 -28 14 -57 31 -29 18 -78 46 -108 62 -30 17 -68 +38 -85 48 -16 10 -50 29 -75 42 -25 14 -70 39 -100 56 -30 18 -63 35 -72 38 +-24 7 -23 25 11 124 31 91 146 388 179 460 95 211 219 609 217 700 -1 97 -95 +153 -206 124z"/> +</g> +</svg> diff --git a/themes/even/static/sitemap.xsl b/themes/even/static/sitemap.xsl new file mode 100644 index 0000000..11a52bb --- /dev/null +++ b/themes/even/static/sitemap.xsl @@ -0,0 +1,115 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xsl:stylesheet version="2.0" + xmlns:html="http://www.w3.org/TR/REC-html40" + xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" + xmlns:sitemap="http://www.sitemaps.org/schemas/sitemap/0.9" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> + <xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/> + <xsl:template match="/"> + <html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <title>XML Sitemap</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <style type="text/css"> + body { + font-family: sans-serif; + font-size: 16px; + color: #242628; + } + a { + color: #000; + text-decoration: none; + } + a:hover { + text-decoration: underline; + } + table { + border: none; + border-collapse: collapse; + width: 100% + } + th { + text-align: left; + padding-right: 30px; + font-size: 11px; + } + thead th { + border-bottom: 1px solid #7d878a; + cursor: pointer; + } + td { + font-size:11px; + padding: 5px; + } + tr:nth-child(odd) td { + background-color: rgba(0,0,0,0.04); + } + tr:hover td { + background-color: #e2edf2; + } + + #content { + margin: 0 auto; + padding: 2% 5%; + max-width: 800px; + } + + .desc { + margin: 18px 3px; + line-height: 1.2em; + } + .desc a { + color: #5ba4e5; + } + </style> + </head> + <body> + <div id="content"> + <h1>XML Sitemap</h1> + <p class="desc"> + This is a sitemap generated by <a href="https://gohugo.io">Hugo</a> to allow search engines to discover this blog's content. + </p> + <p class="desc"> + The xsl style copy from <a href="https://ghost.org">Ghost</a>. + </p> + <table id="sitemap" cellpadding="3"> + <thead> + <tr> + <th width="75%">URL (<xsl:value-of select="count(sitemap:urlset/sitemap:url)"/> total)</th> + <th title="Priority" width="5%">Prio</th> + <th title="Change Frequency" width="5%">Ch. Freq.</th> + <th title="Last Modification Time" width="15%">Last Modified</th> + </tr> + </thead> + <tbody> + <xsl:variable name="lower" select="'abcdefghijklmnopqrstuvwxyz'"/> + <xsl:variable name="upper" select="'ABCDEFGHIJKLMNOPQRSTUVWXYZ'"/> + <xsl:for-each select="sitemap:urlset/sitemap:url"> + <tr> + <td> + <xsl:variable name="itemURL"> + <xsl:value-of select="sitemap:loc"/> + </xsl:variable> + <a href="{$itemURL}"> + <xsl:value-of select="sitemap:loc"/> + </a> + </td> + <td> + <xsl:value-of select="concat(sitemap:priority*100,'%')"/> + </td> + <td> + <xsl:value-of select="concat(translate(substring(sitemap:changefreq, 1, 1),concat($lower, $upper),concat($upper, $lower)),substring(sitemap:changefreq, 2))"/> + </td> + <td> + <xsl:value-of select="concat(substring(sitemap:lastmod,0,11),concat(' ', substring(sitemap:lastmod,12,5)))"/> + </td> + </tr> + </xsl:for-each> + </tbody> + </table> + </div> + </body> + </html> + + </xsl:template> +</xsl:stylesheet>
\ No newline at end of file diff --git a/themes/even/theme.toml b/themes/even/theme.toml new file mode 100644 index 0000000..41a76f9 --- /dev/null +++ b/themes/even/theme.toml @@ -0,0 +1,21 @@ +# theme.toml template for a Hugo theme +# See https://github.com/gohugoio/hugoThemes#themetoml for an example + +name = "Even" +license = "MIT" +licenselink = "https://github.com/olOwOlo/hugo-theme-even/blob/master/LICENSE.md" +description = "A super concise theme for Hugo" +homepage = "https://github.com/olOwOlo/hugo-theme-even" +tags = ["responsive", "blog", "simple", "clean", "highlight.js", "syntax highlighting"] +features = ["responsive", "blog", "simple", "clean", "highlight.js", "syntax highlighting"] +min_version = "0.35" + +[author] + name = "olOwOlo" + homepage = "https://github.com/olOwOlo" + +# If porting an existing theme +[original] + name = "hexo-theme-even" + homepage = "http://www.ahonn.me/" + repo = "https://github.com/ahonn/hexo-theme-even" |