condo_grids 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +18 -0
- data/Rakefile +2 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/condo_grids.gemspec +24 -0
- data/core/_condo.scss +10 -0
- data/core/condo/_functions.scss +117 -0
- data/core/condo/_mixins.scss +149 -0
- data/core/condo/_variables.scss +22 -0
- data/docs/assets/css/main.css +1 -0
- data/docs/assets/images/favicon.png +0 -0
- data/docs/assets/images/logo_full_compact.svg +1 -0
- data/docs/assets/images/logo_full_inline.svg +1 -0
- data/docs/assets/images/logo_light_compact.svg +1 -0
- data/docs/assets/images/logo_light_inline.svg +1 -0
- data/docs/assets/js/main.js +56 -0
- data/docs/assets/js/main.min.js +1 -0
- data/docs/assets/js/search.js +146 -0
- data/docs/assets/js/sidebar.js +163 -0
- data/docs/assets/js/vendor/fuse.min.js +20 -0
- data/docs/assets/js/vendor/jquery.min.js +4 -0
- data/docs/assets/js/vendor/prism.min.js +9 -0
- data/docs/index.html +170 -0
- data/lib/condo/generator.rb +81 -0
- data/lib/condo/version.rb +3 -0
- data/lib/condo_grids.rb +8 -0
- data/package.json +23 -0
- metadata +103 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 55c28a304b0893f5ac77b3781d62b320c54575c4
|
|
4
|
+
data.tar.gz: 5e9f6367111ebfeb2a86b39403c841c6d623ec74
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: d0f60f11609f538055ab33c775341f4f057b4650342e9956c0cb6a592f87fe820ca8a4c85e31380462edc5bad60f006047602463c4ec06792e0f989c04c8370a
|
|
7
|
+
data.tar.gz: 846addb38363b26282057c48bd85042d5466517734012f5b186397e9805b47bbb663a867b2921675023683a38b6f6c93a6045ec9171c7fd36b4b336911dd801c
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2016 Kyle Shevlin
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Condo
|
|
2
|
+
|
|
3
|
+
**Because you don't always need a mansion-sized Sass grid library.**
|
|
4
|
+
|
|
5
|
+
With no offense intended towards the incredible, robust and flexible [Susy](https://github.com/oddbird/susy) (I personally love it), I bring you Condo, a tiny Sass grid library.
|
|
6
|
+
|
|
7
|
+
The philosophy of Susy seems to be to provide the developer with a broad palette of tools and almost limitless flexibility in creating a grid system. Condo's philosophy is to create a limited tool set designed to accomplish a discrete set of grid layouts.
|
|
8
|
+
|
|
9
|
+
Condo utilizes similar variables, functions and mixins to create grid systems as Susy. You will recognize `span()`, `container()`, and `gutters()` from Susy, but not all the features you're used to will be there. In the right context, this is a very good thing.
|
|
10
|
+
|
|
11
|
+
For example, Condo does *not* support right to left layouts, only left to right ones. My apologies to any developer out there who needs right to left support, but I never have. Rather than working this into Condo, wasting compilation time on checking a setting that I would never use, I recommend forking Condo, flipping the output and naming it "Odnoc". Give me some credit if you're feeling charitable.
|
|
12
|
+
|
|
13
|
+
You'll find other, similar restrictions throughout the documentation.
|
|
14
|
+
|
|
15
|
+
## Documentation
|
|
16
|
+
|
|
17
|
+
Open the documentation found in the `docs/` directory. Thanks [Sassdoc](http://sassdoc.com/)!
|
|
18
|
+
|
data/Rakefile
ADDED
data/bin/console
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
|
|
3
|
+
require "bundler/setup"
|
|
4
|
+
require "condo_grids"
|
|
5
|
+
|
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
|
8
|
+
|
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
|
10
|
+
# require "pry"
|
|
11
|
+
# Pry.start
|
|
12
|
+
|
|
13
|
+
require "irb"
|
|
14
|
+
IRB.start
|
data/bin/setup
ADDED
data/condo_grids.gemspec
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
|
3
|
+
|
|
4
|
+
require 'condo/version'
|
|
5
|
+
|
|
6
|
+
Gem::Specification.new do |spec|
|
|
7
|
+
spec.name = "condo_grids"
|
|
8
|
+
spec.version = Condo::VERSION
|
|
9
|
+
spec.authors = ["Kyle Shevlin"]
|
|
10
|
+
spec.email = ["kyle.a.shevlin@gmail.com"]
|
|
11
|
+
|
|
12
|
+
spec.summary = %q{A tiny Sass grid library.}
|
|
13
|
+
spec.description = %q{Condo is a tiny, lightweight Sass grid library with no bells or whistles. Enough to get the job done. Nothing more. Nothing less.}
|
|
14
|
+
spec.homepage = "https://github.com/kyleshevlin/condo"
|
|
15
|
+
spec.license = "MIT"
|
|
16
|
+
|
|
17
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
|
18
|
+
spec.bindir = "exe"
|
|
19
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
20
|
+
spec.require_paths = ["lib"]
|
|
21
|
+
|
|
22
|
+
spec.add_development_dependency "bundler", "~> 1.11"
|
|
23
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
|
24
|
+
end
|
data/core/_condo.scss
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
///
|
|
2
|
+
/// Return the gutter width for the current settings
|
|
3
|
+
/// @access private
|
|
4
|
+
/// @param {Integer} $gutters Number of gutters in grid, equivalent to number of columns generally
|
|
5
|
+
/// @param {Float} $gutter-ratio Floating number representing the width of a gutter compared to the width of a column
|
|
6
|
+
/// @return {Percentage} Width equivalent with gutters requested
|
|
7
|
+
///
|
|
8
|
+
@function gutter-width($gutters, $gutter-ratio) {
|
|
9
|
+
@if $gutters == 0 {
|
|
10
|
+
@return 0;
|
|
11
|
+
} @else {
|
|
12
|
+
@return 100 / $gutters * $gutter-ratio * 1%;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
///
|
|
17
|
+
/// Use when a width equivalent to a gutter or multiple gutters is needed
|
|
18
|
+
/// @access public
|
|
19
|
+
/// @param {Integer} $gutters [1] Number of gutter widths to return
|
|
20
|
+
/// @return {Percentage} Width equivalent to number of gutters requested
|
|
21
|
+
///
|
|
22
|
+
@function gutters($gutters: 1) {
|
|
23
|
+
$layout: layout();
|
|
24
|
+
$gutter-ratio: map-get($layout, gutters);
|
|
25
|
+
$gutter-width: gutter-width(map-get($columns), $gutter-ratio);
|
|
26
|
+
|
|
27
|
+
@return $gutter-width * $gutters;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
///
|
|
31
|
+
/// Sets up the current layout, ensuring all $condo keys are mapped and have values
|
|
32
|
+
/// @access public
|
|
33
|
+
/// @param {Map} $map [$condo] Map to be merged into $condo-defaults
|
|
34
|
+
/// @return {Map} Result of merging the supplied $map with $condo-defaults
|
|
35
|
+
///
|
|
36
|
+
@function layout($map: $condo) {
|
|
37
|
+
@return map-merge($condo-defaults, $map);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
///
|
|
41
|
+
/// Return a column width measured as if there were no gutters
|
|
42
|
+
/// @access private
|
|
43
|
+
/// @param {Integer} $columns Number of columns in grid
|
|
44
|
+
/// @param {Percentage} $gutter-width Width of one gutter
|
|
45
|
+
/// @return {Percentage} Width equivalent with columns requested
|
|
46
|
+
///
|
|
47
|
+
@function raw-column-width($columns, $gutter-width) {
|
|
48
|
+
$layout: layout();
|
|
49
|
+
$gutter-position: map-get($layout, gutter-position);
|
|
50
|
+
|
|
51
|
+
@if $gutter-position == 'split' {
|
|
52
|
+
@return 100% / $columns;
|
|
53
|
+
} @else {
|
|
54
|
+
@return (100% + $gutter-width) / $columns;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
///
|
|
59
|
+
/// Return the width and margins given the current settings
|
|
60
|
+
/// @access private
|
|
61
|
+
/// @param {Integer} $spans Number of column widths to return
|
|
62
|
+
/// @return {Map} Map with width and margin values
|
|
63
|
+
///
|
|
64
|
+
@function span-math($spans) {
|
|
65
|
+
$layout: layout();
|
|
66
|
+
$columns: map-get($layout, columns);
|
|
67
|
+
$gutters: $columns;
|
|
68
|
+
$gutter-position: map-get($layout, gutter-position);
|
|
69
|
+
$gutter-ratio: map-get($layout, gutters);
|
|
70
|
+
$gutter-width: gutter-width($gutters, $gutter-ratio);
|
|
71
|
+
$raw-column-width: raw-column-width($columns, $gutter-width);
|
|
72
|
+
$column-width: $raw-column-width - $gutter-width;
|
|
73
|
+
$width: null;
|
|
74
|
+
$margin-before: null;
|
|
75
|
+
$margin-after: null;
|
|
76
|
+
|
|
77
|
+
$width: ($raw-column-width * ($spans - 1)) + $column-width;
|
|
78
|
+
$margin-after: $gutter-width;
|
|
79
|
+
|
|
80
|
+
@if $gutter-position == 'split' {
|
|
81
|
+
$margin-before: $gutter-width / 2;
|
|
82
|
+
$margin-after: $margin-before;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
@return (
|
|
86
|
+
width: $width,
|
|
87
|
+
margin-before: $margin-before,
|
|
88
|
+
margin-after: $margin-after
|
|
89
|
+
);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
///
|
|
93
|
+
/// Use when a width equivalent to the spans and keywords provided is needed
|
|
94
|
+
/// @access public
|
|
95
|
+
/// @param {Integer} $spans [1] Number of column widths to return
|
|
96
|
+
/// @param {String} $keyword [null] Options: wide, wider; Increases width by 1 or 2 gutter-widths respectively
|
|
97
|
+
/// @return {Percentage} Width equivalent to number of columns requested
|
|
98
|
+
///
|
|
99
|
+
@function span($spans: 1, $keyword: null) {
|
|
100
|
+
$layout: layout();
|
|
101
|
+
$columns: map-get($layout, columns);
|
|
102
|
+
$gutters: $columns;
|
|
103
|
+
$gutter-position: map-get($layout, gutter-position);
|
|
104
|
+
$gutter-ratio: map-get($layout, gutters);
|
|
105
|
+
$gutter-width: gutter-width($gutters, $gutter-ratio);
|
|
106
|
+
$raw-column-width: raw-column-width($columns, $gutter-width);
|
|
107
|
+
$column-width: $raw-column-width - $gutter-width;
|
|
108
|
+
$width: ($raw-column-width * ($spans - 1)) + $column-width;
|
|
109
|
+
|
|
110
|
+
@if $keyword == wide {
|
|
111
|
+
$width: $width + $gutter-width;
|
|
112
|
+
} @else if $keyword == wider {
|
|
113
|
+
$width: $width + ($gutter-width * 2);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
@return $width;
|
|
117
|
+
}
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
///
|
|
2
|
+
/// Set the max-width and margins for a container
|
|
3
|
+
/// @access public
|
|
4
|
+
/// @param {Number} $max-width Any valid width value
|
|
5
|
+
/// @param {String} $position [null] Options: left, center, right; will set margins accordingly.
|
|
6
|
+
/// @output Sets a max-width, margin-left and margin-right to auto if container position is center, and clearfixes the container so you don't have to
|
|
7
|
+
///
|
|
8
|
+
@mixin container($max-width, $position: null) {
|
|
9
|
+
$layout: layout();
|
|
10
|
+
$container-position: map-get($layout, container-position);
|
|
11
|
+
|
|
12
|
+
@if $position {
|
|
13
|
+
$container-position: $position;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
max-width: $max-width;
|
|
17
|
+
|
|
18
|
+
@if $container-position == center {
|
|
19
|
+
margin-left: auto;
|
|
20
|
+
margin-right: auto;
|
|
21
|
+
} @else if $container-position == left {
|
|
22
|
+
margin-left: 0;
|
|
23
|
+
margin-right: auto;
|
|
24
|
+
} @else if $container-position == right {
|
|
25
|
+
margin-left: auto;
|
|
26
|
+
margin-right: 0;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
// Clearfix
|
|
30
|
+
&::after {
|
|
31
|
+
clear: both;
|
|
32
|
+
content: "";
|
|
33
|
+
display: table;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
///
|
|
38
|
+
/// Use to set float to right and remove right margin.
|
|
39
|
+
/// @access public
|
|
40
|
+
/// @output Sets opposite float and removes margin right
|
|
41
|
+
///
|
|
42
|
+
@mixin last {
|
|
43
|
+
$layout: layout();
|
|
44
|
+
$gutter-position: map-get($layout, gutter-position);
|
|
45
|
+
|
|
46
|
+
@if $gutter-position != 'split' {
|
|
47
|
+
float: right;
|
|
48
|
+
margin-right: 0;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
///
|
|
53
|
+
/// Increase margin-left in order to "push" block over a supplied number of spans.
|
|
54
|
+
/// @access public
|
|
55
|
+
/// @param {Integer} $columns Number of columns to push block over
|
|
56
|
+
/// @output Sets margin-left so such a size as to "push" it the width of the columns specified
|
|
57
|
+
///
|
|
58
|
+
@mixin push($columns) {
|
|
59
|
+
$layout: layout();
|
|
60
|
+
$gutter-position: map-get($layout, gutter-position);
|
|
61
|
+
$map: span-math($columns);
|
|
62
|
+
$width: map-get($map, width);
|
|
63
|
+
$margin-before: map-get($map, margin-before);
|
|
64
|
+
$margin-after: map-get($map, margin-after);
|
|
65
|
+
|
|
66
|
+
@if $gutter-position == 'split' {
|
|
67
|
+
margin-left: ($margin-before * 2) + $width + $margin-after;
|
|
68
|
+
} @else {
|
|
69
|
+
margin-left: $width + $margin-after;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
///
|
|
74
|
+
/// Set the float, width and margins for a block
|
|
75
|
+
/// @access public
|
|
76
|
+
/// @param {Integer} $spans Number of columns width should span
|
|
77
|
+
/// @param {String} $keyword [null] Options are: wide, wider; Will add the width of one or two gutters respectively.
|
|
78
|
+
/// @output Sets float, width, and appropriate margins
|
|
79
|
+
///
|
|
80
|
+
@mixin span($spans, $keyword: null) {
|
|
81
|
+
$layout: layout();
|
|
82
|
+
$gutter-position: map-get($layout, gutter-position);
|
|
83
|
+
$span-map: span-math($spans);
|
|
84
|
+
$width: map-get($span-map, width);
|
|
85
|
+
$gutter-width: gutter-width(map-get($layout, columns), map-get($layout, gutters));
|
|
86
|
+
|
|
87
|
+
@if $keyword == wide {
|
|
88
|
+
$width: $width + $gutter-width;
|
|
89
|
+
} @else if $keyword == wider {
|
|
90
|
+
$width: $width + ($gutter-width * 2);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
float: left;
|
|
94
|
+
width: $width;
|
|
95
|
+
|
|
96
|
+
@if $gutter-position == 'split' {
|
|
97
|
+
margin-left: map-get($span-map, margin-before);
|
|
98
|
+
margin-right: map-get($span-map, margin-after);
|
|
99
|
+
} @else {
|
|
100
|
+
margin-right: map-get($span-map, margin-after);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
///
|
|
105
|
+
/// Use to reset settings after using the last mixin.
|
|
106
|
+
/// @access public
|
|
107
|
+
/// @output Resets both float and margin-right to non-last position values
|
|
108
|
+
///
|
|
109
|
+
@mixin unlast {
|
|
110
|
+
$layout: layout();
|
|
111
|
+
$map: span-math(map-get($layout, columns));
|
|
112
|
+
$margin-after: map-get($map, margin-after);
|
|
113
|
+
|
|
114
|
+
float: left;
|
|
115
|
+
margin-right: $margin-after;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
///
|
|
119
|
+
/// Use to reset settings after using the push mixin
|
|
120
|
+
/// @access public
|
|
121
|
+
/// @output Resets margin-left on item
|
|
122
|
+
///
|
|
123
|
+
@mixin unpush {
|
|
124
|
+
$layout: layout();
|
|
125
|
+
$map: span-math(map-get($layout, columns));
|
|
126
|
+
$margin-before: map-get($map, margin-before);
|
|
127
|
+
|
|
128
|
+
@if $margin-before {
|
|
129
|
+
margin-left: $margin-before;
|
|
130
|
+
} @else {
|
|
131
|
+
margin-left: 0;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
///
|
|
136
|
+
/// Temporarily use a different settings map
|
|
137
|
+
/// @access public
|
|
138
|
+
/// @param {Map} $map A map consisting of some or all $condo settings.
|
|
139
|
+
/// @content [Merges the $map with the $condo settings and uses this new map to do all Condo math within this content block. Restores the $condo settings after the block.]
|
|
140
|
+
///
|
|
141
|
+
@mixin with-layout($map) {
|
|
142
|
+
$layout: layout();
|
|
143
|
+
$old: $layout;
|
|
144
|
+
$condo: map-merge($old, $map) !global;
|
|
145
|
+
|
|
146
|
+
@content;
|
|
147
|
+
|
|
148
|
+
$condo: $old !global;
|
|
149
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
///
|
|
2
|
+
/// Default $condo settings
|
|
3
|
+
/// @prop $condo-defaults
|
|
4
|
+
/// @prop {String} $condo-defaults.container [auto] Can be any valid width value
|
|
5
|
+
/// @prop {String} $condo-defaults.container-position [center] Options: left, center, right; Determines the position of the container.
|
|
6
|
+
/// @prop {Number} $condo-defaults.columns [4] Number of columns to used for grid settings
|
|
7
|
+
/// @prop {Float} $condo-defaults.gutters [.25] Percentage of a column that the width of a gutter will be
|
|
8
|
+
/// @prop {String} $condo-defaults.gutter-position [after] Options: after, split; Determines width and position of gutters.
|
|
9
|
+
///
|
|
10
|
+
$condo-defaults: (
|
|
11
|
+
container: auto,
|
|
12
|
+
container-position: center,
|
|
13
|
+
columns: 4,
|
|
14
|
+
gutters: .25,
|
|
15
|
+
gutter-position: after
|
|
16
|
+
);
|
|
17
|
+
|
|
18
|
+
// Empty $condo map in case one is not supplied by the user
|
|
19
|
+
$condo: () !default;
|
|
20
|
+
|
|
21
|
+
// Merge defaults with $condo to create new $condo map
|
|
22
|
+
$condo: map-merge($condo-defaults, $condo);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.container:after,.header:after,.searchbar:after{content:"";display:table;clear:both}.visually-hidden{width:1px;height:1px;position:absolute;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.sidebar__title{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}code[class*='language-'],pre[class*='language-']{color:black;text-shadow:0 1px white;font-family:Consolas, Monaco, 'Andale Mono', monospace;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}pre[class*='language-']::-moz-selection,pre[class*='language-'] ::-moz-selection,code[class*='language-']::-moz-selection,code[class*='language-'] ::-moz-selection{text-shadow:none;background:#b3d4fc}pre[class*='language-']::selection,pre[class*='language-'] ::selection,code[class*='language-']::selection,code[class*='language-'] ::selection{text-shadow:none;background:#b3d4fc}@media print{code[class*='language-'],pre[class*='language-']{text-shadow:none}}pre[class*='language-']{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*='language-'],pre[class*='language-']{background:white}:not(pre)>code[class*='language-']{padding:.1em;border-radius:.3em}.token.comment,.token.prolog,.token.doctype,.token.cdata{color:slategray}.token.punctuation{color:#999}.namespace{opacity:.7}.token.property,.token.tag,.token.boolean,.token.number,.token.constant,.token.symbol{color:#905}.token.selector,.token.attr-name,.token.string,.token.builtin{color:#690}.token.operator,.token.entity,.token.url,.language-css .token.string,.style .token.string,.token.variable{color:#a67f59;background:rgba(255,255,255,0.5)}.token.atrule,.token.attr-value,.token.keyword{color:#07a}.token.regex,.token.important{color:#e90}.token.important{font-weight:bold}.token.entity{cursor:help}html{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}*,*::after,*::before{-webkit-box-sizing:inherit;-moz-box-sizing:inherit;box-sizing:inherit}body{font:1em/1.35 "Open Sans","Helvetica Neue Light","Helvetica Neue","Helvetica","Arial",sans-serif;overflow:auto;margin:0}a{transition:0.15s;text-decoration:none;color:#dd5a6f}a:hover,a:hover code{color:#333}table p{margin:0 0 0.5rem}:not(pre)>code{color:#dd5a6f;white-space:nowrap;font-weight:normal}@media (max-width: 800px){table,tbody,tr,td,th{display:block}thead{width:1px;height:1px;position:absolute;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}tr{padding-bottom:1em;margin-bottom:1em;border-bottom:2px solid #ddd}td::before,th::before{content:attr(data-label) ": ";text-transform:capitalize;font-weight:bold}td p,th p{display:inline}}.layout-toggle{display:none}@media (min-width: 801px){.layout-toggle{position:absolute;top:8px;left:20px;font-size:2em;cursor:pointer;color:white;display:block}}@media (min-width: 801px){.sidebar-closed .sidebar{-webkit-transform:translateX(-280px);-ms-transform:translateX(-280px);transform:translateX(-280px)}.sidebar-closed .main{padding-left:0}.sidebar-closed .header{left:0}}.list-unstyled{padding-left:0;list-style:none;line-height:1.5;margin-top:0;margin-bottom:1.5rem}.list-inline li{display:inline-block}.container{max-width:100%;width:1170px;margin:0 auto;padding:0 2rem}.relative{position:relative}.clear{clear:both}.header{position:fixed;top:0;right:0;left:280px;box-shadow:0 2px 5px rgba(0,0,0,0.26);padding:1em 0;background:#dd5a6f;color:#e0e0e0;z-index:4000}@media (max-width: 800px){.header{left:0}}@media (min-width: 801px){.header{transition:0.2s cubic-bezier(0.215, 0.61, 0.355, 1)}}.header__title{font-weight:500;text-align:center;margin:0 0 0.5em 0}.header__title a{color:#e0e0e0}@media (min-width: 801px){.header__title{float:left;font-size:1em;margin-top:.25em;margin-bottom:0}}.searchbar{display:inline-block;float:right}@media (max-width: 800px){.searchbar{display:block;float:none}}.searchbar__form{float:right;position:relative}@media (max-width: 800px){.searchbar__form{float:none}}@media (min-width: 801px){.searchbar__form{min-width:15em}}.searchbar__field{border:none;padding:0.5em;font-size:1em;margin:0;width:100%;box-shadow:0 1.5px 4px rgba(0,0,0,0.24),0 1.5px 6px rgba(0,0,0,0.12);border:1px solid #e0e0e0}.searchbar__suggestions{position:absolute;top:100%;right:0;left:0;box-shadow:0 1.5px 4px rgba(0,0,0,0.24),0 1.5px 6px rgba(0,0,0,0.12);border:1px solid #e0e0e0;background:white;padding:0;margin:0;list-style:none;z-index:2}.searchbar__suggestions:empty{display:none}.searchbar__suggestions .selected{background:#ddd}.searchbar__suggestions li{border-bottom:1px solid #e0e0e0}.searchbar__suggestions li:last-of-type{border:none}.searchbar__suggestions a{display:block;padding:0.5em;font-size:0.9em}.searchbar__suggestions a:hover,.searchbar__suggestions a:active,.searchbar__suggestions a:focus{background:#e0e0e0}.searchbar__suggestions code{margin-right:.5em}@media (min-width: 801px){.sidebar{position:fixed;top:0;bottom:0;left:0;overflow:auto;box-shadow:1px 0 1.5px rgba(0,0,0,0.12);width:280px;z-index:2;border-right:1px solid #e0e0e0;transition:0.2s cubic-bezier(0.215, 0.61, 0.355, 1)}}@media (max-width: 800px){.sidebar{margin-top:4em}}.sidebar__annotation{color:#5c4863}.sidebar__item{font-size:0.9em}.sidebar__item a{padding:0.5em 4.5em;display:block;text-decoration:none;color:#333}.sidebar__item:hover,.sidebar__item:active,.sidebar__item:focus{background:#e0e0e0}.sidebar__item.is-collapsed+*{display:none}.sidebar__item--heading{padding:1em 1.5em}.sidebar__item--heading a{font-weight:bold}.sidebar__item--sub-heading{padding:0.5em 2.5em}.sidebar__item--sub-heading a{color:#888}.sidebar__item--heading,.sidebar__item--sub-heading{position:relative}.sidebar__item--heading:after,.sidebar__item--sub-heading:after{position:absolute;top:50%;right:2em;content:'\25BC';margin-top:-0.5em;color:#ddd;font-size:0.7em}.sidebar__item--heading.is-collapsed:after,.sidebar__item--sub-heading.is-collapsed:after{content:'\25B6'}.sidebar__item--heading a,.sidebar__item--sub-heading a{padding:0;display:inline}.sidebar__description{color:#e0e0e0;padding-right:2em}.sidebar__header{border-bottom:1px solid #e0e0e0}.sidebar__title{font-size:1em;margin:0;padding:1.45em}.btn-toggle{background:#EFEFEF;border:none;border-bottom:1px solid #e0e0e0;display:block;padding:1em;width:100%;cursor:pointer;color:#999;font-weight:bold;margin:0;transition:0.15s ease-out}.btn-toggle:hover,.btn-toggle:active,.btn-toggle:focus{background:#DFDFDF}.main{background:#f9f9f9;position:relative}@media (min-width: 801px){.main{transition:0.2s cubic-bezier(0.215, 0.61, 0.355, 1);padding-left:280px;padding-top:4em;min-height:45em}}.main__section{margin-top:5em;border-top:5px solid rgba(92,72,99,0.2)}.header+.main__section{margin-top:0;border-top:none}.main__heading,.main__heading--secondary{padding:1em 0;margin-top:0}@media (min-width: 801px){.main__heading,.main__heading--secondary{padding:2em 0 0}}.main__heading{color:#5c4863;font-size:3.5em;text-align:center;border-bottom:5px solid rgba(92,72,99,0.2);padding-bottom:.5em;margin-bottom:1em;background:rgba(92,72,99,0.1)}.main__heading--secondary{font-size:3em;color:#dd5a6f;text-transform:uppercase;font-weight:bold;padding-top:0;margin-bottom:-3rem;position:relative}.main__heading--secondary .container{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.main__heading--secondary::before{content:'';position:absolute;left:0;right:0;bottom:0.15em;height:0.2em;background-color:#dd5a6f}.footer{background:#e0e0e0;padding:1em 0}.footer .container{position:relative}.footer__project-info{float:left}.footer__watermark{position:absolute;right:0;top:-0.7em}.footer__watermark img{display:block;max-width:7em}.project-info__name,.project-info__version,.project-info__license{display:inline-block}.project-info__version,.project-info__license{color:#555}.project-info__license{text-indent:-0.25em}.main__section{margin-bottom:4.5rem}.item__heading{color:#333;margin:4.5rem 0 1.5rem 0;position:relative;font-size:2em;font-weight:300;float:left}.item__name{color:#dd5a6f}.item__example{margin-bottom:1.5rem}.item__example,.item__code{box-shadow:0 1.5px 4px rgba(0,0,0,0.24),0 1.5px 6px rgba(0,0,0,0.12);border:1px solid #e0e0e0;word-wrap:break-word;line-height:1.42}.item__code{padding-right:7em;clear:both;cursor:pointer}.item__code--togglable::after{position:absolute;right:0;bottom:-2.5em;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";opacity:0;color:#c4c4c4;font-size:0.8em;transition:0.2s ease-out}.item__code--togglable:hover::after,.item__code--togglable:active::after,.item__code--togglable:focus::after{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";opacity:1}.item__code--togglable[data-current-state='expanded']::after{content:'Click to collapse.'}.item__code--togglable[data-current-state='collapsed']::after{content:'Click to expand.'}.example__description{padding:1em;background:#EFEFEF}.example__description p{margin:0}.example__code[class*='language-']{margin:0}.item__anchor{font-size:0.6em;color:#eeafb9}@media (min-width: 801px){.item__anchor{position:absolute;right:101%;bottom:0.25em;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";opacity:0}.item:hover .item__anchor{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";opacity:1}}.item__deprecated{display:inline-block;overflow:hidden;margin-top:5.5em;margin-left:1em}.item__deprecated strong{float:left;color:#c00;text-transform:uppercase}.item__deprecated p{float:left;margin:0;padding-left:0.5em}.item__type{color:#ddd;text-transform:capitalize;font-size:0.75em}.item__alias,.item__aliased{color:#ddd;font-size:0.8em}.item__sub-heading{color:#333;margin-top:0;margin-bottom:1.5rem;font-size:1.2em}.item__parameters{width:100%;margin-bottom:1em;border-collapse:collapse}.item__parameters thead th{vertical-align:bottom;border-bottom:2px solid #ddd;border-top:none;text-align:left;color:#707070}.item__parameters tbody th{text-align:left}.item__parameters td,.item__parameters th{padding:0.5em 0.5em 0.5em 0;vertical-align:top}@media (min-width: 801px){tbody>.item__parameter:first-of-type>td{border-top:none}.item__parameters td,.item__parameters th{border-top:1px solid #ddd}}.item__access{text-transform:capitalize;color:#5c4863;font-size:0.8em}.item__since{float:right;padding-top:0.9em;color:#c4c4c4;margin-bottom:1em}.item__source-link{position:absolute;top:1px;right:1px;background:white;padding:1em;z-index:2;color:#c4c4c4}.item__cross-type{color:#4d4d4d;font-family:'Consolas', 'Monaco', 'Andale Mono', monospace;font-size:0.8em}.item__description{margin-bottom:1.5rem}li.item__description{margin-bottom:0}.item__description--inline>*{display:inline-block;margin:0}.item__code-wrapper{position:relative;clear:both;margin-bottom:1.5rem}.color-preview--inline{padding:2px 4px;border:1px solid rgba(0,0,0,0.1);border-radius:3px}.color-preview--block{width:2em;height:2em;position:absolute;top:140%;right:0;top:calc(100% + 20px);border:1px solid rgba(0,0,0,0.1);border-radius:3px}
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="431.5" height="431.5" viewBox="0 0 431.5 431.5"><path fill="#DD5A6F" d="M40 0h351.5c22.092 0 40 17.908 40 40v351.5c0 22.092-17.908 40-40 40h-351.5c-22.091 0-40-17.908-40-40v-351.5c0-22.092 17.909-40 40-40z"/><path fill="#fff" d="M57.265 158.555c-.387 1.16-.822 2.32-1.305 3.48s-1.04 2.175-1.668 3.045-1.33 1.521-2.102 1.957c-.773.436-1.595.508-2.465.218-1.16-.193-1.812-1.04-1.958-2.537-.145-1.5.025-2.973.508-4.423.677-2.32 1.667-5.39 2.973-9.207 1.305-3.82 2.803-8 4.495-12.543 1.69-4.543 3.48-9.256 5.364-14.137 1.886-4.882 3.698-9.546 5.438-13.993 1.74-4.447 3.335-8.482 4.785-12.108 1.45-3.625 2.562-6.452 3.335-8.481.29-.58.725-1.063 1.305-1.45s1.184-.58 1.813-.58c.628 0 1.256.193 1.885.58.628.387 1.135 1.015 1.522 1.885.773 2.03.822 4.013.145 5.945-.677 1.547-1.643 3.939-2.9 7.177-1.257 3.24-2.682 6.888-4.278 10.948-1.595 4.06-3.262 8.362-5.002 12.905-1.74 4.543-3.383 8.87-4.93 12.978-1.547 4.108-2.948 7.805-4.205 11.092s-2.175 5.702-2.755 7.249zm77.285-36.395c-1.933-1.45-4.036-2.997-6.308-4.641-2.27-1.643-4.664-3.335-7.177-5.074 1.643 5.896 3.383 11.503 5.22 16.819.29 1.16.17 2.176-.362 3.045-.532.87-1.185 1.306-1.958 1.306-1.257-.193-2.537-.773-3.843-1.74-1.305-.967-2.2-2.127-2.682-3.48-.387-.869-.87-2.271-1.45-4.204-.58-1.934-1.257-4.205-2.03-6.815-1.643 2.417-3.166 4.785-4.567 7.105-1.402 2.319-2.73 4.543-3.988 6.67-.773 1.062-1.643 1.667-2.61 1.812-.967.146-1.692-.073-2.175-.653-.677-1.062-1.087-2.439-1.233-4.132-.145-1.691.12-3.118.798-4.277.483-.773 1.353-2.176 2.61-4.205 1.257-2.03 2.803-4.398 4.64-7.105-2.03.483-4.012.99-5.945 1.522-1.933.531-3.867 1.04-5.8 1.522-1.16.193-2.175 0-3.045-.58s-1.257-1.257-1.16-2.029c.29-1.258.942-2.393 1.957-3.407 1.016-1.017 2.2-1.716 3.553-2.104.967-.29 2.537-.699 4.712-1.232 2.176-.53 4.665-1.135 7.468-1.812-1.933-1.16-3.842-2.344-5.727-3.552-1.886-1.21-3.795-2.345-5.728-3.408-1.063-.677-1.667-1.547-1.813-2.609-.145-1.063.073-1.837.653-2.32 1.063-.677 2.344-.99 3.843-.942 1.498.048 2.827.46 3.987 1.232.967.482 2.32 1.305 4.06 2.465-.29-1.643-.532-3.214-.725-4.712-.193-1.5-.338-2.925-.435-4.278-.097-1.062.145-1.981.725-2.755.58-.772 1.257-1.208 2.03-1.305.677-.193 1.498.023 2.465.653.967.628 1.692 1.812 2.175 3.552.387 1.837.822 3.722 1.305 5.654.483 1.934.967 4.013 1.45 6.235 1.933-2.61 3.818-5.075 5.655-7.395 1.837-2.32 3.577-4.303 5.22-5.945.773-.773 1.643-1.208 2.61-1.305.967-.098 1.74.145 2.32.725.483.387.846 1.16 1.088 2.32.24 1.16-.17 2.465-1.233 3.915-1.063 1.449-2.272 3.069-3.625 4.857s-2.755 3.697-4.205 5.728c2.513-.483 4.978-.847 7.395-1.088 2.417-.24 4.688-.41 6.815-.508 1.063 0 1.982.193 2.755.58.773.388 1.208.968 1.305 1.74.097.677-.193 1.498-.87 2.465-.677.968-1.885 1.596-3.625 1.886-1.643.289-3.407.579-5.292.869-1.886.29-3.795.628-5.728 1.016 2.223 1.643 4.302 3.262 6.235 4.857 1.933 1.596 3.722 3.117 5.365 4.567.773.773 1.28 1.57 1.523 2.392.24.822.12 1.57-.363 2.248-.483.483-1.305.822-2.465 1.016-1.16.192-2.417-.194-3.77-1.161zm58.87 0c-1.933-1.45-4.036-2.997-6.307-4.641-2.272-1.643-4.665-3.335-7.178-5.074 1.643 5.896 3.383 11.503 5.22 16.819.29 1.16.17 2.176-.363 3.045-.53.87-1.184 1.306-1.957 1.306-1.257-.193-2.537-.773-3.843-1.74-1.305-.967-2.2-2.127-2.682-3.48-.387-.869-.87-2.271-1.45-4.204-.58-1.934-1.257-4.205-2.03-6.815-1.643 2.417-3.166 4.785-4.568 7.105-1.4 2.319-2.73 4.543-3.987 6.67-.773 1.062-1.643 1.667-2.61 1.812s-1.692-.073-2.175-.653c-.677-1.062-1.087-2.439-1.233-4.132-.145-1.691.12-3.118.798-4.277.483-.773 1.353-2.176 2.61-4.205 1.257-2.03 2.803-4.398 4.64-7.105-2.03.483-4.012.99-5.945 1.522-1.933.531-3.867 1.04-5.8 1.522-1.16.193-2.175 0-3.045-.58-.87-.58-1.257-1.257-1.16-2.029.29-1.258.942-2.393 1.958-3.407 1.015-1.017 2.2-1.716 3.552-2.104.967-.29 2.537-.699 4.712-1.232 2.176-.53 4.665-1.135 7.468-1.812-1.933-1.16-3.842-2.344-5.727-3.552-1.886-1.21-3.795-2.345-5.728-3.408-1.063-.677-1.667-1.547-1.813-2.609-.145-1.063.073-1.837.653-2.32 1.063-.677 2.344-.99 3.843-.942 1.498.048 2.827.46 3.987 1.232.967.482 2.32 1.305 4.06 2.465-.29-1.643-.532-3.214-.725-4.712-.193-1.5-.338-2.925-.435-4.278-.097-1.062.145-1.981.725-2.755.58-.772 1.257-1.208 2.03-1.305.677-.193 1.498.023 2.465.653.967.628 1.692 1.812 2.175 3.552.387 1.837.822 3.722 1.305 5.654.483 1.934.967 4.013 1.45 6.235 1.933-2.61 3.818-5.075 5.655-7.395 1.837-2.32 3.577-4.303 5.22-5.945.773-.773 1.643-1.208 2.61-1.305.967-.098 1.74.145 2.32.725.483.387.846 1.16 1.087 2.32.242 1.16-.17 2.465-1.232 3.915-1.062 1.449-2.271 3.069-3.625 4.857-1.353 1.788-2.755 3.697-4.205 5.728 2.513-.483 4.978-.847 7.395-1.088 2.417-.24 4.688-.41 6.815-.508 1.063 0 1.982.193 2.755.58.773.388 1.208.968 1.305 1.74.097.677-.193 1.498-.87 2.465-.677.968-1.885 1.596-3.625 1.886-1.643.289-3.407.579-5.292.869-1.886.29-3.795.628-5.728 1.016 2.223 1.643 4.302 3.262 6.235 4.857s3.722 3.117 5.365 4.567c.773.773 1.28 1.57 1.523 2.392.24.822.12 1.57-.363 2.248-.483.483-1.305.822-2.465 1.016-1.16.192-2.417-.194-3.77-1.161zm-70.79 224.59c28.288 0 48.008-17.952 48.008-45.424 0-27.2-19.72-45.288-48.144-45.288h-35.768v90.712h35.904zm-.136-17h-16.456v-56.712h16.592c18.496 0 28.288 12.376 28.288 28.288 0 15.504-10.472 28.424-28.424 28.424zm104.992 18.632c27.336 0 47.328-19.584 47.328-46.92s-19.992-46.92-47.328-46.92c-27.472 0-47.464 19.584-47.464 46.92s19.992 46.92 47.464 46.92zm0-17.136c-16.864 0-27.608-12.92-27.608-29.784 0-17 10.744-29.784 27.608-29.784 16.728 0 27.472 12.784 27.472 29.784 0 16.864-10.744 29.784-27.472 29.784zm104.992 17.136c19.856 0 31.416-11.016 37.809-22.304l-16.592-8.024c-3.809 7.345-11.969 13.192-21.217 13.192-16.592 0-28.56-12.648-28.56-29.784s11.968-29.784 28.56-29.784c9.248 0 17.408 5.849 21.217 13.192l16.592-8.16c-6.393-11.424-17.952-22.168-37.808-22.168-27.337 0-48.416 18.904-48.416 46.92-.001 27.88 21.079 46.92 48.415 46.92zm-220.628-109.76c18.876 0 28.236-9.984 28.236-22.152 0-29.016-47.424-17.472-47.424-36.348 0-7.8 7.02-13.729 18.72-13.729 9.984 0 18.096 4.057 22.464 9.984l4.524-5.771c-5.46-6.084-14.04-11.076-26.988-11.076-17.004 0-26.832 9.359-26.832 20.903 0 27.145 47.58 15.444 47.58 36.036 0 8.736-7.488 15.288-20.124 15.288-10.608 0-19.5-4.992-24.336-11.076l-4.836 5.929c7.488 8.424 16.848 12.012 29.016 12.012zm105.144-1.872v-53.04c0-16.848-12.168-24.18-27.456-24.18-12.48 0-21.216 4.212-29.016 12.636l4.524 5.616c6.864-7.8 14.196-11.076 23.712-11.076 11.076 0 20.124 6.084 20.124 17.316v15.287c-6.552-7.332-15.132-10.764-25.584-10.764-13.104 0-26.364 8.58-26.364 24.96 0 16.225 13.416 25.116 26.364 25.116 10.452 0 18.876-3.432 25.584-10.764v8.893h8.112zm-30.888-4.524c-12.324 0-20.592-7.956-20.592-18.563 0-10.764 8.268-18.72 20.592-18.72 9.048 0 17.472 3.432 22.776 10.451v16.536c-5.304 6.864-13.728 10.296-22.776 10.296zm78.624 6.396c18.876 0 28.235-9.984 28.235-22.152 0-29.016-47.424-17.472-47.424-36.348 0-7.8 7.021-13.729 18.72-13.729 9.984 0 18.097 4.057 22.464 9.984l4.524-5.771c-5.46-6.084-14.04-11.076-26.988-11.076-17.004 0-26.832 9.359-26.832 20.903 0 27.145 47.58 15.444 47.58 36.036 0 8.736-7.488 15.288-20.124 15.288-10.607 0-19.5-4.992-24.336-11.076l-4.836 5.929c7.489 8.424 16.849 12.012 29.017 12.012zm71.604 0c18.876 0 28.236-9.984 28.236-22.152 0-29.016-47.424-17.472-47.424-36.348 0-7.8 7.02-13.729 18.72-13.729 9.983 0 18.096 4.057 22.464 9.984l4.523-5.771c-5.46-6.084-14.039-11.076-26.987-11.076-17.004 0-26.832 9.359-26.832 20.903 0 27.145 47.58 15.444 47.58 36.036 0 8.736-7.488 15.288-20.124 15.288-10.608 0-19.5-4.992-24.336-11.076l-4.836 5.929c7.488 8.424 16.848 12.012 29.016 12.012z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="792" height="296.75" viewBox="0 0 792 296.75"><path fill="#DD5A6F" d="M40 0h712c22.092 0 40 17.908 40 40v216.75c0 22.092-17.908 40-40 40h-712c-22.092 0-40-17.908-40-40v-216.75c0-22.092 17.908-40 40-40z"/><path fill="#fff" d="M159.85 217.372c18.876 0 28.236-9.984 28.236-22.152 0-29.016-47.424-17.472-47.424-36.348 0-7.8 7.02-13.729 18.72-13.729 9.984 0 18.097 4.057 22.464 9.984l4.524-5.771c-5.46-6.084-14.04-11.076-26.988-11.076-17.004 0-26.832 9.359-26.832 20.903 0 27.145 47.58 15.444 47.58 36.036 0 8.736-7.488 15.288-20.124 15.288-10.607 0-19.5-4.992-24.336-11.076l-4.836 5.929c7.488 8.424 16.848 12.012 29.016 12.012zm105.144-1.872v-53.04c0-16.848-12.168-24.18-27.456-24.18-12.48 0-21.216 4.212-29.016 12.636l4.523 5.616c6.864-7.8 14.196-11.076 23.712-11.076 11.076 0 20.124 6.084 20.124 17.316v15.287c-6.552-7.332-15.132-10.764-25.584-10.764-13.104 0-26.364 8.58-26.364 24.96 0 16.225 13.416 25.116 26.364 25.116 10.452 0 18.876-3.432 25.584-10.764v8.892h8.113v.001zm-30.888-4.524c-12.324 0-20.593-7.956-20.593-18.563 0-10.764 8.269-18.72 20.593-18.72 9.048 0 17.472 3.432 22.775 10.451v16.536c-5.303 6.864-13.727 10.296-22.775 10.296zm78.624 6.396c18.875 0 28.235-9.984 28.235-22.152 0-29.016-47.424-17.472-47.424-36.348 0-7.8 7.021-13.729 18.72-13.729 9.984 0 18.097 4.057 22.464 9.984l4.524-5.771c-5.46-6.084-14.04-11.076-26.988-11.076-17.004 0-26.832 9.359-26.832 20.903 0 27.145 47.58 15.444 47.58 36.036 0 8.736-7.488 15.288-20.124 15.288-10.607 0-19.5-4.992-24.336-11.076l-4.836 5.929c7.489 8.424 16.849 12.012 29.017 12.012zm71.604 0c18.876 0 28.236-9.984 28.236-22.152 0-29.016-47.424-17.472-47.424-36.348 0-7.8 7.02-13.729 18.72-13.729 9.983 0 18.096 4.057 22.464 9.984l4.523-5.771c-5.459-6.084-14.039-11.076-26.987-11.076-17.004 0-26.832 9.359-26.832 20.903 0 27.145 47.58 15.444 47.58 36.036 0 8.736-7.488 15.288-20.124 15.288-10.608 0-19.5-4.992-24.336-11.076l-4.836 5.929c7.488 8.424 16.848 12.012 29.016 12.012zm-279.07-79.067c-.386 1.16-.819 2.32-1.304 3.48-.483 1.16-1.04 2.175-1.667 3.045-.63.87-1.33 1.521-2.103 1.957-.773.436-1.596.508-2.466.218-1.159-.193-1.812-1.04-1.957-2.537-.146-1.5.024-2.973.508-4.423.677-2.32 1.667-5.39 2.972-9.207 1.306-3.82 2.804-8 4.496-12.543 1.689-4.543 3.479-9.256 5.365-14.138 1.885-4.88 3.696-9.545 5.437-13.992s3.335-8.482 4.785-12.108c1.45-3.625 2.562-6.451 3.335-8.481.29-.58.725-1.063 1.305-1.45s1.185-.58 1.813-.58c.628 0 1.256.193 1.885.58.628.387 1.135 1.015 1.522 1.885.772 2.03.821 4.013.145 5.945-.677 1.547-1.643 3.939-2.9 7.177-1.257 3.24-2.682 6.888-4.277 10.948-1.595 4.06-3.263 8.362-5.002 12.905-1.74 4.543-3.383 8.87-4.931 12.978-1.547 4.108-2.947 7.805-4.205 11.092-1.257 3.286-2.175 5.702-2.756 7.249zm77.286-36.395c-1.933-1.45-4.036-2.997-6.308-4.641-2.271-1.643-4.664-3.335-7.177-5.074 1.643 5.896 3.383 11.503 5.22 16.819.29 1.16.17 2.176-.362 3.045-.532.87-1.185 1.306-1.958 1.306-1.257-.193-2.537-.773-3.843-1.74-1.305-.967-2.2-2.127-2.682-3.48-.388-.869-.87-2.271-1.45-4.204-.58-1.934-1.257-4.205-2.03-6.815-1.643 2.417-3.166 4.785-4.567 7.105-1.401 2.319-2.729 4.543-3.987 6.67-.773 1.062-1.644 1.667-2.61 1.812s-1.691-.073-2.175-.653c-.677-1.062-1.087-2.439-1.233-4.133-.145-1.689.12-3.117.798-4.276.483-.773 1.354-2.176 2.61-4.205 1.257-2.03 2.803-4.398 4.64-7.105-2.029.483-4.012.99-5.944 1.522-1.934.531-3.867 1.04-5.8 1.522-1.16.193-2.176 0-3.046-.58-.869-.58-1.257-1.257-1.159-2.029.29-1.258.941-2.393 1.957-3.407 1.016-1.017 2.199-1.716 3.553-2.104.967-.29 2.537-.699 4.713-1.232 2.175-.53 4.664-1.135 7.467-1.812-1.933-1.16-3.842-2.344-5.728-3.552-1.885-1.21-3.794-2.345-5.728-3.408-1.062-.677-1.667-1.547-1.812-2.609-.146-1.063.073-1.837.652-2.32 1.063-.677 2.345-.99 3.844-.942 1.498.048 2.827.46 3.986 1.232.968.482 2.32 1.305 4.061 2.465-.29-1.643-.532-3.214-.726-4.712-.192-1.5-.338-2.925-.435-4.278-.097-1.062.145-1.981.725-2.755.58-.772 1.257-1.208 2.03-1.305.677-.193 1.498.023 2.465.653.967.628 1.692 1.812 2.175 3.552.388 1.837.822 3.722 1.306 5.654.482 1.934.967 4.013 1.449 6.235 1.934-2.61 3.818-5.075 5.655-7.395 1.837-2.32 3.577-4.303 5.22-5.945.773-.773 1.644-1.208 2.61-1.305.967-.098 1.74.145 2.32.725.482.387.846 1.16 1.088 2.32.24 1.16-.17 2.465-1.233 3.915-1.062 1.449-2.271 3.069-3.625 4.857-1.353 1.788-2.755 3.697-4.205 5.728 2.514-.483 4.979-.847 7.396-1.088 2.417-.24 4.688-.41 6.815-.508 1.062 0 1.981.193 2.755.58.772.388 1.208.968 1.305 1.74.097.677-.193 1.498-.87 2.465s-1.885 1.596-3.625 1.886c-1.643.289-3.407.579-5.292.869-1.886.29-3.795.628-5.728 1.016 2.223 1.643 4.302 3.262 6.234 4.857 1.934 1.596 3.723 3.117 5.365 4.567.773.773 1.28 1.57 1.523 2.392.239.822.119 1.57-.363 2.248-.483.483-1.305.822-2.465 1.016-1.161.192-2.418-.194-3.771-1.161zm58.87 0c-1.933-1.45-4.036-2.997-6.307-4.641-2.272-1.643-4.665-3.335-7.179-5.074 1.644 5.896 3.384 11.503 5.221 16.819.29 1.16.17 2.176-.363 3.045-.53.87-1.184 1.306-1.957 1.306-1.257-.193-2.537-.773-3.843-1.74-1.305-.967-2.2-2.127-2.683-3.48-.387-.869-.869-2.271-1.449-4.204-.58-1.934-1.257-4.205-2.03-6.815-1.643 2.417-3.166 4.785-4.568 7.105-1.399 2.319-2.729 4.543-3.986 6.67-.773 1.062-1.644 1.667-2.61 1.812s-1.692-.073-2.175-.653c-.678-1.062-1.087-2.439-1.233-4.133-.145-1.689.12-3.117.798-4.276.483-.773 1.354-2.176 2.61-4.205 1.257-2.03 2.803-4.398 4.64-7.105-2.029.483-4.012.99-5.944 1.522-1.934.531-3.867 1.04-5.801 1.522-1.159.193-2.175 0-3.045-.58s-1.257-1.257-1.159-2.029c.289-1.258.941-2.393 1.957-3.407 1.016-1.017 2.2-1.716 3.553-2.104.967-.29 2.537-.699 4.712-1.232 2.176-.53 4.665-1.135 7.468-1.812-1.933-1.16-3.842-2.344-5.727-3.552-1.887-1.21-3.795-2.345-5.729-3.408-1.062-.677-1.667-1.547-1.812-2.609-.146-1.063.072-1.837.652-2.32 1.063-.677 2.345-.99 3.844-.942 1.498.048 2.826.46 3.986 1.232.967.482 2.32 1.305 4.061 2.465-.29-1.643-.532-3.214-.726-4.712-.192-1.5-.338-2.925-.435-4.278-.098-1.062.145-1.981.725-2.755.58-.772 1.257-1.208 2.03-1.305.677-.193 1.498.023 2.465.653.967.628 1.692 1.812 2.175 3.552.388 1.837.822 3.722 1.306 5.654.482 1.934.967 4.013 1.449 6.235 1.934-2.61 3.818-5.075 5.655-7.395 1.837-2.32 3.577-4.303 5.22-5.945.773-.773 1.644-1.208 2.61-1.305.967-.098 1.74.145 2.32.725.482.387.846 1.16 1.087 2.32.242 1.16-.17 2.465-1.232 3.915-1.062 1.449-2.271 3.069-3.625 4.857-1.353 1.788-2.755 3.697-4.205 5.728 2.514-.483 4.979-.847 7.396-1.088 2.417-.24 4.688-.41 6.814-.508 1.063 0 1.982.193 2.756.58.772.388 1.207.968 1.305 1.74.097.677-.193 1.498-.87 2.465s-1.885 1.596-3.625 1.886c-1.644.289-3.407.579-5.292.869-1.886.29-3.795.628-5.729 1.016 2.224 1.643 4.303 3.262 6.235 4.857s3.722 3.117 5.365 4.567c.772.773 1.28 1.57 1.522 2.392.24.822.12 1.57-.362 2.248-.483.483-1.306.822-2.465 1.016-1.161.192-2.418-.194-3.771-1.161zm221.59 116.59c25.376 0 43.066-16.104 43.066-40.748 0-24.4-17.69-40.626-43.188-40.626h-32.086v81.374h32.208zm-.122-15.25h-14.762v-50.874h14.884c16.592 0 25.376 11.102 25.376 25.376 0 13.908-9.394 25.498-25.498 25.498zm94.184 16.714c24.521 0 42.456-17.567 42.456-42.09s-17.935-42.09-42.456-42.09c-24.645 0-42.578 17.567-42.578 42.09s17.934 42.09 42.578 42.09zm0-15.372c-15.128 0-24.767-11.59-24.767-26.718 0-15.25 9.639-26.718 24.767-26.718 15.006 0 24.644 11.468 24.644 26.718 0 15.128-9.638 26.718-24.644 26.718zm94.184 15.372c17.812 0 28.182-9.882 33.916-20.008l-14.884-7.198c-3.416 6.588-10.736 11.834-19.032 11.834-14.884 0-25.62-11.346-25.62-26.718s10.736-26.718 25.62-26.718c8.296 0 15.616 5.246 19.032 11.834l14.884-7.32c-5.734-10.248-16.104-19.886-33.916-19.886-24.521 0-43.432 16.958-43.432 42.09 0 25.01 18.91 42.09 43.432 42.09z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="431.5" height="431.5" viewBox="0 0 431.5 431.5"><path fill="#5C4863" d="M112.1 231.372c18.876 0 28.236-9.983 28.236-22.152 0-29.016-47.424-17.472-47.424-36.348 0-7.8 7.02-13.728 18.72-13.728 9.984 0 18.096 4.056 22.464 9.984l4.524-5.772c-5.46-6.084-14.04-11.076-26.988-11.076-17.004 0-26.832 9.36-26.832 20.904 0 27.144 47.58 15.444 47.58 36.036 0 8.736-7.488 15.288-20.124 15.288-10.608 0-19.5-4.992-24.336-11.076l-4.836 5.928c7.488 8.424 16.848 12.012 29.016 12.012zm105.144-1.872v-53.04c0-16.848-12.168-24.18-27.456-24.18-12.48 0-21.216 4.212-29.016 12.636l4.524 5.616c6.864-7.8 14.196-11.076 23.712-11.076 11.076 0 20.124 6.084 20.124 17.316v15.288c-6.552-7.332-15.132-10.764-25.584-10.764-13.104 0-26.364 8.58-26.364 24.96 0 16.225 13.416 25.116 26.364 25.116 10.452 0 18.876-3.433 25.584-10.765v8.893h8.112zm-30.888-4.523c-12.324 0-20.592-7.957-20.592-18.564 0-10.764 8.268-18.72 20.592-18.72 9.048 0 17.472 3.432 22.776 10.452v16.536c-5.304 6.863-13.728 10.296-22.776 10.296zm78.624 6.395c18.876 0 28.235-9.983 28.235-22.152 0-29.016-47.424-17.472-47.424-36.348 0-7.8 7.02-13.728 18.72-13.728 9.984 0 18.097 4.056 22.464 9.984l4.524-5.772c-5.46-6.084-14.04-11.076-26.988-11.076-17.004 0-26.832 9.36-26.832 20.904 0 27.144 47.58 15.444 47.58 36.036 0 8.736-7.488 15.288-20.124 15.288-10.607 0-19.5-4.992-24.336-11.076l-4.836 5.928c7.489 8.424 16.849 12.012 29.017 12.012zm71.604 0c18.876 0 28.236-9.983 28.236-22.152 0-29.016-47.424-17.472-47.424-36.348 0-7.8 7.02-13.728 18.72-13.728 9.983 0 18.096 4.056 22.464 9.984l4.523-5.772c-5.46-6.084-14.039-11.076-26.987-11.076-17.004 0-26.832 9.36-26.832 20.904 0 27.144 47.58 15.444 47.58 36.036 0 8.736-7.488 15.288-20.124 15.288-10.608 0-19.5-4.992-24.336-11.076l-4.836 5.928c7.488 8.424 16.848 12.012 29.016 12.012zm-213.704 115.128c28.288 0 48.008-17.952 48.008-45.424 0-27.2-19.72-45.288-48.144-45.288h-35.768v90.712h35.904zm-.136-17h-16.456v-56.712h16.592c18.496 0 28.288 12.376 28.288 28.288 0 15.504-10.472 28.424-28.424 28.424zm104.992 18.632c27.336 0 47.328-19.584 47.328-46.92s-19.992-46.92-47.328-46.92c-27.472 0-47.464 19.584-47.464 46.92s19.992 46.92 47.464 46.92zm0-17.136c-16.864 0-27.608-12.92-27.608-29.784 0-17 10.744-29.784 27.608-29.784 16.728 0 27.472 12.784 27.472 29.784 0 16.864-10.744 29.784-27.472 29.784zm104.993 17.136c19.855 0 31.416-11.016 37.808-22.304l-16.592-8.024c-3.809 7.345-11.969 13.192-21.216 13.192-16.593 0-28.561-12.648-28.561-29.784s11.968-29.784 28.561-29.784c9.247 0 17.407 5.848 21.216 13.192l16.592-8.16c-6.393-11.424-17.952-22.168-37.808-22.168-27.337 0-48.416 18.903-48.416 46.92-.001 27.88 21.079 46.92 48.416 46.92z"/><path fill="#DD5A6F" d="M57.515 152.305c-.387 1.16-.822 2.32-1.305 3.48-.483 1.16-1.04 2.175-1.668 3.045s-1.33 1.522-2.102 1.957c-.773.436-1.595.508-2.465.218-1.16-.193-1.812-1.04-1.958-2.538-.145-1.498.025-2.972.508-4.422.677-2.32 1.667-5.39 2.972-9.208 1.306-3.818 2.804-8 4.495-12.542 1.692-4.543 3.48-9.256 5.365-14.138 1.886-4.88 3.698-9.545 5.438-13.992 1.74-4.447 3.335-8.482 4.785-12.108 1.45-3.625 2.562-6.452 3.335-8.482.29-.58.725-1.063 1.305-1.45s1.184-.58 1.813-.58c.628 0 1.256.193 1.885.58.628.387 1.135 1.015 1.522 1.885.773 2.03.822 4.012.145 5.945-.677 1.547-1.643 3.94-2.9 7.177-1.257 3.24-2.682 6.888-4.277 10.948-1.596 4.06-3.263 8.362-5.003 12.905-1.74 4.543-3.383 8.87-4.93 12.977-1.547 4.11-2.948 7.806-4.205 11.093-1.257 3.287-2.175 5.703-2.755 7.25zm77.285-36.395c-1.933-1.45-4.036-2.997-6.308-4.64-2.27-1.643-4.664-3.335-7.177-5.075 1.643 5.897 3.383 11.503 5.22 16.82.29 1.16.17 2.175-.363 3.045-.53.87-1.184 1.305-1.957 1.305-1.257-.193-2.537-.773-3.843-1.74-1.305-.967-2.2-2.127-2.682-3.48-.387-.87-.87-2.272-1.45-4.205-.58-1.933-1.257-4.205-2.03-6.815-1.643 2.417-3.166 4.785-4.568 7.105-1.4 2.32-2.73 4.543-3.987 6.67-.773 1.063-1.643 1.667-2.61 1.812-.967.146-1.692-.072-2.175-.652-.677-1.063-1.087-2.44-1.233-4.133-.145-1.69.12-3.117.798-4.277.483-.773 1.353-2.175 2.61-4.205 1.257-2.03 2.803-4.398 4.64-7.105-2.03.483-4.012.99-5.945 1.522-1.933.532-3.867 1.04-5.8 1.523-1.16.193-2.175 0-3.045-.58-.87-.58-1.257-1.257-1.16-2.03.29-1.257.942-2.392 1.957-3.407 1.016-1.016 2.2-1.716 3.553-2.103.967-.29 2.537-.7 4.712-1.232 2.176-.532 4.665-1.136 7.468-1.813-1.933-1.16-3.842-2.344-5.728-3.552-1.885-1.21-3.794-2.345-5.727-3.408-1.063-.677-1.667-1.547-1.813-2.61-.145-1.063.073-1.837.653-2.32 1.063-.677 2.344-.99 3.842-.942 1.5.048 2.828.46 3.988 1.232.967.483 2.32 1.305 4.06 2.465-.29-1.643-.532-3.214-.725-4.712-.193-1.5-.338-2.925-.435-4.278-.097-1.063.145-1.982.725-2.755s1.257-1.208 2.03-1.305c.677-.193 1.498.024 2.465.653.967.628 1.692 1.812 2.175 3.552.387 1.837.822 3.722 1.305 5.655.483 1.933.967 4.012 1.45 6.235 1.933-2.61 3.818-5.075 5.655-7.395 1.837-2.32 3.577-4.302 5.22-5.945.773-.773 1.643-1.208 2.61-1.305.967-.097 1.74.145 2.32.725.483.387.846 1.16 1.087 2.32.242 1.16-.17 2.465-1.232 3.915-1.063 1.45-2.272 3.07-3.625 4.858-1.353 1.788-2.755 3.697-4.205 5.727 2.513-.483 4.978-.846 7.395-1.087 2.417-.242 4.688-.41 6.815-.508 1.063 0 1.982.193 2.755.58.773.387 1.208.967 1.305 1.74.097.677-.193 1.498-.87 2.465-.677.967-1.885 1.595-3.625 1.885-1.643.29-3.407.58-5.293.87-1.885.29-3.794.628-5.727 1.015 2.223 1.643 4.302 3.262 6.235 4.858 1.933 1.595 3.722 3.117 5.365 4.567.773.773 1.28 1.57 1.522 2.393.242.82.12 1.57-.362 2.247-.483.483-1.305.822-2.465 1.015-1.16.193-2.417-.193-3.77-1.16zm58.87 0c-1.933-1.45-4.036-2.997-6.308-4.64-2.27-1.643-4.664-3.335-7.177-5.075 1.643 5.897 3.383 11.503 5.22 16.82.29 1.16.17 2.175-.363 3.045-.53.87-1.184 1.305-1.957 1.305-1.257-.193-2.537-.773-3.843-1.74-1.305-.967-2.2-2.127-2.682-3.48-.387-.87-.87-2.272-1.45-4.205s-1.257-4.205-2.03-6.815c-1.643 2.417-3.166 4.785-4.568 7.105-1.4 2.32-2.73 4.543-3.987 6.67-.773 1.063-1.643 1.667-2.61 1.812-.967.146-1.692-.072-2.175-.652-.677-1.063-1.087-2.44-1.233-4.133-.145-1.69.12-3.117.798-4.277.483-.773 1.353-2.175 2.61-4.205 1.257-2.03 2.803-4.398 4.64-7.105-2.03.483-4.012.99-5.945 1.522-1.933.532-3.867 1.04-5.8 1.523-1.16.193-2.175 0-3.045-.58-.87-.58-1.257-1.257-1.16-2.03.29-1.257.942-2.392 1.957-3.407 1.016-1.016 2.2-1.716 3.553-2.103.967-.29 2.537-.7 4.712-1.232 2.176-.532 4.665-1.136 7.468-1.813-1.933-1.16-3.842-2.344-5.728-3.552-1.885-1.21-3.794-2.345-5.727-3.408-1.063-.677-1.667-1.547-1.813-2.61-.145-1.063.073-1.837.653-2.32 1.063-.677 2.344-.99 3.842-.942 1.5.048 2.828.46 3.988 1.232.967.483 2.32 1.305 4.06 2.465-.29-1.643-.532-3.214-.725-4.712-.193-1.5-.338-2.925-.435-4.278-.097-1.063.145-1.982.725-2.755.58-.773 1.257-1.208 2.03-1.305.677-.193 1.498.024 2.465.653.967.628 1.692 1.812 2.175 3.552.387 1.837.822 3.722 1.305 5.655s.967 4.012 1.45 6.235c1.933-2.61 3.818-5.075 5.655-7.395 1.837-2.32 3.577-4.302 5.22-5.945.773-.773 1.643-1.208 2.61-1.305.967-.097 1.74.145 2.32.725.483.387.846 1.16 1.087 2.32.242 1.16-.17 2.465-1.232 3.915-1.063 1.45-2.272 3.07-3.625 4.858-1.353 1.788-2.755 3.697-4.205 5.727 2.513-.483 4.978-.846 7.395-1.087 2.417-.242 4.688-.41 6.815-.508 1.063 0 1.982.193 2.755.58.773.387 1.208.967 1.305 1.74.097.677-.193 1.498-.87 2.465-.677.967-1.885 1.595-3.625 1.885-1.643.29-3.407.58-5.293.87-1.885.29-3.794.628-5.727 1.015 2.223 1.643 4.302 3.262 6.235 4.858 1.933 1.595 3.722 3.117 5.365 4.567.773.773 1.28 1.57 1.522 2.393.242.82.12 1.57-.362 2.247-.483.483-1.305.822-2.465 1.015-1.16.193-2.417-.193-3.77-1.16z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="792" height="296.75" viewBox="0 0 792 296.75"><path fill="#5C4863" d="M160.1 217.372c18.876 0 28.236-9.984 28.236-22.152 0-29.016-47.424-17.472-47.424-36.348 0-7.8 7.02-13.728 18.72-13.728 9.984 0 18.096 4.056 22.464 9.983l4.524-5.772c-5.46-6.084-14.04-11.075-26.988-11.075-17.004 0-26.832 9.36-26.832 20.903 0 27.145 47.58 15.444 47.58 36.036 0 8.736-7.488 15.288-20.124 15.288-10.607 0-19.5-4.992-24.336-11.076l-4.836 5.929c7.488 8.424 16.848 12.012 29.016 12.012zm105.144-1.872v-53.04c0-16.849-12.168-24.18-27.456-24.18-12.48 0-21.216 4.212-29.017 12.636l4.524 5.616c6.864-7.8 14.196-11.076 23.712-11.076 11.076 0 20.124 6.084 20.124 17.315v15.288c-6.552-7.332-15.132-10.764-25.584-10.764-13.104 0-26.364 8.58-26.364 24.96 0 16.225 13.416 25.116 26.364 25.116 10.452 0 18.876-3.432 25.584-10.764v8.892h8.113v.001zm-30.889-4.524c-12.323 0-20.592-7.956-20.592-18.563 0-10.764 8.269-18.72 20.592-18.72 9.049 0 17.473 3.432 22.776 10.451v16.536c-5.303 6.864-13.727 10.296-22.776 10.296zm78.625 6.396c18.875 0 28.235-9.984 28.235-22.152 0-29.016-47.424-17.472-47.424-36.348 0-7.8 7.021-13.728 18.72-13.728 9.984 0 18.096 4.056 22.464 9.983l4.524-5.772c-5.46-6.084-14.04-11.075-26.988-11.075-17.004 0-26.832 9.36-26.832 20.903 0 27.145 47.58 15.444 47.58 36.036 0 8.736-7.488 15.288-20.124 15.288-10.608 0-19.5-4.992-24.336-11.076l-4.836 5.929c7.489 8.424 16.849 12.012 29.017 12.012zm71.604 0c18.876 0 28.236-9.984 28.236-22.152 0-29.016-47.424-17.472-47.424-36.348 0-7.8 7.02-13.728 18.72-13.728 9.983 0 18.096 4.056 22.464 9.983l4.523-5.772c-5.459-6.084-14.039-11.075-26.987-11.075-17.004 0-26.832 9.36-26.832 20.903 0 27.145 47.58 15.444 47.58 36.036 0 8.736-7.488 15.288-20.124 15.288-10.608 0-19.5-4.992-24.336-11.076l-4.837 5.929c7.489 8.424 16.849 12.012 29.017 12.012zm78.676 1.128c25.376 0 43.066-16.104 43.066-40.748 0-24.4-17.69-40.626-43.188-40.626h-32.086v81.374h32.208zm-.122-15.25h-14.762v-50.874h14.884c16.593 0 25.376 11.103 25.376 25.376 0 13.908-9.394 25.498-25.498 25.498zm94.184 16.714c24.521 0 42.456-17.567 42.456-42.09s-17.935-42.09-42.456-42.09c-24.645 0-42.578 17.567-42.578 42.09s17.934 42.09 42.578 42.09zm0-15.372c-15.128 0-24.767-11.59-24.767-26.718 0-15.25 9.639-26.718 24.767-26.718 15.006 0 24.644 11.468 24.644 26.718 0 15.128-9.638 26.718-24.644 26.718zm94.184 15.372c17.812 0 28.182-9.882 33.916-20.008l-14.884-7.198c-3.416 6.588-10.736 11.834-19.032 11.834-14.884 0-25.62-11.346-25.62-26.718s10.736-26.718 25.62-26.718c8.296 0 15.616 5.246 19.032 11.834l14.884-7.32c-5.734-10.248-16.104-19.886-33.916-19.886-24.521 0-43.432 16.958-43.432 42.09 0 25.01 18.91 42.09 43.432 42.09z"/><path fill="#DD5A6F" d="M105.515 138.305c-.387 1.16-.821 2.32-1.305 3.48s-1.04 2.175-1.668 3.045-1.33 1.521-2.102 1.957c-.773.436-1.596.508-2.466.218-1.159-.192-1.812-1.04-1.958-2.537-.145-1.5.025-2.973.509-4.423.677-2.32 1.667-5.39 2.973-9.208 1.305-3.818 2.803-8 4.495-12.542 1.689-4.543 3.479-9.256 5.365-14.138 1.885-4.88 3.696-9.545 5.437-13.992 1.74-4.447 3.335-8.482 4.785-12.108 1.45-3.625 2.562-6.452 3.335-8.482.29-.58.725-1.063 1.305-1.45s1.185-.58 1.813-.58c.628 0 1.256.193 1.885.58.628.387 1.135 1.015 1.521 1.885.773 2.03.822 4.012.146 5.945-.677 1.547-1.643 3.94-2.9 7.177-1.257 3.24-2.682 6.888-4.276 10.948-1.597 4.06-3.264 8.362-5.003 12.905-1.74 4.543-3.384 8.87-4.931 12.977-1.547 4.11-2.947 7.806-4.205 11.093-1.257 3.287-2.175 5.703-2.755 7.25zm77.285-36.395c-1.933-1.45-4.036-2.997-6.307-4.64-2.272-1.643-4.665-3.335-7.178-5.075 1.643 5.897 3.383 11.503 5.22 16.82.29 1.16.17 2.175-.362 3.045s-1.185 1.305-1.958 1.305c-1.257-.193-2.537-.773-3.843-1.74-1.305-.967-2.2-2.127-2.683-3.48-.387-.87-.869-2.272-1.449-4.205s-1.258-4.205-2.03-6.815c-1.644 2.417-3.166 4.785-4.567 7.105s-2.729 4.543-3.987 6.67c-.773 1.063-1.644 1.667-2.61 1.812-.967.146-1.692-.072-2.175-.652-.677-1.063-1.087-2.44-1.232-4.133-.146-1.69.12-3.117.797-4.277.483-.773 1.354-2.175 2.61-4.205 1.257-2.03 2.803-4.398 4.64-7.105-2.029.483-4.012.99-5.944 1.522-1.934.532-3.867 1.04-5.801 1.523-1.159.193-2.175 0-3.045-.58-.869-.58-1.257-1.257-1.159-2.03.29-1.257.941-2.392 1.958-3.407 1.015-1.016 2.199-1.716 3.552-2.103.967-.29 2.537-.7 4.713-1.232 2.175-.532 4.664-1.136 7.467-1.813-1.933-1.16-3.842-2.344-5.727-3.552-1.886-1.21-3.795-2.345-5.729-3.408-1.062-.677-1.667-1.547-1.812-2.61-.146-1.063.072-1.837.651-2.32 1.063-.677 2.345-.99 3.844-.942 1.498.048 2.827.46 3.986 1.232.968.483 2.32 1.305 4.061 2.465-.29-1.643-.532-3.214-.726-4.712-.192-1.5-.338-2.925-.435-4.278-.097-1.062.145-1.982.725-2.755s1.257-1.208 2.03-1.305c.677-.193 1.498.024 2.465.653.967.628 1.692 1.812 2.175 3.552.388 1.837.822 3.722 1.306 5.655.482 1.933.967 4.012 1.45 6.235 1.933-2.61 3.817-5.075 5.654-7.395 1.837-2.32 3.577-4.302 5.221-5.945.772-.773 1.643-1.208 2.609-1.305.967-.097 1.74.145 2.32.725.482.387.846 1.16 1.088 2.32.24 1.16-.17 2.465-1.233 3.915-1.062 1.45-2.271 3.07-3.625 4.858-1.353 1.788-2.755 3.697-4.205 5.727 2.514-.483 4.979-.846 7.396-1.088 2.417-.24 4.688-.41 6.815-.507 1.062 0 1.981.193 2.755.58.772.387 1.208.967 1.305 1.74.097.677-.193 1.498-.87 2.465-.677.967-1.885 1.595-3.625 1.885-1.643.29-3.407.58-5.292.87-1.886.29-3.795.628-5.728 1.015 2.223 1.643 4.302 3.262 6.234 4.858 1.934 1.595 3.723 3.117 5.365 4.567.773.773 1.28 1.57 1.523 2.393.239.82.119 1.57-.363 2.247-.483.483-1.305.822-2.465 1.015-1.16.193-2.417-.193-3.77-1.16zm58.87 0c-1.933-1.45-4.036-2.997-6.308-4.64-2.271-1.643-4.664-3.335-7.177-5.075 1.643 5.897 3.383 11.503 5.22 16.82.29 1.16.17 2.175-.363 3.045-.53.87-1.184 1.305-1.957 1.305-1.257-.193-2.537-.773-3.843-1.74s-2.2-2.127-2.683-3.48c-.387-.87-.87-2.272-1.449-4.205-.58-1.933-1.257-4.205-2.03-6.815-1.644 2.417-3.166 4.785-4.567 7.105s-2.729 4.543-3.987 6.67c-.773 1.063-1.644 1.667-2.61 1.812-.967.146-1.692-.072-2.175-.652-.678-1.063-1.087-2.44-1.233-4.133-.145-1.69.12-3.117.798-4.277.483-.773 1.354-2.175 2.61-4.205 1.257-2.03 2.803-4.398 4.64-7.105-2.029.483-4.012.99-5.944 1.522-1.934.532-3.867 1.04-5.801 1.523-1.159.193-2.175 0-3.045-.58-.87-.58-1.257-1.257-1.159-2.03.289-1.257.941-2.392 1.958-3.407 1.015-1.016 2.199-1.716 3.552-2.103.967-.29 2.537-.7 4.713-1.232 2.175-.532 4.664-1.136 7.467-1.813-1.933-1.16-3.842-2.344-5.727-3.552-1.887-1.21-3.795-2.345-5.729-3.408-1.062-.677-1.667-1.547-1.812-2.61-.146-1.063.071-1.837.651-2.32 1.063-.677 2.345-.99 3.844-.942 1.498.048 2.826.46 3.986 1.232.967.483 2.32 1.305 4.061 2.465-.29-1.643-.532-3.214-.726-4.712-.192-1.5-.338-2.925-.435-4.278-.097-1.062.145-1.982.725-2.755s1.257-1.208 2.03-1.305c.677-.193 1.498.024 2.465.653.967.628 1.692 1.812 2.175 3.552.388 1.837.822 3.722 1.306 5.655.482 1.933.967 4.012 1.45 6.235 1.933-2.61 3.817-5.075 5.654-7.395 1.837-2.32 3.577-4.302 5.221-5.945.772-.773 1.643-1.208 2.609-1.305.967-.097 1.74.145 2.32.725.482.387.846 1.16 1.087 2.32.242 1.16-.17 2.465-1.232 3.915-1.062 1.45-2.271 3.07-3.625 4.858-1.353 1.788-2.755 3.697-4.205 5.727 2.514-.483 4.979-.846 7.396-1.088 2.417-.24 4.688-.41 6.814-.507 1.063 0 1.982.193 2.756.58.772.387 1.207.967 1.305 1.74.097.677-.193 1.498-.87 2.465-.677.967-1.885 1.595-3.625 1.885-1.643.29-3.407.58-5.292.87-1.886.29-3.795.628-5.729 1.015 2.224 1.643 4.303 3.262 6.235 4.858 1.933 1.595 3.722 3.117 5.365 4.567.772.773 1.28 1.57 1.522 2.393.24.82.12 1.57-.362 2.247-.483.483-1.306.822-2.466 1.015-1.159.193-2.416-.193-3.769-1.16z"/></svg>
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/* global document */
|
|
2
|
+
|
|
3
|
+
(function ($, global) {
|
|
4
|
+
'use strict';
|
|
5
|
+
|
|
6
|
+
// Constructor
|
|
7
|
+
var App = function (conf) {
|
|
8
|
+
this.conf = $.extend({
|
|
9
|
+
// Search module
|
|
10
|
+
search: new global.Search(),
|
|
11
|
+
|
|
12
|
+
// Sidebar module
|
|
13
|
+
sidebar: new global.Sidebar(),
|
|
14
|
+
|
|
15
|
+
// Initialisation
|
|
16
|
+
init: true
|
|
17
|
+
}, conf || {});
|
|
18
|
+
|
|
19
|
+
// Launch the module
|
|
20
|
+
if (this.conf.init !== false) {
|
|
21
|
+
this.initialize();
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
// Initialisation method
|
|
26
|
+
App.prototype.initialize = function () {
|
|
27
|
+
this.codePreview();
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
// Toggle code preview collapsed/expanded modes
|
|
31
|
+
App.prototype.codePreview = function () {
|
|
32
|
+
var $item;
|
|
33
|
+
var $code;
|
|
34
|
+
var switchTo;
|
|
35
|
+
|
|
36
|
+
$('.item__code--togglable').on('click', function () {
|
|
37
|
+
$item = $(this);
|
|
38
|
+
$code = $item.find('code');
|
|
39
|
+
switchTo = $item.attr('data-current-state') === 'expanded' ? 'collapsed' : 'expanded';
|
|
40
|
+
|
|
41
|
+
$item.attr('data-current-state', switchTo);
|
|
42
|
+
$code.html($item.attr('data-' + switchTo));
|
|
43
|
+
Prism.highlightElement($code[0]);
|
|
44
|
+
});
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
global.App = App;
|
|
48
|
+
}(window.jQuery, window));
|
|
49
|
+
|
|
50
|
+
(function ($, global) {
|
|
51
|
+
|
|
52
|
+
$(document).ready(function () {
|
|
53
|
+
var app = new global.App();
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
}(window.jQuery, window));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(t){function e(t,n){this.list=t,this.options=n=n||{};var i,o,s;for(i=0,keys=["sort","includeScore","shouldSort"],o=keys.length;o>i;i++)s=keys[i],this.options[s]=s in n?n[s]:e.defaultOptions[s];for(i=0,keys=["searchFn","sortFn","keys","getFn"],o=keys.length;o>i;i++)s=keys[i],this.options[s]=n[s]||e.defaultOptions[s]}var n=function(t,e){if(e=e||{},this.options=e,this.options.location=e.location||n.defaultOptions.location,this.options.distance="distance"in e?e.distance:n.defaultOptions.distance,this.options.threshold="threshold"in e?e.threshold:n.defaultOptions.threshold,this.options.maxPatternLength=e.maxPatternLength||n.defaultOptions.maxPatternLength,this.pattern=e.caseSensitive?t:t.toLowerCase(),this.patternLen=t.length,this.patternLen>this.options.maxPatternLength)throw new Error("Pattern length is too long");this.matchmask=1<<this.patternLen-1,this.patternAlphabet=this._calculatePatternAlphabet()};n.defaultOptions={location:0,distance:100,threshold:.6,maxPatternLength:32},n.prototype._calculatePatternAlphabet=function(){var t={},e=0;for(e=0;e<this.patternLen;e++)t[this.pattern.charAt(e)]=0;for(e=0;e<this.patternLen;e++)t[this.pattern.charAt(e)]|=1<<this.pattern.length-e-1;return t},n.prototype._bitapScore=function(t,e){var n=t/this.patternLen,i=Math.abs(this.options.location-e);return this.options.distance?n+i/this.options.distance:i?1:n},n.prototype.search=function(t){if(t=this.options.caseSensitive?t:t.toLowerCase(),this.pattern===t)return{isMatch:!0,score:0};var e,n,i,o,s,r,a,h,p,c=t.length,l=this.options.location,u=this.options.threshold,f=t.indexOf(this.pattern,l),d=this.patternLen+c,g=1,m=[];for(-1!=f&&(u=Math.min(this._bitapScore(0,f),u),f=t.lastIndexOf(this.pattern,l+this.patternLen),-1!=f&&(u=Math.min(this._bitapScore(0,f),u))),f=-1,e=0;e<this.patternLen;e++){for(i=0,o=d;o>i;)this._bitapScore(e,l+o)<=u?i=o:d=o,o=Math.floor((d-i)/2+i);for(d=o,s=Math.max(1,l-o+1),r=Math.min(l+o,c)+this.patternLen,a=Array(r+2),a[r+1]=(1<<e)-1,n=r;n>=s;n--)if(p=this.patternAlphabet[t.charAt(n-1)],a[n]=0===e?(a[n+1]<<1|1)&p:(a[n+1]<<1|1)&p|((h[n+1]|h[n])<<1|1)|h[n+1],a[n]&this.matchmask&&(g=this._bitapScore(e,n-1),u>=g)){if(u=g,f=n-1,m.push(f),!(f>l))break;s=Math.max(1,2*l-f)}if(this._bitapScore(e+1,l)>u)break;h=a}return{isMatch:f>=0,score:g}};var i={deepValue:function(t,e){for(var n=0,e=e.split("."),i=e.length;i>n;n++){if(!t)return null;t=t[e[n]]}return t}};e.defaultOptions={id:null,caseSensitive:!1,includeScore:!1,shouldSort:!0,searchFn:n,sortFn:function(t,e){return t.score-e.score},getFn:i.deepValue,keys:[]},e.prototype.search=function(t){var e,n,o,s,r,a=new this.options.searchFn(t,this.options),h=this.list,p=h.length,c=this.options,l=this.options.keys,u=l.length,f=[],d={},g=[],m=function(t,e,n){void 0!==t&&null!==t&&"string"==typeof t&&(s=a.search(t),s.isMatch&&(r=d[n],r?r.score=Math.min(r.score,s.score):(d[n]={item:e,score:s.score},f.push(d[n]))))};if("string"==typeof h[0])for(var e=0;p>e;e++)m(h[e],e,e);else for(var e=0;p>e;e++)for(o=h[e],n=0;u>n;n++)m(this.options.getFn(o,l[n]),o,e);c.shouldSort&&f.sort(c.sortFn);for(var y=c.includeScore?function(t){return f[t]}:function(t){return f[t].item},L=c.id?function(t){return i.deepValue(y(t),c.id)}:function(t){return y(t)},e=0,v=f.length;v>e;e++)g.push(L(e));return g},"object"==typeof exports?module.exports=e:"function"==typeof define&&define.amd?define(function(){return e}):t.Fuse=e}(this);(function($,global){var Sidebar=function(conf){this.conf=$.extend({collapsedClass:"is-collapsed",storageKey:"_sassdoc_sidebar_index",indexAttribute:"data-slug",toggleBtn:".js-btn-toggle",init:true},conf||{});if(this.conf.init===true){this.initialize()}};Sidebar.prototype.initialize=function(){this.conf.nodes=$("["+this.conf.indexAttribute+"]");this.load();this.updateDOM();this.bind();this.loadToggle()};Sidebar.prototype.loadToggle=function(){$("<span />",{"class":"layout-toggle",html:"×","data-alt":"→"}).appendTo($(".header"));$(".layout-toggle").on("click",function(){var $this=$(this);var alt;$("body").toggleClass("sidebar-closed");alt=$this.html();$this.html($this.data("alt"));$this.data("alt",alt)})};Sidebar.prototype.load=function(){var index="localStorage"in global?global.localStorage.getItem(this.conf.storageKey):null;this.index=index?JSON.parse(index):this.buildIndex()};Sidebar.prototype.buildIndex=function(){var index={};var $item;this.conf.nodes.each($.proxy(function(index,item){$item=$(item);index[$item.attr(this.conf.indexAttribute)]=!$item.hasClass(this.conf.collapsedClass)},this));return index};Sidebar.prototype.updateDOM=function(){var item;for(item in this.index){if(this.index[item]===false){$("["+this.conf.indexAttribute+'="'+item+'"]').addClass(this.conf.collapsedClass)}}};Sidebar.prototype.save=function(){if(!("localStorage"in global)){return}global.localStorage.setItem(this.conf.storageKey,JSON.stringify(this.index))};Sidebar.prototype.bind=function(){var $item,slug,fn,text;var collapsed=false;global.onbeforeunload=$.proxy(function(){this.save()},this);$(this.conf.toggleBtn).on("click",$.proxy(function(event){$node=$(event.target);text=$node.attr("data-alt");$node.attr("data-alt",$node.text());$node.text(text);fn=collapsed===true?"removeClass":"addClass";this.conf.nodes.each($.proxy(function(index,item){$item=$(item);slug=$item.attr(this.conf.indexAttribute);this.index[slug]=collapsed;$("["+this.conf.indexAttribute+'="'+slug+'"]')[fn](this.conf.collapsedClass)},this));collapsed=!collapsed;this.save()},this));this.conf.nodes.on("click",$.proxy(function(event){$item=$(event.target);slug=$item.attr(this.conf.indexAttribute);this.index[slug]=!this.index[slug];$item.toggleClass(this.conf.collapsedClass)},this))};global.Sidebar=Sidebar})(window.jQuery,window);(function($,global){var Search=function(conf){this.conf=$.extend({search:{items:".sassdoc__item",input:"#js-search-input",form:"#js-search",suggestionsWrapper:"#js-search-suggestions"},fuse:{keys:["name"],threshold:.3},init:true},conf||{});if(this.conf.init===true){this.initialize()}};Search.prototype.initialize=function(){this.index=new Fuse($.map($(this.conf.search.items),function(item){var $item=$(item);return{group:$item.data("group"),name:$item.data("name"),type:$item.data("type"),node:$item}}),this.conf.fuse);this.initializeSearch()};Search.prototype.fillSuggestions=function(items){var searchSuggestions=$(this.conf.search.suggestionsWrapper);searchSuggestions.html("");var suggestions=$.map(items.slice(0,10),function(item){var $li=$("<li />",{"data-group":item.group,"data-type":item.type,"data-name":item.name,html:'<a href="#'+item.group+"-"+item.type+"-"+item.name+'"><code>'+item.type.slice(0,3)+"</code> "+item.name+"</a>"});searchSuggestions.append($li);return $li});return suggestions};Search.prototype.search=function(term){return this.fillSuggestions(this.index.search(term))};Search.prototype.initializeSearch=function(){var searchForm=$(this.conf.search.form);var searchInput=$(this.conf.search.input);var searchSuggestions=$(this.conf.search.suggestionsWrapper);var currentSelection=-1;var suggestions=[];var selected;var self=this;searchSuggestions.on("click",function(e){var target=$(event.target);if(target.nodeName==="A"){searchInput.val(target.parent().data("name"));suggestions=self.fillSuggestions([])}});searchForm.on("keyup",function(e){e.preventDefault();if(e.keyCode===13){if(selected){suggestions=self.fillSuggestions([]);searchInput.val(selected.data("name"));window.location=selected.children().first().attr("href")}e.stopPropagation()}if(e.keyCode===40){currentSelection=(currentSelection+1)%suggestions.length}if(e.keyCode===38){currentSelection=currentSelection-1;if(currentSelection<0){currentSelection=suggestions.length-1}}if(suggestions[currentSelection]){if(selected){selected.removeClass("selected")}selected=suggestions[currentSelection];selected.addClass("selected")}});searchInput.on("keyup",function(e){if(e.keyCode!==40&&e.keyCode!==38){currentSelection=-1;suggestions=self.search($(this).val())}else{e.preventDefault()}}).on("search",function(){suggestions=self.search($(this).val())})};global.Search=Search})(window.jQuery,window);(function($,global){"use strict";var App=function(conf){this.conf=$.extend({search:new global.Search,sidebar:new global.Sidebar,init:true},conf||{});if(this.conf.init!==false){this.initialize()}};App.prototype.initialize=function(){this.codePreview()};App.prototype.codePreview=function(){var $item;var $code;var switchTo;$(".item__code--togglable").on("click",function(){$item=$(this);$code=$item.find("code");switchTo=$item.attr("data-current-state")==="expanded"?"collapsed":"expanded";$item.attr("data-current-state",switchTo);$code.html($item.attr("data-"+switchTo));Prism.highlightElement($code[0])})};global.App=App})(window.jQuery,window);(function($,global){$(document).ready(function(){var app=new global.App})})(window.jQuery,window);var self=typeof window!="undefined"?window:{},Prism=function(){var e=/\blang(?:uage)?-(?!\*)(\w+)\b/i,t=self.Prism={util:{encode:function(e){return e instanceof n?new n(e.type,t.util.encode(e.content)):t.util.type(e)==="Array"?e.map(t.util.encode):e.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).match(/\[object (\w+)\]/)[1]},clone:function(e){var n=t.util.type(e);switch(n){case"Object":var r={};for(var i in e)e.hasOwnProperty(i)&&(r[i]=t.util.clone(e[i]));return r;case"Array":return e.slice()}return e}},languages:{extend:function(e,n){var r=t.util.clone(t.languages[e]);for(var i in n)r[i]=n[i];return r},insertBefore:function(e,n,r,i){i=i||t.languages;var s=i[e],o={};for(var u in s)if(s.hasOwnProperty(u)){if(u==n)for(var a in r)r.hasOwnProperty(a)&&(o[a]=r[a]);o[u]=s[u]}return i[e]=o},DFS:function(e,n){for(var r in e){n.call(e,r,e[r]);t.util.type(e)==="Object"&&t.languages.DFS(e[r],n)}}},highlightAll:function(e,n){var r=document.querySelectorAll('code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code');for(var i=0,s;s=r[i++];)t.highlightElement(s,e===!0,n)},highlightElement:function(r,i,s){var o,u,a=r;while(a&&!e.test(a.className))a=a.parentNode;if(a){o=(a.className.match(e)||[,""])[1];u=t.languages[o]}if(!u)return;r.className=r.className.replace(e,"").replace(/\s+/g," ")+" language-"+o;a=r.parentNode;/pre/i.test(a.nodeName)&&(a.className=a.className.replace(e,"").replace(/\s+/g," ")+" language-"+o);var f=r.textContent;if(!f)return;var l={element:r,language:o,grammar:u,code:f};t.hooks.run("before-highlight",l);if(i&&self.Worker){var c=new Worker(t.filename);c.onmessage=function(e){l.highlightedCode=n.stringify(JSON.parse(e.data),o);t.hooks.run("before-insert",l);l.element.innerHTML=l.highlightedCode;s&&s.call(l.element);t.hooks.run("after-highlight",l)};c.postMessage(JSON.stringify({language:l.language,code:l.code}))}else{l.highlightedCode=t.highlight(l.code,l.grammar,l.language);t.hooks.run("before-insert",l);l.element.innerHTML=l.highlightedCode;s&&s.call(r);t.hooks.run("after-highlight",l)}},highlight:function(e,r,i){var s=t.tokenize(e,r);return n.stringify(t.util.encode(s),i)},tokenize:function(e,n,r){var i=t.Token,s=[e],o=n.rest;if(o){for(var u in o)n[u]=o[u];delete n.rest}e:for(var u in n){if(!n.hasOwnProperty(u)||!n[u])continue;var a=n[u],f=a.inside,l=!!a.lookbehind,c=0;a=a.pattern||a;for(var h=0;h<s.length;h++){var p=s[h];if(s.length>e.length)break e;if(p instanceof i)continue;a.lastIndex=0;var d=a.exec(p);if(d){l&&(c=d[1].length);var v=d.index-1+c,d=d[0].slice(c),m=d.length,g=v+m,y=p.slice(0,v+1),b=p.slice(g+1),w=[h,1];y&&w.push(y);var E=new i(u,f?t.tokenize(d,f):d);w.push(E);b&&w.push(b);Array.prototype.splice.apply(s,w)}}}return s},hooks:{all:{},add:function(e,n){var r=t.hooks.all;r[e]=r[e]||[];r[e].push(n)},run:function(e,n){var r=t.hooks.all[e];if(!r||!r.length)return;for(var i=0,s;s=r[i++];)s(n)}}},n=t.Token=function(e,t){this.type=e;this.content=t};n.stringify=function(e,r,i){if(typeof e=="string")return e;if(Object.prototype.toString.call(e)=="[object Array]")return e.map(function(t){return n.stringify(t,r,e)}).join("");var s={type:e.type,content:n.stringify(e.content,r,i),tag:"span",classes:["token",e.type],attributes:{},language:r,parent:i};s.type=="comment"&&(s.attributes.spellcheck="true");t.hooks.run("wrap",s);var o="";for(var u in s.attributes)o+=u+'="'+(s.attributes[u]||"")+'"';return"<"+s.tag+' class="'+s.classes.join(" ")+'" '+o+">"+s.content+"</"+s.tag+">"};if(!self.document){if(!self.addEventListener)return self.Prism;self.addEventListener("message",function(e){var n=JSON.parse(e.data),r=n.language,i=n.code;self.postMessage(JSON.stringify(t.tokenize(i,t.languages[r])));self.close()},!1);return self.Prism}var r=document.getElementsByTagName("script");r=r[r.length-1];if(r){t.filename=r.src;document.addEventListener&&!r.hasAttribute("data-manual")&&document.addEventListener("DOMContentLoaded",t.highlightAll)}return self.Prism}();typeof module!="undefined"&&module.exports&&(module.exports=Prism);Prism.languages.markup={comment:/<!--[\w\W]*?-->/g,prolog:/<\?.+?\?>/,doctype:/<!DOCTYPE.+?>/,cdata:/<!\[CDATA\[[\w\W]*?]]>/i,tag:{pattern:/<\/?[\w:-]+\s*(?:\s+[\w:-]+(?:=(?:("|')(\\?[\w\W])*?\1|[^\s'">=]+))?\s*)*\/?>/gi,inside:{tag:{pattern:/^<\/?[\w:-]+/i,inside:{punctuation:/^<\/?/,namespace:/^[\w-]+?:/}},"attr-value":{pattern:/=(?:('|")[\w\W]*?(\1)|[^\s>]+)/gi,inside:{punctuation:/=|>|"/g}},punctuation:/\/?>/g,"attr-name":{pattern:/[\w:-]+/g,inside:{namespace:/^[\w-]+?:/}}}},entity:/\&#?[\da-z]{1,8};/gi};Prism.hooks.add("wrap",function(e){e.type==="entity"&&(e.attributes.title=e.content.replace(/&/,"&"))});Prism.languages.css={comment:/\/\*[\w\W]*?\*\//g,atrule:{pattern:/@[\w-]+?.*?(;|(?=\s*{))/gi,inside:{punctuation:/[;:]/g}},url:/url\((["']?).*?\1\)/gi,selector:/[^\{\}\s][^\{\};]*(?=\s*\{)/g,property:/(\b|\B)[\w-]+(?=\s*:)/gi,string:/("|')(\\?.)*?\1/g,important:/\B!important\b/gi,punctuation:/[\{\};:]/g,"function":/[-a-z0-9]+(?=\()/gi};Prism.languages.markup&&Prism.languages.insertBefore("markup","tag",{style:{pattern:/<style[\w\W]*?>[\w\W]*?<\/style>/gi,inside:{tag:{pattern:/<style[\w\W]*?>|<\/style>/gi,inside:Prism.languages.markup.tag.inside},rest:Prism.languages.css}}});Prism.languages.css.selector={pattern:/[^\{\}\s][^\{\}]*(?=\s*\{)/g,inside:{"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/g,"pseudo-class":/:[-\w]+(?:\(.*\))?/g,"class":/\.[-:\.\w]+/g,id:/#[-:\.\w]+/g}};Prism.languages.insertBefore("css","ignore",{hexcode:/#[\da-f]{3,6}/gi,entity:/\\[\da-f]{1,8}/gi,number:/[\d%\.]+/g});Prism.languages.clike={comment:{pattern:/(^|[^\\])(\/\*[\w\W]*?\*\/|(^|[^:])\/\/.*?(\r?\n|$))/g,lookbehind:!0},string:/("|')(\\?.)*?\1/g,"class-name":{pattern:/((?:(?:class|interface|extends|implements|trait|instanceof|new)\s+)|(?:catch\s+\())[a-z0-9_\.\\]+/gi,lookbehind:!0,inside:{punctuation:/(\.|\\)/}},keyword:/\b(if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/g,"boolean":/\b(true|false)\b/g,"function":{pattern:/[a-z0-9_]+\(/gi,inside:{punctuation:/\(/}},number:/\b-?(0x[\dA-Fa-f]+|\d*\.?\d+([Ee]-?\d+)?)\b/g,operator:/[-+]{1,2}|!|<=?|>=?|={1,3}|&{1,2}|\|?\||\?|\*|\/|\~|\^|\%/g,ignore:/&(lt|gt|amp);/gi,punctuation:/[{}[\];(),.:]/g};Prism.languages.javascript=Prism.languages.extend("clike",{keyword:/\b(break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|finally|for|function|get|if|implements|import|in|instanceof|interface|let|new|null|package|private|protected|public|return|set|static|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/g,number:/\b-?(0x[\dA-Fa-f]+|\d*\.?\d+([Ee]-?\d+)?|NaN|-?Infinity)\b/g});Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:/(^|[^\/])\/(?!\/)(\[.+?]|\\.|[^\/\r\n])+\/[gim]{0,3}(?=\s*($|[\r\n,.;})]))/g,lookbehind:!0}});Prism.languages.markup&&Prism.languages.insertBefore("markup","tag",{script:{pattern:/<script[\w\W]*?>[\w\W]*?<\/script>/gi,inside:{tag:{pattern:/<script[\w\W]*?>|<\/script>/gi,inside:Prism.languages.markup.tag.inside},rest:Prism.languages.javascript}}});Prism.languages.scss=Prism.languages.extend("css",{comment:{pattern:/(^|[^\\])(\/\*[\w\W]*?\*\/|\/\/.*?(\r?\n|$))/g,lookbehind:!0},atrule:/@[\w-]+(?=\s+(\(|\{|;))/gi,url:/([-a-z]+-)*url(?=\()/gi,selector:/([^@;\{\}\(\)]?([^@;\{\}\(\)]|&|\#\{\$[-_\w]+\})+)(?=\s*\{(\}|\s|[^\}]+(:|\{)[^\}]+))/gm});Prism.languages.insertBefore("scss","atrule",{keyword:/@(if|else if|else|for|each|while|import|extend|debug|warn|mixin|include|function|return|content)|(?=@for\s+\$[-_\w]+\s)+from/i});Prism.languages.insertBefore("scss","property",{variable:/((\$[-_\w]+)|(#\{\$[-_\w]+\}))/i});Prism.languages.insertBefore("scss","ignore",{placeholder:/%[-_\w]+/i,statement:/\B!(default|optional)\b/gi,"boolean":/\b(true|false)\b/g,"null":/\b(null)\b/g,operator:/\s+([-+]{1,2}|={1,2}|!=|\|?\||\?|\*|\/|\%)\s+/g});
|