jekyll-theme-hydejack 9.1.6 → 9.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_config.yml +1 -1
- data/_includes/body/footer.html +1 -1
- data/_includes/body/scripts.html +2 -2
- data/_includes/head/meta-static.html +1 -1
- data/_includes/head/styles-inline.html +1 -1
- data/_includes/head/styles-no-inline.html +1 -1
- data/_includes/header.txt +1 -1
- data/_includes/scripts/load-js.min.js +1 -1
- data/_includes/scripts/nomodule.min.js +1 -1
- data/_includes/styles/page-style.scss +2 -0
- data/_includes/styles/variables.scss +3 -1
- data/_layouts/compress.html +1 -1
- data/_sass/_mixins.scss +3 -1
- data/_sass/html.scss +2 -2
- data/_sass/hydejack/__inline__/_avatar.scss +4 -1
- data/_sass/hydejack/__inline__/_links.scss +1 -1
- data/_sass/hydejack/__link__/_avatar.scss +2 -0
- data/_sass/hydejack/__link__/_break-layout.scss +2 -2
- data/_sass/hydejack/__link__/_links.scss +4 -2
- data/_sass/hydejack/__link__/_sidebar.scss +1 -1
- data/_sass/hydejack/_avatar.pre.scss +4 -1
- data/_sass/hydejack/_break-layout.pre.scss +2 -2
- data/_sass/hydejack/_links.pre.scss +5 -3
- data/_sass/hydejack/_sidebar.pre.scss +1 -1
- data/_sass/pooleparty/__link__/_code.scss +1 -1
- data/_sass/pooleparty/_code.pre.scss +1 -1
- data/assets/js/LEGACY-clap-button-hydejack-9.1.7.js +14 -0
- data/assets/js/LEGACY-drawer-hydejack-9.1.7.js +14 -0
- data/assets/js/{LEGACY-fetch-hydejack-9.1.6.js → LEGACY-fetch-hydejack-9.1.7.js} +2 -2
- data/assets/js/LEGACY-hydejack-9.1.7.js +13 -0
- data/assets/js/LEGACY-navbar-hydejack-9.1.7.js +14 -0
- data/assets/js/LEGACY-push-state-hydejack-9.1.7.js +14 -0
- data/assets/js/LEGACY-resize-observer-hydejack-9.1.7.js +14 -0
- data/assets/js/{LEGACY-shadydom-hydejack-9.1.6.js → LEGACY-shadydom-hydejack-9.1.7.js} +2 -2
- data/assets/js/LEGACY-vendors~clap-button-hydejack-9.1.7.js +14 -0
- data/assets/js/LEGACY-vendors~drawer-hydejack-9.1.7.js +47 -0
- data/assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.1.7.js +211 -0
- data/assets/js/LEGACY-vendors~fetch-hydejack-9.1.7.js +14 -0
- data/assets/js/{LEGACY-vendors~intersection-observer-hydejack-9.1.6.js → LEGACY-vendors~intersection-observer-hydejack-9.1.7.js} +2 -2
- data/assets/js/LEGACY-vendors~push-state-hydejack-9.1.7.js +34 -0
- data/assets/js/LEGACY-vendors~shadydom-hydejack-9.1.7.js +155 -0
- data/assets/js/{LEGACY-vendors~webanimations-hydejack-9.1.6.js → LEGACY-vendors~webanimations-hydejack-9.1.7.js} +1 -1
- data/assets/js/{LEGACY-vendors~webcomponents-hydejack-9.1.6.js → LEGACY-vendors~webcomponents-hydejack-9.1.7.js} +4 -4
- data/assets/js/{LEGACY-webcomponents-hydejack-9.1.6.js → LEGACY-webcomponents-hydejack-9.1.7.js} +2 -2
- data/assets/js/{clap-button-hydejack-9.1.6.js → clap-button-hydejack-9.1.7.js} +2 -2
- data/assets/js/{drawer-hydejack-9.1.6.js → drawer-hydejack-9.1.7.js} +2 -2
- data/assets/js/{fetch-hydejack-9.1.6.js → fetch-hydejack-9.1.7.js} +2 -2
- data/assets/js/hydejack-9.1.7.js +13 -0
- data/assets/js/navbar-hydejack-9.1.7.js +14 -0
- data/assets/js/push-state-hydejack-9.1.7.js +14 -0
- data/assets/js/resize-observer-hydejack-9.1.7.js +14 -0
- data/assets/js/{shadydom-hydejack-9.1.6.js → shadydom-hydejack-9.1.7.js} +1 -1
- data/assets/js/{vendors~clap-button-hydejack-9.1.6.js → vendors~clap-button-hydejack-9.1.7.js} +1 -1
- data/assets/js/vendors~drawer-hydejack-9.1.7.js +48 -0
- data/assets/js/{vendors~drawer~push-state-hydejack-9.1.6.js → vendors~drawer~push-state-hydejack-9.1.7.js} +12 -12
- data/assets/js/vendors~fetch-hydejack-9.1.7.js +14 -0
- data/assets/js/{vendors~intersection-observer-hydejack-9.1.6.js → vendors~intersection-observer-hydejack-9.1.7.js} +2 -2
- data/assets/js/vendors~push-state-hydejack-9.1.7.js +34 -0
- data/assets/js/vendors~shadydom-hydejack-9.1.7.js +146 -0
- data/assets/js/{vendors~webanimations-hydejack-9.1.6.js → vendors~webanimations-hydejack-9.1.7.js} +2 -2
- data/assets/js/webcomponents-hydejack-9.1.7.js +14 -0
- data/assets/version.json +2 -2
- metadata +43 -43
- data/assets/js/LEGACY-clap-button-hydejack-9.1.6.js +0 -14
- data/assets/js/LEGACY-drawer-hydejack-9.1.6.js +0 -14
- data/assets/js/LEGACY-hydejack-9.1.6.js +0 -27
- data/assets/js/LEGACY-navbar-hydejack-9.1.6.js +0 -14
- data/assets/js/LEGACY-push-state-hydejack-9.1.6.js +0 -14
- data/assets/js/LEGACY-resize-observer-hydejack-9.1.6.js +0 -14
- data/assets/js/LEGACY-vendors~clap-button-hydejack-9.1.6.js +0 -14
- data/assets/js/LEGACY-vendors~drawer-hydejack-9.1.6.js +0 -48
- data/assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.1.6.js +0 -214
- data/assets/js/LEGACY-vendors~fetch-hydejack-9.1.6.js +0 -14
- data/assets/js/LEGACY-vendors~push-state-hydejack-9.1.6.js +0 -34
- data/assets/js/LEGACY-vendors~shadydom-hydejack-9.1.6.js +0 -155
- data/assets/js/hydejack-9.1.6.js +0 -28
- data/assets/js/navbar-hydejack-9.1.6.js +0 -14
- data/assets/js/push-state-hydejack-9.1.6.js +0 -14
- data/assets/js/resize-observer-hydejack-9.1.6.js +0 -14
- data/assets/js/vendors~drawer-hydejack-9.1.6.js +0 -48
- data/assets/js/vendors~fetch-hydejack-9.1.6.js +0 -14
- data/assets/js/vendors~push-state-hydejack-9.1.6.js +0 -34
- data/assets/js/vendors~shadydom-hydejack-9.1.6.js +0 -146
- data/assets/js/webcomponents-hydejack-9.1.6.js +0 -14
- /data/assets/css/{hydejack-9.1.6.css → hydejack-9.1.7.css} +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b51af310afa4dffc8d3a4e9ad3b05f09e11044eb26951b41b2ec423451a5fcc
|
4
|
+
data.tar.gz: 26fa1dd9eebfd0aec6370a227cd7872de69cdd978ac02a0369ac807f35dbefb9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd2f69bf1d9a6bccfb5ccab3a84be00729cd8cb8ac0b7263e4f57d94535f64c3beeef26e82e7fca73ab0682e15366a370bfc4d10b3a3d6d997c3cce47897b150
|
7
|
+
data.tar.gz: da1b90d97759f14340adbf63bffb268d340662e8d864ee9e0278c37be7c87ca9c341044c9d4770c47a43044d5b8f517d510e69c071f695d5753f545194d2a52a
|
data/_config.yml
CHANGED
data/_includes/body/footer.html
CHANGED
@@ -13,7 +13,7 @@
|
|
13
13
|
{% endfor %}
|
14
14
|
</small></nav>
|
15
15
|
{% endif %}
|
16
|
-
<p><small>Powered by <a class="external" href="https://hydejack.com/">Hydejack</a> v<span id="_version">9.1.
|
16
|
+
<p><small>Powered by <a class="external" href="https://hydejack.com/">Hydejack</a> v<span id="_version">9.1.7</span></small></p>
|
17
17
|
<hr class="sr-only"/>
|
18
18
|
</footer>
|
19
19
|
{% endif %}
|
data/_includes/body/scripts.html
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
<!--[if gt IE 10]><!---->
|
2
2
|
<script nomodule>{% include scripts/nomodule.min.js %}</script>
|
3
|
-
<script src="{{ '/assets/js/hydejack-9.1.
|
4
|
-
<script src="{{ '/assets/js/LEGACY-hydejack-9.1.
|
3
|
+
<script src="{{ '/assets/js/hydejack-9.1.7.js' | relative_url }}" type="module"></script>
|
4
|
+
<script src="{{ '/assets/js/LEGACY-hydejack-9.1.7.js' | relative_url }}" nomodule defer></script>
|
5
5
|
{% include my-scripts.html %}
|
6
6
|
{% include body/analytics.html %}
|
7
7
|
<!--<![endif]-->
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{% assign google_fonts = site.google_fonts %}
|
2
|
-
{% capture style_url %}{{ 'assets/css/hydejack-9.1.
|
2
|
+
{% capture style_url %}{{ 'assets/css/hydejack-9.1.7.css' | relative_url }}{% endcapture %}
|
3
3
|
{% capture icons_url %}{{ 'assets/icomoon/style.css' | relative_url }}{% endcapture %}
|
4
4
|
{% if google_fonts %}
|
5
5
|
{% capture fonts_url %}{{ site.google_fonts_url | default:'https://fonts.googleapis.com' }}/css?family={{ google_fonts | uri_escape }}&display=swap{% endcapture %}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{% assign google_fonts = site.google_fonts %}
|
2
|
-
{% capture style_url %}{{ 'assets/css/hydejack-9.1.
|
2
|
+
{% capture style_url %}{{ 'assets/css/hydejack-9.1.7.css' | relative_url }}{% endcapture %}
|
3
3
|
{% capture icons_url %}{{ 'assets/icomoon/style.css' | relative_url }}{% endcapture %}
|
4
4
|
{% if google_fonts %}
|
5
5
|
{% capture fonts_url %}{{ site.google_fonts_url | default:'https://fonts.googleapis.com' }}/css?family={{ google_fonts | uri_escape }}&display=swap{% endcapture %}
|
data/_includes/header.txt
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
((r,a)=>{function d(e,t,n,o){e.addEventListener?e.addEventListener(t,n,o):e.attachEvent?e.attachEvent("on"+t,n):e["on"+t]=n}r.loadJS=function(e,t){var n=a.createElement("script"),e=(n.src=e,t&&d(n,"load",t,{once:!0}),a.scripts[0]);return e.parentNode.insertBefore(n,e),n},r._loaded=!1,r.loadJSDeferred=function(e,t){var n=a.createElement("script");function o(){r._loaded=!0,t&&d(n,"load",t,{once:!0});var e=a.scripts[0];e.parentNode.insertBefore(n,e)}return n.src=e,r._loaded?o():d(r,"load",o,{once:!0}),n},r.setRel=r.setRelStylesheet=function(e){d(a.getElementById(e),"load",function(){this.rel="stylesheet"},{once:!0})}})(window,document);
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
(()=>{var t,n=document.createElement("script");!("noModule"in n)&&"onbeforeload"in n&&(t=!1,document.addEventListener("beforeload",function(e){if(e.target===n)t=!0;else if(!e.target.hasAttribute("nomodule")||!t)return;e.preventDefault()},!0),n.type="module",n.src=".",document.head.appendChild(n),n.remove())})();
|
@@ -13,6 +13,8 @@
|
|
13
13
|
// You should have received a copy of the GNU General Public License
|
14
14
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
15
15
|
|
16
|
+
@use "sass:math";
|
17
|
+
|
16
18
|
// {% assign vars = site.data.variables %}
|
17
19
|
// {% assign ui_font = 'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif' %}
|
18
20
|
// {% assign ui_font_code = 'ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New", monospace' %}
|
@@ -54,7 +56,7 @@ $content-margin-3: 3rem;
|
|
54
56
|
$content-margin-5: 4rem;
|
55
57
|
|
56
58
|
// TODO: doc
|
57
|
-
$half-content: ($content-width-5
|
59
|
+
$half-content: math.div($content-width-5, 2) + $content-margin-5;
|
58
60
|
|
59
61
|
// The sidebar width starts adjusting dynamically when the content is at the center of the window.
|
60
62
|
// This is the case when the window size has a `min-width` of content area + twice the sidebar (left, right):
|
data/_layouts/compress.html
CHANGED
@@ -10,6 +10,6 @@
|
|
10
10
|
/\___/ \ \____/
|
11
11
|
\/__/ \/___/
|
12
12
|
|
13
|
-
Powered by Hydejack v9.1.
|
13
|
+
Powered by Hydejack v9.1.7 <https://hydejack.com/>
|
14
14
|
-->{% capture _LINE_FEED %}
|
15
15
|
{% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ content }}{% else %}{% capture _content %}{{ content }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd p rt rp optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ content | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}</html>
|
data/_sass/_mixins.scss
CHANGED
@@ -13,6 +13,8 @@
|
|
13
13
|
// You should have received a copy of the GNU General Public License
|
14
14
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
15
15
|
|
16
|
+
@use "sass:math";
|
17
|
+
|
16
18
|
@mixin light-mode() {
|
17
19
|
--body-color: #{$body-color};
|
18
20
|
--body-bg: #{$body-bg};
|
@@ -37,7 +39,7 @@
|
|
37
39
|
display: block;
|
38
40
|
content: "";
|
39
41
|
width: 100%;
|
40
|
-
padding-top: ($height
|
42
|
+
padding-top: math.div($height, $width) * 100%;
|
41
43
|
}
|
42
44
|
|
43
45
|
> * {
|
data/_sass/html.scss
CHANGED
@@ -3,8 +3,6 @@ html {
|
|
3
3
|
--font-family-heading: #{$font-family-heading};
|
4
4
|
--code-font-family: #{$code-font-family};
|
5
5
|
|
6
|
-
@include light-mode();
|
7
|
-
|
8
6
|
--root-font-size: #{$root-font-size};
|
9
7
|
--root-font-size-medium: #{$root-font-size-medium};
|
10
8
|
--root-font-size-large: #{$root-font-size-large};
|
@@ -33,4 +31,6 @@ html {
|
|
33
31
|
// --break-point-font-large: #{$break-point-font-large};
|
34
32
|
|
35
33
|
--break-point-dynamic: #{$break-point-dynamic};
|
34
|
+
|
35
|
+
@include light-mode();
|
36
36
|
}
|
@@ -53,7 +53,7 @@ hy-push-state a {
|
|
53
53
|
@supports ((text-decoration-thickness: initial) and (text-underline-offset: initial)) {
|
54
54
|
text-decoration-color: var(--accent-color-faded);
|
55
55
|
}
|
56
|
-
border-color: var(--accent-color-faded);
|
56
|
+
& { border-color: var(--accent-color-faded); }
|
57
57
|
|
58
58
|
|
59
59
|
}
|
@@ -54,7 +54,7 @@ pre, table:not(.highlight), .katex-display, .break-layout, mjx-container[jax="CH
|
|
54
54
|
}
|
55
55
|
|
56
56
|
@media screen and (min-width: $break-point-dynamic) {
|
57
|
-
$x: ($content-width-5
|
57
|
+
$x: math.div($content-width-5, 2) - ($content-padding * 2) + 21rem;
|
58
58
|
width: calc(100% + 50vw - #{$x} + 2px);
|
59
59
|
}
|
60
60
|
}
|
@@ -72,7 +72,7 @@ body.no-break-layout {
|
|
72
72
|
body.no-toc:not(.no-break-layout) {
|
73
73
|
pre, table:not(.highlight), .katex-display, .break-layout, mjx-container[jax="CHTML"][display="true"] {
|
74
74
|
@media screen and (min-width: $break-point-dynamic) {
|
75
|
-
$x: ($content-width-5
|
75
|
+
$x: math.div($content-width-5, 2) - ($content-padding * 2);
|
76
76
|
width: calc(100% + 50vw - #{$x});
|
77
77
|
}
|
78
78
|
}
|
@@ -27,7 +27,9 @@ hy-push-state a {
|
|
27
27
|
|
28
28
|
|
29
29
|
|
30
|
-
|
30
|
+
& {
|
31
|
+
transition: color 250ms, text-decoration-color 250ms, border-color 250ms;
|
32
|
+
}
|
31
33
|
&:hover {
|
32
34
|
transition: color 50ms, text-decoration-color 50ms, border-color 50ms;
|
33
35
|
}
|
@@ -43,7 +45,7 @@ hy-push-state a {
|
|
43
45
|
@supports ((text-decoration-thickness: initial) and (text-underline-offset: initial)) {
|
44
46
|
text-decoration-color: var(--accent-color);
|
45
47
|
}
|
46
|
-
border-color: var(--accent-color);
|
48
|
+
& { border-color: var(--accent-color); }
|
47
49
|
}
|
48
50
|
|
49
51
|
}
|
@@ -20,13 +20,16 @@
|
|
20
20
|
border-radius: 100%;
|
21
21
|
overflow: hidden;
|
22
22
|
display: inline-block;
|
23
|
-
img { width: 100%; }
|
24
23
|
// >>>
|
25
24
|
|
26
25
|
// <<< link
|
27
26
|
position: relative;
|
28
27
|
z-index: 1;
|
29
28
|
// >>>
|
29
|
+
|
30
|
+
// <<< inline
|
31
|
+
img { width: 100%; }
|
32
|
+
// >>>
|
30
33
|
}
|
31
34
|
|
32
35
|
// <<< inline
|
@@ -45,7 +45,7 @@ pre, table:not(.highlight), .katex-display, .break-layout, mjx-container[jax="CH
|
|
45
45
|
}
|
46
46
|
|
47
47
|
@media screen and (min-width: $break-point-dynamic) {
|
48
|
-
$x: ($content-width-5
|
48
|
+
$x: math.div($content-width-5, 2) - ($content-padding * 2) + 21rem;
|
49
49
|
width: calc(100% + 50vw - #{$x} + 2px);
|
50
50
|
}
|
51
51
|
}
|
@@ -63,7 +63,7 @@ body.no-break-layout {
|
|
63
63
|
body.no-toc:not(.no-break-layout) {
|
64
64
|
pre, table:not(.highlight), .katex-display, .break-layout, mjx-container[jax="CHTML"][display="true"] {
|
65
65
|
@media screen and (min-width: $break-point-dynamic) {
|
66
|
-
$x: ($content-width-5
|
66
|
+
$x: math.div($content-width-5, 2) - ($content-padding * 2);
|
67
67
|
width: calc(100% + 50vw - #{$x});
|
68
68
|
}
|
69
69
|
}
|
@@ -30,7 +30,9 @@ hy-push-state a {
|
|
30
30
|
// >>>
|
31
31
|
|
32
32
|
// <<< link
|
33
|
-
|
33
|
+
& {
|
34
|
+
transition: color 250ms, text-decoration-color 250ms, border-color 250ms;
|
35
|
+
}
|
34
36
|
&:hover {
|
35
37
|
transition: color 50ms, text-decoration-color 50ms, border-color 50ms;
|
36
38
|
}
|
@@ -50,14 +52,14 @@ hy-push-state a {
|
|
50
52
|
@supports ((text-decoration-thickness: initial) and (text-underline-offset: initial)) {
|
51
53
|
text-decoration-color: var(--accent-color-faded);
|
52
54
|
}
|
53
|
-
border-color: var(--accent-color-faded);
|
55
|
+
& { border-color: var(--accent-color-faded); }
|
54
56
|
// >>>
|
55
57
|
// <<< link
|
56
58
|
&:hover {
|
57
59
|
@supports ((text-decoration-thickness: initial) and (text-underline-offset: initial)) {
|
58
60
|
text-decoration-color: var(--accent-color);
|
59
61
|
}
|
60
|
-
border-color: var(--accent-color);
|
62
|
+
& { border-color: var(--accent-color); }
|
61
63
|
}
|
62
64
|
// >>>
|
63
65
|
}
|
@@ -35,7 +35,6 @@ code {
|
|
35
35
|
}
|
36
36
|
|
37
37
|
.figure-base {
|
38
|
-
@include border-radius();
|
39
38
|
@extend .color-transition;
|
40
39
|
margin-left: -1rem;
|
41
40
|
margin-right: -1rem;
|
@@ -43,6 +42,7 @@ code {
|
|
43
42
|
// Prevent code linebreaks and allow side-scrolling for better readability on mobile
|
44
43
|
overflow-x: auto;
|
45
44
|
-webkit-overflow-scrolling: touch;
|
45
|
+
@include border-radius();
|
46
46
|
}
|
47
47
|
|
48
48
|
.pre-base {
|
@@ -26,7 +26,6 @@ code {
|
|
26
26
|
}
|
27
27
|
|
28
28
|
.figure-base {
|
29
|
-
@include border-radius();
|
30
29
|
@extend .color-transition;
|
31
30
|
margin-left: -1rem;
|
32
31
|
margin-right: -1rem;
|
@@ -34,6 +33,7 @@ code {
|
|
34
33
|
// Prevent code linebreaks and allow side-scrolling for better readability on mobile
|
35
34
|
overflow-x: auto;
|
36
35
|
-webkit-overflow-scrolling: touch;
|
36
|
+
@include border-radius();
|
37
37
|
}
|
38
38
|
|
39
39
|
.pre-base {
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/*!
|
2
|
+
* __ __ __ __
|
3
|
+
* /\ \/\ \ /\ \ __ /\ \
|
4
|
+
* \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
|
5
|
+
* \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
|
6
|
+
* \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
|
7
|
+
* \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
|
8
|
+
* \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
|
9
|
+
* /\___/ \ \____/
|
10
|
+
* \/__/ \/___/
|
11
|
+
*
|
12
|
+
* Powered by Hydejack v9.1.7 <https://hydejack.com/>
|
13
|
+
*/
|
14
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{311:function(t,r,e){"use strict";e.r(r);e(343);var n,o=e(22);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */a=function(){return r};var t,r={},e=Object.prototype,n=e.hasOwnProperty,o=Object.defineProperty||function(t,r,e){t[r]=e.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",f=c.toStringTag||"@@toStringTag";function s(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{s({},"")}catch(t){s=function(t,r,e){return t[r]=e}}function h(t,r,e,n){var i=r&&r.prototype instanceof g?r:g,a=Object.create(i.prototype),c=new G(n||[]);return o(a,"_invoke",{value:j(t,e,c)}),a}function p(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}r.wrap=h;var y="suspendedStart",v="executing",d="completed",m={};function g(){}function w(){}function b(){}var L={};s(L,u,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(T([])));E&&E!==e&&n.call(E,u)&&(L=E);var _=b.prototype=g.prototype=Object.create(L);function S(t){["next","throw","return"].forEach((function(r){s(t,r,(function(t){return this._invoke(r,t)}))}))}function P(t,r){function e(o,a,c,u){var l=p(t[o],t,a);if("throw"!==l.type){var f=l.arg,s=f.value;return s&&"object"==i(s)&&n.call(s,"__await")?r.resolve(s.__await).then((function(t){e("next",t,c,u)}),(function(t){e("throw",t,c,u)})):r.resolve(s).then((function(t){f.value=t,c(f)}),(function(t){return e("throw",t,c,u)}))}u(l.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new r((function(r,o){e(t,n,r,o)}))}return a=a?a.then(o,o):o()}})}function j(r,e,n){var o=y;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===d){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===m)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var l=p(r,e,n);if("normal"===l.type){if(o=n.done?d:"suspendedYield",l.arg===m)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=d,n.method="throw",n.arg=l.arg)}}}function O(r,e){var n=e.method,o=r.iterator[n];if(o===t)return e.delegate=null,"throw"===n&&r.iterator.return&&(e.method="return",e.arg=t,O(r,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var i=p(o,r.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,m;var a=i.arg;return a?a.done?(e[r.resultName]=a.value,e.next=r.nextLoc,"return"!==e.method&&(e.method="next",e.arg=t),e.delegate=null,m):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,m)}function A(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function k(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function T(r){if(r||""===r){var e=r[u];if(e)return e.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length)){var o=-1,a=function e(){for(;++o<r.length;)if(n.call(r,o))return e.value=r[o],e.done=!1,e;return e.value=t,e.done=!0,e};return a.next=a}}throw new TypeError(i(r)+" is not iterable")}return w.prototype=b,o(_,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:w,configurable:!0}),w.displayName=s(b,f,"GeneratorFunction"),r.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===w||"GeneratorFunction"===(r.displayName||r.name))},r.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,f,"GeneratorFunction")),t.prototype=Object.create(_),t},r.awrap=function(t){return{__await:t}},S(P.prototype),s(P.prototype,l,(function(){return this})),r.AsyncIterator=P,r.async=function(t,e,n,o,i){void 0===i&&(i=Promise);var a=new P(h(t,e,n,o),i);return r.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(_),s(_,f,"Generator"),s(_,u,(function(){return this})),s(_,"toString",(function(){return"[object Generator]"})),r.keys=function(t){var r=Object(t),e=[];for(var n in r)e.push(n);return e.reverse(),function t(){for(;e.length;){var n=e.pop();if(n in r)return t.value=n,t.done=!1,t}return t.done=!0,t}},r.values=T,G.prototype={constructor:G,reset:function(r){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(k),!r)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(r){if(this.done)throw r;var e=this;function o(n,o){return c.type="throw",c.arg=r,e.next=n,o&&(e.method="next",e.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,r){for(var e=this.tryEntries.length-1;e>=0;--e){var o=this.tryEntries[e];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=r&&r<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=r,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(a)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),m},finish:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),k(e),m}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;k(e)}return o}}throw Error("illegal catch attempt")},delegateYield:function(r,e,n){return this.delegate={iterator:T(r),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=t),m}},r}function c(t){return function(t){if(Array.isArray(t))return u(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,r){if(t){if("string"==typeof t)return u(t,r);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?u(t,r):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=Array(r);e<r;e++)n[e]=t[e];return n}function l(t,r,e,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void e(t)}c.done?r(u):Promise.resolve(u).then(n,o)}(n=a().mark((function t(){return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.all(c("customElements"in window?[]:[Promise.all([e.e(16),e.e(17)]).then(e.bind(null,336)).then((function(){return Promise.all([e.e(14),e.e(8)]).then(e.bind(null,337))}))]));case 2:return t.next=4,o.t;case 4:return t.next=6,o.s;case 6:window.GET_CLAPS_API||(window.GET_CLAPS_API="https://worker.getclaps.app"),Promise.resolve().then(e.t.bind(null,344,7));case 8:case"end":return t.stop()}}),t)})),function(){var t=this,r=arguments;return new Promise((function(e,o){var i=n.apply(t,r);function a(t){l(i,e,o,a,c,"next",t)}function c(t){l(i,e,o,a,c,"throw",t)}a(void 0)}))})()}}]);
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/*!
|
2
|
+
* __ __ __ __
|
3
|
+
* /\ \/\ \ /\ \ __ /\ \
|
4
|
+
* \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
|
5
|
+
* \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
|
6
|
+
* \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
|
7
|
+
* \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
|
8
|
+
* \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
|
9
|
+
* /\___/ \ \____/
|
10
|
+
* \/__/ \/___/
|
11
|
+
*
|
12
|
+
* Powered by Hydejack v9.1.7 <https://hydejack.com/>
|
13
|
+
*/
|
14
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{312:function(t,e,r){"use strict";r.r(e);var n,o=r(158),i=r(341),a=r(318),c=r(369),u=r(157),l=r(340),s=r(47),f=r(357),h=r(160),p=r(159),d=r(156),y=r(370),v=r(22);function m(t){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function b(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */b=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof v?e:v,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:_(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="executing",d="completed",y={};function v(){}function w(){}function g(){}var O={};l(O,a,(function(){return this}));var j=Object.getPrototypeOf,E=j&&j(j(C([])));E&&E!==r&&n.call(E,a)&&(O=E);var S=g.prototype=v.prototype=Object.create(O);function x(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function L(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==m(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function _(e,r,n){var o=h;return function(i,a){if(o===p)throw Error("Generator is already running");if(o===d){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=k(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=p;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?d:"suspendedYield",l.arg===y)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=d,n.method="throw",n.arg=l.arg)}}}function k(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,k(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function I(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(m(e)+" is not iterable")}return w.prototype=g,o(S,"constructor",{value:g,configurable:!0}),o(g,"constructor",{value:w,configurable:!0}),w.displayName=l(g,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,l(t,u,"GeneratorFunction")),t.prototype=Object.create(S),t},e.awrap=function(t){return{__await:t}},x(L.prototype),l(L.prototype,c,(function(){return this})),e.AsyncIterator=L,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new L(s(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(S),l(S,u,"Generator"),l(S,a,(function(){return this})),l(S,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=C,P.prototype={constructor:P,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(I),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),I(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function w(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||O(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(t){return function(t){if(Array.isArray(t))return j(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||O(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function O(t,e){if(t){if("string"==typeof t)return j(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?j(t,e):void 0}}function j(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function E(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}(n=b().mark((function t(){var e,n,m,O,j,E,S,x,L,_,k,A,I,P,C,T,G,N,B,M,F,Y,q,z;return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return E=function(){var t,e=document.getElementById("_swipe");null==e||null===(t=e.parentNode)||void 0===t||t.removeChild(e)},j=function(t){var e=document.getElementById("_hrefSwipeSVG");if(e){var r,n=document.createElement("img");n.id="_swipe",n.src=e.href,n.alt="Swipe image",n.addEventListener("click",(function(){return t.close()})),null===(r=document.getElementById("_sidebar"))||void 0===r||r.appendChild(n)}},O=function(t,e){return e>=n?[0,t]:v.o?[35,150]:[0,150]},t.next=5,Promise.all([].concat(g("customElements"in window?[]:[Promise.all([r.e(16),r.e(17)]).then(r.bind(null,336)).then((function(){return Promise.all([r.e(14),r.e(8)]).then(r.bind(null,337))}))]),g("ResizeObserver"in window?[]:[r.e(7).then(r.bind(null,352))])));case 5:return t.next=7,v.t;case 7:return t.next=9,v.s;case 9:if(n=2,m=function(t){return function(e){return t.pipe(Object(u.a)((function(t){return t?e:o.a})))}},S=function(){return window.matchMedia(v.b).matches?3:window.matchMedia(v.a).matches?n:1},x=document.getElementById("_drawer"),L=document.getElementById("_sidebar"),_=null==L?void 0:L.querySelector(".sidebar-sticky"),x&&L&&_){t.next=19;break}return t.abrupt("return");case 19:return null===(e=document.getElementById("_menu"))||void 0===e||e.addEventListener("click",(function(t){t.preventDefault(),t.stopPropagation(),x.toggle()})),L.querySelectorAll('a[href^="/"]:not(.external)').forEach((function(t){return t.addEventListener("click",(function(){return x.close()}))})),v.p&&x.setAttribute("threshold","0"),v.n||x.setAttribute("mouseevents",""),k=v.j?[new CSSTransformValue([new CSSTranslate(CSS.px(0),CSS.px(0))]),CSS.number(1)]:[null,null],A=w(k,2),I=A[0],P=A[1],C=function(t,e,r){var o=r*t,i=e>=n?1:1-t;v.j?(I[0].x.value=o,P.value=i,L.attributeStyleMap.set("transform",I),_.attributeStyleMap.set("opacity",P)):(L.style.transform="translateX(".concat(o,"px)"),_.style.opacity=i)},T=Object(i.a)(Object(v.g)(window.matchMedia(v.a)),Object(v.g)(window.matchMedia(v.b))).pipe(Object(l.a)({}),Object(s.a)(S)),G=Object(a.a)(x,"peek-width-change").pipe(Object(s.a)((function(t){return t.detail}))),N=Object(a.a)(window,"resize",{passive:!0}).pipe(Object(l.a)({}),Object(s.a)(v.i)),B=Object(c.a)(G,N).pipe(Object(s.a)((function(t){var e=w(t,2),r=e[0];return e[1]/2-r/2}))),M=Object(i.a)(B.pipe(Object(s.a)((function(){return void 0!==x.opacity?1-x.opacity:Y?0:1}))),Object(a.a)(x,"hy-drawer-move").pipe(Object(s.a)((function(t){return 1-t.detail.opacity})))),x.addEventListener("hy-drawer-prepare",(function(){L.style.willChange="transform",_.style.willChange="opacity"})),x.addEventListener("hy-drawer-transitioned",(function(){L.style.willChange="",_.style.willChange=""})),F=Object(v.h)(),(Y=x.classList.contains("cover")&&F<=0&&!(history.state&&history.state.closedOnce))||(history.state||history.replaceState({},document.title),history.state.closedOnce=!0,x.removeAttribute("opened")),q=Object(a.a)(x,"hy-drawer-transitioned").pipe(Object(s.a)((function(t){return t.detail})),Object(f.a)(),Object(h.a)((function(t){t||(E(),history.state||history.replaceState({},document.title),history.state.closedOnce=!0)})),Object(l.a)(Y)),z=Y?null:x.getBoundingClientRect().height,x.addEventListener("hy-drawer-init",(function(){x.classList.add("loaded"),j(x),z&&F>=z&&window.scrollTo(0,F-z)}),{once:!0}),t.next=40,Promise.resolve().then(r.bind(null,354));case 40:window._drawer=x,M.pipe(Object(p.a)(T,B),Object(h.a)((function(t){return C.apply(void 0,g(t))}))).subscribe(),G.pipe(Object(p.a)(T),Object(s.a)((function(t){return O.apply(void 0,g(t))})),Object(h.a)((function(t){x.range=t}))).subscribe(),Object(a.a)(document,"wheel",{passive:!1}).pipe(m(q),Object(d.a)((function(t){return t.deltaY>0})),Object(h.a)((function(t){x.translateX>0&&t.preventDefault()})),Object(y.a)(500),Object(h.a)((function(){return x.close()}))).subscribe();case 44:case"end":return t.stop()}}),t)})),function(){var t=this,e=arguments;return new Promise((function(r,o){var i=n.apply(t,e);function a(t){E(i,r,o,a,c,"next",t)}function c(t){E(i,r,o,a,c,"throw",t)}a(void 0)}))})()}}]);
|
@@ -9,6 +9,6 @@
|
|
9
9
|
* /\___/ \ \____/
|
10
10
|
* \/__/ \/___/
|
11
11
|
*
|
12
|
-
* Powered by Hydejack v9.1.
|
12
|
+
* Powered by Hydejack v9.1.7 <https://hydejack.com/>
|
13
13
|
*/
|
14
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{368:function(n,w,o){"use strict";o.r(w);o(
|
14
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{368:function(n,w,o){"use strict";o.r(w);o(350),o(351)}}]);
|