diff --git a/.autod.conf.js b/.autod.conf.js index b9c144ba66..6f857de46c 100644 --- a/.autod.conf.js +++ b/.autod.conf.js @@ -9,7 +9,8 @@ module.exports = { exclude: [ 'test/fixtures', 'examples', - "docs", + 'docs', + 'run', ], devdep: [ 'autod', @@ -17,6 +18,7 @@ module.exports = { 'eslint', 'eslint-config-egg', 'egg-bin', + 'egg-doctools', 'egg-plugin-puml', 'egg-view-nunjucks', ], diff --git a/docs/_config.yml b/docs/_config.yml index 37036bca26..f8b01257a5 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -23,8 +23,3 @@ theme: egg less: compress: true - -# Deployment -## Docs: https://hexo.io/docs/deployment.html -deploy: - type: diff --git a/docs/package.json b/docs/package.json deleted file mode 100644 index 2a0dbe33c8..0000000000 --- a/docs/package.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "egg", - "version": "0.0.0", - "private": true, - "hexo": { - "version": "3.3.5" - }, - "dependencies": { - "hexo": "^3.2.0", - "hexo-generator-index": "^0.2.0", - "hexo-generator-tag": "^0.2.0", - "hexo-renderer-less": "^0.2.0", - "hexo-server": "^0.2.0", - "markdown-it": "^8.2.2", - "markdown-it-replace-link": "^1.0.0", - "markdown-it-toc-and-anchor": "^4.1.1" - } -} \ No newline at end of file diff --git a/docs/plugins.puml b/docs/plugins.puml deleted file mode 100644 index 8923fcdc9a..0000000000 --- a/docs/plugins.puml +++ /dev/null @@ -1,20 +0,0 @@ -@startuml -digraph plugins { - onerror - session - i18n - watcher - multipart - security - development - logrotator - schedule - static - jsonp - view - security -> session - development -> watcher - logrotator -> schedule - jsonp -> security [style=dotted] -} -@enduml diff --git a/docs/source/en/intro/index.md b/docs/source/en/intro/index.md index e590cfe0ea..372004ac69 100644 --- a/docs/source/en/intro/index.md +++ b/docs/source/en/intro/index.md @@ -20,7 +20,7 @@ Egg is a convention-over-configuration framework, follows the [Loader](../advanc - depth [customizd framework](../advanced/framework.md) - highly extensible [plug-in mechanism](../advanced/plugin.md) -- built-in [cluster](../advanced/cluster.md) +- built-in [cluster](../advanced/cluster-client.md) - based on [koa] with high performance - stable core framework with high test coverage. - [progressive development](../tutorials/progressive.md) diff --git a/docs/source/frameworks.md b/docs/source/frameworks.md deleted file mode 100644 index fd74e751f5..0000000000 --- a/docs/source/frameworks.md +++ /dev/null @@ -1,6 +0,0 @@ -title: Frameworks ---- - -# Popular Frameworks - -- [aliyun-egg](https://github.com/eggjs/aliyun-egg) diff --git a/docs/themes/egg/languages/en.yml b/docs/source/languages/en.yml similarity index 98% rename from docs/themes/egg/languages/en.yml rename to docs/source/languages/en.yml index 97f920f3c2..7f168d44c0 100644 --- a/docs/themes/egg/languages/en.yml +++ b/docs/source/languages/en.yml @@ -21,7 +21,7 @@ header: guide_toc: Intro: Guide - What is egg: What is Egg? + What is Egg: What is Egg? Egg and Koa: Egg and Koa Get Start: Quick Start Basics: Basis Function diff --git a/docs/themes/egg/languages/zh-cn.yml b/docs/source/languages/zh-cn.yml similarity index 100% rename from docs/themes/egg/languages/zh-cn.yml rename to docs/source/languages/zh-cn.yml diff --git a/docs/source/member_guide.md b/docs/source/member_guide.md deleted file mode 100644 index 269a8cf24c..0000000000 --- a/docs/source/member_guide.md +++ /dev/null @@ -1 +0,0 @@ -# Member Guide diff --git a/docs/source/plugins.puml b/docs/source/plugins.puml deleted file mode 100644 index a19b2ca8cd..0000000000 --- a/docs/source/plugins.puml +++ /dev/null @@ -1,7 +0,0 @@ - -@startuml -digraph world { - "onerror"; - "session"; -} -@enduml diff --git a/docs/source/zh-cn/core/deployment.md b/docs/source/zh-cn/core/deployment.md index c7aedb2ec2..e8110e4e5c 100644 --- a/docs/source/zh-cn/core/deployment.md +++ b/docs/source/zh-cn/core/deployment.md @@ -55,13 +55,13 @@ EGG_SERVER_ENV=prod nohup node dispatch.js > stdout.log 2> stderr.log & 注意: -- **生产环境使用的 `EGG_SERVER_ENV` 必须为 `prod`**,可查看[运行环境](./basics/env.md)获取更多内容。 +- **生产环境使用的 `EGG_SERVER_ENV` 必须为 `prod`**,可查看[运行环境](../basics/env.md)获取更多内容。 - 如果使用 Docker,可直接前台运行。 - 默认情况框架会创建和 CPU 核数相当的 app worker 数,可以充分的利用 CPU 资源。 ### 自定义框架启动 -如果应用使用了[自定义框架](./advanced/framework.md),还需要指定额外的参数,比如框架为 `yadan`。 +如果应用使用了[自定义框架](../advanced/framework.md),还需要指定额外的参数,比如框架为 `yadan`。 ```js // dispatch.js diff --git a/docs/source/zh-cn/intro/index.md b/docs/source/zh-cn/intro/index.md index 851a23bf65..8ae96a706f 100644 --- a/docs/source/zh-cn/intro/index.md +++ b/docs/source/zh-cn/intro/index.md @@ -23,7 +23,7 @@ Egg 奉行『**约定优于配置**』,按照[一套统一的约定](../advanc - 深度[框架定制](../advanced/framework.md) - 高度可扩展的[插件机制](../advanced/plugin.md) -- 内置[多进程管理](../advanced/cluster.md) +- 内置[多进程管理](../advanced/cluster-client.md) - 基于 [Koa] 开发,性能优异 - 框架稳定,测试覆盖率高 - [渐进式开发](../tutorials/progressive.md) diff --git a/docs/themes/egg/layout/index.swig b/docs/themes/egg/layout/index.swig deleted file mode 100644 index 0b8bf90598..0000000000 --- a/docs/themes/egg/layout/index.swig +++ /dev/null @@ -1,17 +0,0 @@ -
- -
-
-{{ partial('partial/aside') }} -
-{{ partial('partial/footer') }} diff --git a/docs/themes/egg/layout/layout.swig b/docs/themes/egg/layout/layout.swig deleted file mode 100644 index 314e76f5f4..0000000000 --- a/docs/themes/egg/layout/layout.swig +++ /dev/null @@ -1,24 +0,0 @@ - - - - {{ partial('partial/head') }} - - - {{ partial('partial/header') }} -
- {{ body }} -
- - - -
- -
- diff --git a/docs/themes/egg/layout/page.swig b/docs/themes/egg/layout/page.swig deleted file mode 100644 index 47c5b12e9b..0000000000 --- a/docs/themes/egg/layout/page.swig +++ /dev/null @@ -1,7 +0,0 @@ -
-
-

{{ page.title }}

- {{ page.content }} -
- {{ partial('partial/aside') }} -
diff --git a/docs/themes/egg/layout/partial/aside.swig b/docs/themes/egg/layout/partial/aside.swig deleted file mode 100644 index cc3c65ea8c..0000000000 --- a/docs/themes/egg/layout/partial/aside.swig +++ /dev/null @@ -1,17 +0,0 @@ - - diff --git a/docs/themes/egg/layout/partial/footer.swig b/docs/themes/egg/layout/partial/footer.swig deleted file mode 100644 index 0cc2e86b37..0000000000 --- a/docs/themes/egg/layout/partial/footer.swig +++ /dev/null @@ -1,10 +0,0 @@ - diff --git a/docs/themes/egg/layout/partial/head.swig b/docs/themes/egg/layout/partial/head.swig deleted file mode 100644 index 0cd500044c..0000000000 --- a/docs/themes/egg/layout/partial/head.swig +++ /dev/null @@ -1,8 +0,0 @@ -{{ page.title || 'egg' }} - {{ __('index.slogan') }} - - - - - - -{{ css('css/index') }} \ No newline at end of file diff --git a/docs/themes/egg/layout/partial/header.swig b/docs/themes/egg/layout/partial/header.swig deleted file mode 100644 index 1551f9b917..0000000000 --- a/docs/themes/egg/layout/partial/header.swig +++ /dev/null @@ -1,31 +0,0 @@ - diff --git a/docs/themes/egg/lib/renderer.js b/docs/themes/egg/lib/renderer.js deleted file mode 100644 index 14340d156e..0000000000 --- a/docs/themes/egg/lib/renderer.js +++ /dev/null @@ -1,28 +0,0 @@ -'use strict'; - -const url = require('url'); -const markdownItTocAndAnchor = require('markdown-it-toc-and-anchor').default; -const markdownItReplaceLink = require('markdown-it-replace-link'); - -const md = require('markdown-it')({ - // replace .md to .html in markdown files - replaceLink(link) { - const urlObj = url.parse(link); - if (urlObj.pathname && urlObj.pathname[0] === '.' && /\.md$/.test(urlObj.pathname)) { - urlObj.pathname = urlObj.pathname.replace(/md$/, 'html'); - return url.format(urlObj); - } - return link; - }, -}); -md.use(markdownItTocAndAnchor, { - toc: true, - anchorLink: true, - anchorClassName: 'markdown-anchor', -}); -md.use(markdownItReplaceLink); - -module.exports = function(data) { - const a = md.render(data.text); - return a; -}; diff --git a/docs/themes/egg/scripts/helpers.js b/docs/themes/egg/scripts/helpers.js deleted file mode 100644 index 5fe1cc75ee..0000000000 --- a/docs/themes/egg/scripts/helpers.js +++ /dev/null @@ -1,64 +0,0 @@ -'use strict'; - -const renderer = require('../lib/renderer'); - - -/* global hexo */ - -hexo.extend.renderer.register('md', 'html', renderer, true); - -hexo.extend.helper.register('guide_toc', function() { - const toc = this.site.data.guide_toc; - let menu = '
'; - - for (let title in toc) { - const subMenu = toc[title]; - title = getI18nText(this.__, title, 'guide_toc.'); - menu += `
${title}
'; - } - - menu += '
'; - return menu; -}); - -hexo.extend.helper.register('menu_link', function() { - const menus = this.site.data.menu; - - let links = ''; - for (const menu in menus) { - let link = menus[menu]; - const content = getI18nText(this.__, menu, 'menu.'); - - // http://example.com -> http://example.com - // /api -> /api - // intro/ -> /zh-cn/intro/ - if (this.page.lang !== 'en' && !/^http/.test(link) && !/^\//.test(link)) { - link = '/' + this.page.lang + '/' + link; - } - links += `
  • ${content}
  • `; - } - - return links; -}); - -hexo.extend.helper.register('index_link', function(url) { - if (!url) { - url = '/'; - } - if (this.page.lang !== 'en') { - return `/${this.page.lang}${url}`; - } - return url; -}); - -function getI18nText(gettext, text, prefix) { - const key = prefix + text; - const tmp = gettext(key); - return tmp === key ? text : tmp; -} diff --git a/docs/themes/egg/source/css/index.less b/docs/themes/egg/source/css/index.less deleted file mode 100644 index 5f718967e6..0000000000 --- a/docs/themes/egg/source/css/index.less +++ /dev/null @@ -1,24 +0,0 @@ -@import "vendor/normalize"; -@import "vendor/github-markdown"; -@import "vendor/highlight-github"; - -@import "partial/var"; -@import "partial/main"; -@import "partial/nav"; -@import "partial/toc"; -@import "partial/footer"; - -@import "page/index"; -@import "page/page"; -@import "partial/mobile"; - -.release { - padding: 40px; - h1 { - font-size: 1.5em; - } -} - -.cnzz { - display: none; -} diff --git a/docs/themes/egg/source/css/page/index.less b/docs/themes/egg/source/css/page/index.less deleted file mode 100644 index 657ff9915a..0000000000 --- a/docs/themes/egg/source/css/page/index.less +++ /dev/null @@ -1,153 +0,0 @@ -.btn { - display: inline-block; - height: 38px; - width: 120px; - border: 1px solid #fff; - border-radius: 19px; - color: #fff; - line-height: 38px; - letter-spacing: 0.5px; - text-align: center; - font-weight: normal; - margin-right: 10px; -} - -.btn-primary { - background: #22ab28; - border-color: #209425; - &:hover{ - color: #fff; - background: #42bd48; - border-color: #0e5f12; - transition: all 0.3s; - } -} -.btn-secondary{ - border: 1px solid #22ab28; - border-radius: 100px; - color: #22ab28; - &:hover{ - background: #22ab28; - color: #fff; - transition: all 0.6s; - } -} -.index { - text-align: center; -} - -.index-bg-dark { - background: @bg_light; - color: #dbdde6; -} - -.index-bg-light { - background: @bg_light; -} - -.block { - padding: 100px 0; -} - -.banner { - max-width: @max_width; - margin:100px auto; - h1{ - font-size: 46px; - font-weight: 200; - letter-spacing: 1.5px; - margin-bottom: 10px; - } - .banner-info { - width: 60%; - h1 { - text-align: left; - } - p{ - text-align: left; - } - } - .banner-logo { - float: right; - padding-right: 13%; - margin-top: -60px; - img{ - width: 120%; - } - } - - .banner-button { - padding-top: 50px; - } -} - -.version { - background: #F6F8F8; - height: 60px; - line-height: 60px; - box-shadow: 0px 1px 0px 0px rgba(225,225,225,0.50); - span { - padding: 0 30px; - color: #71747B; - } - strong { - color: #131926; - font-weight: bold; - } -} - -.info { - h3 { - font-weight: 500; - color: #333333; - font-size: 24px; - margin-bottom: 20px; - } - ul { - padding-top: 60px; - } - li { - vertical-align: top; - display: inline-block; - width: 270px; - padding: 0 20px; - margin-bottom: 70px; - font-size: 16px; - } - .info-img { - height: 100px; - } -} - - -.guide-code { - font-size: 20px; - font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; - font-weight: 200; - color: #FFFFFF; - text-align: left; - padding: 40px 0; - - ul { - background: #1F2532; - max-width: 650px; - margin: 0 auto; - padding: 40px; - } - - li { - list-style: none; - line-height: 60px; - } - - strong { - color: #d4d4d4; - margin-right: 30px; - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - } -} diff --git a/docs/themes/egg/source/css/page/page.less b/docs/themes/egg/source/css/page/page.less deleted file mode 100644 index 2ead07bf4d..0000000000 --- a/docs/themes/egg/source/css/page/page.less +++ /dev/null @@ -1,52 +0,0 @@ -.page-title { - padding: 20px 0 150px; - background: @bg_dark; - text-align: center; - h1{ - text-shadow: 3px 4px 0px rgba(255,255,255,0.10); - letter-spacing: 2px; - font-size: 64px; - color: #fff; - font-weight: 500; - } - h2{ - font-size: 16px; - color: #4E5668; - padding-top: 5px; - font-weight: 300; - letter-spacing: 0.5px; - } -} - -.page-main { - margin: 0px auto 0px; - max-width: @max_width; - min-height: 200px; - overflow: hidden; - background: #FFFFFF; - border-radius: 2px; - margin-top: 56px; -} - -.page-main article { - min-height: 400px; - padding:50px 50px 50px 270px; - - h2, h3, h4, h5, h6 { - position: static; - a.markdown-anchor { - position: relative; - height: 25px; - margin-right: -25px; - display: inline-block; - } - - &:before { - content: ''; - display: block; - margin-top: -76px; - height: 76px; - visibility: hidden; - } - } -} \ No newline at end of file diff --git a/docs/themes/egg/source/css/partial/footer.less b/docs/themes/egg/source/css/partial/footer.less deleted file mode 100644 index 5a43aa2b15..0000000000 --- a/docs/themes/egg/source/css/partial/footer.less +++ /dev/null @@ -1,36 +0,0 @@ -.footer { - background: #F9F9F9; - border-top: 1px solid rgba(230, 230, 230, 0.99); - position: absolute; - width: 100%; - bottom:0; - footer { - overflow: hidden; - height: 60px; - line-height: 60px; - max-width: @max_width; - margin: 0 auto; - } - - ul { - float: left; - } - - li { - display: inline-block; - margin-right: 30px; - } - - &, & a { - color: #6E717C; - } - - .license { - float: right; - - img { - vertical-align: -5px; - margin-left: 4px; - } - } -} diff --git a/docs/themes/egg/source/css/partial/main.less b/docs/themes/egg/source/css/partial/main.less deleted file mode 100644 index 13fe23beae..0000000000 --- a/docs/themes/egg/source/css/partial/main.less +++ /dev/null @@ -1,38 +0,0 @@ -body { - min-width: 320px; - background: @bg_light; - font-size: 14px; - font-family: 'Helvetica Neue', 'Helvetica', tahoma, 'Hiragino Sans GB', 'PingFang SC', 'STHeitiSC-Light', 'Microsoft YaHei', Arial, sans-serif; - & a:hover { - color: #148a1a; - } -} - -h1, h2, h3, h4, h5, h6 { - margin: 0; -} - -ul, li, dl, dt, dd { - margin: 0; - padding: 0; -} - -a { - text-decoration: none; -} - -p { - margin: 0; -} - -/* big font */ -.ft-b { - font-size: 32px; - font-weight: 500; - letter-spacing: 1px; - line-height: 2.5em; -} - -.leftpadding { - padding-left: 20px; -} diff --git a/docs/themes/egg/source/css/partial/mobile.less b/docs/themes/egg/source/css/partial/mobile.less deleted file mode 100644 index a3f1ef344d..0000000000 --- a/docs/themes/egg/source/css/partial/mobile.less +++ /dev/null @@ -1,91 +0,0 @@ -.mobile-menu { - display: none; -} - -@media screen and (max-width: 1004px) { - .nav { - ul.nav-item { - display: none; - } - header { - width: 90%; - } - .nav-logo{ - padding-top: 2px; - } - .mobile-trigger { - display: inline-block; - top: 21px; - right: 20px; - position: absolute; - z-index: 3; - li { - display: block; - background: #6b6b6b; - width: 22px; - height: 3px; - margin-bottom: 4px; - } - } - } - .banner .banner-logo{ - padding-right: 25%; - margin-top: -100px; - padding-bottom: 100px; - } - .banner .banner-info{ - width: 80%; - margin: 0 auto; - h1{ - font-size: 40px; - } - } - - .index-aside aside { - display: block; - } - - aside { - display: block; - padding: 0 20px; - width: 140px; - right: -200px; - border-left: 1px solid #E6E6E6; - transition: right 1s; - overflow-y: scroll; - - .mobile-menu { - padding-top: 30px; - display: block; - ul { - margin-bottom: 30px; - li a { - color: #000000; - } - } - } - - dl { - padding-top: 0; - } - } - - aside.mobile-show { - right: 0px; - transition: right 1s; - } - - .page-main article { - float: none; - width: 100%; - width: 88%; - margin: 0 auto; - padding:20px; - } - - .footer { - position: inherit; - width: auto; - padding: 0 20px; - } -} diff --git a/docs/themes/egg/source/css/partial/nav.less b/docs/themes/egg/source/css/partial/nav.less deleted file mode 100644 index 02c9b06e94..0000000000 --- a/docs/themes/egg/source/css/partial/nav.less +++ /dev/null @@ -1,120 +0,0 @@ -.nav { - background: #f9f9f9; - height: 56px; - border-bottom: 1px solid rgba(230, 230, 230, 0.99); - z-index:2; - width: 100%; - position:fixed; - top:0; - header { - /*shift way to clear float because of the overflow hidden will hide the algolia*/ - &:after { - display: block; - clear: both; - content: '\20'; - height: 0; - } - padding: 12px 0 13px; - max-width: @max_width; - margin: 0 auto; - .ds-dropdown-menu { - max-height: 450px; - overflow: auto; - /* hidden the small triangle prompt*/ - &:before { - background: none; - } - } - - .search-query { - height: 32px; - line-height: 32px; - box-sizing: border-box; - border: 1px solid #e6e6e6; - border-radius: 15px; - outline: none; - padding: 0 15px 0 32px; - background: #fff url(../images/search.png) 8px 5px no-repeat; - background-size: 20px; - } - } - - ul.nav-item { - height: 32px; - float: left; - line-height: 32px; - padding-left: 10px; - li { - display: inline-block; - margin-left: 40px; - } - - a { - display: inline-block; - color: #3C3C3C; - letter-spacing:0.5px; - font-weight: 500; - &:hover{ - color:#22ab28; - transition: 0.6s all; - } - } - } - - iframe { - vertical-align: -5px; - } - - .mobile-trigger { - display: none; - } -} - -.translations { - display: inline-block; - ul.nav-item{ - height: 70px; - padding-left: 0px; - } -} -.translations:hover .dropdown-content{ - display: block; -} -.arrow{ - display: inline-block; - vertical-align: middle; - margin-top: -1px; - margin-left: 6px; - margin-right: -14px; - width: 0; - height: 0; - border-left:4px solid transparent; - border-right: 4px solid transparent; - border-radius: 1px; - border-top: 5px solid #3C3C3C; -} -.nav-link { - cursor:pointer; - -} -.dropdown-content { - display: none; - position: absolute; - background-color: #fff; - padding: 10px 0; - border: 1px solid #E6E6E6; - border-bottom-color: #E6E6E6; - text-align: left; - border-radius: 4px; - li { - display: inherit; - margin: 0px 20px; - } -} - -.nav-logo { - margin: 0; - display: inline-block; - float: left; - padding-top: 2px; -} diff --git a/docs/themes/egg/source/css/partial/toc.less b/docs/themes/egg/source/css/partial/toc.less deleted file mode 100644 index a8ddbc6379..0000000000 --- a/docs/themes/egg/source/css/partial/toc.less +++ /dev/null @@ -1,45 +0,0 @@ -aside { - padding-left: 20px; - width: 200px; - height: 100%; - position: fixed; - top: 56px; - background: #fff; - border-right:1px solid #E6E6E6; - overflow-y: scroll; - - dl { - padding: 60px 0; - } - - dt { - padding-bottom: 10px; - font-weight: bold; - font-size: 16px; - color: #333; - } - - dd { - margin-bottom: 30px; - } - - ul li a { - font-size: 14px; - color: #585858; - height: 30px; - line-height: 30px; - &:hover{ - color: #22ab28; - transition: 0.3s color; - - } - } - - li { - list-style-type: none; - } -} - -.index-aside aside { - display: none; -} diff --git a/docs/themes/egg/source/css/partial/var.less b/docs/themes/egg/source/css/partial/var.less deleted file mode 100644 index d2a8f986eb..0000000000 --- a/docs/themes/egg/source/css/partial/var.less +++ /dev/null @@ -1,5 +0,0 @@ -@bg_default: #F6F8F8; -@bg_dark: #121724; -@bg_light: #FFFFFF; - -@max_width: 1136px; diff --git a/docs/themes/egg/source/css/vendor/github-markdown.less b/docs/themes/egg/source/css/vendor/github-markdown.less deleted file mode 100644 index 12ba236a0c..0000000000 --- a/docs/themes/egg/source/css/vendor/github-markdown.less +++ /dev/null @@ -1,718 +0,0 @@ -@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: #585858; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; - font-size: 16px; - word-wrap: break-word; - line-height: 2; - letter-spacing: 0.2px; -} - -.markdown-body .pl-c { - color: #969896; -} - -.markdown-body .pl-c1, -.markdown-body .pl-s .pl-v { - color: #0086b3; -} - -.markdown-body .pl-e, -.markdown-body .pl-en { - color: #795da3; -} - -.markdown-body .pl-smi, -.markdown-body .pl-s .pl-s1 { - color: #333; -} - -.markdown-body .pl-ent { - color: #63a35c; -} - -.markdown-body .pl-k { - color: #a71d5d; -} - -.markdown-body .pl-s, -.markdown-body .pl-pds, -.markdown-body .pl-s .pl-pse .pl-s1, -.markdown-body .pl-sr, -.markdown-body .pl-sr .pl-cce, -.markdown-body .pl-sr .pl-sre, -.markdown-body .pl-sr .pl-sra { - color: #183691; -} - -.markdown-body .pl-v { - color: #ed6a43; -} - -.markdown-body .pl-id { - color: #b52a1d; -} - -.markdown-body .pl-ii { - color: #f8f8f8; - background-color: #b52a1d; -} - -.markdown-body .pl-sr .pl-cce { - font-weight: bold; - color: #63a35c; -} - -.markdown-body .pl-ml { - color: #693a17; -} - -.markdown-body .pl-mh, -.markdown-body .pl-mh .pl-en, -.markdown-body .pl-ms { - font-weight: bold; - color: #1d3e81; -} - -.markdown-body .pl-mq { - color: #008080; -} - -.markdown-body .pl-mi { - font-style: italic; - color: #333; -} - -.markdown-body .pl-mb { - font-weight: bold; - color: #333; -} - -.markdown-body .pl-md { - color: #bd2c00; - background-color: #ffecec; -} - -.markdown-body .pl-mi1 { - color: #55a532; - background-color: #eaffea; -} - -.markdown-body .pl-mdr { - font-weight: bold; - color: #795da3; -} - -.markdown-body .pl-mo { - color: #1d3e81; -} - -.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; - color:#000; -} - -.markdown-body strong { - font-weight: bolder; -} - -.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 { - box-sizing: content-box; - height: 0; - overflow: visible; -} - -.markdown-body input { - font: inherit; - margin: 0; -} - -.markdown-body input { - overflow: visible; -} - -.markdown-body button:-moz-focusring, -.markdown-body [type="button"]:-moz-focusring, -.markdown-body [type="reset"]:-moz-focusring, -.markdown-body [type="submit"]:-moz-focusring { - outline: 1px dotted ButtonText; -} - -.markdown-body [type="checkbox"] { - box-sizing: border-box; - padding: 0; -} - -.markdown-body * { - box-sizing: border-box; -} - -.markdown-body input { - font-family: inherit; - font-size: inherit; - line-height: inherit; -} - -.markdown-body a { - color: #22ab28; - text-decoration: none; -} - -.markdown-body a:hover, -.markdown-body a:active { - text-decoration: underline; -} - -.markdown-body strong { - font-weight: 600; -} - -.markdown-body hr { - height: 0; - margin: 15px 0; - overflow: hidden; - background: transparent; - border: 0; - border-bottom: 1px solid #ddd; -} - -.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; - color: #000; - border: 0; -} - -.markdown-body h2 { - font-size: 24px; - font-weight: 600; - color: #000; -} - -.markdown-body h3 { - font-size: 20px; - font-weight: 600; - color: #000; - -} - -.markdown-body h4 { - font-size: 16px; - font-weight: 600; - color: #000; - -} - -.markdown-body h5 { - font-size: 14px; - font-weight: 600; - color: #000; -} - -.markdown-body h6 { - font-size: 12px; - font-weight: 600; - color: #000; -} - -.markdown-body p { - margin-top: 0; - margin-bottom: 10px; -} - -.markdown-body p a, -.markdown-body li a { display: inline-block; } - -.markdown-body blockquote { - margin: 0; -} - -.markdown-body ul, -.markdown-body ol { - padding-left: 0; - margin-top: 0; - margin-bottom: 0; -} - -.markdown-body ol ol, -.markdown-body ul ol { - list-style-type: lower-roman; -} - -.markdown-body ul ul ol, -.markdown-body ul ol ol, -.markdown-body ol ul ol, -.markdown-body ol ol ol { - list-style-type: lower-alpha; -} - -.markdown-body dd { - margin-left: 0; -} - -.markdown-body code { - font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; - font-size: 12px; -} - -.markdown-body pre { - margin-top: 0; - margin-bottom: 0; - font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace; -} - -.markdown-body .octicon { - vertical-align: text-bottom; -} - -.markdown-body input { - -webkit-font-feature-settings: "liga" 0; - font-feature-settings: "liga" 0; -} - -.markdown-body .form-select::-ms-expand { - opacity: 0; -} - -.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: none; -} - -.markdown-body p, -.markdown-body blockquote, -.markdown-body ul, -.markdown-body ol, -.markdown-body dl, -.markdown-body table, -.markdown-body pre { - margin-top: 0; - margin-bottom: 16px; -} - -.markdown-body hr { - height: 0.25em; - padding: 0; - margin: 24px 0; - background-color: #e7e7e7; - border: 0; -} - -.markdown-body blockquote { - padding: 0 1em; - color: #777; - border-left: 0.25em solid #ddd; -} - -.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: #555; - vertical-align: middle; - background-color: #fcfcfc; - border: solid 1px #ccc; - border-bottom-color: #bbb; - border-radius: 3px; - box-shadow: inset 0 -1px 0 #bbb; -} - -.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: #000; - 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: 0.3em; - font-size: 2em; -} - -.markdown-body h2 { - padding-bottom: 0.3em; - font-size: 1.5em; - border-bottom: 1px solid #eee; - line-height: 46px; -} - -.markdown-body h3 { - font-size: 1.25em; -} - -.markdown-body h4 { - font-size: 1em; -} - -.markdown-body h5 { - font-size: 0.875em; -} - -.markdown-body h6 { - font-size: 0.85em; - color: #777; -} - -.markdown-body ul, -.markdown-body ol { - padding-left: 2em; -} - -.markdown-body ul ul, -.markdown-body ul ol, -.markdown-body ol ol, -.markdown-body ol ul { - margin-top: 0; - margin-bottom: 0; -} - -.markdown-body li>p { - margin-top: 16px; -} - -.markdown-body li+li { - margin-top: 0.25em; -} - -.markdown-body dl { - padding: 0; -} - -.markdown-body dl dt { - padding: 0; - margin-top: 16px; - font-size: 1em; - font-style: italic; - font-weight: bold; -} - -.markdown-body dl dd { - padding: 0 16px; - margin-bottom: 16px; -} - -.markdown-body table { - display: block; - width: 100%; - overflow: auto; - word-break: normal; - word-break: keep-all; -} - -.markdown-body table th { - font-weight: bold; -} - -.markdown-body table th, -.markdown-body table td { - padding: 6px 13px; - border: 1px solid #ccc; - -} - -.markdown-body table tr { - background-color: #fff; - border: 1px solid #ccc; - -} - -.markdown-body table tr:nth-child(2n) { - background-color: #f8f8f8; -} - -.markdown-body img { - max-width: 100%; - box-sizing: content-box; - background-color: #fff; -} - -.markdown-body code { - padding: 0; - padding-top: 0.2em; - padding-bottom: 0.2em; - margin: 0; - font-size: 85%; - color: #687168; - background-color: rgb(222, 245, 223); - border-radius: 3px; -} - -.markdown-body code::before, -.markdown-body code::after { - letter-spacing: -0.2em; - content: "\00a0"; -} - -.markdown-body pre { - word-wrap: normal; -} - -.markdown-body pre>code { - padding: 0; - margin: 0; - font-size: 100%; - word-break: normal; - white-space: pre; - background: transparent; - border: 0; -} - -.markdown-body .highlight pre, -.markdown-body pre { - padding: 16px; - overflow: auto; - font-size: 85%; - line-height: 1.45; - background-color: #f8f8f8; - 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::before, -.markdown-body pre code::after { - content: normal; -} - -.markdown-body .pl-0 { - padding-left: 0 !important; -} - -.markdown-body .pl-1 { - padding-left: 3px !important; -} - -.markdown-body .pl-2 { - padding-left: 6px !important; -} - -.markdown-body .pl-3 { - padding-left: 12px !important; -} - -.markdown-body .pl-4 { - padding-left: 24px !important; -} - -.markdown-body .pl-5 { - padding-left: 36px !important; -} - -.markdown-body .pl-6 { - padding-left: 48px !important; -} - -.markdown-body .full-commit .btn-outline:not(:disabled):hover { - color: #4078c0; - border: 1px solid #4078c0; -} - -.markdown-body kbd { - display: inline-block; - padding: 3px 5px; - font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace; - line-height: 10px; - color: #555; - vertical-align: middle; - background-color: #fcfcfc; - border: solid 1px #ccc; - border-bottom-color: #bbb; - border-radius: 3px; - box-shadow: inset 0 -1px 0 #bbb; -} - -.markdown-body :checked+.radio-label { - position: relative; - z-index: 1; - border-color: #4078c0; -} - -.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 0.2em 0.25em -1.6em; - vertical-align: middle; -} - -.markdown-body hr { - border-bottom-color: #eee; -} - -.markdown-body { - a.markdown-anchor { - position: absolute; - left: -20px; - display: block; - width: 20px; - color: #666; - visibility: hidden; - &:hover { - text-decoration: none; - color: #000000; - } - } - h1, h2, h3, h4, h5, h6 { - position: relative; - &:hover .markdown-anchor { - visibility: visible; - } - } -} diff --git a/docs/themes/egg/source/css/vendor/highlight-github.less b/docs/themes/egg/source/css/vendor/highlight-github.less deleted file mode 100644 index b73a873859..0000000000 --- a/docs/themes/egg/source/css/vendor/highlight-github.less +++ /dev/null @@ -1,120 +0,0 @@ -/* - -github.com style (c) Vasily Polovnyov - -*/ - -.highlight { - display: block; - overflow-x: auto; - padding: 0.5em; - color: #666; - background: #f8f8f8; - margin: 0; - padding: 0; - background: transparent; - - pre { - margin-bottom: 0; - word-break: normal; - } - - table, tbody, tr, td { - display: block; - } - - table tr { - border: 0; - } - - .code { - padding: 0; - border: none; - } - - .comment, - .quote { - color: #c1c1c1; - font-style: italic; - } - - .keyword, - .selector-tag, - .subst { - color: #333; - font-weight: bold; - } - - .number, - .literal, - .variable, - .template-variable, - .tag .attr { - color: #b34314; - } - - .string, - .doctag { - color: #2d9e2d; - } - - .title, - .section, - .selector-id { - color: #d43737; - font-weight: bold; - } - - .subst { - font-weight: normal; - } - - .type, - .class .title { - color: #5575d4; - font-weight: bold; - } - - .tag, - .name, - .attribute { - color: #929292; - font-weight: normal; - } - - .regexp, - .link { - color: #009926; - } - - .symbol, - .bullet { - color: #990073; - } - - .built_in, - .builtin-name { - color: #21b3e4; - } - - .meta { - color: #999; - font-weight: bold; - } - - .deletion { - background: #fdd; - } - - .addition { - background: #dfd; - } - - .emphasis { - font-style: italic; - } - - .strong { - font-weight: bold; - } -} diff --git a/docs/themes/egg/source/css/vendor/normalize.less b/docs/themes/egg/source/css/vendor/normalize.less deleted file mode 100644 index 18ddf7fede..0000000000 --- a/docs/themes/egg/source/css/vendor/normalize.less +++ /dev/null @@ -1,419 +0,0 @@ -/*! normalize.css v4.1.1 | MIT License | github.com/necolas/normalize.css */ - -/** - * 1. Change the default font family in all browsers (opinionated). - * 2. Prevent adjustments of font size after orientation changes in IE and iOS. - */ - -html { - font-family: sans-serif; /* 1 */ - -ms-text-size-adjust: 100%; /* 2 */ - -webkit-text-size-adjust: 100%; /* 2 */ -} - -/** - * Remove the margin in all browsers (opinionated). - */ - -body { - margin: 0; -} - -/* HTML5 display definitions - ========================================================================== */ - -/** - * Add the correct display in IE 9-. - * 1. Add the correct display in Edge, IE, and Firefox. - * 2. Add the correct display in IE. - */ - -article, -aside, -details, /* 1 */ -figcaption, -figure, -footer, -header, -main, /* 2 */ -menu, -nav, -section, -summary { /* 1 */ - display: block; -} - -/** - * Add the correct display in IE 9-. - */ - -audio, -canvas, -progress, -video { - display: inline-block; -} - -/** - * Add the correct display in iOS 4-7. - */ - -audio:not([controls]) { - display: none; - height: 0; -} - -/** - * Add the correct vertical alignment in Chrome, Firefox, and Opera. - */ - -progress { - vertical-align: baseline; -} - -/** - * Add the correct display in IE 10-. - * 1. Add the correct display in IE. - */ - -template, /* 1 */ -[hidden] { - display: none; -} - -/* Links - ========================================================================== */ - -/** - * 1. Remove the gray background on active links in IE 10. - * 2. Remove gaps in links underline in iOS 8+ and Safari 8+. - */ - -a { - background-color: transparent; /* 1 */ - -webkit-text-decoration-skip: objects; /* 2 */ -} - -/** - * Remove the outline on focused links when they are also active or hovered - * in all browsers (opinionated). - */ - -a:active, -a:hover { - outline-width: 0; -} - -/* Text-level semantics - ========================================================================== */ - -/** - * 1. Remove the bottom border in Firefox 39-. - * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. - */ - -abbr[title] { - border-bottom: none; /* 1 */ - text-decoration: underline; /* 2 */ - text-decoration: underline dotted; /* 2 */ -} - -/** - * Prevent the duplicate application of `bolder` by the next rule in Safari 6. - */ - -b, -strong { - font-weight: inherit; -} - -/** - * Add the correct font weight in Chrome, Edge, and Safari. - */ - -b, -strong { - font-weight: bolder; -} - -/** - * Add the correct font style in Android 4.3-. - */ - -dfn { - font-style: italic; -} - -/** - * Correct the font size and margin on `h1` elements within `section` and - * `article` contexts in Chrome, Firefox, and Safari. - */ - -h1 { - font-size: 2em; - margin: 0.67em 0; -} - -/** - * Add the correct background and color in IE 9-. - */ - -mark { - background-color: #ff0; - color: #000; -} - -/** - * Add the correct font size in all browsers. - */ - -small { - font-size: 80%; -} - -/** - * Prevent `sub` and `sup` elements from affecting the line height in - * all browsers. - */ - -sub, -sup { - font-size: 75%; - line-height: 0; - position: relative; - vertical-align: baseline; -} - -sub { - bottom: -0.25em; -} - -sup { - top: -0.5em; -} - -/* Embedded content - ========================================================================== */ - -/** - * Remove the border on images inside links in IE 10-. - */ - -img { - border-style: none; -} - -/** - * Hide the overflow in IE. - */ - -svg:not(:root) { - overflow: hidden; -} - -/* Grouping content - ========================================================================== */ - -/** - * 1. Correct the inheritance and scaling of font size in all browsers. - * 2. Correct the odd `em` font sizing in all browsers. - */ - -code, -kbd, -pre, -samp { - font-family: monospace, monospace; /* 1 */ - font-size: 1em; /* 2 */ -} - -/** - * Add the correct margin in IE 8. - */ - -figure { - margin: 1em 40px; -} - -/** - * 1. Add the correct box sizing in Firefox. - * 2. Show the overflow in Edge and IE. - */ - -hr { - box-sizing: content-box; /* 1 */ - height: 0; /* 1 */ - overflow: visible; /* 2 */ -} - -/* Forms - ========================================================================== */ - -/** - * 1. Change font properties to `inherit` in all browsers (opinionated). - * 2. Remove the margin in Firefox and Safari. - */ - -button, -input, -select, -textarea { - font: inherit; /* 1 */ - margin: 0; /* 2 */ -} - -/** - * Restore the font weight unset by the previous rule. - */ - -optgroup { - font-weight: bold; -} - -/** - * Show the overflow in IE. - * 1. Show the overflow in Edge. - */ - -button, -input { /* 1 */ - overflow: visible; -} - -/** - * Remove the inheritance of text transform in Edge, Firefox, and IE. - * 1. Remove the inheritance of text transform in Firefox. - */ - -button, -select { /* 1 */ - text-transform: none; -} - -/** - * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video` - * controls in Android 4. - * 2. Correct the inability to style clickable types in iOS and Safari. - */ - -button, -html [type="button"], /* 1 */ -[type="reset"], -[type="submit"] { - -webkit-appearance: button; /* 2 */ -} - -/** - * Remove the inner border and padding in Firefox. - */ - -button::-moz-focus-inner, -[type="button"]::-moz-focus-inner, -[type="reset"]::-moz-focus-inner, -[type="submit"]::-moz-focus-inner { - border-style: none; - padding: 0; -} - -/** - * Restore the focus styles unset by the previous rule. - */ - -button:-moz-focusring, -[type="button"]:-moz-focusring, -[type="reset"]:-moz-focusring, -[type="submit"]:-moz-focusring { - outline: 1px dotted ButtonText; -} - -/** - * Change the border, margin, and padding in all browsers (opinionated). - */ - -fieldset { - border: 1px solid #c0c0c0; - margin: 0 2px; - padding: 0.35em 0.625em 0.75em; -} - -/** - * 1. Correct the text wrapping in Edge and IE. - * 2. Correct the color inheritance from `fieldset` elements in IE. - * 3. Remove the padding so developers are not caught out when they zero out - * `fieldset` elements in all browsers. - */ - -legend { - box-sizing: border-box; /* 1 */ - color: inherit; /* 2 */ - display: table; /* 1 */ - max-width: 100%; /* 1 */ - padding: 0; /* 3 */ - white-space: normal; /* 1 */ -} - -/** - * Remove the default vertical scrollbar in IE. - */ - -textarea { - overflow: auto; -} - -/** - * 1. Add the correct box sizing in IE 10-. - * 2. Remove the padding in IE 10-. - */ - -[type="checkbox"], -[type="radio"] { - box-sizing: border-box; /* 1 */ - padding: 0; /* 2 */ -} - -/** - * Correct the cursor style of increment and decrement buttons in Chrome. - */ - -[type="number"]::-webkit-inner-spin-button, -[type="number"]::-webkit-outer-spin-button { - height: auto; -} - -/** - * 1. Correct the odd appearance in Chrome and Safari. - * 2. Correct the outline style in Safari. - */ - -[type="search"] { - -webkit-appearance: textfield; /* 1 */ - outline-offset: -2px; /* 2 */ -} - -/** - * Remove the inner padding and cancel buttons in Chrome and Safari on OS X. - */ - -[type="search"]::-webkit-search-cancel-button, -[type="search"]::-webkit-search-decoration { - -webkit-appearance: none; -} - -/** - * Correct the text style of placeholders in Chrome, Edge, and Safari. - */ - -::-webkit-input-placeholder { - color: inherit; - opacity: 0.54; -} - -/** - * 1. Correct the inability to style clickable types in iOS and Safari. - * 2. Change font properties to `inherit` in Safari. - */ - -::-webkit-file-upload-button { - -webkit-appearance: button; /* 1 */ - font: inherit; /* 2 */ -} diff --git a/docs/themes/egg/source/images/favicon.png b/docs/themes/egg/source/images/favicon.png deleted file mode 100644 index dd6995f8c2..0000000000 Binary files a/docs/themes/egg/source/images/favicon.png and /dev/null differ diff --git a/docs/themes/egg/source/images/feature1.svg b/docs/themes/egg/source/images/feature1.svg deleted file mode 100644 index 11b346a445..0000000000 --- a/docs/themes/egg/source/images/feature1.svg +++ /dev/null @@ -1,23 +0,0 @@ - - - - Page 1 - Created with Sketch Beta. - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/themes/egg/source/images/feature2.svg b/docs/themes/egg/source/images/feature2.svg deleted file mode 100644 index cd0c9c1e86..0000000000 --- a/docs/themes/egg/source/images/feature2.svg +++ /dev/null @@ -1,39 +0,0 @@ - - - - Page 1 - Created with Sketch Beta. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/themes/egg/source/images/feature3.svg b/docs/themes/egg/source/images/feature3.svg deleted file mode 100644 index 7a376cf446..0000000000 --- a/docs/themes/egg/source/images/feature3.svg +++ /dev/null @@ -1,35 +0,0 @@ - - - - Page 1 - Created with Sketch Beta. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/themes/egg/source/images/github.svg b/docs/themes/egg/source/images/github.svg deleted file mode 100644 index 3239e4f9f2..0000000000 --- a/docs/themes/egg/source/images/github.svg +++ /dev/null @@ -1,18 +0,0 @@ - - - - Group - Created with Sketch Beta. - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/themes/egg/source/images/logo-animate.js b/docs/themes/egg/source/images/logo-animate.js deleted file mode 100644 index 775b41346d..0000000000 --- a/docs/themes/egg/source/images/logo-animate.js +++ /dev/null @@ -1,4 +0,0 @@ -!function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,loaded:!1};return t[i].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}(function(t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))switch(typeof t[e]){case"function":break;case"object":t[e]=function(e){var n=e.slice(1),i=t[e[0]];return function(t,e,r){i.apply(this,[t,e,r].concat(n))}}(t[e]);break;default:t[e]=t[t[e]]}return t}([function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}var r=n(45),a=i(r),s=n(77),o=i(s),c=n(33),u=i(c),h=n(70),l=i(h);n(72),window.logo=function(t){var e=new a["default"],n=new o["default"]({containerId:t,width:320,height:250}),i=n.addGroup(u["default"],{svgson:l["default"]}),r=i.find("points"),s=r.get("children"),c=i.find("lines"),h=c.get("children"),f=void 0,x=void 0,g=void 0;n.translate(20,20);for(var d=0;d0&&e.stroke()},isPointInPath:function(t,e){return!1},isHit:function(t,e){var n=this,i=n.get("canvas"),r=new o(t,e,1);n.invert(r,i);var a=n.getBBox();if(a&&s.box(a.minX,a.maxX,a.minY,a.maxY,r.x,r.y)){var c=n.__attrs.clip;if(!c)return n.isPointInPath(r.x,r.y);if(c.inside(t,e))return n.isPointInPath(r.x,r.y)}return!1},getBBox:function(){return this.get("box")}}),t.exports=c},function(t,e,n){var i=n(8),r={Canvas:n(52),Group:n(23),Shape:n(6),Rect:n(67),Circle:n(56),Ellipse:n(58),Path:n(63),Text:n(68),Line:n(61),Image:n(60),Polygon:n(64),Polyline:n(65),Arc:n(55),Fan:n(59),Cubic:n(57),Quadratic:n(66),debug:function(t){i.debug=t}};t.exports=r},function(t,e){"use strict";var n={prefix:"g",backupContext:function(){return document.createElement("canvas").getContext("2d")}(),debug:!1,warn:function(t){}};t.exports=n},function(t,e,n){function i(t,e,n,i){s(t,a(e,n,i))}function r(t,e,n){var i=n/Math.sin(u);return t.setLength(i/2),e.sub(t),e}function a(t,e,n){var i=new c(1,0).angleTo(t),r=i-u,a=i+u,s=6+3*n;return[{x:e.x-s*Math.cos(r),y:e.y-s*Math.sin(r)},e,{x:e.x-s*Math.cos(a),y:e.y-s*Math.sin(a)}]}function s(t,e){t.moveTo(e[0].x,e[0].y),t.lineTo(e[1].x,e[1].y),t.lineTo(e[2].x,e[2].y)}var o=n(1),c=(n(3),n(4),o.Vector2),u=Math.PI/6;t.exports={makeArrow:i,getEndPoint:r}},function(t,e,n){"use strict";var i=n(7),r=n(4),a=i.Shape.superclass.constructor,s=document.createElement("table"),o=document.createElement("tr"),c=/^\s*<(\w+|!)[^>]*>/,u={tr:document.createElement("tbody"),tbody:s,thead:s,tfoot:s,td:o,th:o,"*":document.createElement("div")};r.mix(r,{getBoundingClientRect:function(t){var e=t.getBoundingClientRect(),n=document.documentElement.clientTop,i=document.documentElement.clientLeft;return{top:e.top-n,bottom:e.bottom-n,left:e.left-i,right:e.right-i}},upperFirst:function(t){return t.replace(/(\w)/,function(t){return t.toUpperCase()})},getStyle:function(t,e){return window.getComputedStyle?window.getComputedStyle(t,null)[e]:t.currentStyle[e]},modiCSS:function(t,e){var n;for(n in e)t.style[n]=e[n];return t},getRatio:function(){return window.devicePixelRatio?window.devicePixelRatio:1},initClassCfgs:function(t){if(!t.__cfg&&t!==a){var e=t.superclass.constructor;e&&!e.__cfg&&r.initClassCfgs(e),t.__cfg={},r.mix(!0,t.__cfg,e.__cfg),r.mix(!0,t.__cfg,t.CFG)}},mixin:function(t,e){var n=t.CFG?"CFG":"ATTRS";if(t&&e){t._mixins=e,t[n]=t[n]||{};var i={};r.each(e,function(e){r.augment(t,e);var a=e[n];a&&r.mix(i,a)}),t[n]=r.mix(i,t[n])}},createDom:function(t){var e=c.test(t)&&RegExp.$1;e in u||(e="*");var n=u[e];return t=t.replace(/(^\s*)|(\s*$)/g,""),n.innerHTML=""+t,n.childNodes[0]}}),t.exports=r},10,function(t,e,n){"use strict";function i(t,e){if(a.isNumeric(t)&&a.isNumeric(e))return s.number(t,e);if(a.isString(t)&&a.isString(e)){var n=new c(t),i=new c(e);if(n.getType()&&i.getType())return o.color(n,i)}}function r(t,e){if(a.isNumeric(t)&&a.isNumeric(e))return s.unNumber(t,e);if(a.isString(t)&&a.isString(e)){var n=new c(t),i=new c(e);if(n.getType()&&i.getType())return o.unColor(n,i)}}var a=n(4),s=n(39),o=n(36),c=n(13);t.exports={singular:i,unSingular:r}},function(t,e,n){t.exports=n(41)},function(t,e,n){"use strict";var i=n(4),r="\t\n\x0B\f\r \xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029",a=new RegExp("([a-z])["+r+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+r+"]*,?["+r+"]*)+)","ig"),s=new RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+r+"]*,?["+r+"]*","ig"),o=function(t){if(!t)return null;if(typeof t==typeof[])return t;var e={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},n=[];return String(t).replace(a,function(t,i,r){var a=[],o=i.toLowerCase();if(r.replace(s,function(t,e){e&&a.push(+e)}),"m"==o&&a.length>2&&(n.push([i].concat(a.splice(0,2))),o="l",i="m"==i?"l":"L"),"o"==o&&1==a.length&&n.push([i,a[0]]),"r"==o)n.push([i].concat(a));else for(;a.length>=e[o]&&(n.push([i].concat(a.splice(0,e[o]))),e[o]););}),n},c=function(t,e){for(var n=[],i=0,r=t.length;r-2*!e>i;i+=2){var a=[{x:+t[i-2],y:+t[i-1]},{x:+t[i],y:+t[i+1]},{x:+t[i+2],y:+t[i+3]},{x:+t[i+4],y:+t[i+5]}];e?i?r-4==i?a[3]={x:+t[0],y:+t[1]}:r-2==i&&(a[2]={x:+t[0],y:+t[1]},a[3]={x:+t[2],y:+t[3]}):a[0]={x:+t[r-2],y:+t[r-1]}:r-4==i?a[3]=a[2]:i||(a[0]={x:+t[i],y:+t[i+1]}),n.push(["C",(-a[0].x+6*a[1].x+a[2].x)/6,(-a[0].y+6*a[1].y+a[2].y)/6,(a[1].x+6*a[2].x-a[3].x)/6,(a[1].y+6*a[2].y-a[3].y)/6,a[2].x,a[2].y])}return n},u=function(t,e,n,i,r){if(null==r&&null==i&&(i=n),t=+t,e=+e,n=+n,i=+i,null!=r)var a=Math.PI/180,s=t+n*Math.cos(-i*a),o=t+n*Math.cos(-r*a),c=e+n*Math.sin(-i*a),u=e+n*Math.sin(-r*a),h=[["M",s,c],["A",n,n,0,+(r-i>180),0,o,u]];else h=[["M",t,e],["m",0,-i],["a",n,i,0,1,1,0,2*i],["a",n,i,0,1,1,0,-2*i],["z"]];return h},h=function(t){if(t=o(t),!t||!t.length)return[["M",0,0]];var e,n=[],i=0,r=0,a=0,s=0,h=0;"M"==t[0][0]&&(i=+t[0][1],r=+t[0][2],a=i,s=r,h++,n[0]=["M",i,r]);for(var l,f,x=3==t.length&&"M"==t[0][0]&&"R"==t[1][0].toUpperCase()&&"Z"==t[2][0].toUpperCase(),g=h,d=t.length;g1&&(_=Math.sqrt(_),n=_*n,i=_*i);var v=n*n,y=i*i,M=(a==s?-1:1)*Math.sqrt(Math.abs((v*y-v*m*m-y*p*p)/(v*m*m+y*p*p))),S=M*n*m/i+(t+o)/2,b=M*-i*p/n+(e+c)/2,w=Math.asin(((e-b)/i).toFixed(9)),A=Math.asin(((c-b)/i).toFixed(9));w=tA&&(w-=2*Math.PI),!s&&A>w&&(A-=2*Math.PI)}var P=A-w;if(Math.abs(P)>l){var C=A,I=o,T=c;A=w+l*(s&&A>w?1:-1),o=S+n*Math.cos(A),c=b+i*Math.sin(A),g=x(o,c,n,i,r,0,s,I,T,[A,C,S,b])}P=A-w;var B=Math.cos(w),k=Math.sin(w),F=Math.cos(A),L=Math.sin(A),R=Math.tan(P/4),O=4/3*n*R,X=4/3*i*R,Y=[t,e],z=[t+O*k,e-X*B],q=[o+O*L,c-X*F],D=[o,c];if(z[0]=2*Y[0]-z[0],z[1]=2*Y[1]-z[1],u)return[z,q,D].concat(g);g=[z,q,D].concat(g).join().split(",");for(var N=[],W=0,G=g.length;W7){t[e].shift();for(var r=t[e];r.length;)u[e]="A",i&&(g[e]="A"),t.splice(e++,0,["C"].concat(r.splice(0,6)));t.splice(e,1),_=Math.max(n.length,i&&i.length||0)}},c=function(t,e,r,a,s){t&&e&&"M"==t[s][0]&&"M"!=e[s][0]&&(e.splice(s,0,["M",a.x,a.y]),r.bx=0,r.by=0,r.x=t[s][1],r.y=t[s][2],_=Math.max(n.length,i&&i.length||0))},u=[],g=[],d="",p="",m=0,_=Math.max(n.length,i&&i.length||0);m<_;m++){n[m]&&(d=n[m][0]),"C"!=d&&(u[m]=d,m&&(p=u[m-1])),n[m]=s(n[m],r,p),"A"!=u[m]&&"C"==d&&(u[m]="C"),o(n,m),i&&(i[m]&&(d=i[m][0]),"C"!=d&&(g[m]=d,m&&(p=g[m-1])),i[m]=s(i[m],a,p),"A"!=g[m]&&"C"==d&&(g[m]="C"),o(i,m)),c(n,i,r,a,m),c(i,n,a,r,m);var v=n[m],y=i&&i[m],M=v.length,S=i&&y.length;r.x=v[M-2],r.y=v[M-1],r.bx=parseFloat(v[M-4])||r.x,r.by=parseFloat(v[M-3])||r.y,a.bx=i&&(parseFloat(y[S-4])||a.x),a.by=i&&(parseFloat(y[S-3])||a.y),a.x=i&&y[S-2],a.y=i&&y[S-1]}return i?[n,i]:n},d=function(t,e,n,i){return null==t&&(t=e=n=i=0),null==e&&(e=t.y,n=t.width,i=t.height,t=t.x),{x:t,y:e,w:n,h:i,cx:t+n/2,cy:e+i/2}},p=function(t,e,n,i,r,a,s,o){for(var c,u,h,l,f,x,g,d,p=[],m=[[],[]],_=0;_<2;++_)if(0==_?(u=6*t-12*n+6*r,c=-3*t+9*n-9*r+3*s,h=3*n-3*t):(u=6*e-12*i+6*a,c=-3*e+9*i-9*a+3*o,h=3*i-3*e),Math.abs(c)<1e-12){if(Math.abs(u)<1e-12)continue;l=-h/u,0n)var r=2*Math.PI-t+e,a=t-n}else var r=t-e,a=n-t;return r>a?n:e}function a(t,e,n,i){var a=0;return n-e>=2*Math.PI&&(a=2*Math.PI),e=h.mod(e,2*Math.PI),n=h.mod(n,2*Math.PI)+a,t=h.mod(t,2*Math.PI),i?e>=n?t>n&&tn?t:r(t,e,n):e<=n?ee||tt.x&&(d=t.x),pt.y&&(m=t.y),_=0&&y=0&&c<=1&&o.push(c)}}else{var h=a*a-4*r*s;if(u.equal(h,0))o.push(-a/(2*r));else if(h>0){var l=Math.sqrt(h),c=(-a+l)/(2*r),f=(-a-l)/(2*r);c>=0&&c<=1&&o.push(c),f>=0&&f<=1&&o.push(f)}}return o}var o=n(1),c=o.Vector2,u=n(3);t.exports={at:i,derivativeAt:r,projectPoint:function(t,e,n,i,r,s,o,c,u,h){var l={};return a(t,e,n,i,r,s,o,c,u,h,l),l},pointDistance:a,extrema:s}},function(t,e,n){"use strict";function i(t,e,n,i){var r=1-i;return r*(r*t+2*i*e)+i*i*n}function r(t,e,n,r,a,s,o,u,h){for(var l,f=.005,x=1/0,g=1e-4,d=new c(o,u),p=0;p<1;p+=.05){var m=new c(i(t,n,a,p),i(e,r,s,p)),_=m.distanceToSquared(d);_=0&&_=0?[r]:[]}var s=n(1),o=n(3),c=s.Vector2;t.exports={at:i,projectPoint:function(t,e,n,i,a,s,o,c){var u={};return r(t,e,n,i,a,s,o,c,u),u},pointDistance:r,extrema:a}},function(t,e,n){var i=n(71);t.exports=i},function(t,e){var n={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-1*t*(t-2)},easeInOutQuad:function(t){return(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return 1*((t=t/1-1)*t*t+1)},easeInOutCubic:function(t){return(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-1*((t=t/1-1)*t*t*t-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},easeInQuint:function(t){return 1*(t/=1)*t*t*t*t},easeOutQuint:function(t){return 1*((t=t/1-1)*t*t*t*t+1)},easeInOutQuint:function(t){return(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},easeInSine:function(t){return-1*Math.cos(t/1*(Math.PI/2))+1},easeOutSine:function(t){return 1*Math.sin(t/1*(Math.PI/2))},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t/1)-1)},easeInExpo:function(t){return 0===t?1:1*Math.pow(2,10*(t/1-1))},easeOutExpo:function(t){return 1===t?1:1*(-Math.pow(2,-10*t/1)+1)},easeInOutExpo:function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(-Math.pow(2,-10*--t)+2)},easeInCirc:function(t){return t>=1?t:-1*(Math.sqrt(1-(t/=1)*t)-1)},easeOutCirc:function(t){return 1*Math.sqrt(1-(t=t/1-1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1==(t/=1)?1:(n||(n=.3),i=1?h.attrs[u]=n.attrs[u]:e.pathStash&&n.pathStash?h.attrs[u]=s.pathInterpolation(t,e.pathStash,n.pathStash):(c=i.path2curve(e.attrs[u],n.attrs[u]),e.pathStash=c[0],n.pathStash=c[1]):(o=s.interpolation(e.attrs[u],n.attrs[u]),h.attrs[u]=o(t)));return n.matrix&&e.matrix&&(a=e.matrix.clone(),"matrix3"===n.matrix.type?(o=s.interpolation(e.matrix,n.matrix),h.matrix=o(t)):i.isFunction(n.matrix)&&(h.matrix=n.matrix.call(r,a,t))),h},pathInterpolation:function(t,e,n){for(var r,a,o,c,u=[],h=0;h=r&&(i.attrs||i.matrix||this._autoSetStartKeyFrame(),void this.step(t))},step:function(t){var e,n,i=this.get("target"),a=this.get("startTime"),o=this.get("delay"),c=t-a-o,u=this.get("duration"),h=this.get("startKeyFrame"),l=this.get("endKeyFrame"),f=this.get("easing");f=s[f]?f:"linear",n=c/u,n=n<=0?0:n>=1?1:n,n=s[f](n),e=r.getFrame(n,h,l,i),l.attrs&&i.attr(e.attrs),l.matrix&&i.setMatrix(e.matrix),this.set("ratio",n),this.set("currentFrame",e),this.updateStatus()},updateStatus:function(){var t=this.get("ratio"),e=this.get("callBack"),n=this.get("destroyTarget"),i=this.get("target"),r=this.get("repeat");if(t>=1)if(r){var a=this.get("startTime"),s=this.get("endTime"),o=this.get("duration");this.set("startTime",a+o),this.set("endTime",s+o),this.reset()}else this.set("needsDestroy",!0),n&&i.remove(!0),e&&e.call(i)},reset:function(){this.set("ratio",0),this.set("needsDestroy",!1)},play:function(){var t=this,e=(t.get("target"),t.get("canvas")),n=t.get("available"),i=t.get("ratio"),r=t.get("callBack"),s=+new Date;return n?(t.step(s),e&&e.get("destroyed")!==!0&&e.draw(),void a.requestAnimationFrame(function(){return i>=1?(r&&r(),void t.destroy()):void(i>=0&&t.play())})):void t.destroy()},animate:function(t,e,n,i,a){var s=r.getKeyFrameByProps(t,e),o=this.get("canvas");o=o?o:t.get("canvas"),this.set("target",t),this.set("startTime",+new Date),this.set("duration",n),this.set("startKeyFrame",s[0]),this.set("endKeyFrame",s[1]),this.set("easing",i),this.set("callBack",a),this.set("canvas",o),this.play()}}),t.exports=o},function(t,e,n){"use strict";function i(t){if(!t.__attrs&&t!==u){var e=t.superclass.constructor;e&&!e.__attrs&&i(e),t.__attrs={},r.mix(!0,t.__attrs,e.__attrs),r.mix(!0,t.__attrs,t.ATTRS)}}var r=n(2),a=n(8),s=n(48),o=n(54),c=n(53),u=function(t){this.__cfg={};var e=this.getDefaultCfg();r.mix(this.__cfg,u.CFG,e,t),this.__cfg.uuid=r.guid(a.prefix),i(this.constructor),this.initAttrs(this.__cfg.attrs),this.initTransform(),this.initEventDispatcher(),this.init()};u.CFG={id:null,zIndex:0,canvas:null,parent:null,capture:!0,context:null,visible:!0,destroyed:!1},r.augment(u,s,o,c,{init:function(){},getDefaultCfg:function(){return{}},set:function(t,e){var n=this,i="__set"+r.ucfirst(t);return n[i]&&(e=n[i](e)),n.__cfg[t]=e,this},get:function(t){return this.__cfg[t]},beforeDraw:function(){},draw:function(){var t=this,e=t.get("context"),n=t.__attrs.clip;t.beforeDraw(),t.get("visible")&&(e.save(),n&&(e.save(),n.resetTransform(),n.createPath(),e.restore(),e.clip()),t.resetAttrs(),t.resetTransform(),t.drawInner(),e.restore())},drawInner:function(){},show:function(){return this.set("visible",!0),this},hide:function(){return this.set("visible",!1),this},remove:function(t){var e=this;if(void 0===t&&(t=!0),e.get("parent")){var n=e.get("parent"),i=n.get("children");r.remove(i,e),e.set("parent",null)}return t&&e.destroy(),e},destroy:function(){var t=this,e=t.get("destroyed");if(!e)return t.__cfg={},t.__attrs=null,t.__listeners=null,t.__m=null,t.set("destroyed",!0),t},__setZIndex:function(t){var e=this;return this.__cfg.zIndex=t,r.notNull(e.get("parent"))&&e.get("parent").sort(),t},__setAttrs:function(t){var e=this;return e.attr(t),t},clone:function(){return r.clone(this)},getBBox:function(){return{minX:0,maxX:0,minY:0,maxY:0}}}),t.exports=u},function(t,e,n){"use strict";function i(t){i.superclass.constructor.call(this,t),this.set("children",[])}var r=n(2),a=n(22),s=(n(5),n(1)),o=s.Vector3;r.extend(i,a),r.augment(i,{isGroup:!0,canFill:!0,canStroke:!0,remove:function(t,e){var n=this;if(arguments.length>=2)n.contain(t)&&t.remove(e);else{if(1===arguments.length){if(!r.isBoolean(t))return n.contain(t)&&t.remove(!0),n;e=t}0===arguments.length&&(e=!0),i.superclass.remove.call(n,e)}return n},add:function(t){var e=this,n=e.get("children");if(r.isArray(t))r.each(t,function(t){t.get("parent")&&t.get("parent").remove(t,!1),e.__setEvn(t)}),n.push.apply(n,t);else{var i=t;i.get("parent")&&i.get("parent").remove(i,!1),e.__setEvn(i),n.push(i)}return e},contain:function(t){for(var e=this,n=e.get("children"),i=0,r=n.length;in&&(n=f),xa&&(a=g)}}),{minX:e,minY:i,maxX:n,maxY:a}},drawInner:function(){var t=this,e=t.get("children");return r.each(e,function(t){t.draw()}),t},getCount:function(){var t=this;return t.get("children").length},sort:function(){var t=this,e=t.get("children");return e.sort(function(t,e){return t.get("zIndex")-e.get("zIndex")}),t},find:function(t){var e=this;return e.findBy(function(e){return e.get("id")===t})},findBy:function(t){var e=this,n=e.get("children"),i=null;return r.each(n,function(e){if(t(e)?i=e:e.findBy&&(i=e.findBy(t)),i)return!1}),i},getShape:function(t,e){function n(){for(var n=s.length-1;n>=0;n--){var r=s[n];if(r.get("visible")&&r.get("capture")&&(r.isGroup?i=r.getShape(t,e):r.isHit(t,e)&&(i=r)),i)break}}var i,r=this,a=r.__attrs.clip,s=r.get("children");return a?a.inside(t,e)&&n():n(),i},clear:function(){for(var t=this,e=t.get("children");0!==e.length;)e[e.length-1].remove();return t},destroy:function(){var t=this;t.get("destroyed")||(t.clear(),i.superclass.destroy.call(t))}}),t.exports=i},function(t,e,n){"use strict";function i(t,e,n){var i=x.exec(t),r=u.mod(u.degreeToRad(parseFloat(i[1])),2*Math.PI),a=i[2],o=e.getBBox();if(0<=r&&r<.5*Math.PI)var c={x:o.minX,y:o.minY},h={x:o.maxX,y:o.maxY};else if(.5*Math.PI<=r&&r1){var i=e[0].charAt(0);e.splice(1,0,e[0].substr(1)),e[0]=i}c.each(e,function(t,n){isNaN(t)||(e[n]=+t)}),t[n]=e}),t):void 0},parseStyle:function(t,e,n){if(c.isString(t))return x.test(t)?i(t,e,n):g.test(t)?r(t,e,n):d.test(t)?a(t,e):o(t,n)}};t.exports=m},function(t,e,n){"use strict";var i=n(1),r=i.Vector2;t.exports={at:function(t,e,n){return(e-t)*n+t},pointDistance:function(t,e,n,i,a,s){var o=new r(n-t,i-e);if(o.isZero())return NaN;var c=o.vertical();c.normalize();var u=new r(a-t,s-e);return Math.abs(u.dot(c))},box:function(t,e,n,i,r){var a=r/2,s=Math.min(t,n),o=Math.max(t,n),c=Math.min(e,i),u=Math.max(e,i);return{minX:s-a,minY:c-a,maxX:o+a,maxY:u+a}}}},[88,10],[90,75,26,76],[88,11],[90,79,28,80],function(t,e,n){"use strict";function i(){"undefined"!=typeof Float32Array?this.elements=new Float32Array([1,0,0,0,1,0,0,0,1]):this.elements=[1,0,0,0,1,0,0,0,1]}var r=n(4),a=n(3);i.multiply=function(t,e){var n=t.elements,r=e.elements,a=new i;return a.set(n[0]*r[0]+n[3]*r[1]+n[6]*r[2],n[0]*r[3]+n[3]*r[4]+n[6]*r[5],n[0]*r[6]+n[3]*r[7]+n[6]*r[8],n[1]*r[0]+n[4]*r[1]+n[7]*r[2],n[1]*r[3]+n[4]*r[4]+n[7]*r[5],n[1]*r[6]+n[4]*r[7]+n[7]*r[8],n[2]*r[0]+n[5]*r[1]+n[8]*r[2],n[2]*r[3]+n[5]*r[4]+n[8]*r[5],n[2]*r[6]+n[5]*r[7]+n[8]*r[8])},i.equal=function(t,e){for(var n=t.elements,i=e.elements,r=!0,s=0,o=n.length;st.x&&(this.x=t.x),this.y>t.y&&(this.y=t.y),this},max:function(t){return this.xe.x&&(this.x=e.x),this.ye.y&&(this.y=e.y),this},clampScale:function(){var t,e;return function(n,r){return void 0===t&&(t=new i,e=new i),t.set(n,n),e.set(r,r),this.clamp(t,e)}}(),floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},roundToZero:function(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this},negate:function(){return this.x=-this.x,this.y=-this.y,this},dot:function(t){return this.x*t.x+this.y*t.y},lengthSq:function(){return this.x*this.x+this.y*this.y},length:function(){return Math.sqrt(this.lengthSq())},normalize:function(){return this.divideScaler(this.length())},distanceToSquared:function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},distanceTo:function(t){return Math.sqrt(this.distanceToSquared(t))},angleTo:function(t,e){var n=this.angle(t),r=i.direction(this,t)>=0;return e?r?2*Math.PI-n:n:r?n:2*Math.PI-n},vertical:function(t){return t?new i(this.y,(-this.x)):new i((-this.y),this.x)},angle:function(t){return i.angle(this,t)},setLength:function(t){var e=this.length();return 0!==e&&t!==e&&this.multiplyScaler(t/e),this},isZero:function(){return 0===this.x&&0===this.y},lerp:function(t,e){return this.copy(i.lerp(this,t,e))},equal:function(t){return a.equal(this.x,t.x)&&a.equal(this.y,t.y)},clone:function(){return new i(this.x,this.y)}}),t.exports=i},function(t,e,n){"use strict";function i(t,e,n){if(1===arguments.length)if(r.isArray(t)){var i=t;t=i[0],e=i[1],n=i[2]}else if("vector2"===t.type){var a=t;t=a.x,e=a.y,n=1}this.x=t||0,this.y=e||0,this.z=n||0}var r=n(4),a=n(3);i.add=function(t,e){return new i(t.x+e.x,t.y+e.y,t.z+e.z)},i.sub=function(t,e){return new i(t.x-e.x,t.y-e.y,t.z-e.z)},i.lerp=function(t,e,n){return new i(t.x+(e.x-t.x)*n,t.y+(e.y-t.y)*n,t.z+(e.z-t.z)*n)},i.cross=function(t,e){var n=t.x,r=t.y,a=t.z,s=e.x,o=e.y,c=e.z;return new i(r*c-a*o,a*s-n*c,n*o-r*s)},i.angle=function(t,e){var n=t.dot(e)/(t.length()*e.length());return Math.acos(a.clamp(n,-1,1))},r.augment(i,{type:"vector3",set:function(t,e,n){return this.x=t,this.y=e,this.z=n,this},setComponent:function(t,e){switch(t){case 0:return this.x=e,this;case 1:return this.y=e,this;case 2:return this.z=e,this;default:throw new Error("index is out of range:"+t)}},getComponent:function(t){switch(t){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw new Error("index is out of range:"+t)}},add:function(t){return this.copy(i.add(this,t))},sub:function(t){return this.copy(i.sub(this,t))},subBy:function(t){return this.copy(i.sub(t,this))},multiplyScaler:function(t){return this.x*=t,this.y*=t,this.z*=t,this},divideScaler:function(t){if(0!==t){var e=1/t;this.x*=e,this.y*=e,this.z*=e}else this.x=0,this.y=0,this.z=0;return this},min:function(t){return this.x>t.x&&(this.x=t.x),this.y>t.y&&(this.y=t.y),this.z>t.z&&(this.z=t.z),this},max:function(t){return this.xe.x&&(this.x=e.x),this.ye.y&&(this.y=e.y),this.ze.z&&(this.z=e.z),this},clampScale:function(){var t,e;return function(n,r){return void 0===t&&(t=new i,e=new i),t.set(n,n,n),e.set(r,r,r),this.clamp(t,e)}}(),floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this},ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this},round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this},roundToZero:function(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this.z=this.z<0?Math.ceil(this.z):Math.floor(this.z),this},negate:function(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this},dot:function(t){return this.x*t.x+this.y*t.y+this.z*t.z},lengthSq:function(){return this.x*this.x+this.y*this.y+this.z*this.z},length:function(){return Math.sqrt(this.lengthSq())},lengthManhattan:function(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)},normalize:function(){return this.divideScaler(this.length())},setLength:function(t){var e=this.length();return 0!==e&&t!==e&&this.multiplyScaler(t/e),this},lerp:function(t,e){return this.copy(i.lerp(this,t,e))},cross:function(t){return this.copy(i.cross(this,t))},angle:function(t){return i.angle(this,t)},distanceToSquared:function(t){var e=this.x-t.x,n=this.y-t.y,i=this.z-t.z;return e*e+n*n+i*i},distanceTo:function(t){return Math.sqrt(this.distanceToSquared(t))},applyMatrix:function(t){var e=t.elements,n=e[0]*this.x+e[3]*this.y+e[6]*this.z,i=e[1]*this.x+e[4]*this.y+e[7]*this.z,r=e[2]*this.x+e[5]*this.y+e[8]*this.z;return this.x=n,this.y=i,this.z=r,this},copy:function(t){return this.x=t.x,this.y=t.y,this.z=void 0!==t.z?t.z:1,this},equal:function(t){return a.equal(this.x,t.x)&&a.equal(this.y,t.y)&&a.equal(this.z,t.z)},clone:function(){return new i(this.x,this.y,this.z)}}),t.exports=i},function(t,e,n){"use strict";function i(t,e){e=e.replace(" ","");var n=/([a-z]+)\((\S+),(\S+)\)/gi,i=n.exec(e);t[i[1]](i[2],i[3])}function r(t){for(var e=t.split(" "),n=[],i=0;i>16&255)/255,this.space.g=(t>>8&255)/255,this.space.b=(255&t)/255,this},setStyle:function(t){var e;if(e=c.hex.exec(t)){var n=e[1],i=n.length;if(3===i)return this.setRGB(parseInt(n.charAt(0)+n.charAt(0),16)/255,parseInt(n.charAt(1)+n.charAt(1),16)/255,parseInt(n.charAt(2)+n.charAt(2),16)/255),this;if(6===i)return this.setRGB(parseInt(n.charAt(0)+n.charAt(1),16)/255,parseInt(n.charAt(2)+n.charAt(3),16)/255,parseInt(n.charAt(4)+n.charAt(5),16)/255),this}else if(e=c.space.exec(t)){var r,a=e[1],s=e[2];switch(a){case"rgb":if(r=c.rgbNum.exec(s))return this.setRGB(parseInt(r[1],10)/255,parseInt(r[2],10)/255,parseInt(r[3],10)/255),this;if(r=c.rgbPre.exec(s))return this.setRGB(parseInt(r[1],10)/100,parseInt(r[2],10)/100,parseInt(r[3],10)/100),this;break;case"rgba":if(r=c.rgbaNum.exec(s))return this.setRGB(parseInt(r[1],10)/255,parseInt(r[2],10)/255,parseInt(r[3],10)/255,parseFloat(r[4])),this;if(r=c.rgbaPre.exec(s))return this.setRGB(parseInt(r[1],10)/100,parseInt(r[2],10)/100,parseInt(r[3],10)/100,parseFloat(r[4])),this;break;case"hsl":if(r=c.hsl.exec(s))return this.setHSL(parseInt(r[1],10)/360,parseInt(r[2],10)/100,parseInt(r[3],10)/100),this;break;case"hsla":if(r=c.hsla.exec(s))return this.setHSL(parseInt(r[1],10)/360,parseInt(r[2],10)/100,parseInt(r[3],10)/100,parseFloat(r[4])),this}}else t=t.toLowerCase(),void 0!==o[t]?this.setHex(o[t]):this.setHex(o.black)},copy:function(t){this.space=t.space.clone()},clone:function(){return new i(this)}}),t.exports=i},function(t,e){t.exports={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074}},function(t,e,n){"use strict";var i=n(4),r=n(3),a=function(){this.h=0,this.s=0,this.l=0};i.augment(a,{type:"hsl",setHSL:function(t,e,n,i){this.h=r.mod(t,1),this.s=r.clamp(e,0,1),this.l=r.clamp(n,0,1),void 0!==i?this.a=r.clamp(i,0,1):this.a=void 0},toRGB:function(){function t(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+6*(e-t)*(2/3-n):t}return function(){var e=this,n=e.h,i=e.s,r=e.l;if(0===i)return{r:r,g:r,b:r,a:e.a};var a=r<=.5?r*(1+i):r+i-r*i,s=2*r-a;return{r:t(s,a,n+1/3),g:t(s,a,n),b:t(s,a,n-1/3),a:e.a}}}(),clone:function(){var t=new a;return t.h=this.h,t.s=this.s,t.l=this.l,t.a=this.a,t},copy:function(t){return this.h=t.h,this.s=t.s,this.l=t.l,this.a=t.a,this},getStyle:function(){var t=this;return void 0===t.a?"hsl("+Math.round(360*t.h)+", "+Math.round(100*t.s)+"%, "+Math.round(100*t.l)+"%)":"hsla("+Math.round(360*t.h)+", "+Math.round(100*t.s)+"%, "+Math.round(100*t.l)+"%, "+t.a+")"}}),t.exports=a},function(t,e,n){"use strict";var i=n(4),r=n(3),a=function(){this.r=0,this.g=0,this.b=0,this.type="rgb"};i.augment(a,{type:"rgb",setRGB:function(t,e,n,i){this.r=r.clamp(t,0,1),this.g=r.clamp(e,0,1),this.b=r.clamp(n,0,1),void 0!==i?this.a=r.clamp(i,0,1):this.a=void 0},toHSL:function(){var t,e,n=this.r,i=this.g,r=this.b,a=Math.max(n,i,r),s=Math.min(n,i,r),o=(s+a)/2;if(s===a)t=0,e=0;else{var c=a-s;switch(e=o<=.5?c/(a+s):c/(2-a-s),a){case n:t=(i-r)/c+(ie?n:e)},_setCanvases:function(t){var e=t.get("canvas"),n=this.get("canvases");n.indexOf(e)===-1&&n.push(e)},_resetTweens:function(){var t=this.get("tweens");i.each(t,function(t){t.reset()})},_getTime:function(){var t=this.get("playTime"),e=this.get("pauseTimeSpace");return+new Date-t+e},_refresh:function(t){for(var e,n,r=this.get("tweens"),a=this.get("canvases"),s=this.get("autoDraw"),o=this.get("autoDestroy"),c=this.get("removeCanvas"),u=[],h=[],l=0;l=n&&r&&(t.set("pauseTimeSpace",0),t._resetTweens(),t.play())})}},animate:function(t,e){var n=new a({target:t,timeline:this,startTime:e?e:0});return n},add:function(t){var e,n=this.get("tweens");return i.isArray(t)?e=n.concat(t):i.isObject(t)&&"tween"===t.get("type")?(n.push(t),e=n):console.error("Timeline not Support this type"),this.set("tweens",e),this._trySetCanvases(t),this._trySetEndTime(t),this},getNow:function(){var t=this.get("playTime");return t?+new Date-t:0},getTime:function(){var t=this.get("playTime");return t?+new Date-t:0},play:function(){var t=this.get("available");return this.set("playTime",+new Date),t||(this.set("available",!0),this._update()),this},loop:function(t){return t||void 0===t?(this.set("infinite",!0),this.set("autoDestroy",!1),this.set("removeCanvas",!1),this.set("loop",!0)):this.set("loop",!1),this},stop:function(){this.set("available",!1),this.set("pauseTimeSpace",0),this._resetTweens(),this.reset(),this._refresh(0),this.draw()},pause:function(){var t=this.get("available");return t&&this.set("pauseTimeSpace",+new Date-this.get("playTime")),this.set("available",!1),this},reset:function(){var t=this.get("autoDestroy");this.set("time",0),t&&(this.set("tweens",[]),this.set("canvases",[]))},draw:function(){for(var t=this.get("canvases"),e=0;e=0?t:e||1},__setAttrClip:function(t){var e=this;if(t&&t.type in o)return null===t.get("canvas")&&(t=i.clone(t)),t.set("parent",e.get("parent")),t.set("context",e.get("context")),t.inside=function(n,i){var r=new u(n,i,1);return t.invert(r,e.get("canvas")),t.__isPointInFill(r.x,r.y)},t}}),t.exports=h},function(t,e){"use strict";t.exports={circle:1,ellipse:1,fan:1,polygon:1,rect:1,path:1}},function(t,e){"use strict";t.exports={fillStyle:1,strokeStyle:1,globalAlpha:1,shadowBlur:1,shadowColor:1,shadowOffsetX:1,shadowOffsetY:1,lineDash:1}},function(t,e){"use strict";t.exports={fillStyle:1,font:1,globalAlpha:1,lineCap:1,lineWidth:1,lineJoin:1,miterLimit:1,shadowBlur:1,shadowColor:1,shadowOffsetX:1,shadowOffsetY:1,strokeStyle:1,textAlign:1,textBaseline:1,lineDash:1}},function(t,e,n){var i=n(2),r=n(23),a=function(t){a.superclass.constructor.call(this,t)};i.extend(a,r),i.augment(a,{init:function(){a.superclass.init.call(this);var t=this,e=t.get("canvasId"),n=document.getElementById(e);t.set("el",n),t.set("context",n.getContext("2d")),t.set("canvas",t),t.__events()},__events:function(){},getPointByClient:function(t,e){var n=this,i=n.get("el"),r=i.getBoundingClientRect(),a=r.right-r.left,s=r.bottom-r.top;return{x:(t-r.left)*(i.width/a),y:(e-r.top)*(i.height/s)}},getClientByPoint:function(t,e){var n=this,i=n.get("el"),r=i.getBoundingClientRect(),a=r.right-r.left,s=r.bottom-r.top;return{clientX:t/(i.width/a)+r.left,clientY:e/(i.height/s)+r.top}},beforeDraw:function(){var t=this,e=t.get("context"),n=t.get("el");e.clearRect(0,0,n.width,n.height)},draw:function(){function t(){e.set("animateHandler",i.requestAnimationFrame(function(){e.set("animateHandler",void 0),e.get("toDraw")&&t()})),a.superclass.draw.call(e),e.set("toDraw",!1)}var e=this;e.get("animateHandler")?e.set("toDraw",!0):t()}}),t.exports=a},function(t,e,n){"use strict";var i=n(2),r=function(){};i.augment(r,{initEventDispatcher:function(){this.__listeners={}},on:function(t,e){var n=this.__listeners;return i.isNull(n[t])&&(n[t]=[]),n[t].indexOf(e)===-1&&n[t].push(e),this},off:function(t,e){var n=this.__listeners;return 0===arguments.length?(this.__listeners={},this):1===arguments.length&&i.isString(t)?(n[t]=[],this):2===arguments.length&&i.isString(t)&&i.isFunction(e)?(i.remove(n[t],e),this):void 0},has:function(t,e){var n=this.__listeners;return 0===arguments.length&&!i.isBlank(n)||(!(1!==arguments.length||!n[t]||i.isBlank(n[t]))||!(2!==arguments.length||!n[t]||n[t].indexOf(e)===-1))},trigger:function(t){var e=this,n=e.__listeners,r=n[t.type];if(t.target=e,i.notNull(r)&&i.each(r,function(n){n.call(e,t)}),t.bubbles){var a=e.get("parent");a&&!t.propagationStopped&&a.trigger(t)}return e}}),t.exports=r},function(t,e,n){"use strict";var i=n(2),r=n(1),a=r.Matrix3,s=(r.Vector3,n(3)),o=function(){};i.augment(o,{initTransform:function(){this.__m=new a},translate:function(t,e){return this.__m.translate(t,e),this},rotate:function(t){return this.__m.rotate(s.degreeToRad(t)),this},scale:function(t,e){return this.__m.scale(t,e),this},transform:function(t){var e=this;return i.each(t,function(t){switch(t[0]){case"t":e.translate(t[1],t[2]);break;case"s":e.scale(t[1],t[2]);break;case"r":e.rotate(t[1]);break;case"m":e.__m=a.multiply(t[1],e.__m)}}),this},setTransform:function(t){return this.__m.identity(),this.transform(t)},getMatrix:function(){return this.__m},setMatrix:function(t){return this.__m=t,this},apply:function(t,e){var n=this;e=e||n;for(var r=n,s=[];r!==e;)s.unshift(r),r=r.get("parent");s.unshift(r);var o=new a;return i.each(s,function(t){o.multiply(t.__m)}),t.applyMatrix(o),this},invert:function(t,e){var n=this;e=e||n;for(var r=n,s=[];r!==e;)s.unshift(r),r=r.get("parent");s.unshift(r);var o=new a;i.each(s,function(t){o.multiply(t.__m)});var c=o.getInverse();return t.applyMatrix(c),this},resetTransform:function(){var t=this,e=t.get("context"),n=t.__m.to2DObject();e.transform(n.a,n.b,n.c,n.d,n.e,n.f)}}),t.exports=o},function(t,e,n){"use strict";var i=n(2),r=n(6),a=n(5),s=n(15),o=n(3),c=n(9),u=n(1),h=u.Vector2,l=n(8),f=function(t){f.superclass.constructor.call(this,t)};f.ATTRS={x:0,y:0,r:0,startAngle:0,endAngle:0,clockwise:!1,lineWidth:1,arrow:!1},i.extend(f,r),i.augment(f,{canStroke:!0,type:"arc",__setAttrR:function(t,e){return t>=0?t:(l.warn("r \u5fc5\u987b\u5927\u4e8e0"),e)},__setAttrClockwise:function(t,e){return i.isBoolean(t)?t:(l.warn("clockwise \u5fc5\u987b\u662fboolean\u503c"),e)},__setAttrStartAngle:function(t){return o.degreeToRad(t)},__getAttrStartAngle:function(t){return o.radToDegree(t)},__setAttrEndAngle:function(t){return o.degreeToRad(t)},__getAttrEndAngle:function(t){return o.radToDegree(t)},__afterSetAttrX:function(){this.__calculateBox()},__afterSetAttrY:function(){this.__calculateBox()},__afterSetAttrR:function(){this.__calculateBox()},__afterSetAttrStartAngle:function(){this.__calculateBox()},__afterSetAttrEndAngle:function(){this.__calculateBox()},__afterSetAttrClockwise:function(){this.__calculateBox()},__afterSetAttrLineWidth:function(){this.__calculateBox()},__afterSetAttrAll:function(){this.__calculateBox()},__calculateBox:function(){var t=this,e=t.__attrs,n=e.x,i=e.y,r=e.r,a=e.startAngle,o=e.endAngle,c=e.clockwise,u=e.lineWidth,h=s.box(n,i,r,a,o,c),l=u/2;h.minX-=l,h.minY-=l,h.maxX+=l,h.maxY+=l,this.set("box",h)},isPointInPath:function(t,e){var n=this,i=n.__attrs,r=i.x,s=i.y,o=i.r,c=i.startAngle,u=i.endAngle,h=i.clockwise,l=i.lineWidth;return!!n.hasStroke()&&a.arcline(r,s,o,c,u,h,l,t,e)},createPath:function(){var t=this,e=t.get("context"),n=t.__attrs,i=n.x,r=n.y,a=n.r,s=n.startAngle,o=n.endAngle,u=n.clockwise,l=n.lineWidth,f=n.arrow;if(e.beginPath(),e.arc(i,r,a,s,o,u),f){var x={x:i+a*Math.cos(o),y:r+a*Math.sin(o)},g=new h(-a*Math.sin(o),a*Math.cos(o));u&&g.multiplyScaler(-1),c.makeArrow(e,g,x,l)}}}),t.exports=f},function(t,e,n){"use strict";var i=n(2),r=n(6),a=n(5),s=n(8),o=function(t){o.superclass.constructor.call(this,t)};o.ATTRS={x:0,y:0,r:0,lineWidth:1},i.extend(o,r),i.augment(o,{canFill:!0,canStroke:!0,type:"circle",__setAttrR:function(t,e){return t>=0?t:(s.warn("r \u5fc5\u987b\u5927\u4e8e\u7b49\u4e8e0"),e)},__afterSetAttrX:function(){this.__calculateBox()},__afterSetAttrY:function(){this.__calculateBox()},__afterSetAttrR:function(){this.__calculateBox()},__afterSetAttrLineWidth:function(){this.__calculateBox()},__afterSetAttrAll:function(){ -this.__calculateBox()},__calculateBox:function(){var t=this,e=t.__attrs,n=e.x,i=e.y,r=e.r,a=e.lineWidth,s=a/2+r;this.set("box",{minX:n-s,minY:i-s,maxX:n+s,maxY:i+s})},isPointInPath:function(t,e){var n=this,i=n.hasFill(),r=n.hasStroke();return i&&r?n.__isPointInFill(t,e)||n.__isPointInStroke(t,e):i?n.__isPointInFill(t,e):!!r&&n.__isPointInStroke(t,e)},__isPointInFill:function(t,e){var n=this,i=n.__attrs,r=i.x,s=i.y,o=i.r;return a.circle(r,s,o,t,e)},__isPointInStroke:function(t,e){var n=this,i=n.__attrs,r=i.x,s=i.y,o=i.r,c=i.lineWidth;return a.arcline(r,s,o,0,2*Math.PI,!1,c,t,e)},createPath:function(){var t=this,e=t.get("context"),n=t.__attrs,i=n.x,r=n.y,a=n.r;e.beginPath(),e.arc(i,r,a,0,2*Math.PI,!1),e.closePath()}}),t.exports=o},function(t,e,n){"use strict";var i=n(2),r=n(6),a=n(5),s=(n(3),n(9)),o=n(16),c=n(1),u=c.Vector2,h=function(t){h.superclass.constructor.call(this,t)};h.ATTRS={p1:null,p2:null,p3:null,p4:null,lineWidth:1,arrow:!1},i.extend(h,r),i.augment(h,{canStroke:!0,type:"cubic",__afterSetAttrP1:function(){this.__calculateBox()},__afterSetAttrP2:function(){this.__calculateBox()},__afterSetAttrP3:function(){this.__calculateBox()},__afterSetAttrP4:function(){this.__calculateBox()},__afterSetAttrLineWidth:function(){this.__calculateBox()},__afterSetAttrAll:function(){this.__calculateBox()},__calculateBox:function(){var t=this,e=t.__attrs,n=e.p1,r=e.p2,a=e.p3,s=e.p4;if(!(i.isNull(n)||i.isNull(r)||i.isNull(a)||i.isNull(s))){for(var c=e.lineWidth/2,u=o.extrema(n[0],r[0],a[0],s[0]),h=0,l=u.length;h0?t:(u.warn("rx \u5927\u4e8e\u7b49\u4e8e0"),e)},__setAttrRy:function(t,e){return t>0?t:(u.warn("ry \u5927\u4e8e\u7b49\u4e8e0"),e)},__afterSetAttrX:function(){this.__calculateBox()},__afterSetAttrY:function(){this.__calculateBox()},__afterSetAttrRx:function(){this.__calculateBox()},__afterSetAttrRy:function(){this.__calculateBox()},__afterSetAttrLineWidth:function(){this.__calculateBox()},__afterSetAttrAll:function(){this.__calculateBox()},__calculateBox:function(){var t=this,e=t.__attrs,n=e.x,i=e.y,r=e.rx,a=e.ry,s=e.lineWidth,o=r+s/2,c=a+s/2;this.set("box",{minX:n-o,minY:i-c,maxX:n+o,maxY:i+c})},isPointInPath:function(t,e){var n=this,i=n.hasFill(),r=n.hasStroke();return i&&r?n.__isPointInFill(t,e)||n.__isPointInStroke(t,e):i?n.__isPointInFill(t,e):!!r&&n.__isPointInStroke(t,e)},__isPointInFill:function(t,e){var n=this,i=n.__attrs,r=i.x,s=i.y,u=i.rx,h=i.ry,l=u>h?u:h,f=u>h?1:u/h,x=u>h?h/u:1,g=new c(t,e,1),d=new o;d.scale(f,x),d.translate(r,s);var p=d.getInverse();return g.applyMatrix(p),a.circle(0,0,l,g.x,g.y)},__isPointInStroke:function(t,e){var n=this,i=n.__attrs,r=i.x,s=i.y,u=i.rx,h=i.ry,l=i.lineWidth,f=u>h?u:h,x=u>h?1:u/h,g=u>h?h/u:1,d=new c(t,e,1),p=new o;p.scale(x,g),p.translate(r,s);var m=p.getInverse();return d.applyMatrix(m),a.arcline(0,0,f,0,2*Math.PI,!1,l,d.x,d.y)},createPath:function(){var t=this,e=t.get("context"),n=t.__attrs,i=n.x,r=n.y,a=n.rx,s=n.ry,c=a>s?a:s,u=a>s?1:a/s,h=a>s?s/a:1,l=new o;l.scale(u,h),l.translate(i,r);var f=l.to2DObject();e.beginPath(),e.save(),e.transform(f.a,f.b,f.c,f.d,f.e,f.f),e.arc(0,0,c,0,2*Math.PI),e.restore(),e.closePath()}}),t.exports=h},function(t,e,n){"use strict";var i=n(2),r=n(6),a=n(5),s=n(3),o=n(15),c=n(1),u=c.Vector2,h=n(8),l=function(t){l.superclass.constructor.call(this,t)};l.ATTRS={x:0,y:0,rs:0,re:0,startAngle:0,endAngle:0,clockwise:!1,lineWidth:1},i.extend(l,r),i.augment(l,{canFill:!0,canStroke:!0,type:"fan",__setAttrRs:function(t,e){return t>=0?t:(h.warn("rs \u5fc5\u987b\u5927\u4e8e\u7b49\u4e8e0"),e)},__setAttrRe:function(t,e){return t>=0?t:(h.warn("re \u5fc5\u987b\u5927\u4e8e\u7b49\u4f600"),e)},__setAttrClockwise:function(t,e){return i.isBoolean(t)?t:(h.warn("clockwise \u5fc5\u987b\u4e3aboolean\u503c"),e)},__setAttrStartAngle:function(t){return s.degreeToRad(t)},__getAttrStartAngle:function(t){return s.radToDegree(t)},__setAttrEndAngle:function(t){return s.degreeToRad(t)},__getAttrEndAngle:function(t){return s.radToDegree(t)},__afterSetAttrX:function(){this.__calculateBox()},__afterSetAttrY:function(){this.__calculateBox()},__afterSetAttrRs:function(){this.__calculateBox()},__afterSetAttrRe:function(){this.__calculateBox()},__afterSetAttrStartAngle:function(){this.__calculateBox()},__afterSetAttrEndAngle:function(){this.__calculateBox()},__afterSetAttrClockwise:function(){this.__calculateBox()},__afterSetAttrLineWidth:function(){this.__calculateBox()},__afterSetAttrAll:function(){this.__calculateBox()},__calculateBox:function(){var t=this,e=t.__attrs,n=e.x,i=e.y,r=e.rs,a=e.re,s=e.startAngle,c=e.endAngle,u=e.clockwise,h=e.lineWidth,l=o.box(n,i,r,s,c,u),f=o.box(n,i,a,s,c,u),x=Math.min(l.minX,f.minX),g=Math.min(l.minY,f.minY),d=Math.max(l.maxX,f.maxX),p=Math.max(l.maxY,f.maxY),m=h/2;this.set("box",{minX:x-m,minY:g-m,maxX:d+m,maxY:p+m})},isPointInPath:function(t,e){var n=this,i=n.hasFill(),r=n.hasStroke();return i&&r?n.__isPointInFill(t,e)||n.__isPointInStroke(t,e):i?n.__isPointInFill(t,e):!!r&&n.__isPointInStroke(t,e)},__isPointInFill:function(t,e){var n=this,i=n.__attrs,r=i.x,a=i.y,c=i.rs,h=i.re,l=i.startAngle,f=i.endAngle,x=i.clockwise,g=new u(1,0),d=new u(t-r,e-a),p=g.angleTo(d),m=o.nearAngle(p,l,f,x);if(s.equal(p,m)){var _=d.lengthSq();if(c*c<=_&&_<=h*h)return!0}return!1},__isPointInStroke:function(t,e){var n=this,i=n.__attrs,r=i.x,s=i.y,o=i.rs,c=i.re,u=i.startAngle,h=i.endAngle,l=i.clockwise,f=i.lineWidth,x={x:Math.cos(u)*o+r,y:Math.sin(u)*o+s},g={x:Math.cos(u)*c+r,y:Math.sin(u)*c+s},d={x:Math.cos(h)*o+r,y:Math.sin(h)*o+s},p={x:Math.cos(h)*c+r,y:Math.sin(h)*c+s};return!!a.line(x.x,x.y,g.x,g.y,f,t,e)||(!!a.line(d.x,d.y,p.x,p.y,f,t,e)||(!!a.arcline(r,s,o,u,h,l,f,t,e)||!!a.arcline(r,s,c,u,h,l,f,t,e)))},createPath:function(){var t=this,e=t.get("context"),n=t.__attrs,i=n.x,r=n.y,a=n.rs,s=n.re,o=n.startAngle,c=n.endAngle,u=n.clockwise,h={x:Math.cos(o)*a+i,y:Math.sin(o)*a+r},l={x:Math.cos(o)*s+i,y:Math.sin(o)*s+r},f={x:Math.cos(c)*a+i,y:Math.sin(c)*a+r};({x:Math.cos(c)*s+i,y:Math.sin(c)*s+r});e.beginPath(),e.moveTo(h.x,h.y),e.lineTo(l.x,l.y),e.arc(i,r,s,o,c,u),e.lineTo(f.x,f.y),e.arc(i,r,a,c,o,!u),e.closePath()}}),t.exports=l},function(t,e,n){"use strict";var i=n(2),r=n(6),a=n(5),s=n(8),o=function(t){o.superclass.constructor.call(this,t)};o.ATTRS={x:0,y:0,img:void 0,width:0,height:0,sx:null,sy:null,swidth:null,sheight:null},i.extend(o,r),i.augment(o,{type:"image",getDefaultAttrs:function(){return o.ATTRS},__setAttrWidth:function(t,e){return t>=0?t:(s.warn("width \u5fc5\u987b\u5927\u4e8e\u7b49\u4e8e0"),e)},__setAttrHeight:function(t,e){return t>=0?t:(s.warn("height \u5fc5\u987b\u5927\u4e8e\u7b49\u4e8e0"),e)},__afterSetAttrX:function(){this.__calculateBox()},__afterSetAttrY:function(){this.__calculateBox()},__afterSetAttrWidth:function(){this.__calculateBox()},__afterSetAttrHeight:function(){this.__calculateBox()},__afterSetAttrAll:function(){this.__calculateBox()},__calculateBox:function(){var t=this,e=t.__attrs,n=e.x,i=e.y,r=e.width,a=e.height;this.set("box",{minX:n,minY:i,maxX:n+r,maxY:i+a})},isPointInPath:function(t,e){var n=this,i=n.__attrs;if(n.get("toDraw")||!i.img)return!1;var r=i.x,s=i.y,o=i.width,c=i.height;return a.rect(r,s,o,c,t,e)},__setLoading:function(t){var e=this,n=e.get("canvas");return t===!1&&e.get("toDraw")===!0&&(e.__cfg.loading=!1,n.draw()),t},__setAttrImg:function(t){var e=this,n=e.__attrs;e.get("context");if(!i.isString(t))return t instanceof Image?(n.width||e.attr("width",t.width),n.height||e.attr("height",t.height),t):t instanceof HTMLElement&&i.isString(t.nodeName)&&"CANVAS"===t.nodeName.toUpperCase()?(n.width||e.attr("width",Number(t.getAttribute("width"))),n.height||e.attr("height",Number(t.getAttribute("height"))),t):t instanceof ImageData?(n.width||e.attr("width",t.width),n.height||e.attr("height",t.height),t):void 0;var r=new Image;r.onload=function(){return!e.get("destroyed")&&(e.attr("imgSrc",t),e.attr("img",r),void e.set("loading",!1))},r.src=t,e.set("loading",!0)},drawInner:function(){var t=this;return t.get("loading")?void t.set("toDraw",!0):void t.__drawImage()},__drawImage:function(){var t=this,e=t.get("context"),n=t.__attrs,r=n.x,a=n.y,s=n.img,o=n.width,c=n.height,u=n.sx,h=n.sy,l=n.swidth,f=n.sheight;return t.set("toDraw",!1),s instanceof Image||s instanceof HTMLElement&&i.isString(s.nodeName)&&"CANVAS"===s.nodeName.toUpperCase()?i.isNull(u)||i.isNull(h)||i.isNull(l)||i.isNull(f)?void e.drawImage(s,r,a,o,c):i.notNull(u)&&i.notNull(h)&&i.notNull(l)&&i.notNull(f)?void e.drawImage(s,u,h,l,f,r,a,o,c):void 0:s instanceof ImageData?void e.putImageData(s,r,a,u||0,h||0,l||o,f||c):void 0}}),t.exports=o},function(t,e,n){"use strict";var i=n(2),r=n(6),a=n(5),s=n(1),o=s.Vector2,c=n(9),u=n(25),h=function(t){h.superclass.constructor.call(this,t)};h.ATTRS={x1:0,y1:0,x2:0,y2:0,lineWidth:1,arrow:!1},i.extend(h,r),i.augment(h,{canStroke:!0,type:"line",__afterSetAttrX1:function(){this.__calculateBox()},__afterSetAttrY1:function(){this.__calculateBox()},__afterSetAttrX2:function(){this.__calculateBox()},__afterSetAttrY2:function(){this.__calculateBox()},__afterSetAttrLineWidth:function(){this.__calculateBox()},__afterSetAttrAll:function(){this.__calculateBox()},__calculateBox:function(){var t=this,e=t.__attrs,n=e.x1,i=e.y1,r=e.x2,a=e.y2,s=e.lineWidth;this.set("box",u.box(n,i,r,a,s))},isPointInPath:function(t,e){var n=this,i=n.__attrs,r=i.x1,s=i.y1,o=i.x2,c=i.y2,u=i.lineWidth;return!!n.hasStroke()&&a.line(r,s,o,c,u,t,e)},createPath:function(){var t=this,e=t.get("context"),n=t.__attrs,i=n.x1,r=n.y1,a=n.x2,s=n.y2,u=n.arrow,h=n.lineWidth;if(e.beginPath(),e.moveTo(i,r),u){var l=new o(a-i,s-r),f=c.getEndPoint(l,new o(a,s),h);e.lineTo(f.x,f.y),c.makeArrow(e,l,f,h)}else e.lineTo(a,s)},getPoint:function(t){var e=this.__attrs;return{x:u.at(e.x1,e.x2,t),y:u.at(e.y1,e.y2,t)}}}),t.exports=h},function(t,e,n){"use strict";function i(t,e,n,i,r){return e*Math.cos(t)*Math.cos(r)-n*Math.sin(t)*Math.sin(r)+i}function r(t,e,n,i,r){return e*Math.sin(t)*Math.cos(r)+n*Math.cos(t)*Math.sin(r)+i}function a(t,e,n){return Math.atan(-n/e*Math.tan(t))}function s(t,e,n){return Math.atan(n/(e*Math.tan(t)))}var o=n(1);o.Vector2,n(3);t.exports={xAt:i,yAt:r,xExtrema:a,yExtrema:s}},function(t,e,n){"use strict";var i=n(2),r=n(6),a=n(69),s=n(24),o=function(t){o.superclass.constructor.call(this,t)};o.ATTRS={path:null,lineWidth:1},i.extend(o,r),i.augment(o,{canFill:!0,canStroke:!0,type:"path",__afterSetAttrPath:function(t){var e=this;if(i.isNull(t))return e.set("segments",null),void e.set("box",void 0);var n,r=s.parsePath(t),o=[];!i.isArray(r)||0===r.length||"M"!==r[0][0]&&"m"!==r[0][0]||(i.each(r,function(t){n=new a(t,n),o.push(n)}),e.set("segments",o),e.__calculateBox())},__afterSetAttrLineWidth:function(t){var e=this;e.get("segments");e.__calculateBox()},__afterSetAttrAll:function(t){var e=this;t.path?e.__afterSetAttrPath(t.path):e.__calculateBox()},__calculateBox:function(){var t=this,e=t.__attrs,n=e.lineWidth,r=t.get("segments");if(r){var a=1/0,s=-(1/0),o=1/0,c=-(1/0);i.each(r,function(t,e){t.getBBox(n);var i=t.box;i&&(i.minXs&&(s=i.maxX),i.minYc&&(c=i.maxY))}),this.set("box",{minX:a,minY:o,maxX:s,maxY:c})}},isPointInPath:function(t,e){var n=this,i=n.hasFill(),r=n.hasStroke();return i&&r?n.__isPointInFill(t,e)||n.__isPointInStroke(t,e):i?n.__isPointInFill(t,e):!!r&&n.__isPointInStroke(t,e)},__isPointInFill:function(t,e){var n=this,i=n.get("context");if(i)return n.createPath(),i.isPointInPath(t,e)},__isPointInStroke:function(t,e){for(var n=this,i=n.get("segments"),r=n.__attrs,a=r.lineWidth,s=0,o=i.length;so&&(o=e),nc&&(c=n)});var u=r/2;t.set("box",{minX:a-u,minY:s-u,maxX:o+u,maxY:c+u})}},isPointInPath:function(t,e){var n=this,i=n.hasFill(),r=n.hasStroke();return i&&r?n.__isPointInFill(t,e)||n.__isPointInStroke(t,e):i?n.__isPointInFill(t,e):!!r&&n.__isPointInStroke(t,e)},__isPointInFill:function(t,e){var n=this,i=n.get("context");return n.createPath(),i.isPointInPath(t,e)},__isPointInStroke:function(t,e){var n=this,i=n.__attrs,r=i.points;if(r.length<2)return!1;var s=i.lineWidth,o=r.slice(0);return r.length>=3&&o.push(r[0]),a.polyline(o,s,t,e)},createPath:function(){var t=this,e=t.get("context"),n=t.__attrs,r=n.points;r.length<2||(e.beginPath(),i.each(r,function(t,n){0===n?e.moveTo(t[0],t[1]):e.lineTo(t[0],t[1])}),e.closePath())}}),t.exports=s},function(t,e,n){"use strict";var i=n(2),r=n(6),a=n(5),s=n(1),o=s.Vector2,c=n(9),u=function(t){u.superclass.constructor.call(this,t)};u.ATTRS={points:null,lineWidth:1,arrow:!1},i.extend(u,r),i.augment(u,{canStroke:!0,type:"polyline",__afterSetAttrPoints:function(){this.__calculateBox()},__afterSetAttrLineWidth:function(){this.__calculateBox()},__afterSetAttrAll:function(){this.__calculateBox()},__calculateBox:function(){var t=this,e=t.__attrs,n=e.lineWidth,r=e.points;if(r&&0!==r.length){var a=1/0,s=1/0,o=-(1/0),c=-(1/0);i.each(r,function(t){var e=t[0],n=t[1];eo&&(o=e),nc&&(c=n)});var u=n/2;this.set("box",{minX:a-u,minY:s-u,maxX:o+u,maxY:c+u})}},isPointInPath:function(t,e){var n=this,i=n.__attrs;if(n.hasStroke()){var r=i.points;if(r.length<2)return!1;var s=i.lineWidth;return a.polyline(r,s,t,e)}return!1},createPath:function(){var t=this,e=t.get("context"),n=t.__attrs,i=n.points,r=n.arrow,a=n.lineWidth;if(!(i.length<2)){e.beginPath(),e.moveTo(i[0][0],i[0][1]);for(var s=1,u=i.length-1;s=0?t:(s.warn("width \u5fc5\u987b\u5927\u4e8e\u7b49\u4e8e0"),e)},__setAttrHeight:function(t,e){return t>=0?t:(s.warn("height \u5fc5\u987b\u5927\u4e8e\u7b49\u4e8e0"),e)},__setAttrRadius:function(t,e){return t>=0?t:(s.warn("radius \u5fc5\u987b\u5927\u4e8e\u7b49\u4e8e0"),e)},__afterSetAttrX:function(){this.__calculateBox()},__afterSetAttrY:function(){this.__calculateBox()},__afterSetAttrWidth:function(){this.__calculateBox()},__afterSetAttrHeight:function(){this.__calculateBox()},__afterSetAttrLineWidth:function(){this.__calculateBox()},__afterSetAttrAll:function(){this.__calculateBox()},__calculateBox:function(){var t=this,e=t.__attrs,n=e.x,i=e.y,r=e.width,a=e.height,s=e.lineWidth,o=s/2;this.set("box",{minX:n-o,minY:i-o,maxX:n+r+o,maxY:i+a+o})},isPointInPath:function(t,e){var n=this,i=n.hasFill(),r=n.hasStroke();return i&&r?n.__isPointInFill(t,e)||n.__isPointInStroke(t,e):i?n.__isPointInFill(t,e):!!r&&n.__isPointInStroke(t,e)},__isPointInFill:function(t,e){var n=this,i=n.__attrs,r=(i.x,i.y,i.width,i.height,i.radius,n.get("context"));return!!r&&(n.createPath(),r.isPointInPath(t,e))},__isPointInStroke:function(t,e){var n=this,i=n.__attrs,r=i.x,s=i.y,o=i.width,c=i.height,u=i.radius,h=i.lineWidth;if(0===u){var l=h/2;return a.line(r-l,s,r+o+l,s,h,t,e)||a.line(r+o,s-l,r+o,s+c+l,h,t,e)||a.line(r+o+l,s+c,r-l,s+c,h,t,e)||a.line(r,s+c+l,r,s-l,h,t,e)}return a.line(r+u,s,r+o-u,s,h,t,e)||a.line(r+o,s+u,r+o,s+c-u,h,t,e)||a.line(r+o-u,s+c,r+u,s+c,h,t,e)||a.line(r,s+c-u,r,s+u,h,t,e)||a.arcline(r+o-u,s+u,u,1.5*Math.PI,2*Math.PI,!1,h,t,e)||a.arcline(r+o-u,s+c-u,u,0,.5*Math.PI,!1,h,t,e)||a.arcline(r+u,s+c-u,u,.5*Math.PI,Math.PI,!1,h,t,e)||a.arcline(r+u,s+u,u,Math.PI,1.5*Math.PI,!1,h,t,e)},createPath:function(){var t=this,e=t.get("context"),n=t.__attrs,i=n.x,r=n.y,a=n.width,s=n.height,o=n.radius;e.beginPath(),0===o?(e.moveTo(i,r),e.lineTo(i+a,r),e.lineTo(i+a,r+s),e.lineTo(i,r+s),e.lineTo(i,r)):(e.moveTo(i+o,r),e.lineTo(i+a-o,r),e.arc(i+a-o,r+o,o,-Math.PI/2,0,!1),e.lineTo(i+a,r+s-o),e.arc(i+a-o,r+s-o,o,0,Math.PI/2,!1),e.lineTo(i+o,r+s),e.arc(i+o,r+s-o,o,Math.PI/2,Math.PI,!1),e.lineTo(i,r+o),e.arc(i+o,r+o,o,Math.PI,3*Math.PI/2,!1)),e.closePath()}}),t.exports=o},function(t,e,n){"use strict";var i=n(2),r=n(6),a=n(5),s=n(8),o=function(t){o.superclass.constructor.call(this,t)};o.ATTRS={x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom",lineWidth:1};var c={start:1,right:1,left:1,end:1,center:1},u={top:1,middle:1,bottom:1},h={normal:1,italic:1,oblique:1},l={normal:1,"small-caps":1},f={normal:1,bold:1,bolder:1,lighter:1,100:1,200:1,300:1,400:1,500:1,600:1,700:1,800:1,900:1};i.extend(o,r),i.augment(o,{canFill:!0,canStroke:!0,type:"text",__setAttrTextAlign:function(t,e){return t in c?t:e},__setAttrTextBaseline:function(t,e){return t in u?t:e},__setAttrFontSize:function(t,e){return t>=12?t:e},__setAttrFontStyle:function(t,e){return t in h?t:e},__setAttrFontVariant:function(t,e){return t in l?t:e},__setAttrFontWeight:function(t,e){return t in f?t:e},__assembleFont:function(){var t=this,e=t.attr("fontSize"),n=t.attr("fontFamily"),i=t.attr("fontWeight"),r=t.attr("fontStyle"),a=t.attr("fontVariant");t.attr("font",[r,a,i,e+"px",n].join(" "))},__afterSetAttrFontSize:function(t){var e=this;e.attr({height:t}),e.__assembleFont()},__afterSetAttrFontFamily:function(){this.__assembleFont()},__afterSetAttrFontWeight:function(){this.__assembleFont()},__afterSetAttrFontStyle:function(){this.__assembleFont()},__afterSetAttrFontVariant:function(){this.__assembleFont()},__afterSetAttrFont:function(){this.attr("width",this.measureText())},__afterSetAttrText:function(){this.attr("width",this.measureText())},__afterSetAttrTextAlign:function(){this.__calculateBox()},__afterSetAttrTextBaseline:function(){this.__calculateBox()},__afterSetAttrX:function(){this.__calculateBox()},__afterSetAttrY:function(){this.__calculateBox()},__afterSetAttrWidth:function(){this.__calculateBox()},__afterSetAttrLineWidth:function(){this.__calculateBox()},__afterSetAttrAll:function(t){var e=this;"fontSize"in t&&e.attr("height",t.fontSize),("fontSize"in t||"fontWeight"in t||"fontStyle"in t||"fontVariant"in t||"fontFamily"in t)&&e.__assembleFont(),"text"in t&&e.__afterSetAttrText(t.text),e.__calculateBox()},__calculateBox:function(){var t=this,e=t.__attrs,n=e.x,i=e.y,r=e.width;if(r){var a=e.height,s=e.textAlign,o=e.textBaseline,c=e.lineWidth,u={x:n,y:i-a};s&&("end"===s||"right"===s?u.x-=r:"center"===s&&(u.x-=r/2)),o&&("top"===o?u.y+=a:"middle"===o&&(u.y+=a/2)),this.set("startPoint",u);var h=c/2;this.set("box",{minX:u.x-h,minY:u.y-h,maxX:u.x+r+h,maxY:u.y+a+h})}},isPointInPath:function(t,e){var n=this,i=n.getBBox();if(n.hasFill()||n.hasStroke())return a.box(i.minX,i.maxX,i.minY,i.maxY,t,e)},drawInner:function(){var t=this,e=t.get("context"),n=t.__attrs,r=n.text,a=n.x,s=n.y;i.isNull(r)||(e.beginPath(),t.hasFill()&&e.fillText(r,a,s),t.hasStroke()&&e.strokeText(r,a,s))},measureText:function(){var t=this,e=t.__attrs,n=e.text,r=e.font;if(!i.isNull(n)){var a=s.backupContext;a.save(),a.font=r;var o=a.measureText(n).width;return a.restore(),o}}}),t.exports=o},function(t,e,n){"use strict";function i(t,e){this.preSegment=e,this.init(t,e)}function r(t,e,n){return{x:n.x+t,y:n.y+e}}function a(t,e){return{x:e.x+(e.x-t.x),y:e.y+(e.y-t.y)}}function s(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function o(t,e){return(t[0]*e[0]+t[1]*e[1])/(s(t)*s(e))}function c(t,e){return(t[0]*e[1]1&&(r*=Math.sqrt(m),a*=Math.sqrt(m));var _=Math.sqrt((r*r*(a*a)-r*r*(p*p)-a*a*(d*d))/(r*r*(p*p)+a*a*(d*d)));n===i&&(_*=-1),isNaN(_)&&(_=0);var v=_*r*p/a,y=_*-a*d/r,M=(h+x)/2+Math.cos(u)*v-Math.sin(u)*y,S=(f+g)/2+Math.sin(u)*v+Math.cos(u)*y,b=c([1,0],[(d-v)/r,(p-y)/a]),w=[(d-v)/r,(p-y)/a],A=[(-1*d-v)/r,(-1*p-y)/a],P=c(w,A);return o(w,A)<=-1&&(P=Math.PI),o(w,A)>=1&&(P=0),0===i&&P>0&&(P-=2*Math.PI),1===i&&P<0&&(P+=2*Math.PI),[t,M,S,r,a,b,P,u,i]}var h=n(2),l=n(3),f=n(1),x=n(5),g=n(16),d=n(17),p=n(62),m=f.Vector3,_=f.Matrix3;h.augment(i,{init:function(t,e){var n=t[0];e=e||{endPoint:{x:0,y:0}};var i=/[a-z]/.test(n),s=n.toUpperCase(),o=t;switch(s){case"M":if(i)var c=r(o[1],o[2],e.endPoint);else var c={x:o[1],y:o[2]};this.command="M",this.params=[e.endPoint,c],this.subStart=c,this.endPoint=c;break;case"L":if(i)var c=r(o[1],o[2],e.endPoint);else var c={x:o[1],y:o[2]};this.command="L",this.params=[e.endPoint,c],this.subStart=e.subStart,this.endPoint=c;break;case"H":if(i)var c=r(o[1],0,e.endPoint);else var c={x:o[1],y:e.endPoint.y};this.command="L",this.params=[e.endPoint,c],this.subStart=e.subStart,this.endPoint=c;break;case"V":if(i)var c=r(0,o[1],e.endPoint);else var c={x:e.endPoint.x,y:o[1]};this.command="L",this.params=[e.endPoint,c],this.subStart=e.subStart,this.endPoint=c;break;case"Q":if(i)var h=r(o[1],o[2],e.endPoint),l=r(o[3],o[4],e.endPoint);else var h={x:o[1],y:o[2]},l={x:o[3],y:o[4]};this.command="Q",this.params=[e.endPoint,h,l],this.subStart=e.subStart,this.endPoint=l;break;case"T":if(i)var l=r(o[1],o[2],e.endPoint);else var l={x:o[1],y:o[2]};if("Q"===e.command){var h=a(e.params[1],e.endPoint);this.command="Q",this.params=[e.endPoint,h,l],this.subStart=e.subStart,this.endPoint=l}else this.command="TL",this.params=[e.endPoint,l],this.subStart=e.subStart,this.endPoint=l;break;case"C":if(i)var h=r(o[1],o[2],e.endPoint),l=r(o[3],o[4],e.endPoint),f=r(o[5],o[6],e.endPoint);else var h={x:o[1],y:o[2]},l={x:o[3],y:o[4]},f={x:o[5],y:o[6]};this.command="C",this.params=[e.endPoint,h,l,f],this.subStart=e.subStart,this.endPoint=f;break;case"S":if(i)var l=r(o[1],o[2],e.endPoint),f=r(o[3],o[4],e.endPoint);else var l={x:o[1],y:o[2]},f={x:o[3],y:o[4]};if("C"===e.command){var h=a(e.params[2],e.endPoint);this.command="C",this.params=[e.endPoint,h,l,f],this.subStart=e.subStart,this.endPoint=f}else this.command="SQ",this.params=[e.endPoint,l,f],this.subStart=e.subStart,this.endPoint=f;break;case"A":var x=o[1],g=o[2],d=o[3],p=o[4],m=o[5];if(i)var c=r(o[6],o[7],e.endPoint);else var c={x:o[6],y:o[7]};this.command="A",this.params=u(e.endPoint,c,p,m,x,g,d),this.subStart=e.subStart,this.endPoint=c;break;case"Z":this.command="Z",this.params=[e.endPoint,e.subStart],this.subStart=e.subStart,this.endPoint=e.subStart}},isInside:function(t,e,n){var i=this,r=i.command,a=i.params,s=i.box;if(s&&!x.box(s.minX,s.maxX,s.minY,s.maxY,t,e))return!1;switch(r){case"M":return!1;case"TL":case"L":case"Z":return x.line(a[0].x,a[0].y,a[1].x,a[1].y,n,t,e);case"SQ":case"Q":return x.quadraticline(a[0].x,a[0].y,a[1].x,a[1].y,a[2].x,a[2].y,n,t,e);case"C":return x.cubicline(a[0].x,a[0].y,a[1].x,a[1].y,a[2].x,a[2].y,a[3].x,a[3].y,n,t,e);case"A":var o=a,c=o[1],u=o[2],h=o[3],l=o[4],f=o[5],g=o[6],d=o[7],p=o[8],v=h>l?h:l,y=h>l?1:h/l,M=h>l?l/h:1,o=new m(t,e,1),S=new _;return S.translate(-c,-u),S.rotate(-d),S.scale(1/y,1/M),o.applyMatrix(S),x.arcline(0,0,v,f,f+g,1-p,n,o.x,o.y)}return!1},draw:function(t){var e=this.command,n=this.params;switch(e){case"M":t.moveTo(n[1].x,n[1].y);break;case"TL":case"L":t.lineTo(n[1].x,n[1].y);break;case"SQ":case"Q":var i=n[1],r=n[2];t.quadraticCurveTo(i.x,i.y,r.x,r.y);break;case"C":var i=n[1],r=n[2],a=n[3];t.bezierCurveTo(i.x,i.y,r.x,r.y,a.x,a.y);break;case"A":var s=n,o=s[1],c=s[2],u=s[3],h=s[4],l=s[5],f=s[6],x=s[7],g=s[8],d=u>h?u:h,p=u>h?1:u/h,m=u>h?h/u:1;t.translate(o,c),t.rotate(x),t.scale(p,m),t.arc(0,0,d,l,l+f,1-g),t.scale(1/p,1/m),t.rotate(-x),t.translate(-o,-c);break;case"Z":t.closePath()}},getBBox:function(t){var e=t/2,n=this.params;switch(this.command){case"M":case"Z":break;case"TL":case"L":this.box={minX:Math.min(n[0].x,n[1].x)-e,maxX:Math.max(n[0].x,n[1].x)+e,minY:Math.min(n[0].y,n[1].y)-e,maxY:Math.max(n[0].y,n[1].y)+e};break;case"SQ":case"Q":for(var i=d.extrema(n[0].x,n[1].x,n[2].x),r=0,a=i.length;rb&&(b=P)}for(var C=p.yExtrema(m,h,l),I=1/0,T=-(1/0),B=[v,y],r=2*-Math.PI;r<=2*Math.PI;r+=Math.PI){var k=C+r;1===_?vT&&(T=F)}this.box={minX:S-e,maxX:b+e,minY:I-e,maxY:T+e}}}}),t.exports=i},function(t,e){t.exports={name:"g",attrs:{id:"Group-15",transform:"translate(596.000000, 166.000000)"},childs:[{name:"g",attrs:{id:"egg",transform:"translate(186.000000, 130.000000)",fill:"#FFFFFF"},childs:[{name:"path",attrs:{d:"M67.941389,0.759375 L67.2258742,6.90040761 C63.8434233,6.90040761 61.7294233,7.39564722 60.8838106,8.3861413 L60.8838106,8.81535326 C62.1630708,10.4661767 62.8026914,12.3150713 62.8026914,14.3620924 C62.8026914,17.5096625 61.6589631,20.1949617 59.3714723,22.4180707 C57.0839815,24.6411796 53.6744789,25.7527174 49.1428621,25.7527174 C46.9312596,25.7527174 45.1208083,25.5766322 43.7114537,25.2244565 C42.5622878,25.75272 41.9877134,26.4460555 41.9877134,27.3044837 C41.9877134,28.6471535 42.6761185,29.5881087 44.0529495,30.1273777 C45.4297804,30.6666467 48.6333036,30.9362772 53.6636151,30.9362772 C62.3582483,30.9362772 66.7054997,33.9407308 66.7054997,39.9497283 C66.7054997,44.1758363 64.8950484,47.5324604 61.2740914,50.0197011 C57.6531344,52.5069418 53.2516779,53.7505435 48.0695898,53.7505435 C37.9222373,53.7505435 32.8486371,50.514978 32.8486371,44.04375 C32.8486371,42.0407509 33.417791,40.3404282 34.5561158,38.942731 C35.6944406,37.5450338 37.0116252,36.6921211 38.5077093,36.3839674 L38.5077093,35.8887228 C36.6863896,34.7221409 35.7757434,32.9392783 35.7757434,30.5400815 C35.7757434,28.1188738 37.0224614,26.093894 39.5159347,24.4650815 L39.5159347,24.0028533 C36.0033897,22.2199639 34.2471434,19.4356168 34.2471434,15.6497283 C34.2471434,12.4141143 35.4559178,9.70680437 37.8735029,7.52771739 C40.2910879,5.34863041 44.0258214,4.25910326 49.0778153,4.25910326 C52.5253132,4.25910326 55.3222979,4.91942274 57.4688532,6.24008152 L57.9241809,6.24008152 C58.5529698,2.08000637 60.6561289,0 64.2337211,0 C65.6430756,0 66.8789526,0.253122469 67.941389,0.759375 L67.941389,0.759375 Z M58.6722192,42.3929348 C58.6722192,40.7641223 58.0597012,39.5865525 56.8346469,38.8601902 C55.6095926,38.1338279 53.501013,37.7706522 50.508845,37.7706522 C48.0804188,37.7706522 45.6303469,37.6605989 43.1585559,37.4404891 C41.2505067,38.5850601 40.2964964,40.2908854 40.2964964,42.5580163 C40.2964964,46.7841244 43.0717991,48.8971467 48.6224876,48.8971467 C51.7230675,48.8971467 54.1731394,48.3028592 55.9727767,47.1142663 C57.772414,45.9256734 58.6722192,44.351912 58.6722192,42.3929348 L58.6722192,42.3929348 Z M54.8344576,15.2205163 C54.8344576,13.2395281 54.2056781,11.7317987 52.9481002,10.6972826 C51.6905223,9.66276657 50.2486659,9.1455163 48.6224876,9.1455163 C46.9963093,9.1455163 45.5707144,9.64625858 44.3456601,10.6477582 C43.1206058,11.6492577 42.5080878,13.1184686 42.5080878,15.0554348 C42.5080878,17.014412 43.1368673,18.5001308 44.3944452,19.5126359 C45.6520231,20.5251409 47.1155616,21.0313859 48.7851046,21.0313859 C50.3679182,21.0313859 51.771831,20.5416489 52.9968853,19.5621603 C54.2219396,18.5826717 54.8344576,17.1354715 54.8344576,15.2205163 Z M29.6288202,17.6307065 C29.6288202,18.7532665 29.5637741,20.2169747 29.4336798,22.021875 L8.4886082,22.3850543 C8.79216148,24.872295 9.843741,26.9412961 11.6433783,28.5921196 C13.4430156,30.242943 15.8063593,31.0683424 18.7334802,31.0683424 C21.9858367,31.0683424 25.444124,30.5731028 29.1084458,29.5826087 L28.4579777,35.9877717 C25.4658097,37.0883207 21.7581788,37.638587 17.3349738,37.638587 C11.7409205,37.638587 7.45329478,36.0428149 4.47196792,32.8512228 C1.49064107,29.6596308 0,25.8187725 0,21.3285326 C0,16.6401939 1.41475389,12.5737265 4.2443041,9.12900815 C7.07385432,5.68428984 11.0037262,3.96195652 16.0340377,3.96195652 C20.6307017,3.96195652 24.0456248,5.22756887 26.2789097,7.75883152 C28.5121945,10.2900942 29.6288202,13.5806863 29.6288202,17.6307065 Z M22.0183439,17.3335598 C22.0183439,12.2710345 19.8935028,9.73980978 15.6437569,9.73980978 C11.5891524,9.73980978 9.1824446,12.3590771 8.4235614,17.5976902 L22.0183439,17.3335598 Z M104.627788,0.759375 L103.912273,6.90040761 C100.529822,6.90040761 98.415822,7.39564722 97.5702093,8.3861413 L97.5702093,8.81535326 C98.8494695,10.4661767 99.48909,12.3150713 99.48909,14.3620924 C99.48909,17.5096625 98.3453618,20.1949617 96.057871,22.4180707 C93.7703802,24.6411796 90.3608776,25.7527174 85.8292607,25.7527174 C83.6176583,25.7527174 81.8072069,25.5766322 80.3978524,25.2244565 C79.2486864,25.75272 78.6741121,26.4460555 78.6741121,27.3044837 C78.6741121,28.6471535 79.3625172,29.5881087 80.7393482,30.1273777 C82.1161791,30.6666467 85.3197023,30.9362772 90.3500138,30.9362772 C99.044647,30.9362772 103.391898,33.9407308 103.391898,39.9497283 C103.391898,44.1758363 101.581447,47.5324604 97.9604901,50.0197011 C94.3395331,52.5069418 89.9380766,53.7505435 84.7559884,53.7505435 C74.6086359,53.7505435 69.5350358,50.514978 69.5350358,44.04375 C69.5350358,42.0407509 70.1041897,40.3404282 71.2425145,38.942731 C72.3808393,37.5450338 73.6980239,36.6921211 75.1941079,36.3839674 L75.1941079,35.8887228 C73.3727883,34.7221409 72.4621421,32.9392783 72.4621421,30.5400815 C72.4621421,28.1188738 73.7088601,26.093894 76.2023334,24.4650815 L76.2023334,24.0028533 C72.6897883,22.2199639 70.9335421,19.4356168 70.9335421,15.6497283 C70.9335421,12.4141143 72.1423165,9.70680437 74.5599016,7.52771739 C76.9774866,5.34863041 80.7122201,4.25910326 85.7642139,4.25910326 C89.2117119,4.25910326 92.0086966,4.91942274 94.1552519,6.24008152 L94.6105796,6.24008152 C95.2393685,2.08000637 97.3425275,0 100.92012,0 C102.329474,0 103.565351,0.253122469 104.627788,0.759375 Z M91.5208563,15.2205163 C91.5208563,13.2395281 90.8920768,11.7317987 89.6344989,10.6972826 C88.376921,9.66276657 86.9350646,9.1455163 85.3088863,9.1455163 C83.682708,9.1455163 82.2571131,9.64625858 81.0320588,10.6477582 C79.8070045,11.6492577 79.1944865,13.1184686 79.1944865,15.0554348 C79.1944865,17.014412 79.823266,18.5001308 81.0808439,19.5126359 C82.3384218,20.5251409 83.8019603,21.0313859 85.4715033,21.0313859 C87.0543168,21.0313859 88.4582297,20.5416489 89.683284,19.5621603 C90.9083383,18.5826717 91.5208563,17.1354715 91.5208563,15.2205163 Z M95.3586178,42.3929348 C95.3586178,40.7641223 94.7460999,39.5865525 93.5210456,38.8601902 C92.2959913,38.1338279 90.1874117,37.7706522 87.1952437,37.7706522 C84.7668174,37.7706522 82.3167456,37.6605989 79.8449546,37.4404891 C77.9369054,38.5850601 76.9828951,40.2908854 76.9828951,42.5580163 C76.9828951,46.7841244 79.7581977,48.8971467 85.3088863,48.8971467 C88.4094662,48.8971467 90.8595381,48.3028592 92.6591754,47.1142663 C94.4588127,45.9256734 95.3586178,44.351912 95.3586178,42.3929348 Z", -id:"Combined-Shape"}}]},{name:"g",attrs:{id:"center",transform:"translate(90.000000, 81.000000)",fill:"#FFFFFF"},childs:[{name:"polygon",attrs:{id:"Fill-12",points:"15.7433 52.9007 0.7433 26.9197 15.7433 0.9387 45.7433 0.9387 60.7433 26.9197 45.7433 52.9007"}}]},{name:"g",attrs:{id:"lines",transform:"translate(1.000000, 2.000000)",stroke:"#5B6170"},childs:[{name:"path",attrs:{d:"M1.09756663,105.979963 L30.4010933,54.5622391",id:"Path-2"}},{name:"path",attrs:{d:"M30.5531474,54.6354443 L60.5923556,105.734546",id:"Path-3"}},{name:"path",attrs:{d:"M0.911617172,105.721093 L60.6777067,105.658745",id:"Path-4"}},{name:"path",attrs:{d:"M0.840924452,105.741293 L29.990168,158.062787",id:"Path-5"}},{name:"path",attrs:{d:"M30.0735293,158.348783 L60.5980606,104.94528",id:"Path-6"}},{name:"path",attrs:{d:"M29.9291683,157.823181 L90.598116,157.772853",id:"Path-7"}},{name:"path",attrs:{d:"M29.8450373,157.872759 L59.5410172,210.722784",id:"Path-8"}},{name:"path",attrs:{d:"M30.504042,54.5952791 L60.0609967,1.9976529",id:"Path-9"}},{name:"path",attrs:{d:"M30.5115911,54.4580219 L90.6947337,54.5266505",id:"Path-10"}},{name:"path",attrs:{d:"M60.5733881,105.592686 L90.7591339,54.5504998",id:"Path-11"}},{name:"path",attrs:{d:"M60.4287535,105.838508 L90.1041226,157.439288",id:"Path-12"}},{name:"path",attrs:{d:"M90.8011827,157.964689 L60.2158599,210.465687",id:"Path-13"}},{name:"path",attrs:{d:"M90.9230584,54.9434488 L60.0797104,1.97800556",id:"Path-14"}},{name:"path",attrs:{d:"M60.1768462,1.92633361 L120.628941,1.59414377",id:"Path-15"}},{name:"path",attrs:{d:"M90.5863676,54.5478847 L120.795781,1.51668247",id:"Path-16"}},{name:"path",attrs:{d:"M90.7134836,54.5250436 L149.707717,54.6566285",id:"Path-17"}},{name:"path",attrs:{d:"M120.605926,1.78087467 L149.620028,54.8444026",id:"Path-18"}},{name:"path",attrs:{d:"M149.636354,54.6739985 L180.613165,1.67271399",id:"Path-19"}},{name:"path",attrs:{d:"M120.398788,1.66710188 L180.633063,1.62730691",id:"Path-20"}},{name:"path",attrs:{d:"M180.634466,1.80101364 L210.651832,54.6050175",id:"Path-23"}},{name:"path",attrs:{d:"M210.732836,54.6442753 L179.723652,105.49417",id:"Path-24"}},{name:"path",attrs:{d:"M210.781915,54.5060656 L149.600138,54.9015146",id:"Path-25"}},{name:"path",attrs:{d:"M210.771197,54.3864719 L239.074291,106.183527",id:"Path-26"}},{name:"path",attrs:{d:"M239.358837,106.077684 L179.551961,105.829702",id:"Path-27"}},{name:"path",attrs:{d:"M179.614689,105.711281 L149.626538,54.470605",id:"Path-28"}},{name:"path",attrs:{d:"M59.9664127,210.661496 L120.055533,210.991735",id:"Path-29"}},{name:"path",attrs:{d:"M119.975274,210.672326 L90.7272677,157.686386",id:"Path-30"}},{name:"path",attrs:{d:"M120.13145,210.976393 L149.799102,157.672302",id:"Path-31"}},{name:"path",attrs:{d:"M120.284312,210.80986 L180.728176,210.676054",id:"Path-32"}},{name:"path",attrs:{d:"M149.646958,157.388457 L180.576238,210.799181",id:"Path-33"}},{name:"path",attrs:{d:"M149.572413,157.544888 L90.5533295,157.544888",id:"Path-34"}}]},{name:"g",attrs:{id:"points",fill:"#C5C9D5"},childs:[{name:"circle",attrs:{id:"Oval-Copy",cx:"150.5",cy:"56.5",r:"3.5"}},{name:"circle",attrs:{id:"Oval-999",cx:"92",cy:"55",r:"3"}},{name:"circle",attrs:{id:"Oval-Copy-6",cx:"180.5",cy:"107.5",r:"2.5"}},{name:"circle",attrs:{id:"Oval-Copy-16",cx:"211.5",cy:"56.5",r:"2.5"}},{name:"circle",attrs:{id:"Oval-Copy-11",cx:"240",cy:"108",r:"2"}},{name:"circle",attrs:{id:"Oval-Copy-12",cx:"61",cy:"4",r:"2"}},{name:"circle",attrs:{id:"Oval-Copy-13",cx:"2",cy:"108",r:"2"}},{name:"circle",attrs:{id:"Oval-Copy-14",cx:"31",cy:"160",r:"2"}},{name:"circle",attrs:{id:"Oval-Copy-15",cx:"121",cy:"213",r:"2"}},{name:"circle",attrs:{id:"Oval-Copy-7",cx:"121.5",cy:"3.5",r:"2.5"}},{name:"circle",attrs:{id:"Oval-Copy-17",cx:"181.5",cy:"3.5",r:"3.5"}},{name:"circle",attrs:{id:"Oval-Copy-9",cx:"91.5",cy:"159.5",r:"2.5"}},{name:"circle",attrs:{id:"Oval-Copy-10",cx:"181.5",cy:"212.5",r:"2.5"}},{name:"circle",attrs:{id:"Oval-Copy-2",cx:"61.5",cy:"107.5",r:"3.5"}},{name:"circle",attrs:{id:"Oval-Copy-3",cx:"150.5",cy:"159.5",r:"3.5"}},{name:"circle",attrs:{id:"Oval-Copy-4",cx:"60.5",cy:"212.5",r:"3.5"}},{name:"circle",attrs:{id:"Oval-Copy-5",cx:"31.5",cy:"56.5",r:"3.5"}}]}]}},function(t,e,n){"use strict";function i(t){if(!t._attrs&&t!==r){var e=t.superclass.constructor;e&&!e._attrs&&i(e),t._attrs={},a.mix(!0,t._attrs,e._attrs),a.mix(!0,t._attrs,t.ATTRS)}}var r,a=n(4);r=function(t){i(this.constructor),this._attrs={},this.events={};var e=this.getDefaultCfg();a.mix(this._attrs,e,t)},a.augment(r,{getDefaultCfg:function(){var t=this,e=t.constructor,n=e._attrs,i=a.mix(!0,{},n);return i},set:function(t,e){var n="_onRender"+a.ucfirst(t);return this[n]&&this[n](e,this._attrs[t]),this._attrs[t]=e,this},get:function(t){return this._attrs[t]},on:function(t,e){var n=this,i=n.events,r=i[t];return r||(r=i[t]=[]),r.push(e),n},fire:function(t,e){var n=this,i=n.events,r=i[t];r&&a.each(r,function(t){t(e)})},off:function(t,e){var n=this,i=n.events,r=i[t];return t?(r&&a.remove(r,e),n):(n.events={},n)},destroy:function(){var t=this,e=t.destroyed;return e?t:(t._attrs={},t.events={},void(t.destroyed=!0))}}),t.exports=r},function(t,e){},[85,74,27,10],[86,10,27],[87,10],[89,10,26],[85,78,29,11],[86,11,29],[87,11],[89,11,28],function(t,e,n){var i=n(82);t.exports=i},function(t,e){"use strict";function n(t,e,i){i=i||0;for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];null!==o&&s.isObject(o)?(s.isObject(t[r])||(t[r]={}),i=t[n-1])return t[n-1];for(var r=1;rt[n-1])return NaN;if(en?n:t},snapTo:function(t,e){var r=n(t,e),a=i(t,e);if(isNaN(r)||isNaN(a)){if(t[0]>=e)return t[0];var s=t[t.length-1];if(s<=e)return s}return Math.abs(e-r)=0;e--)delete t[e];t.length=0},equalsArray:function(t,e){if(t===e)return!0;if(!t||!e)return!1;if(t.length!==e.length)return!1;for(var n=!0,i=0;i');t.appendChild(n),this.set("canvasDOM",n)}},_setInitSize:function(){this.get("widthStyle")?this.changeSizeByCss(this.get("widthStyle"),this.get("heightStyle")):this.get("width")&&this.changeSize(this.get("width"),this.get("height"))},_getPx:function(t,e){var n=this.get("canvasDOM");n.style[t]=e;var i=a.getBoundingClientRect(n);return"width"===t?i.right-i.left:"height"===t?i.bottom-i.top:void 0},_reSize:function(){var t=this.get("canvasDOM"),e=this.get("widthCanvas"),n=this.get("heightCanvas"),i=this.get("widthStyle"),r=this.get("heightStyle");t.style.width=i,t.style.height=r,t.setAttribute("width",e),t.setAttribute("height",n)},getWidth:function(){var t=this.get("pixelRatio"),e=this.get("width");return e*t},getHeight:function(){var t=this.get("pixelRatio"),e=this.get("height");return e*t},changeSizeByCss:function(t,e){var n=this.get("pixelRatio"),t=this._getPx("width",t),e=this._getPx("height",e),i=t*n,r=e*n;this.set("widthStyle",t),this.set("heightStyle",e),this.set("widthCanvas",i),this.set("heightCanvas",r),this.set("width",t),this.set("height",e),this._reSize()},changeSize:function(t,e){var n=this.get("pixelRatio"),i=t*n,r=e*n;this.set("widthCanvas",i),this.set("heightCanvas",r),this.set("widthStyle",t+"px"),this.set("heightStyle",e+"px"),this.set("width",t),this.set("height",e),this._reSize()}}),t.exports=h},function(t,e,n,i){var r=n(i),a=(n(7),function(){});r.augment(a,{getParent:function(){return this.get("parent")||this.get("father")},getDefaultCfg:function(){r.initClassCfgs(this.constructor);var t=r.mix(!0,{},this.constructor.__cfg);return t},getBBBox:function(){var t=this.getBBox();return t?(t.x=t.minX,t.y=t.minY,t.width=t.maxX-t.minX,t.height=t.maxY-t.minY,t.centerX=t.x+t.width/2,t.centerY=t.y+t.height/2):t={x:0,y:0,centerX:0,centerY:0,width:0,height:0},t},move:function(t,e){var n=this,i=n.get("x")||0,r=n.get("y")||0;n.translate(t-i,e-r),n.set("x",t),n.set("y",e)}}),t.exports=a},function(t,e,n,i){"use strict";var r=n(i),a=n(7),s=a.Group,o=function(t){o.superclass.constructor.call(this,t),this._beforeRenderUI(),this._renderUI(),this._bindUI()};o.CFG={},r.extend(o,s),r.augment(o,{_beforeRenderUI:function(){this._initCfg(),this._multiRatioCfg()},_renderUI:function(){},_multiRatioCfg:function(){},_initCfg:function(){},_bindUI:function(){}}),t.exports=o},function(t,e,n,i,r){var a=n(i),s=n(7),o=n(r),c=function(){};a.augment(c,{addShape:function(t,e){var n,i=this.get("canvas");return e=a.mix({},e),e?(e.type=t,e.canvas=i,e.father=this,t=a.upperFirst(t),n=new s[t](e)):n=new s[t],this.add(n),n},addGroup:function(t,e){var n,i=this.get("canvas");if(e=a.mix({},e),a.isFunction(t))e?(e.canvas=i,e.father=this,n=new t(e)):n=new t({canvas:i,father:this}),this.add(n);else if(a.isObject(t))t.canvas=i,n=new o(t),this.add(n);else{if(void 0!==t)return!1;n=new o,this.add(n)}return n},findByCFG:function(t,e){var n=this.get("children"),i=[];return a.each(n,function(n,r){n.get(t)===e&&i.push(n)}),i}}),t.exports=c},function(t,e,n,i,r,a){t.exports={GMixin:n(i),GroupBase:n(r),GroupMixin:n(a)}}])); diff --git a/docs/themes/egg/source/images/logo.svg b/docs/themes/egg/source/images/logo.svg deleted file mode 100644 index d1147bf8af..0000000000 --- a/docs/themes/egg/source/images/logo.svg +++ /dev/null @@ -1,34 +0,0 @@ - - - - Logo - Created with Sketch Beta. - - - - - - - - - \ No newline at end of file diff --git a/docs/themes/egg/source/images/search.png b/docs/themes/egg/source/images/search.png deleted file mode 100644 index 98b4e421c5..0000000000 Binary files a/docs/themes/egg/source/images/search.png and /dev/null differ diff --git a/package.json b/package.json index 79dee30e07..89bd4961dd 100644 --- a/package.json +++ b/package.json @@ -51,28 +51,18 @@ "coffee": "^3.3.1", "egg-alinode": "^1.0.3", "egg-bin": "^3.3.2", + "egg-doctools": "^1.1.0", "egg-mock": "^3.6.1", "egg-plugin-puml": "^2.3.0", "egg-view-nunjucks": "^2.1.1", "eslint": "^3.19.0", "eslint-config-egg": "^4.1.0", "formstream": "^1.1.0", - "gh-pages": "^0.12.0", "glob": "^7.1.1", - "jsdoc": "^3.4.3", - "merge-descriptors": "^1.0.1", - "moment": "^2.17.1", - "mz": "^2.6.0", "mz-modules": "^1.0.0", - "npminstall": "^2.29.1", - "once": "^1.3.3", "pedding": "^1.1.0", - "rds": "^0.1.0", - "rimraf": "^2.6.1", - "runscript": "^1.2.1", "spy": "^1.0.0", "supertest": "^3.0.0", - "taffydb": "^2.7.3", "webstorm-disable-index": "^1.1.2" }, "main": "index.js", @@ -89,9 +79,9 @@ "test-local": "egg-bin test", "cov": "egg-bin cov", "ci": "npm run lint && npm run cov", - "doc-server": "node ./scripts/doc.js server", - "doc-build": "node ./scripts/doc.js build", - "doc-deploy": "node ./scripts/doc.js deploy", + "doc-server": "doctools server", + "doc-build": "doctools build", + "doc-deploy": "doctools deploy", "autod": "autod", "puml": "puml . --dest ./docs", "commits": "./scripts/commits.sh" diff --git a/scripts/doc.js b/scripts/doc.js deleted file mode 100755 index b0bb06a8a3..0000000000 --- a/scripts/doc.js +++ /dev/null @@ -1,95 +0,0 @@ -#!/usr/bin/env node - -'use strict'; - -const fs = require('mz/fs'); -const co = require('co'); -const rimraf = require('rimraf'); -const runscript = require('runscript'); -const ghpages = require('gh-pages'); -const jsdoc = require('./jsdoc'); -const path = require('path'); - -// The branch that pushing document -const BRANCH = 'gh-pages'; -const DOC_PUBLISHER_NAME = 'Auto Doc Publisher'; -const DOC_PUBLISHER_EMAIL = 'docs@eggjs.org'; -process.env.PATH += `${path.delimiter}${process.cwd()}/docs/node_modules/.bin`; -const EGG_VERSION = require('../package.json').version; -const NODE_VERSION = require('../package.json').engines.node; - -const command = process.argv[2]; - -co(function* () { - const exists = yield fs.exists('node_modules'); - if (!exists) { - throw new Error('should run `npm install` first'); - } - - console.log('Copying CONTRIBUTING.md'); - yield copyContributing('CONTRIBUTING.md', 'docs/source/en/contributing.md'); - yield copyContributing('CONTRIBUTING.zh-CN.md', 'docs/source/zh-cn/contributing.md'); - - console.log('Updating version'); - yield versionUpdate(); - - yield rm('docs/public'); - yield runscript('npminstall', { cwd: 'docs' }); - - switch (command) { - case 'server': - yield jsdoc('docs/public/api'); - yield runscript('hexo --cwd docs server -l'); - break; - case 'build': - yield runscript('hexo --cwd docs generate --force'); - yield jsdoc('docs/public/api'); - break; - case 'deploy': - yield runscript('hexo --cwd docs generate --force'); - yield jsdoc('docs/public/api'); - yield deploy(); - break; - default: - } -}).catch(err => { - console.error(err.stack); - process.exit(1); -}); - -function* deploy() { - console.log('Pushing to %s', BRANCH); - let repo = yield runscript('git config remote.origin.url', { stdio: 'pipe' }); - repo = repo.stdout.toString().slice(0, -1); - if (/^http/.test(repo)) { - repo = repo.replace('https://github.com/', 'git@github.com:'); - } - yield publish('docs/public', { - logger(message) { console.log(message); }, - user: { - name: DOC_PUBLISHER_NAME, - email: DOC_PUBLISHER_EMAIL, - }, - branch: BRANCH, - repo, - }); -} - -function* copyContributing(src, target) { - let content = yield fs.readFile(src, 'utf8'); - content = content.replace(/^#\s*(.*?)\n/, 'title: $1\n---\n'); - yield fs.writeFile(target, content); -} - -function rm(dir) { - return done => rimraf(dir, done); -} - -function publish(basePath, options) { - return done => ghpages.publish(basePath, options, done); -} - -function* versionUpdate() { - const versionPath = 'docs/source/_data/versions.yml'; - yield fs.writeFile(versionPath, `egg: ${EGG_VERSION}\nnode: "${NODE_VERSION}"\n`); -} diff --git a/scripts/jsdoc.js b/scripts/jsdoc.js deleted file mode 100644 index 0afbd93b05..0000000000 --- a/scripts/jsdoc.js +++ /dev/null @@ -1,114 +0,0 @@ -#!/usr/bin/env node - -'use strict'; - -const os = require('os'); -const path = require('path'); -const fs = require('mz/fs'); -const { existsSync } = require('fs'); -const mkdirp = require('mz-modules/mkdirp'); -const runscript = require('runscript'); -const debug = require('debug')('jsdoc'); - -const cwd = process.cwd(); -const tmp = path.join(os.tmpdir(), 'jsdoc'); - -module.exports = function* (target) { - const config = yield getConfig(); - yield runscript(`jsdoc -c ${config} -d ${target} --verbose`); -}; - -class Source extends Set { - constructor() { - super(); - - for (const unit of this.getLoadUnits()) { - this.add(path.join(unit.path, 'app')); - this.add(path.join(unit.path, 'config')); - this.add(path.join(unit.path, 'app.js')); - this.add(path.join(unit.path, 'agent.js')); - try { - const entry = require.resolve(unit.path); - this.add(entry); - } catch (_) { - // nothing - } - } - - this.add(path.join(cwd, 'lib')); - - this.add(path.join(cwd, 'node_modules/egg-core/index.js')); - this.add(path.join(cwd, 'node_modules/egg-core/lib')); - - // this.add(path.join(cwd, 'node_modules/egg-logger/index.js')); - // this.add(path.join(cwd, 'node_modules/egg-logger/lib')); - } - - getLoadUnits() { - const EGG_LOADER = Symbol.for('egg#loader'); - const EGG_PATH = Symbol.for('egg#eggPath'); - const Application = require(cwd).Application; - const AppWorkerLoader = require(cwd).AppWorkerLoader; - - class JsdocLoader extends AppWorkerLoader { - // only load plugin - // loadConfig() { this.loadPlugin(); } - // do nothing - load() {} - } - - class JsdocApplication extends Application { - get [EGG_LOADER]() { - return JsdocLoader; - } - get [EGG_PATH]() { - return cwd; - } - } - - const app = new JsdocApplication({ - baseDir: tmp, - }); - const loadUnits = app.loader.getLoadUnits(); - app.close(); - return loadUnits; - } - - add(file) { - if (existsSync(file)) { - debug('add %s', file); - super.add(file); - } - } -} - -function* getConfig() { - yield mkdirp(tmp); - - const configPath = path.join(tmp, 'jsdoc.json'); - const packagePath = path.join(tmp, 'package.json'); - yield fs.writeFile(packagePath, '{"name": "jsdoc"}'); - - const source = new Source(); - const config = { - plugins: [ 'plugins/markdown' ], - markdown: { - tags: [ '@example' ], - }, - source: { - include: [ ...source ], - // excludePattern: 'node_modules', - }, - opts: { - recurse: true, - template: path.join(__dirname, 'template'), - }, - templates: { - default: { - outputSourceFiles: true, - }, - }, - }; - yield fs.writeFile(configPath, JSON.stringify(config)); - return configPath; -} diff --git a/scripts/template/publish.js b/scripts/template/publish.js deleted file mode 100644 index 29ff52a7ce..0000000000 --- a/scripts/template/publish.js +++ /dev/null @@ -1,686 +0,0 @@ -'use strict'; - -/* global env */ - -const doop = require('jsdoc/util/doop'); -const fs = require('jsdoc/fs'); -const helper = require('jsdoc/util/templateHelper'); -const logger = require('jsdoc/util/logger'); -const path = require('jsdoc/path'); -const taffy = require('taffydb').taffy; -const template = require('jsdoc/template'); -const util = require('util'); - -const htmlsafe = helper.htmlsafe; -const linkto = helper.linkto; -const resolveAuthorLinks = helper.resolveAuthorLinks; -const hasOwnProp = Object.prototype.hasOwnProperty; - -let data; -let view; - -// eslint global: env -let outdir = path.normalize(env.opts.destination); - -function find(spec) { - return helper.find(data, spec); -} - -function tutoriallink(tutorial) { - return helper.toTutorial(tutorial, null, { tag: 'em', classname: 'disabled', prefix: 'Tutorial: ' }); -} - -function getAncestorLinks(doclet) { - return helper.getAncestorLinks(data, doclet); -} - -function hashToLink(doclet, hash) { - if (!/^(#.+)/.test(hash)) { return hash; } - - let url = helper.createLink(doclet); - - url = url.replace(/(#.+|$)/, hash); - return '' + hash + ''; -} - -function needsSignature(doclet) { - let needsSig = false; - - // function and class definitions always get a signature - if (doclet.kind === 'function' || doclet.kind === 'class') { - needsSig = true; - } - // typedefs that contain functions get a signature, too - else if (doclet.kind === 'typedef' && doclet.type && doclet.type.names && - doclet.type.names.length) { - for (let i = 0, l = doclet.type.names.length; i < l; i++) { - if (doclet.type.names[i].toLowerCase() === 'function') { - needsSig = true; - break; - } - } - } - - return needsSig; -} - -function getSignatureAttributes(item) { - const attributes = []; - - if (item.optional) { - attributes.push('opt'); - } - - if (item.nullable === true) { - attributes.push('nullable'); - } - else if (item.nullable === false) { - attributes.push('non-null'); - } - - return attributes; -} - -function updateItemName(item) { - const attributes = getSignatureAttributes(item); - let itemName = item.name || ''; - - if (item.constiable) { - itemName = '…' + itemName; - } - - if (attributes && attributes.length) { - itemName = util.format( - '%s%s', - itemName, - attributes.join(', ') - ); - } - - return itemName; -} - -function addParamAttributes(params) { - return params.filter(function(param) { - return param.name && param.name.indexOf('.') === -1; - }).map(updateItemName); -} - -function buildItemTypeStrings(item) { - const types = []; - - if (item && item.type && item.type.names) { - item.type.names.forEach(function(name) { - types.push(linkto(name, htmlsafe(name))); - }); - } - - return types; -} - -function buildAttribsString(attribs) { - let attribsString = ''; - - if (attribs && attribs.length) { - attribsString = htmlsafe(util.format('(%s) ', attribs.join(', '))); - } - - return attribsString; -} - -function addNonParamAttributes(items) { - let types = []; - - items.forEach(function(item) { - types = types.concat(buildItemTypeStrings(item)); - }); - - return types; -} - -function addSignatureParams(f) { - const params = f.params ? addParamAttributes(f.params) : []; - f.signature = util.format('%s(%s)', f.signature || '', params.join(', ')); -} - -function addSignatureReturns(f) { - const attribs = []; - let attribsString = ''; - let returnTypes = []; - let returnTypesString = ''; - - // jam all the return-type attributes into an array. this could create odd results (for example, - // if there are both nullable and non-nullable return types), but let's assume that most people - // who use multiple @return tags aren't using Closure Compiler type annotations, and vice-versa. - if (f.returns) { - f.returns.forEach(function(item) { - helper.getAttribs(item).forEach(function(attrib) { - if (attribs.indexOf(attrib) === -1) { - attribs.push(attrib); - } - }); - }); - - attribsString = buildAttribsString(attribs); - } - - if (f.returns) { - returnTypes = addNonParamAttributes(f.returns); - } - if (returnTypes.length) { - returnTypesString = util.format( - ' → %s{%s}', - attribsString, - returnTypes.join('|') - ); - } - - f.signature = '' + (f.signature || '') + '' + - '' + returnTypesString + ''; -} - -function addSignatureTypes(f) { - const types = f.type ? buildItemTypeStrings(f) : []; - - f.signature = (f.signature || '') + '' + - (types.length ? ' :' + types.join('|') : '') + ''; -} - -function addAttribs(f) { - const attribs = helper.getAttribs(f); - const attribsString = buildAttribsString(attribs); - - f.attribs = util.format('%s', attribsString); -} - -function shortenPaths(files, commonPrefix) { - Object.keys(files).forEach(function(file) { - files[file].shortened = files[file].resolved.replace(commonPrefix, '') - // always use forward slashes - .replace(/\\/g, '/'); - }); - - return files; -} - -function getPathFromDoclet(doclet) { - if (!doclet.meta) { - return null; - } - - return doclet.meta.path && doclet.meta.path !== 'null' ? - path.join(doclet.meta.path, doclet.meta.filename) : - doclet.meta.filename; -} - -function generate(type, title, docs, filename, resolveLinks) { - resolveLinks = resolveLinks === false ? false : true; - - const docData = { - type: type, - title: title, - docs: docs, - }; - - const outpath = path.join(outdir, filename); - let html = view.render('container.tmpl', docData); - - if (resolveLinks) { - html = helper.resolveLinks(html); // turn {@link foo} into foo - } - - fs.writeFileSync(outpath, html, 'utf8'); -} - -function generateSourceFiles(sourceFiles, encoding) { - encoding = encoding || 'utf8'; - Object.keys(sourceFiles).forEach(function(file) { - let source; - // links are keyed to the shortened path in each doclet's `meta.shortpath` property - const sourceOutfile = helper.getUniqueFilename(sourceFiles[file].shortened); - helper.registerLink(sourceFiles[file].shortened, sourceOutfile); - - try { - source = { - kind: 'source', - code: helper.htmlsafe(fs.readFileSync(sourceFiles[file].resolved, encoding)), - }; - } - catch (e) { - logger.error('Error while generating source file %s: %s', file, e.message); - } - - generate('Source', sourceFiles[file].shortened, [source], sourceOutfile, false); - }); -} - -/** - * Look for classes or functions with the same name as modules (which indicates that the module - * exports only that class or function), then attach the classes or functions to the `module` - * property of the appropriate module doclets. The name of each class or function is also updated - * for display purposes. This function mutates the original arrays. - * - * @private - * @param {Array.} doclets - The array of classes and functions to - * check. - * @param {Array.} modules - The array of module doclets to search. - * @return - */ -function attachModuleSymbols(doclets, modules) { - const symbols = {}; - - // build a lookup table - doclets.forEach(function(symbol) { - symbols[symbol.longname] = symbols[symbol.longname] || []; - symbols[symbol.longname].push(symbol); - }); - - return modules.map(function(module) { - if (symbols[module.longname]) { - module.modules = symbols[module.longname] - // Only show symbols that have a description. Make an exception for classes, because - // we want to show the constructor-signature heading no matter what. - .filter(function(symbol) { - return symbol.description || symbol.kind === 'class'; - }) - .map(function(symbol) { - symbol = doop(symbol); - - if (symbol.kind === 'class' || symbol.kind === 'function') { - symbol.name = symbol.name.replace('module:', '(require("') + '"))'; - } - - return symbol; - }); - } - }); -} - -function buildMemberNav(items, itemHeading, itemsSeen, linktoFn) { - let nav = ''; - - if (items && items.length) { - let itemsNav = ''; - - items.forEach(function(item) { - const members = find({memberof: item.longname }); - if (!hasOwnProp.call(item, 'longname')) { - itemsNav += '
  • ' + linktoFn('', item.name); - itemsNav += '
  • '; - } else if (!hasOwnProp.call(itemsSeen, item.longname)) { - itemsNav += '
  • ' + linktoFn(item.longname, item.name.replace(/^module:/, '')); - if (members.length) { - itemsNav += '
      '; - - members - // 方法在后面,属性在前面 - .sort(function(a, b) { - if (a.kind === b.kind) { - return a.name.localeCompare(b.name); - } - if (a.kind === 'function') return 1; - if (b.kind === 'function') return -1; - }) - .forEach(function(member) { - itemsNav += '
    • '; - let link = linkto(member.longname, member.name); - // 函数加上 () - if (member.kind === 'function') { - link = link.replace(/<\/a>$/, '()'); - } - itemsNav += link; - itemsNav += '
    • '; - }); - - itemsNav += '
    '; - } - itemsNav += '
  • '; - itemsSeen[item.longname] = true; - } - }); - - if (itemsNav !== '') { - nav += '

    ' + itemHeading + '

      ' + itemsNav + '
    '; - } - } - - return nav; -} - -// 添加 Egg 的快捷方式 -function buildEgg() { - return ` -

    Egg

    - - `; -} - -function linktoTutorial(longName, name) { - return tutoriallink(name); -} - -function linktoExternal(longName, name) { - return linkto(longName, name.replace(/(^"|"$)/g, '')); -} - -/** - * Create the navigation sidebar. - * @param {object} members The members that will be used to create the sidebar. - * @param {array} members.classes - * @param {array} members.externals - * @param {array} members.globals - * @param {array} members.mixins - * @param {array} members.modules - * @param {array} members.namespaces - * @param {array} members.tutorials - * @param {array} members.events - * @param {array} members.interfaces - * @return {string} The HTML for the navigation sidebar. - */ -function buildNav(members) { - let nav = '

    Home

    '; - const seen = {}; - const seenTutorials = {}; - - - nav += buildEgg(); - nav += buildMemberNav(members.classes, 'Classes', seen, linkto); - nav += buildMemberNav(members.modules, 'Modules', {}, linkto); - nav += buildMemberNav(members.externals, 'Externals', seen, linktoExternal); - nav += buildMemberNav(members.events, 'Events', seen, linkto); - nav += buildMemberNav(members.namespaces, 'Namespaces', seen, linkto); - nav += buildMemberNav(members.mixins, 'Mixins', seen, linkto); - nav += buildMemberNav(members.tutorials, 'Tutorials', seenTutorials, linktoTutorial); - nav += buildMemberNav(members.interfaces, 'Interfaces', seen, linkto); - - return nav; -} - -/** - @param {TAFFY} taffyData See . - @param {object} opts - @param {Tutorial} tutorials - */ -exports.publish = function(taffyData, opts, tutorials) { - data = taffyData; - - const conf = env.conf.templates || {}; - conf.default = conf.default || {}; - - const templatePath = path.normalize(opts.template); - view = new template.Template(path.join(templatePath, 'tmpl')); - - // claim some special filenames in advance, so the All-Powerful Overseer of Filename Uniqueness - // doesn't try to hand them out later - const indexUrl = helper.getUniqueFilename('index'); - // don't call registerLink() on this one! 'index' is also a valid longname - - const globalUrl = helper.getUniqueFilename('global'); - helper.registerLink('global', globalUrl); - - // set up templating - view.layout = conf.default.layoutFile ? - path.getResourcePath(path.dirname(conf.default.layoutFile), path.basename(conf.default.layoutFile)) : - 'layout.tmpl'; - - // set up tutorials for helper - helper.setTutorials(tutorials); - - data = helper.prune(data); - data.sort('longname, version, since'); - helper.addEventListeners(data); - - let sourceFiles = {}; - const sourceFilePaths = []; - data().each(function(doclet) { - doclet.attribs = ''; - - if (doclet.examples) { - doclet.examples = doclet.examples.map(function(example) { - let caption, code; - - if (example.match(/^\s*([\s\S]+?)<\/caption>(\s*[\n\r])([\s\S]+)$/i)) { - caption = RegExp.$1; - code = RegExp.$3; - } - - return { - caption: caption || '', - code: code || example, - }; - }); - } - if (doclet.see) { - doclet.see.forEach(function(seeItem, i) { - doclet.see[i] = hashToLink(doclet, seeItem); - }); - } - - // build a list of source files - let sourcePath; - if (doclet.meta) { - sourcePath = getPathFromDoclet(doclet); - sourceFiles[sourcePath] = { - resolved: sourcePath, - shortened: null, - }; - if (sourceFilePaths.indexOf(sourcePath) === -1) { - sourceFilePaths.push(sourcePath); - } - } - }); - - // update outdir if necessary, then create outdir - const packageInfo = (find({ kind: 'package' }) || []) [0]; - if (packageInfo && packageInfo.name) { - outdir = path.join(outdir, packageInfo.name, packageInfo.version || ''); - } - fs.mkPath(outdir); - - // copy the template's static files to outdir - const fromDir = path.join(templatePath, 'static'); - const staticFiles = fs.ls(fromDir, 3); - - staticFiles.forEach(function(fileName) { - const toDir = fs.toDir(fileName.replace(fromDir, outdir)); - fs.mkPath(toDir); - fs.copyFileSync(fileName, toDir); - }); - - // copy user-specified static files to outdir - let staticFilePaths; - let staticFileFilter; - let staticFileScanner; - if (conf.default.staticFiles) { - // The canonical property name is `include`. We accept `paths` for backwards compatibility - // with a bug in JSDoc 3.2.x. - staticFilePaths = conf.default.staticFiles.include || - conf.default.staticFiles.paths || - []; - staticFileFilter = new (require('jsdoc/src/filter')).Filter(conf.default.staticFiles); - staticFileScanner = new (require('jsdoc/src/scanner')).Scanner(); - - staticFilePaths.forEach(function(filePath) { - const extraStaticFiles = staticFileScanner.scan([filePath], 10, staticFileFilter); - - extraStaticFiles.forEach(function(fileName) { - const sourcePath = fs.toDir(filePath); - const toDir = fs.toDir(fileName.replace(sourcePath, outdir)); - fs.mkPath(toDir); - fs.copyFileSync(fileName, toDir); - }); - }); - } - - if (sourceFilePaths.length) { - sourceFiles = shortenPaths(sourceFiles, path.commonPrefix(sourceFilePaths)); - } - - data().each(function(doclet) { - const url = helper.createLink(doclet); - helper.registerLink(doclet.longname, url); - - // add a shortened version of the full path - let docletPath; - if (doclet.meta) { - docletPath = getPathFromDoclet(doclet); - docletPath = sourceFiles[docletPath].shortened; - if (docletPath) { - doclet.meta.shortpath = docletPath; - } - } - }); - - data().each(function(doclet) { - const url = helper.longnameToUrl[doclet.longname]; - - if (url.indexOf('#') > -1) { - doclet.id = helper.longnameToUrl[doclet.longname].split(/#/).pop(); - } - else { - doclet.id = doclet.name; - } - - if (needsSignature(doclet)) { - addSignatureParams(doclet); - addSignatureReturns(doclet); - addAttribs(doclet); - } - }); - - // do this after the urls have all been generated - data().each(function(doclet) { - doclet.ancestors = getAncestorLinks(doclet); - - if (doclet.kind === 'member') { - addSignatureTypes(doclet); - addAttribs(doclet); - } - - if (doclet.kind === 'constant') { - addSignatureTypes(doclet); - addAttribs(doclet); - doclet.kind = 'member'; - } - }); - - const members = helper.getMembers(data); - members.tutorials = tutorials.children; - - // output pretty-printed source files by default - const outputSourceFiles = conf.default && conf.default.outputSourceFiles !== false - ? true - : false; - - // add template helpers - view.find = find; - view.linkto = linkto; - view.resolveAuthorLinks = resolveAuthorLinks; - view.tutoriallink = tutoriallink; - view.htmlsafe = htmlsafe; - view.outputSourceFiles = outputSourceFiles; - - // once for all - view.nav = buildNav(members); - attachModuleSymbols(find({ longname: {left: 'module:'} }), members.modules); - - // generate the pretty-printed source files first so other pages can link to them - if (outputSourceFiles) { - generateSourceFiles(sourceFiles, opts.encoding); - } - - if (members.globals.length) { - generate('', 'Global', [{kind: 'globalobj'}], globalUrl); - } - - // index page displays information from package.json and lists files - const files = find({kind: 'file'}); - const packages = find({kind: 'package'}); - - generate( - '', - 'Home', - packages.concat([ - { - kind: 'mainpage', - readme: opts.readme, - longname: opts.mainpagetitle ? opts.mainpagetitle : 'Main Page', - }, - ]).concat(files), - indexUrl); - - // set up the lists that we'll use to generate pages - const classes = taffy(members.classes); - const modules = taffy(members.modules); - const namespaces = taffy(members.namespaces); - const mixins = taffy(members.mixins); - const externals = taffy(members.externals); - const interfaces = taffy(members.interfaces); - - Object.keys(helper.longnameToUrl).forEach(function(longname) { - const myModules = helper.find(modules, {longname: longname}); - if (myModules.length) { - generate('Module', myModules[0].name, myModules, helper.longnameToUrl[longname]); - } - - const myClasses = helper.find(classes, {longname: longname}); - if (myClasses.length) { - generate('Class', myClasses[0].name, myClasses, helper.longnameToUrl[longname]); - } - - const myNamespaces = helper.find(namespaces, {longname: longname}); - if (myNamespaces.length) { - generate('Namespace', myNamespaces[0].name, myNamespaces, helper.longnameToUrl[longname]); - } - - const myMixins = helper.find(mixins, {longname: longname}); - if (myMixins.length) { - generate('Mixin', myMixins[0].name, myMixins, helper.longnameToUrl[longname]); - } - - const myExternals = helper.find(externals, {longname: longname}); - if (myExternals.length) { - generate('External', myExternals[0].name, myExternals, helper.longnameToUrl[longname]); - } - - const myInterfaces = helper.find(interfaces, {longname: longname}); - if (myInterfaces.length) { - generate('Interface', myInterfaces[0].name, myInterfaces, helper.longnameToUrl[longname]); - } - }); - - // TODO: move the tutorial functions to templateHelper.js - function generateTutorial(title, tutorial, filename) { - const tutorialData = { - title: title, - header: tutorial.title, - content: tutorial.parse(), - children: tutorial.children, - }; - - const tutorialPath = path.join(outdir, filename); - let html = view.render('tutorial.tmpl', tutorialData); - - // yes, you can use {@link} in tutorials too! - html = helper.resolveLinks(html); // turn {@link foo} into foo - fs.writeFileSync(tutorialPath, html, 'utf8'); - } - - // tutorials can have only one parent so there is no risk for loops - function saveChildren(node) { - node.children.forEach(function(child) { - generateTutorial('Tutorial: ' + child.title, child, helper.tutorialToUrl(child.name)); - saveChildren(child); - }); - } - - saveChildren(tutorials); -}; diff --git a/scripts/template/static/fonts/OpenSans-Bold-webfont.eot b/scripts/template/static/fonts/OpenSans-Bold-webfont.eot deleted file mode 100644 index 5d20d91633..0000000000 Binary files a/scripts/template/static/fonts/OpenSans-Bold-webfont.eot and /dev/null differ diff --git a/scripts/template/static/fonts/OpenSans-Bold-webfont.svg b/scripts/template/static/fonts/OpenSans-Bold-webfont.svg deleted file mode 100644 index 3ed7be4bc5..0000000000 --- a/scripts/template/static/fonts/OpenSans-Bold-webfont.svg +++ /dev/null @@ -1,1830 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/scripts/template/static/fonts/OpenSans-Bold-webfont.woff b/scripts/template/static/fonts/OpenSans-Bold-webfont.woff deleted file mode 100644 index 1205787b0e..0000000000 Binary files a/scripts/template/static/fonts/OpenSans-Bold-webfont.woff and /dev/null differ diff --git a/scripts/template/static/fonts/OpenSans-BoldItalic-webfont.eot b/scripts/template/static/fonts/OpenSans-BoldItalic-webfont.eot deleted file mode 100644 index 1f639a15ff..0000000000 Binary files a/scripts/template/static/fonts/OpenSans-BoldItalic-webfont.eot and /dev/null differ diff --git a/scripts/template/static/fonts/OpenSans-BoldItalic-webfont.svg b/scripts/template/static/fonts/OpenSans-BoldItalic-webfont.svg deleted file mode 100644 index 6a2607b9da..0000000000 --- a/scripts/template/static/fonts/OpenSans-BoldItalic-webfont.svg +++ /dev/null @@ -1,1830 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/scripts/template/static/fonts/OpenSans-BoldItalic-webfont.woff b/scripts/template/static/fonts/OpenSans-BoldItalic-webfont.woff deleted file mode 100644 index ed760c0628..0000000000 Binary files a/scripts/template/static/fonts/OpenSans-BoldItalic-webfont.woff and /dev/null differ diff --git a/scripts/template/static/fonts/OpenSans-Italic-webfont.eot b/scripts/template/static/fonts/OpenSans-Italic-webfont.eot deleted file mode 100644 index 0c8a0ae06e..0000000000 Binary files a/scripts/template/static/fonts/OpenSans-Italic-webfont.eot and /dev/null differ diff --git a/scripts/template/static/fonts/OpenSans-Italic-webfont.svg b/scripts/template/static/fonts/OpenSans-Italic-webfont.svg deleted file mode 100644 index e1075dcc24..0000000000 --- a/scripts/template/static/fonts/OpenSans-Italic-webfont.svg +++ /dev/null @@ -1,1830 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/scripts/template/static/fonts/OpenSans-Italic-webfont.woff b/scripts/template/static/fonts/OpenSans-Italic-webfont.woff deleted file mode 100644 index ff652e6435..0000000000 Binary files a/scripts/template/static/fonts/OpenSans-Italic-webfont.woff and /dev/null differ diff --git a/scripts/template/static/fonts/OpenSans-Light-webfont.eot b/scripts/template/static/fonts/OpenSans-Light-webfont.eot deleted file mode 100644 index 14868406aa..0000000000 Binary files a/scripts/template/static/fonts/OpenSans-Light-webfont.eot and /dev/null differ diff --git a/scripts/template/static/fonts/OpenSans-Light-webfont.svg b/scripts/template/static/fonts/OpenSans-Light-webfont.svg deleted file mode 100644 index 11a472ca8a..0000000000 --- a/scripts/template/static/fonts/OpenSans-Light-webfont.svg +++ /dev/null @@ -1,1831 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/scripts/template/static/fonts/OpenSans-Light-webfont.woff b/scripts/template/static/fonts/OpenSans-Light-webfont.woff deleted file mode 100644 index e786074813..0000000000 Binary files a/scripts/template/static/fonts/OpenSans-Light-webfont.woff and /dev/null differ diff --git a/scripts/template/static/fonts/OpenSans-LightItalic-webfont.eot b/scripts/template/static/fonts/OpenSans-LightItalic-webfont.eot deleted file mode 100644 index 8f445929ff..0000000000 Binary files a/scripts/template/static/fonts/OpenSans-LightItalic-webfont.eot and /dev/null differ diff --git a/scripts/template/static/fonts/OpenSans-LightItalic-webfont.svg b/scripts/template/static/fonts/OpenSans-LightItalic-webfont.svg deleted file mode 100644 index 431d7e3546..0000000000 --- a/scripts/template/static/fonts/OpenSans-LightItalic-webfont.svg +++ /dev/null @@ -1,1835 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/scripts/template/static/fonts/OpenSans-LightItalic-webfont.woff b/scripts/template/static/fonts/OpenSans-LightItalic-webfont.woff deleted file mode 100644 index 43e8b9e6cc..0000000000 Binary files a/scripts/template/static/fonts/OpenSans-LightItalic-webfont.woff and /dev/null differ diff --git a/scripts/template/static/fonts/OpenSans-Regular-webfont.eot b/scripts/template/static/fonts/OpenSans-Regular-webfont.eot deleted file mode 100644 index 6bbc3cf58c..0000000000 Binary files a/scripts/template/static/fonts/OpenSans-Regular-webfont.eot and /dev/null differ diff --git a/scripts/template/static/fonts/OpenSans-Regular-webfont.svg b/scripts/template/static/fonts/OpenSans-Regular-webfont.svg deleted file mode 100644 index 25a3952340..0000000000 --- a/scripts/template/static/fonts/OpenSans-Regular-webfont.svg +++ /dev/null @@ -1,1831 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/scripts/template/static/fonts/OpenSans-Regular-webfont.woff b/scripts/template/static/fonts/OpenSans-Regular-webfont.woff deleted file mode 100644 index e231183dce..0000000000 Binary files a/scripts/template/static/fonts/OpenSans-Regular-webfont.woff and /dev/null differ diff --git a/scripts/template/static/fonts/OpenSans-Semibold-webfont.eot b/scripts/template/static/fonts/OpenSans-Semibold-webfont.eot deleted file mode 100755 index d8375dd0ab..0000000000 Binary files a/scripts/template/static/fonts/OpenSans-Semibold-webfont.eot and /dev/null differ diff --git a/scripts/template/static/fonts/OpenSans-Semibold-webfont.svg b/scripts/template/static/fonts/OpenSans-Semibold-webfont.svg deleted file mode 100755 index eec4db8bd7..0000000000 --- a/scripts/template/static/fonts/OpenSans-Semibold-webfont.svg +++ /dev/null @@ -1,1830 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/scripts/template/static/fonts/OpenSans-Semibold-webfont.ttf b/scripts/template/static/fonts/OpenSans-Semibold-webfont.ttf deleted file mode 100755 index b3290843a7..0000000000 Binary files a/scripts/template/static/fonts/OpenSans-Semibold-webfont.ttf and /dev/null differ diff --git a/scripts/template/static/fonts/OpenSans-Semibold-webfont.woff b/scripts/template/static/fonts/OpenSans-Semibold-webfont.woff deleted file mode 100755 index 28d6adee03..0000000000 Binary files a/scripts/template/static/fonts/OpenSans-Semibold-webfont.woff and /dev/null differ diff --git a/scripts/template/static/fonts/OpenSans-SemiboldItalic-webfont.eot b/scripts/template/static/fonts/OpenSans-SemiboldItalic-webfont.eot deleted file mode 100755 index 0ab1db22e6..0000000000 Binary files a/scripts/template/static/fonts/OpenSans-SemiboldItalic-webfont.eot and /dev/null differ diff --git a/scripts/template/static/fonts/OpenSans-SemiboldItalic-webfont.svg b/scripts/template/static/fonts/OpenSans-SemiboldItalic-webfont.svg deleted file mode 100755 index 7166ec1b90..0000000000 --- a/scripts/template/static/fonts/OpenSans-SemiboldItalic-webfont.svg +++ /dev/null @@ -1,1830 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/scripts/template/static/fonts/OpenSans-SemiboldItalic-webfont.ttf b/scripts/template/static/fonts/OpenSans-SemiboldItalic-webfont.ttf deleted file mode 100755 index d2d6318f66..0000000000 Binary files a/scripts/template/static/fonts/OpenSans-SemiboldItalic-webfont.ttf and /dev/null differ diff --git a/scripts/template/static/fonts/OpenSans-SemiboldItalic-webfont.woff b/scripts/template/static/fonts/OpenSans-SemiboldItalic-webfont.woff deleted file mode 100755 index d4dfca402e..0000000000 Binary files a/scripts/template/static/fonts/OpenSans-SemiboldItalic-webfont.woff and /dev/null differ diff --git a/scripts/template/static/scripts/linenumber.js b/scripts/template/static/scripts/linenumber.js deleted file mode 100644 index 8d52f7eafd..0000000000 --- a/scripts/template/static/scripts/linenumber.js +++ /dev/null @@ -1,25 +0,0 @@ -/*global document */ -(function() { - var source = document.getElementsByClassName('prettyprint source linenums'); - var i = 0; - var lineNumber = 0; - var lineId; - var lines; - var totalLines; - var anchorHash; - - if (source && source[0]) { - anchorHash = document.location.hash.substring(1); - lines = source[0].getElementsByTagName('li'); - totalLines = lines.length; - - for (; i < totalLines; i++) { - lineNumber++; - lineId = 'line' + lineNumber; - lines[i].id = lineId; - if (lineId === anchorHash) { - lines[i].className += ' selected'; - } - } - } -})(); diff --git a/scripts/template/static/scripts/prettify/Apache-License-2.0.txt b/scripts/template/static/scripts/prettify/Apache-License-2.0.txt deleted file mode 100644 index d645695673..0000000000 --- a/scripts/template/static/scripts/prettify/Apache-License-2.0.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/scripts/template/static/scripts/prettify/lang-css.js b/scripts/template/static/scripts/prettify/lang-css.js deleted file mode 100644 index 041e1f5906..0000000000 --- a/scripts/template/static/scripts/prettify/lang-css.js +++ /dev/null @@ -1,2 +0,0 @@ -PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\f\r ]+/,null," \t\r\n "]],[["str",/^"(?:[^\n\f\r"\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*"/,null],["str",/^'(?:[^\n\f\r'\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*'/,null],["lang-css-str",/^url\(([^"')]*)\)/i],["kwd",/^(?:url|rgb|!important|@import|@page|@media|@charset|inherit)(?=[^\w-]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*)\s*:/i],["com",/^\/\*[^*]*\*+(?:[^*/][^*]*\*+)*\//],["com", -/^(?:<\!--|--\>)/],["lit",/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],["lit",/^#[\da-f]{3,6}/i],["pln",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i],["pun",/^[^\s\w"']+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[["kwd",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[["str",/^[^"')]+/]]),["css-str"]); diff --git a/scripts/template/static/scripts/prettify/prettify.js b/scripts/template/static/scripts/prettify/prettify.js deleted file mode 100644 index eef5ad7e6a..0000000000 --- a/scripts/template/static/scripts/prettify/prettify.js +++ /dev/null @@ -1,28 +0,0 @@ -var q=null;window.PR_SHOULD_USE_CONTINUATION=!0; -(function(){function L(a){function m(a){var f=a.charCodeAt(0);if(f!==92)return f;var b=a.charAt(1);return(f=r[b])?f:"0"<=b&&b<="7"?parseInt(a.substring(1),8):b==="u"||b==="x"?parseInt(a.substring(2),16):a.charCodeAt(1)}function e(a){if(a<32)return(a<16?"\\x0":"\\x")+a.toString(16);a=String.fromCharCode(a);if(a==="\\"||a==="-"||a==="["||a==="]")a="\\"+a;return a}function h(a){for(var f=a.substring(1,a.length-1).match(/\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g),a= -[],b=[],o=f[0]==="^",c=o?1:0,i=f.length;c122||(d<65||j>90||b.push([Math.max(65,j)|32,Math.min(d,90)|32]),d<97||j>122||b.push([Math.max(97,j)&-33,Math.min(d,122)&-33]))}}b.sort(function(a,f){return a[0]-f[0]||f[1]-a[1]});f=[];j=[NaN,NaN];for(c=0;ci[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return b.join("")}function y(a){for(var f=a.source.match(/\[(?:[^\\\]]|\\[\S\s])*]|\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\\d+|\\[^\dux]|\(\?[!:=]|[()^]|[^()[\\^]+/g),b=f.length,d=[],c=0,i=0;c=2&&a==="["?f[c]=h(j):a!=="\\"&&(f[c]=j.replace(/[A-Za-z]/g,function(a){a=a.charCodeAt(0);return"["+String.fromCharCode(a&-33,a|32)+"]"}));return f.join("")}for(var t=0,s=!1,l=!1,p=0,d=a.length;p=5&&"lang-"===b.substring(0,5))&&!(o&&typeof o[1]==="string"))c=!1,b="src";c||(r[f]=b)}i=d;d+=f.length;if(c){c=o[1];var j=f.indexOf(c),k=j+c.length;o[2]&&(k=f.length-o[2].length,j=k-c.length);b=b.substring(5);B(l+i,f.substring(0,j),e,p);B(l+i+j,c,C(b,c),p);B(l+i+k,f.substring(k),e,p)}else p.push(l+i,b)}a.e=p}var h={},y;(function(){for(var e=a.concat(m), -l=[],p={},d=0,g=e.length;d=0;)h[n.charAt(k)]=r;r=r[1];n=""+r;p.hasOwnProperty(n)||(l.push(r),p[n]=q)}l.push(/[\S\s]/);y=L(l)})();var t=m.length;return e}function u(a){var m=[],e=[];a.tripleQuotedStrings?m.push(["str",/^(?:'''(?:[^'\\]|\\[\S\s]|''?(?=[^']))*(?:'''|$)|"""(?:[^"\\]|\\[\S\s]|""?(?=[^"]))*(?:"""|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$))/,q,"'\""]):a.multiLineStrings?m.push(["str",/^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/, -q,"'\"`"]):m.push(["str",/^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,q,"\"'"]);a.verbatimStrings&&e.push(["str",/^@"(?:[^"]|"")*(?:"|$)/,q]);var h=a.hashComments;h&&(a.cStyleComments?(h>1?m.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,q,"#"]):m.push(["com",/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\n\r]*)/,q,"#"]),e.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,q])):m.push(["com",/^#[^\n\r]*/, -q,"#"]));a.cStyleComments&&(e.push(["com",/^\/\/[^\n\r]*/,q]),e.push(["com",/^\/\*[\S\s]*?(?:\*\/|$)/,q]));a.regexLiterals&&e.push(["lang-regex",/^(?:^^\.?|[!+-]|!=|!==|#|%|%=|&|&&|&&=|&=|\(|\*|\*=|\+=|,|-=|->|\/|\/=|:|::|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|[?@[^]|\^=|\^\^|\^\^=|{|\||\|=|\|\||\|\|=|~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\s*(\/(?=[^*/])(?:[^/[\\]|\\[\S\s]|\[(?:[^\\\]]|\\[\S\s])*(?:]|$))+\/)/]);(h=a.types)&&e.push(["typ",h]);a=(""+a.keywords).replace(/^ | $/g, -"");a.length&&e.push(["kwd",RegExp("^(?:"+a.replace(/[\s,]+/g,"|")+")\\b"),q]);m.push(["pln",/^\s+/,q," \r\n\t\xa0"]);e.push(["lit",/^@[$_a-z][\w$@]*/i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,q,"0123456789"],["pln",/^\\[\S\s]?/,q],["pun",/^.[^\s\w"-$'./@\\`]*/,q]);return x(m,e)}function D(a,m){function e(a){switch(a.nodeType){case 1:if(k.test(a.className))break;if("BR"===a.nodeName)h(a), -a.parentNode&&a.parentNode.removeChild(a);else for(a=a.firstChild;a;a=a.nextSibling)e(a);break;case 3:case 4:if(p){var b=a.nodeValue,d=b.match(t);if(d){var c=b.substring(0,d.index);a.nodeValue=c;(b=b.substring(d.index+d[0].length))&&a.parentNode.insertBefore(s.createTextNode(b),a.nextSibling);h(a);c||a.parentNode.removeChild(a)}}}}function h(a){function b(a,d){var e=d?a.cloneNode(!1):a,f=a.parentNode;if(f){var f=b(f,1),g=a.nextSibling;f.appendChild(e);for(var h=g;h;h=g)g=h.nextSibling,f.appendChild(h)}return e} -for(;!a.nextSibling;)if(a=a.parentNode,!a)return;for(var a=b(a.nextSibling,0),e;(e=a.parentNode)&&e.nodeType===1;)a=e;d.push(a)}var k=/(?:^|\s)nocode(?:\s|$)/,t=/\r\n?|\n/,s=a.ownerDocument,l;a.currentStyle?l=a.currentStyle.whiteSpace:window.getComputedStyle&&(l=s.defaultView.getComputedStyle(a,q).getPropertyValue("white-space"));var p=l&&"pre"===l.substring(0,3);for(l=s.createElement("LI");a.firstChild;)l.appendChild(a.firstChild);for(var d=[l],g=0;g=0;){var h=m[e];A.hasOwnProperty(h)?window.console&&console.warn("cannot override language handler %s",h):A[h]=a}}function C(a,m){if(!a||!A.hasOwnProperty(a))a=/^\s*=o&&(h+=2);e>=c&&(a+=2)}}catch(w){"console"in window&&console.log(w&&w.stack?w.stack:w)}}var v=["break,continue,do,else,for,if,return,while"],w=[[v,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"], -"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],F=[w,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],G=[w,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"], -H=[G,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"],w=[w,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"],I=[v,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"], -J=[v,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],v=[v,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],K=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/,N=/\S/,O=u({keywords:[F,H,w,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END"+ -I,J,v],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),A={};k(O,["default-code"]);k(x([],[["pln",/^[^]*(?:>|$)/],["com",/^<\!--[\S\s]*?(?:--\>|$)/],["lang-",/^<\?([\S\s]+?)(?:\?>|$)/],["lang-",/^<%([\S\s]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\S\s]+?)<\/xmp\b[^>]*>/i],["lang-js",/^]*>([\S\s]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\S\s]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]), -["default-markup","htm","html","mxml","xhtml","xml","xsl"]);k(x([["pln",/^\s+/,q," \t\r\n"],["atv",/^(?:"[^"]*"?|'[^']*'?)/,q,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w-.:]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^\s"'>]*(?:[^\s"'/>]|\/(?=\s)))/],["pun",/^[/<->]+/],["lang-js",/^on\w+\s*=\s*"([^"]+)"/i],["lang-js",/^on\w+\s*=\s*'([^']+)'/i],["lang-js",/^on\w+\s*=\s*([^\s"'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css", -/^style\s*=\s*([^\s"'>]+)/i]]),["in.tag"]);k(x([],[["atv",/^[\S\s]+/]]),["uq.val"]);k(u({keywords:F,hashComments:!0,cStyleComments:!0,types:K}),["c","cc","cpp","cxx","cyc","m"]);k(u({keywords:"null,true,false"}),["json"]);k(u({keywords:H,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:K}),["cs"]);k(u({keywords:G,cStyleComments:!0}),["java"]);k(u({keywords:v,hashComments:!0,multiLineStrings:!0}),["bsh","csh","sh"]);k(u({keywords:I,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}), -["cv","py"]);k(u({keywords:"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["perl","pl","pm"]);k(u({keywords:J,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb"]);k(u({keywords:w,cStyleComments:!0,regexLiterals:!0}),["js"]);k(u({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,true,try,unless,until,when,while,yes", -hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]);k(x([],[["str",/^[\S\s]+/]]),["regex"]);window.prettyPrintOne=function(a,m,e){var h=document.createElement("PRE");h.innerHTML=a;e&&D(h,e);E({g:m,i:e,h:h});return h.innerHTML};window.prettyPrint=function(a){function m(){for(var e=window.PR_SHOULD_USE_CONTINUATION?l.now()+250:Infinity;p=0){var k=k.match(g),f,b;if(b= -!k){b=n;for(var o=void 0,c=b.firstChild;c;c=c.nextSibling)var i=c.nodeType,o=i===1?o?b:c:i===3?N.test(c.nodeValue)?b:o:o;b=(f=o===b?void 0:o)&&"CODE"===f.tagName}b&&(k=f.className.match(g));k&&(k=k[1]);b=!1;for(o=n.parentNode;o;o=o.parentNode)if((o.tagName==="pre"||o.tagName==="code"||o.tagName==="xmp")&&o.className&&o.className.indexOf("prettyprint")>=0){b=!0;break}b||((b=(b=n.className.match(/\blinenums\b(?::(\d+))?/))?b[1]&&b[1].length?+b[1]:!0:!1)&&D(n,b),d={g:k,h:n,i:b},E(d))}}p - - - - -Created by FontForge 20120731 at Wed Jan 14 22:40:14 2015 - By Adam Bradley -Created by Adam Bradley with FontForge 2.0 (http://fontforge.sf.net) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/scripts/template/static/styles/ionicons.ttf b/scripts/template/static/styles/ionicons.ttf deleted file mode 100644 index 180ce515fe..0000000000 Binary files a/scripts/template/static/styles/ionicons.ttf and /dev/null differ diff --git a/scripts/template/static/styles/ionicons.woff b/scripts/template/static/styles/ionicons.woff deleted file mode 100644 index 5bb6aecbe9..0000000000 Binary files a/scripts/template/static/styles/ionicons.woff and /dev/null differ diff --git a/scripts/template/static/styles/jsdoc-default.css b/scripts/template/static/styles/jsdoc-default.css deleted file mode 100644 index d8d375acd8..0000000000 --- a/scripts/template/static/styles/jsdoc-default.css +++ /dev/null @@ -1,612 +0,0 @@ -/* @import url(https://fonts.googleapis.com/css?family=Montserrat:400,700); */ -/* latin */ -@font-face { - font-family: 'Montserrat'; - font-style: normal; - font-weight: 400; - src: local('Montserrat-Regular'), url(zhcz-_WihjSQC0oHJ9TCYAzyDMXhdD8sAj6OAJTFsBI.woff2) format('woff2'); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000; -} -/* latin */ -@font-face { - font-family: 'Montserrat'; - font-style: normal; - font-weight: 700; - src: local('Montserrat-Bold'), url(IQHow_FEYlDC4Gzy_m8fcmaVI6zN22yiurzcBKxPjFE.woff2) format('woff2'); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000; -} - - -* { - box-sizing: border-box -} - -html, body { - height: 100%; - width: 100%; -} - -body { - color: #4d4e53; - background-color: white; - margin: 0 auto; - padding: 0 20px; - - font-family: 'Helvetica Neue', Helvetica, sans-serif; - font-size: 16px; - line-height: 160%; -} - -a, -a:active { - color: #0095dd; - text-decoration: none; -} - -a:hover { - text-decoration: underline -} - -p, ul, ol, blockquote { - margin-bottom: 1em; -} - -h1, h2, h3, h4, h5, h6 { - font-family: 'Montserrat', sans-serif; -} - -h1, h2, h3, h4, h5, h6 { - color: #000; - font-weight: 400; - margin: 0; -} - -h1 { - font-weight: 300; - font-size: 48px; - margin: 1em 0 .5em; -} - -h1.page-title { - font-size: 48px; - margin: 1em 30px; -} - -h2 { - font-size: 24px; - margin: 1.5em 0 .3em; -} - -h3 { - font-size: 24px; - margin: 1.2em 0 .3em; -} - -h4 { - font-size: 18px; - margin: 2em 0 .2em; - color: #4d4e53; -} - -h5, .container-overview .subsection-title { - font-size: 16px; - letter-spacing: -0.01em; - margin: 8px 0 3px 0; -} - -h6 { - font-size: 14px; - letter-spacing: -0.01em; - margin: 6px 0 3px 0; - font-style: italic; -} - -tt, code, kbd, samp { - font-family: Consolas, Monaco, 'Andale Mono', monospace; - background: #f4f4f4; - padding: 1px 5px; - border-radius: 5px; -} - -.class-description { - font-size: 130%; - line-height: 140%; - margin-bottom: 1em; - margin-top: 1em; -} - -.class-description:empty { - margin: 0 -} - -#main { - float: right; - min-width: 360px; - width: calc(100% - 250px); -} - -header { - display: block -} - -section { - display: block; - background-color: #fff; - padding: 0 30px; -} - -.variation { - display: none -} - -.signature-attributes { - font-size: 60%; - color: #aaa; - font-style: italic; - font-weight: lighter; -} - -nav { - float: left; - display: block; - width: 250px; - background: #fff; - overflow: auto; - position: fixed; - height: 100%; -} - -nav h3 { - margin-top: 12px; - font-size: 13px; - text-transform: uppercase; - letter-spacing: 1px; - font-weight: 700; - line-height: 24px; - margin: 15px 0 10px; - padding: 0; - color: #000; -} - -nav ul { - font-family: 'Lucida Grande', 'Lucida Sans Unicode', arial, sans-serif; - font-size: 100%; - line-height: 17px; - padding: 0; - margin: 0; - list-style-type: none; -} - -nav ul a, -nav ul a:active { - font-family: 'Montserrat', sans-serif; - line-height: 18px; - padding: 0; - display: block; - font-size: 12px; -} - -nav ul a:hover, -nav ul a:active { - color: hsl(200, 100%, 43%); - text-decoration: none; -} - -nav > ul { - padding: 0 10px; -} - -nav > ul > li > a { - color: #000; -} - -nav ul ul { - margin-bottom: 10px -} - -nav ul ul a { - color: hsl(207, 1%, 60%); - border-left: 1px solid hsl(207, 10%, 86%); -} - -nav ul ul a, -nav ul ul a:active { - padding-left: 20px -} - -nav h2 { - font-size: 12px; - margin: 0; - padding: 0; -} - -nav > h2 > a { - display: block; - margin: 10px 0 -10px; - color: hsl(202, 71%, 50%) !important; -} - -footer { - color: hsl(0, 0%, 28%); - margin-left: 250px; - display: block; - padding: 15px; - font-style: italic; - font-size: 90%; -} - -.ancestors { - color: #999 -} - -.ancestors a { - color: #999 !important; - text-decoration: none; -} - -.clear { - clear: both -} - -.important { - font-weight: bold; - color: #950B02; -} - -.yes-def { - text-indent: -1000px -} - -.type-signature { - color: #aaa -} - -.name, .signature { - font-family: Consolas, Monaco, 'Andale Mono', monospace -} - -.details { - margin-top: 14px; - border-left: 2px solid #DDD; - line-height: 30px; -} - -.details dt { - width: 120px; - float: left; - padding-left: 10px; -} - -.details dd { - margin-left: 70px -} - -.details ul { - margin: 0 -} - -.details ul { - list-style-type: none -} - -.details li { - margin-left: 30px -} - -.details pre.prettyprint { - margin: 0 -} - -.details .object-value { - padding-top: 0 -} - -.description { - margin-bottom: 1em; - margin-top: 1em; -} - -.description ul { - margin: 0; - padding-left: 20px; -} - -.code-caption { - font-style: italic; - font-size: 107%; - margin: 0; -} - -.prettyprint { - font-size: 13px; - border: 1px solid #ddd; - border-radius: 3px; - box-shadow: 0 1px 3px hsla(0, 0%, 0%, 0.05); - overflow: auto; -} - -.prettyprint.source { - width: inherit -} - -.prettyprint code { - font-size: 100%; - line-height: 18px; - display: block; - margin: 0 30px; - background-color: #fff; - color: #4D4E53; -} - -.prettyprint > code { - padding: 15px -} - -.prettyprint .linenums code { - padding: 0 15px -} - -.prettyprint .linenums li:first-of-type code { - padding-top: 15px -} - -.prettyprint code span.line { - display: inline-block -} - -.prettyprint.linenums { - padding-left: 70px; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.prettyprint.linenums ol { - padding-left: 0 -} - -.prettyprint.linenums li { - border-left: 3px #ddd solid -} - -.prettyprint.linenums li.selected, .prettyprint.linenums li.selected * { - background-color: lightyellow -} - -.prettyprint.linenums li * { - -webkit-user-select: text; - -moz-user-select: text; - -ms-user-select: text; - user-select: text; -} - -.params, .props { - border-spacing: 0; - border: 1px solid #ddd; - border-collapse: collapse; - border-radius: 3px; - box-shadow: 0 1px 3px rgba(0,0,0,0.1); - width: 100%; - font-size: 14px; -} - -.params .name, .props .name, .name code { - color: #4D4E53; - font-family: Consolas, Monaco, 'Andale Mono', monospace; - font-size: 100%; -} - -.params td, .params th, .props td, .props th { - margin: 0px; - text-align: left; - vertical-align: middle;; - padding: 10px; - display: table-cell; -} - -.params td { - border-top: 1px solid #eee -} - -.params thead tr, .props thead tr { - background-color: #fff; - font-weight: bold; -} - -.params .params thead tr, .props .props thead tr { - background-color: #fff; - font-weight: bold; -} - -.params td.description > p:first-child, .props td.description > p:first-child { - margin-top: 0; - padding-top: 0; -} - -.params td.description > p:last-child, .props td.description > p:last-child { - margin-bottom: 0; - padding-bottom: 0; -} - -dl.param-type { - border-bottom: 1px solid hsl(0, 0%, 87%); - margin-bottom: 30px; - padding-bottom: 30px; -} - -.param-type dt, .param-type dd { - display: inline-block -} - -.param-type dd { - font-family: Consolas, Monaco, 'Andale Mono', monospace -} - -.disabled { - color: #454545 -} - -/* navicon button */ -.navicon-button { - display: none; - position: relative; - padding: 2.0625rem 1.5rem; - transition: 0.25s; - cursor: pointer; - user-select: none; - opacity: .8; -} -.navicon-button .navicon:before, .navicon-button .navicon:after { - transition: 0.25s; -} -.navicon-button:hover { - transition: 0.5s; - opacity: 1; -} -.navicon-button:hover .navicon:before, .navicon-button:hover .navicon:after { - transition: 0.25s; -} -.navicon-button:hover .navicon:before { - top: .825rem; -} -.navicon-button:hover .navicon:after { - top: -.825rem; -} - -/* navicon */ -.navicon { - position: relative; - width: 2.5em; - height: .3125rem; - background: #000; - transition: 0.3s; - border-radius: 2.5rem; -} -.navicon:before, .navicon:after { - display: block; - content: ""; - height: .3125rem; - width: 2.5rem; - background: #000; - position: absolute; - z-index: -1; - transition: 0.3s 0.25s; - border-radius: 1rem; -} -.navicon:before { - top: .625rem; -} -.navicon:after { - top: -.625rem; -} - -/* open */ -.nav-trigger:checked + label:not(.steps) .navicon:before, -.nav-trigger:checked + label:not(.steps) .navicon:after { - top: 0 !important; -} - -.nav-trigger:checked + label .navicon:before, -.nav-trigger:checked + label .navicon:after { - transition: 0.5s; -} - -/* Minus */ -.nav-trigger:checked + label { - transform: scale(0.75); -} - -/* × and + */ -.nav-trigger:checked + label.plus .navicon, -.nav-trigger:checked + label.x .navicon { - background: transparent; -} - -.nav-trigger:checked + label.plus .navicon:before, -.nav-trigger:checked + label.x .navicon:before { - transform: rotate(-45deg); - background: #FFF; -} - -.nav-trigger:checked + label.plus .navicon:after, -.nav-trigger:checked + label.x .navicon:after { - transform: rotate(45deg); - background: #FFF; -} - -.nav-trigger:checked + label.plus { - transform: scale(0.75) rotate(45deg); -} - -.nav-trigger:checked ~ nav { - left: 0 !important; -} - -.nav-trigger:checked ~ .overlay { - display: block; -} - -.nav-trigger { - position: fixed; - top: 0; - clip: rect(0, 0, 0, 0); -} - -.overlay { - display: none; - position: fixed; - top: 0; - bottom: 0; - left: 0; - right: 0; - width: 100%; - height: 100%; - background: hsla(0, 0%, 0%, 0.5); - z-index: 1; -} - -@media only screen and (min-width: 320px) and (max-width: 680px) { - body { - overflow-x: hidden; - } - - nav { - background: #FFF; - width: 250px; - height: 100%; - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: -250px; - z-index: 3; - padding: 0 10px; - transition: left 0.2s; - } - - .navicon-button { - display: inline-block; - position: fixed; - top: 1.5em; - right: 0; - z-index: 2; - } - - #main { - width: 100%; - min-width: 360px; - } - - #main h1.page-title { - margin: 1em 0; - } - - #main section { - padding: 0; - } - - footer { - margin-left: 0; - } -} diff --git a/scripts/template/static/styles/prettify-jsdoc.css b/scripts/template/static/styles/prettify-jsdoc.css deleted file mode 100644 index 834a866d45..0000000000 --- a/scripts/template/static/styles/prettify-jsdoc.css +++ /dev/null @@ -1,111 +0,0 @@ -/* JSDoc prettify.js theme */ - -/* plain text */ -.pln { - color: #000000; - font-weight: normal; - font-style: normal; -} - -/* string content */ -.str { - color: hsl(104, 100%, 24%); - font-weight: normal; - font-style: normal; -} - -/* a keyword */ -.kwd { - color: #000000; - font-weight: bold; - font-style: normal; -} - -/* a comment */ -.com { - font-weight: normal; - font-style: italic; -} - -/* a type name */ -.typ { - color: #000000; - font-weight: normal; - font-style: normal; -} - -/* a literal value */ -.lit { - color: #006400; - font-weight: normal; - font-style: normal; -} - -/* punctuation */ -.pun { - color: #000000; - font-weight: bold; - font-style: normal; -} - -/* lisp open bracket */ -.opn { - color: #000000; - font-weight: bold; - font-style: normal; -} - -/* lisp close bracket */ -.clo { - color: #000000; - font-weight: bold; - font-style: normal; -} - -/* a markup tag name */ -.tag { - color: #006400; - font-weight: normal; - font-style: normal; -} - -/* a markup attribute name */ -.atn { - color: #006400; - font-weight: normal; - font-style: normal; -} - -/* a markup attribute value */ -.atv { - color: #006400; - font-weight: normal; - font-style: normal; -} - -/* a declaration */ -.dec { - color: #000000; - font-weight: bold; - font-style: normal; -} - -/* a variable name */ -.var { - color: #000000; - font-weight: normal; - font-style: normal; -} - -/* a function name */ -.fun { - color: #000000; - font-weight: bold; - font-style: normal; -} - -/* Specify class=linenums on a pre to get line numbering */ -ol.linenums { - margin-top: 0; - margin-bottom: 0; -} diff --git a/scripts/template/static/styles/prettify-tomorrow.css b/scripts/template/static/styles/prettify-tomorrow.css deleted file mode 100644 index 81e74d1351..0000000000 --- a/scripts/template/static/styles/prettify-tomorrow.css +++ /dev/null @@ -1,132 +0,0 @@ -/* Tomorrow Theme */ -/* Original theme - https://github.com/chriskempson/tomorrow-theme */ -/* Pretty printing styles. Used with prettify.js. */ -/* SPAN elements with the classes below are added by prettyprint. */ -/* plain text */ -.pln { - color: #4d4d4c; } - -@media screen { - /* string content */ - .str { - color: hsl(104, 100%, 24%); } - - /* a keyword */ - .kwd { - color: hsl(240, 100%, 50%); } - - /* a comment */ - .com { - color: hsl(0, 0%, 60%); } - - /* a type name */ - .typ { - color: hsl(240, 100%, 32%); } - - /* a literal value */ - .lit { - color: hsl(240, 100%, 40%); } - - /* punctuation */ - .pun { - color: #000000; } - - /* lisp open bracket */ - .opn { - color: #000000; } - - /* lisp close bracket */ - .clo { - color: #000000; } - - /* a markup tag name */ - .tag { - color: #c82829; } - - /* a markup attribute name */ - .atn { - color: #f5871f; } - - /* a markup attribute value */ - .atv { - color: #3e999f; } - - /* a declaration */ - .dec { - color: #f5871f; } - - /* a variable name */ - .var { - color: #c82829; } - - /* a function name */ - .fun { - color: #4271ae; } } -/* Use higher contrast and text-weight for printable form. */ -@media print, projection { - .str { - color: #060; } - - .kwd { - color: #006; - font-weight: bold; } - - .com { - color: #600; - font-style: italic; } - - .typ { - color: #404; - font-weight: bold; } - - .lit { - color: #044; } - - .pun, .opn, .clo { - color: #440; } - - .tag { - color: #006; - font-weight: bold; } - - .atn { - color: #404; } - - .atv { - color: #060; } } -/* Style */ -/* -pre.prettyprint { - background: white; - font-family: Consolas, Monaco, 'Andale Mono', monospace; - font-size: 12px; - line-height: 1.5; - border: 1px solid #ccc; - padding: 10px; } -*/ - -/* Specify class=linenums on a pre to get line numbering */ -ol.linenums { - margin-top: 0; - margin-bottom: 0; } - -/* IE indents via margin-left */ -li.L0, -li.L1, -li.L2, -li.L3, -li.L4, -li.L5, -li.L6, -li.L7, -li.L8, -li.L9 { - /* */ } - -/* Alternate shading for lines */ -li.L1, -li.L3, -li.L5, -li.L7, -li.L9 { - /* */ } diff --git a/scripts/template/static/styles/zhcz-_WihjSQC0oHJ9TCYAzyDMXhdD8sAj6OAJTFsBI.woff2 b/scripts/template/static/styles/zhcz-_WihjSQC0oHJ9TCYAzyDMXhdD8sAj6OAJTFsBI.woff2 deleted file mode 100644 index 48e2381235..0000000000 Binary files a/scripts/template/static/styles/zhcz-_WihjSQC0oHJ9TCYAzyDMXhdD8sAj6OAJTFsBI.woff2 and /dev/null differ diff --git a/scripts/template/tmpl/augments.tmpl b/scripts/template/tmpl/augments.tmpl deleted file mode 100644 index 446d28aa53..0000000000 --- a/scripts/template/tmpl/augments.tmpl +++ /dev/null @@ -1,10 +0,0 @@ - - - -
      -
    • -
    - diff --git a/scripts/template/tmpl/container.tmpl b/scripts/template/tmpl/container.tmpl deleted file mode 100644 index c52d297e3e..0000000000 --- a/scripts/template/tmpl/container.tmpl +++ /dev/null @@ -1,183 +0,0 @@ - - - - - - - - - -
    - -
    - -

    - - - - - -

    - -
    - - - - -
    - - - -
    - -
    -
    - - -
    - - - - - - - - - -
    - - - - - -

    Example 1? 's':'' ?>

    - - - -
    - - -

    Extends

    - - - - - -

    Requires

    - -
      -
    • -
    - - - -

    Classes

    - -
    -
    -
    -
    - - - -

    Mixins

    - -
    -
    -
    -
    - - - -

    Namespaces

    - -
    -
    -
    -
    - - - -

    Members

    - - - - - - - -

    Methods

    - - - - - - - -

    Type Definitions

    - - - - - - - - - -

    Events

    - - - - - -
    - -
    - - - diff --git a/scripts/template/tmpl/details.tmpl b/scripts/template/tmpl/details.tmpl deleted file mode 100644 index d1ff696c5d..0000000000 --- a/scripts/template/tmpl/details.tmpl +++ /dev/null @@ -1,143 +0,0 @@ -" + data.defaultvalue + ""; - defaultObjectClass = ' class="object-value"'; -} -?> - - -
    Properties:
    - - - - - -
    - - -
    Version:
    -
    - - - -
    Since:
    -
    - - - -
    Inherited From:
    -
    • - -
    - - - -
    Overrides:
    -
    • - -
    - - - -
    Implementations:
    -
      - -
    • - -
    - - - -
    Implements:
    -
      - -
    • - -
    - - - -
    Mixes In:
    - -
      - -
    • - -
    - - - -
    Deprecated:
    • Yes
    - - - -
    Author:
    -
    -
      -
    • -
    -
    - - - - - - - - -
    License:
    -
    - - - -
    Default Value:
    -
      - > -
    - - - -
    Source:
    -
    • - , -
    - - - -
    Tutorials:
    -
    -
      -
    • -
    -
    - - - -
    See:
    -
    -
      -
    • -
    -
    - - - -
    To Do:
    -
    -
      -
    • -
    -
    - -
    diff --git a/scripts/template/tmpl/example.tmpl b/scripts/template/tmpl/example.tmpl deleted file mode 100644 index e87caa5b72..0000000000 --- a/scripts/template/tmpl/example.tmpl +++ /dev/null @@ -1,2 +0,0 @@ - -
    diff --git a/scripts/template/tmpl/examples.tmpl b/scripts/template/tmpl/examples.tmpl deleted file mode 100644 index 04d975e96d..0000000000 --- a/scripts/template/tmpl/examples.tmpl +++ /dev/null @@ -1,13 +0,0 @@ - -

    - -
    - \ No newline at end of file diff --git a/scripts/template/tmpl/exceptions.tmpl b/scripts/template/tmpl/exceptions.tmpl deleted file mode 100644 index 9cef6c7d95..0000000000 --- a/scripts/template/tmpl/exceptions.tmpl +++ /dev/null @@ -1,32 +0,0 @@ - - -
    -
    -
    - -
    -
    -
    -
    -
    -
    - Type -
    -
    - -
    -
    -
    -
    -
    - -
    - - - - - -
    - diff --git a/scripts/template/tmpl/layout.tmpl b/scripts/template/tmpl/layout.tmpl deleted file mode 100644 index 432b02d899..0000000000 --- a/scripts/template/tmpl/layout.tmpl +++ /dev/null @@ -1,46 +0,0 @@ - - - - - <?js= title ?> - Documentation - - - - - - - - - - - - - - - - - -
    - -

    - - - -
    - -
    - -
    - Documentation generated by JSDoc on using the Minami theme. -
    - - - - - diff --git a/scripts/template/tmpl/mainpage.tmpl b/scripts/template/tmpl/mainpage.tmpl deleted file mode 100644 index b38a185c0f..0000000000 --- a/scripts/template/tmpl/mainpage.tmpl +++ /dev/null @@ -1,10 +0,0 @@ - - - -
    -
    -
    - diff --git a/scripts/template/tmpl/members.tmpl b/scripts/template/tmpl/members.tmpl deleted file mode 100644 index 75033265db..0000000000 --- a/scripts/template/tmpl/members.tmpl +++ /dev/null @@ -1,29 +0,0 @@ - -

    - - -

    - - - -
    - -
    - - - - - -
    Fires:
    -
      -
    • -
    - - - -
    Example 1? 's':'' ?>
    - - diff --git a/scripts/template/tmpl/method.tmpl b/scripts/template/tmpl/method.tmpl deleted file mode 100644 index 4508f5b3c3..0000000000 --- a/scripts/template/tmpl/method.tmpl +++ /dev/null @@ -1,93 +0,0 @@ - - - -

    Constructor

    - - -

    - - -

    - - - - -
    - -
    - - - -
    Extends:
    - - - - -
    Type:
    -
      -
    • - -
    • -
    - - - -
    This:
    -
    - - - -
    Parameters:
    - - - - - - -
    Requires:
    -
      -
    • -
    - - - -
    Fires:
    -
      -
    • -
    - - - -
    Listens to Events:
    -
      -
    • -
    - - - -
    Listeners of This Event:
    -
      -
    • -
    - - - -
    Throws:
    - 1) { ?>
      -
    • -
    - - - - -
    Example 1? 's':'' ?>
    - - diff --git a/scripts/template/tmpl/params.tmpl b/scripts/template/tmpl/params.tmpl deleted file mode 100644 index cae6c17481..0000000000 --- a/scripts/template/tmpl/params.tmpl +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeAttributesDescription
    - - [ - - - - - = - - - - ] - - - - - - - - <nullable>
    - - - - <repeatable>
    - -
    -
    Properties
    - -
    diff --git a/scripts/template/tmpl/properties.tmpl b/scripts/template/tmpl/properties.tmpl deleted file mode 100644 index 40e0909712..0000000000 --- a/scripts/template/tmpl/properties.tmpl +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeAttributesDefaultDescription
    - - - - - - <optional>
    - - - - <nullable>
    - -
    - - - - -
    Properties
    -
    diff --git a/scripts/template/tmpl/returns.tmpl b/scripts/template/tmpl/returns.tmpl deleted file mode 100644 index 23fefa4924..0000000000 --- a/scripts/template/tmpl/returns.tmpl +++ /dev/null @@ -1,19 +0,0 @@ - -
    - -
    - - - -
    -
    - Type -
    -
    - -
    -
    - \ No newline at end of file diff --git a/scripts/template/tmpl/source.tmpl b/scripts/template/tmpl/source.tmpl deleted file mode 100644 index e559b5d103..0000000000 --- a/scripts/template/tmpl/source.tmpl +++ /dev/null @@ -1,8 +0,0 @@ - -
    -
    -
    -
    -
    \ No newline at end of file diff --git a/scripts/template/tmpl/tutorial.tmpl b/scripts/template/tmpl/tutorial.tmpl deleted file mode 100644 index 88a0ad52aa..0000000000 --- a/scripts/template/tmpl/tutorial.tmpl +++ /dev/null @@ -1,19 +0,0 @@ -
    - -
    - 0) { ?> -
      -
    • -
    - - -

    -
    - -
    - -
    - -
    diff --git a/scripts/template/tmpl/type.tmpl b/scripts/template/tmpl/type.tmpl deleted file mode 100644 index ec2c6c0df7..0000000000 --- a/scripts/template/tmpl/type.tmpl +++ /dev/null @@ -1,7 +0,0 @@ - - -| - \ No newline at end of file