jekyll-theme-glueckkanja 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +12 -0
- data/README.md +64 -0
- data/_includes/blogtitlepic.html +25 -0
- data/_includes/contactform.html +77 -0
- data/_includes/footer.html +14 -0
- data/_includes/hc-document-icon.html +12 -0
- data/_includes/hc-listings.html +15 -0
- data/_includes/head.html +41 -0
- data/_includes/keyvisual.html +7 -0
- data/_includes/navigation.html +64 -0
- data/_includes/register-modal.html +37 -0
- data/_includes/scripts.html +126 -0
- data/_includes/sitelinks.html +57 -0
- data/_layouts/banner.html +54 -0
- data/_layouts/default-with-image.html +25 -0
- data/_layouts/default.html +24 -0
- data/_layouts/docs-default.html +72 -0
- data/_layouts/framed.html +47 -0
- data/_layouts/hc-archive.html +12 -0
- data/_layouts/hc-default.html +99 -0
- data/_layouts/hc-post.html +59 -0
- data/_layouts/page.html +5 -0
- data/_layouts/post.html +24 -0
- data/_sass/_docs-layout.scss +482 -0
- data/_sass/_docs-mixins.scss +34 -0
- data/_sass/_hc-dark-theme.scss +38 -0
- data/_sass/_hc-elements.scss +86 -0
- data/_sass/_hc-header.scss +104 -0
- data/_sass/_hc-tutorials.scss +251 -0
- data/_sass/_rangeslider.scss +111 -0
- data/_sass/_variables.scss +89 -0
- data/_sass/font-awesome/scss/_animated.scss +34 -0
- data/_sass/font-awesome/scss/_bordered-pulled.scss +25 -0
- data/_sass/font-awesome/scss/_core.scss +12 -0
- data/_sass/font-awesome/scss/_fixed-width.scss +6 -0
- data/_sass/font-awesome/scss/_icons.scss +789 -0
- data/_sass/font-awesome/scss/_larger.scss +13 -0
- data/_sass/font-awesome/scss/_list.scss +19 -0
- data/_sass/font-awesome/scss/_mixins.scss +60 -0
- data/_sass/font-awesome/scss/_path.scss +15 -0
- data/_sass/font-awesome/scss/_rotated-flipped.scss +20 -0
- data/_sass/font-awesome/scss/_screen-reader.scss +5 -0
- data/_sass/font-awesome/scss/_stacked.scss +20 -0
- data/_sass/font-awesome/scss/_variables.scss +800 -0
- data/_sass/font-awesome/scss/font-awesome.scss +18 -0
- data/assets/azurebin/ChangeLog +941 -0
- data/assets/azurebin/IMDisplay.exe +0 -0
- data/assets/azurebin/ImageMagick.rdf +166 -0
- data/assets/azurebin/LICENSE.txt +103 -0
- data/assets/azurebin/NOTICE.txt +1324 -0
- data/assets/azurebin/README.txt +105 -0
- data/assets/azurebin/colors.xml +28 -0
- data/assets/azurebin/compare.exe +0 -0
- data/assets/azurebin/composite.exe +0 -0
- data/assets/azurebin/configure.xml +20 -0
- data/assets/azurebin/conjure.exe +0 -0
- data/assets/azurebin/convert.exe +0 -0
- data/assets/azurebin/dcraw.exe +0 -0
- data/assets/azurebin/delegates.xml +100 -0
- data/assets/azurebin/english.xml +1682 -0
- data/assets/azurebin/ffmpeg.exe +0 -0
- data/assets/azurebin/hp2xx.exe +0 -0
- data/assets/azurebin/identify.exe +0 -0
- data/assets/azurebin/index.html +280 -0
- data/assets/azurebin/locale.xml +48 -0
- data/assets/azurebin/log.xml +80 -0
- data/assets/azurebin/magic.xml +23 -0
- data/assets/azurebin/magick.exe +0 -0
- data/assets/azurebin/mime.xml +1145 -0
- data/assets/azurebin/mogrify.exe +0 -0
- data/assets/azurebin/montage.exe +0 -0
- data/assets/azurebin/policy.xml +75 -0
- data/assets/azurebin/quantization-table.xml +68 -0
- data/assets/azurebin/sRGB.icc +0 -0
- data/assets/azurebin/stream.exe +0 -0
- data/assets/azurebin/thresholds.xml +334 -0
- data/assets/azurebin/type-ghostscript.xml +55 -0
- data/assets/azurebin/type.xml +21 -0
- data/assets/azureroot/.deploy.cmd +150 -0
- data/assets/azureroot/.deployment +2 -0
- data/assets/azureroot/_config.yml +165 -0
- data/assets/azureroot/dot.gitignore +11 -0
- data/assets/azureroot/web.config +93 -0
- data/assets/css/app.scss +1900 -0
- data/assets/docs/changelog.html +28 -0
- data/assets/docs/index.md +7 -0
- data/assets/docs/search.html +35 -0
- data/assets/docs/uservoice.html +17 -0
- data/assets/favicons/100percentcloud.png +0 -0
- data/assets/favicons/apple-konnekt-icon-120x120.png +0 -0
- data/assets/favicons/apple-konnekt-icon-152x152.png +0 -0
- data/assets/favicons/apple-konnekt-icon-60x60.png +0 -0
- data/assets/favicons/apple-konnekt-icon-76x76.png +0 -0
- data/assets/favicons/favicon-konnekt-144.png +0 -0
- data/assets/favicons/favicon-konnekt-96.png +0 -0
- data/assets/favicons/favicon-konnekt.ico +0 -0
- data/assets/favicons/favicon-konnekt.png +0 -0
- data/assets/favicons/gk-boxes.ico +0 -0
- data/assets/favicons/gk-boxes.png +0 -0
- data/assets/favicons/gk-logo-white.svg +39 -0
- data/assets/favicons/gk-logo.svg +1 -0
- data/assets/help-center/faq.html +33 -0
- data/assets/help-center/index.html +54 -0
- data/assets/help-center/search.html +36 -0
- data/assets/help-center/videos.html +15 -0
- data/assets/js/guk.js +12 -0
- data/assets/js/hc.js +94 -0
- data/assets/js/lunr.min.js +7 -0
- data/assets/js/mandrill.min.js +122 -0
- data/assets/js/rangeslider.js +494 -0
- data/assets/js/rangeslider.min.js +2 -0
- data/assets/js/search.js +103 -0
- data/assets/misc/general-glitch.html +9 -0
- data/assets/misc/imprint.html +40 -0
- data/assets/misc/privacy-policy.html +138 -0
- data/assets/misc/terms-of-service.html +138 -0
- data/assets/nav/arrow-up.png +0 -0
- data/assets/nav/arrow-up.svg +13 -0
- data/assets/nav/cbp-sprite.png +0 -0
- data/assets/nav/dotline.png +0 -0
- data/assets/nav/splash.png +0 -0
- data/assets/nav/splash@2x.png +0 -0
- data/assets/video/meerkat-404.jpg +0 -0
- data/assets/video/meerkat-404.mp4 +0 -0
- data/assets/video/meerkat-404.ogv +0 -0
- data/assets/video/meerkat-404.webm +0 -0
- metadata +394 -0
@@ -0,0 +1,28 @@
|
|
1
|
+
---
|
2
|
+
layout: docs-default
|
3
|
+
title: Changelog
|
4
|
+
permalink: /docs/changelog/index.html
|
5
|
+
---
|
6
|
+
|
7
|
+
<p>We're using a Changelog-Service to provide the best possible insights about any change.
|
8
|
+
<br> Please see the full changelog
|
9
|
+
<span class="changelog">
|
10
|
+
<a href="https://headwayapp.co/{{ site.changelog.url }}">here</a>
|
11
|
+
</span>
|
12
|
+
</p>
|
13
|
+
|
14
|
+
<iframe id="HW_frame" src="https://headway-widget.net/widgets/{{ site.changelog.code }}"
|
15
|
+
sandbox="allow-same-origin allow-scripts allow-top-navigation allow-popups allow-forms" style="height: 600px;"></iframe>
|
16
|
+
|
17
|
+
<style>
|
18
|
+
#HW_frame {
|
19
|
+
background: #fff;
|
20
|
+
border: none;
|
21
|
+
width: 100%;
|
22
|
+
height: 100%;
|
23
|
+
overflow: hidden;
|
24
|
+
border-radius: 4px;
|
25
|
+
position: relative;
|
26
|
+
z-index: 900;
|
27
|
+
}
|
28
|
+
</style>
|
@@ -0,0 +1,35 @@
|
|
1
|
+
---
|
2
|
+
layout: docs-default
|
3
|
+
title: Search
|
4
|
+
sitemap: false
|
5
|
+
permalink: /docs/search/index.html
|
6
|
+
---
|
7
|
+
|
8
|
+
<p><span id="search-process">Loading</span> results <span id="search-query-container" style="display: none;">for "<strong id="search-query"></strong>"</span></p>
|
9
|
+
<ul id="search-results"></ul>
|
10
|
+
|
11
|
+
<script>
|
12
|
+
window.data = {
|
13
|
+
{% for item in site.docs %}
|
14
|
+
{% if item.title %}
|
15
|
+
{% unless item.excluded_in_search %}
|
16
|
+
{% if added %},{% endif %}
|
17
|
+
{% assign added = false %}
|
18
|
+
|
19
|
+
"{{ item.url | slugify }}": {
|
20
|
+
"id": "{{ item.url | slugify }}",
|
21
|
+
"title": "{{ item.title | xml_escape }}",
|
22
|
+
"category": "{{ collection.title | xml_escape }}",
|
23
|
+
"url": " {{ item.url | xml_escape }}",
|
24
|
+
"content": {{ item.content | strip_html | replace_regex: "[\s/\n]+"," " | strip | jsonify }}
|
25
|
+
}
|
26
|
+
|
27
|
+
{% assign added = true %}
|
28
|
+
{% endunless %}
|
29
|
+
{% endif %}
|
30
|
+
{% endfor %}
|
31
|
+
};
|
32
|
+
</script>
|
33
|
+
<script src="{{ site.baseurl }}/assets/js/lunr.min.js"></script>
|
34
|
+
<script src="{{ site.baseurl }}/assets/js/search.js"></script>
|
35
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
---
|
2
|
+
layout: docs-default
|
3
|
+
title: Feature Requests
|
4
|
+
permalink: /docs/uservoice/index.html
|
5
|
+
---
|
6
|
+
|
7
|
+
<p>We're happy to receive your feedback about features you would like to see in future releases.</p>
|
8
|
+
|
9
|
+
<div data-canny />
|
10
|
+
<script>!function(w,d,i,s){function l(){if(!d.getElementById(i)){var f=d.getElementsByTagName(s)[0],e=d.createElement(s);e.type="text/javascript",e.async=!0,e.src="https://canny.io/sdk.js",f.parentNode.insertBefore(e,f)}}if("function"!=typeof w.Canny){var c=function(){c.q.push(arguments)};c.q=[],w.Canny=c,"complete"===d.readyState?l():w.attachEvent?w.attachEvent("onload",l):w.addEventListener("load",l,!1)}}(window,document,"canny-jssdk","script");</script>
|
11
|
+
<script>
|
12
|
+
Canny('render', {
|
13
|
+
boardToken: '{{ site.uservoice.code }}',
|
14
|
+
basePath: null, // See step 2
|
15
|
+
ssoToken: null, // See step 3
|
16
|
+
});
|
17
|
+
</script>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,39 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!-- Generator: Adobe Illustrator 20.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3
|
+
<svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4
|
+
viewBox="0 0 1000.1 201.8" style="enable-background:new 0 0 1000.1 201.8;" xml:space="preserve">
|
5
|
+
<style type="text/css">
|
6
|
+
.st0{fill:#FFFFFF;}
|
7
|
+
</style>
|
8
|
+
<title>Element 1</title>
|
9
|
+
<g>
|
10
|
+
<path class="st0" d="M17.7,155.7C17.1,155.2,0,153.1,0,133.3c0-9.1,8.2-15.6,17.1-19.6C11,107.4,7,99.6,7,89.7V78
|
11
|
+
c0,0,0-31.2,31.3-31.2h43v10.7l-16.7,5.7C81.3,63.2,81.3,78,81.3,78v11.7c0,0,0,31.2-31.6,31.2H38.3c-6.2-0.3-12.3-2-17.9-4.8
|
12
|
+
c-3.6,2.3-6.3,5.9-6.3,10.5c0,12.6,12.6,12.6,12.6,12.6h30.1c0,0,31.1,0,31.1,31.4c0,0,0,31.2-31.2,31.2h-28c0,0-28.8,0-28.8-26.5
|
13
|
+
C0,155.7,17.1,155.7,17.7,155.7 M28.9,155.7c-3,0-14.7,1.9-14.7,15c0,14.7,14.7,14.7,14.7,14.7h28c0,0,14.7,0,14.7-14.7
|
14
|
+
c0,0,0-15-14.7-15H28.9z M64.7,78c0,0,0-14.7-15-14.7H38.3c0,0-15,0-15,14.7v11.7c0,0,0,14.7,15,14.7h11.4c0,0,15,0,15-14.7
|
15
|
+
L64.7,78z"/>
|
16
|
+
<path class="st0" d="M153.7,46.8h16.6v77.5c0,15,14.7,15,14.7,15h11.6c14.7,0,14.7-15,14.7-15V46.8h16.6v108.9h-6.7l-16.4-16.4
|
17
|
+
c0,16.4-8.2,16.4-8.2,16.4h-11.6c0,0-31.4,0-31.4-31.4L153.7,46.8z M181.3,7.4h-18.5v18.3h18.5V7.4z M220.1,7.4h-18.5v18.3h18.5
|
18
|
+
V7.4z"/>
|
19
|
+
<path class="st0" d="M252.2,78c0,0,0-31.2,31.6-31.2h11.4c0,0,31.8,0,31.6,28h-17c0,0-0.2-11.6-14.5-11.6h-11.4c0,0-15,0-15,14.7
|
20
|
+
v46.3c0,0,0,15,15,15h11.4c0,0,14.7,0,14.7-11.8h16.6c0,0,0,28.2-31.4,28.2h-11.4c0,0-31.6,0-31.6-31.4L252.2,78z"/>
|
21
|
+
<path class="st0" d="M405.6,155.7L375.1,102l-12.9,19.2v34.5h-16.4V0.4h16.4v99.2c11.1-14.7,28.4-37.5,39.8-52.9h20.9l-34.3,45.5
|
22
|
+
c11.8,20.8,24.2,42.3,36.2,63.4H405.6z"/>
|
23
|
+
<path class="st0" d="M654.2,155.7L623.7,102l-12.8,19.2v34.5h-16.4V0.4h16.4v99.2c11.1-14.7,28.4-37.5,39.8-52.9h20.8l-34.3,45.5
|
24
|
+
c11.8,20.8,24.2,42.3,36.2,63.4H654.2z"/>
|
25
|
+
<path class="st0" d="M759.5,78v77.7h-7l-16.2-16.4c0,16.4-8.4,16.4-8.4,16.4h-11.3c0,0-31.6,0-31.6-31.4s31.6-31.4,31.6-31.4h26.3
|
26
|
+
V78c0-14.7-15-14.7-15-14.7H692V46.8h35.8C727.8,46.8,759.4,46.8,759.5,78 M742.8,109.5h-26.3c0,0-15,0-15,14.7c0,15,15,15,15,15
|
27
|
+
h11.4c0,0,15,0,15-15L742.8,109.5z"/>
|
28
|
+
<path class="st0" d="M859.2,155.7h-16.6V78.2c0-15-15-15-15-15h-11.3c-15,0-15,15-15,15v77.5h-16.6V46.8h7l16.2,16.4
|
29
|
+
c0-16.4,8.4-16.4,8.4-16.4h11.4c0,0,31.6-0.4,31.6,30.8L859.2,155.7z"/>
|
30
|
+
<path class="st0" d="M901.4,47.2v123.4c0,24.9-19.8,29.9-28,31v-16.5c11.6,0,11.6-14.5,11.6-14.5V47.2H901.4z M901.4,17.1H885V0.4
|
31
|
+
h16.4L901.4,17.1z"/>
|
32
|
+
<path class="st0" d="M1000.1,78v77.7h-7l-16.2-16.4c0,16.4-8.4,16.4-8.4,16.4h-11.3c0,0-31.6,0-31.6-31.4s31.6-31.4,31.6-31.4h26.3
|
33
|
+
V78c0-14.7-15-14.7-15-14.7h-35.8V46.8h35.8C968.4,46.8,1000,46.8,1000.1,78 M983.4,109.5h-26.3c0,0-15,0-15,14.7c0,15,15,15,15,15
|
34
|
+
h11.4c0,0,15,0,15-15L983.4,109.5z"/>
|
35
|
+
<rect x="500.8" y="94.1" class="st0" width="61.6" height="61.7"/>
|
36
|
+
<rect x="454.8" y="46.7" class="st0" width="39.3" height="39.3"/>
|
37
|
+
<path class="st0" d="M123,0v123.4c0,0,0,14.5,11.6,14.5v16.4c-8.2-1.1-28-6.1-28-31V0H123z"/>
|
38
|
+
</g>
|
39
|
+
</svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 1000.06 201.79"><defs><style>.cls-1{fill:none;}.cls-2{clip-path:url(#clip-path);}.cls-3{fill:#00131d;}.cls-4{fill:#2f52a0;}</style><clipPath id="clip-path"><rect class="cls-1" width="1000.06" height="201.79"/></clipPath></defs><title>Element 1</title><g id="Ebene_2" data-name="Ebene 2"><g id="Ebene_1-2" data-name="Ebene 1"><g class="cls-2"><path class="cls-3" d="M17.69,155.66C17.06,155.24,0,153.14,0,133.34c0-9.05,8.22-15.58,17.06-19.59C11,107.44,7,99.64,7,89.74V78S7,46.78,38.33,46.78h43V57.52L64.66,63.21C81.29,63.21,81.29,78,81.29,78V89.74s0,31.17-31.59,31.17H38.33a44.17,44.17,0,0,1-17.9-4.84c-3.58,2.32-6.32,5.9-6.32,10.53,0,12.64,12.64,12.64,12.64,12.64H56.86S88,139.24,88,170.62c0,0,0,31.17-31.17,31.17h-28S0,201.79,0,175.25c0-19.59,17.06-19.59,17.69-19.59m11.16,0c-2.95,0-14.74,1.9-14.74,15,0,14.74,14.74,14.74,14.74,14.74h28s14.74,0,14.74-14.74c0,0,0-15-14.74-15ZM64.66,78s0-14.74-15-14.74H38.33s-15,0-15,14.74V89.74s0,14.74,15,14.74H49.7s15,0,15-14.74Z"/><path class="cls-3" d="M153.74,46.78h16.64v77.5c0,15,14.74,15,14.74,15h11.58c14.74,0,14.74-15,14.74-15V46.78h16.64V155.66h-6.74l-16.43-16.43c0,16.43-8.21,16.43-8.21,16.43H185.12s-31.38,0-31.38-31.38ZM181.33,7.4H162.8V25.72h18.53Zm38.75,0H201.55V25.72h18.53Z"/><path class="cls-3" d="M252.2,78s0-31.17,31.59-31.17h11.37s31.8,0,31.59,28H309.7s-.21-11.58-14.53-11.58H283.79s-15,0-15,14.74v46.33s0,15,15,15h11.37s14.74,0,14.74-11.79h16.64s0,28.22-31.38,28.22H283.79s-31.59,0-31.59-31.38Z"/><path class="cls-3" d="M405.63,155.66,375.09,102l-12.85,19.17v34.54H345.82V.45h16.43v99.2C373.4,84.9,390.67,62.16,402,46.78H422.9L388.57,92.27c11.79,20.85,24.22,42.33,36.22,63.39Z"/><path class="cls-3" d="M654.25,155.66,623.71,102l-12.85,19.17v34.54H594.43V.45h16.43v99.2C622,84.9,639.29,62.16,650.67,46.78h20.85L637.19,92.27c11.79,20.85,24.22,42.33,36.22,63.39Z"/><path class="cls-3" d="M759.45,78v77.71h-7l-16.22-16.43c0,16.43-8.42,16.43-8.42,16.43H716.48s-31.59,0-31.59-31.38S716.48,92.9,716.48,92.9h26.32V78c0-14.74-15-14.74-15-14.74h-35.8V46.78h35.8s31.59,0,31.59,31.17m-16.64,31.59H716.48s-15,0-15,14.74c0,15,15,15,15,15h11.37s15,0,15-15Z"/><path class="cls-3" d="M859.17,155.66H842.53V78.16c0-15-15-15-15-15H816.21c-15,0-15,15-15,15v77.5H784.61V46.78h7l16.21,16.43c0-16.43,8.43-16.43,8.43-16.43h11.37s31.59-.42,31.59,30.75Z"/><path class="cls-3" d="M901.39,47.2V170.62c0,24.85-19.79,29.91-28,31V185.15c11.58,0,11.58-14.53,11.58-14.53V47.2Zm0-30.12H885V.45h16.43Z"/><path class="cls-3" d="M1000.06,78v77.71h-7l-16.22-16.43c0,16.43-8.42,16.43-8.42,16.43H957.1s-31.59,0-31.59-31.38S957.1,92.9,957.1,92.9h26.33V78c0-14.74-15-14.74-15-14.74h-35.8V46.78h35.8s31.59,0,31.59,31.17m-16.64,31.59H957.1s-15,0-15,14.74c0,15,15,15,15,15h11.37s15,0,15-15Z"/><rect class="cls-4" x="500.83" y="94.1" width="61.65" height="61.65"/><rect class="cls-4" x="454.84" y="46.74" width="39.29" height="39.28"/><path class="cls-3" d="M123,0V123.41s0,14.53,11.58,14.53v16.43c-8.21-1.05-28-6.11-28-31V0Z"/></g></g></g></svg>
|
@@ -0,0 +1,33 @@
|
|
1
|
+
---
|
2
|
+
layout: hc-default
|
3
|
+
title: FAQ
|
4
|
+
permalink: /help-center/faq/index.html
|
5
|
+
nolinks: true
|
6
|
+
noheader: true
|
7
|
+
faq:
|
8
|
+
- question: What is Jekyll?
|
9
|
+
answer: Jekyll is a simple, blog-aware, static site generator. It takes a template directory containing raw text files in various formats, runs it through a converter (like Markdown) and our Liquid renderer, and spits out a complete, ready-to-publish static website suitable for serving with your favorite web server.
|
10
|
+
- question: What is front matter?
|
11
|
+
answer: The front matter is where Jekyll starts to get really cool. Any file that contains a YAML front matter block will be processed by Jekyll as a special file. The front matter must be the first thing in the file and must take the form of valid YAML set between triple-dashed lines
|
12
|
+
- question: What is a static file?
|
13
|
+
answer: A static file is a file that does not contain any YAML front matter. These include images, PDFs, and other un-rendered content.
|
14
|
+
- question: What is a collection?
|
15
|
+
answer: Not everything is a post or a page. Maybe you want to document the various methods in your open source project, members of a team, or talks at a conference. Collections allow you to define a new type of document that behave like Pages or Posts do normally, but also have their own unique properties and namespace.
|
16
|
+
- question: What is a data file?
|
17
|
+
answer: In addition to the built-in variables available from Jekyll, you can specify your own custom data that can be accessed via the Liquid templating system. Jekyll supports loading data from YAML, JSON, and CSV files located in the `_data` directory. Note that CSV files must contain a header row.
|
18
|
+
---
|
19
|
+
|
20
|
+
<section class="faq">
|
21
|
+
<h1>FAQ</h1>
|
22
|
+
|
23
|
+
<ul>
|
24
|
+
{% for item in page.faq %}
|
25
|
+
<li><a href="#{{ item.question | slugify }}">{{ item.question }}</a></li>
|
26
|
+
{% endfor %}
|
27
|
+
</ul>
|
28
|
+
|
29
|
+
{% for item in page.faq %}
|
30
|
+
<h2 id="{{ item.question | slugify}}">{{ item.question }}<a class="header-link" href="#{{ item.question | slugify }}">#</a></h2>
|
31
|
+
{{ item.answer | markdownify }}
|
32
|
+
{% endfor %}
|
33
|
+
</section>
|
@@ -0,0 +1,54 @@
|
|
1
|
+
---
|
2
|
+
layout: hc-default
|
3
|
+
title: "Help Center"
|
4
|
+
nolinks: true
|
5
|
+
permalink: /help-center/index.html
|
6
|
+
---
|
7
|
+
|
8
|
+
<section class="articlelist">
|
9
|
+
|
10
|
+
{% assign groups = site.articles | group_by: "categories" | sort: "name" %}
|
11
|
+
{% for group in groups %}
|
12
|
+
<section class="category">
|
13
|
+
|
14
|
+
{% assign tutorials = group.items | sort: "title" %}
|
15
|
+
{% assign size = tutorials | size %}
|
16
|
+
|
17
|
+
<h2 style="text-transform:capitalize">
|
18
|
+
<a href="{{ site.baseurl }}/hc-category/{{ group.name | replace: "-", " " | slugify }}/">
|
19
|
+
{{ group.name | slugify | replace: "-", " " }} <span class="count">({{ size }})</span></a>
|
20
|
+
</h2>
|
21
|
+
|
22
|
+
<ul class="listing">
|
23
|
+
|
24
|
+
{% for tutorial in tutorials limit: 4 %}
|
25
|
+
<li>
|
26
|
+
<a href="{{ site.baseurl }}{{ tutorial.url }}">
|
27
|
+
<div class="icon">{% include hc-document-icon.html icon=tutorial.type %}</div>
|
28
|
+
<article>
|
29
|
+
<div>
|
30
|
+
<h3>{% if include.numbered %}{{ forloop.index }}. {% endif %}{{ tutorial.title }}</h3>
|
31
|
+
<p class="description">{{ tutorial.description }}</p>
|
32
|
+
</div>
|
33
|
+
</article>
|
34
|
+
</a>
|
35
|
+
</li>
|
36
|
+
{% endfor %}
|
37
|
+
{% if size > 4 %}
|
38
|
+
<li>
|
39
|
+
<a href="{{ site.baseurl }}/hc-category/{{ group.name | replace: "-", " " | slugify }}/">
|
40
|
+
<div class="icon"></div>
|
41
|
+
<article>
|
42
|
+
<div>
|
43
|
+
<h3>{{ size | minus: 4 }} more...</h3>
|
44
|
+
</div>
|
45
|
+
</article>
|
46
|
+
</a>
|
47
|
+
</li>
|
48
|
+
{% endif %}
|
49
|
+
</ul>
|
50
|
+
|
51
|
+
</section>
|
52
|
+
{% endfor %}
|
53
|
+
|
54
|
+
</section>
|
@@ -0,0 +1,36 @@
|
|
1
|
+
---
|
2
|
+
layout: hc-default
|
3
|
+
title: Search
|
4
|
+
sitemap: false
|
5
|
+
nolinks: true
|
6
|
+
permalink: /help-center/search/index.html
|
7
|
+
---
|
8
|
+
|
9
|
+
<section class="articlelist">
|
10
|
+
<p><br><span id="search-process">Loading</span> results <span id="search-query-container" style="display: none;">for "<strong id="search-query"></strong>"</span></p>
|
11
|
+
<ul id="search-results"></ul>
|
12
|
+
|
13
|
+
<script>
|
14
|
+
window.data = {
|
15
|
+
{% for article in site.articles %}
|
16
|
+
{% if article.title %}
|
17
|
+
{% unless article.excluded_in_search %}
|
18
|
+
{% if added %},{% endif %}
|
19
|
+
{% assign added = false %}
|
20
|
+
"{{ article.url | slugify }}": {
|
21
|
+
"id": "{{ article.url | slugify }}",
|
22
|
+
"title": "{{ article.title | xml_escape }}",
|
23
|
+
"categories": "{{ article.categories | join: ", " | xml_escape }}",
|
24
|
+
"url": " {{ article.url | xml_escape }}",
|
25
|
+
"content": {{ article.content | strip_html | replace_regex: "[\s/\n]+"," " | strip | jsonify }}
|
26
|
+
}
|
27
|
+
{% assign added = true %}
|
28
|
+
{% endunless %}
|
29
|
+
{% endif %}
|
30
|
+
{% endfor %}
|
31
|
+
};
|
32
|
+
</script>
|
33
|
+
</section>
|
34
|
+
|
35
|
+
<script src="{{ site.baseurl }}/assets/js/lunr.min.js"></script>
|
36
|
+
<script src="{{ site.baseurl }}/assets/js/search.js"></script>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
layout: hc-default
|
3
|
+
title: Videos
|
4
|
+
nolinks: true
|
5
|
+
permalink: /help-center/videos/index.html
|
6
|
+
---
|
7
|
+
|
8
|
+
<section class="articlelist">
|
9
|
+
|
10
|
+
{% assign articles = site.articles | where: "type", "Video" | sort: "title" %}
|
11
|
+
<h2 style="text-transform:capitalize">Videos <span class="count">({{ articles | size }})</span></h2>
|
12
|
+
|
13
|
+
{% include hc-listings.html hc-listings=articles %}
|
14
|
+
|
15
|
+
</section>
|
data/assets/js/guk.js
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
function regform() {
|
2
|
+
//sendTheMail();
|
3
|
+
$("#downloadtrial").addClass('disabled');
|
4
|
+
$("#downloadtrial").text("Thanks");
|
5
|
+
}
|
6
|
+
function subscribeform() {
|
7
|
+
//sendTheMail();
|
8
|
+
$("#subscribebtn").addClass('disabled');
|
9
|
+
$("#subscribebtn").text("Thanks");
|
10
|
+
}
|
11
|
+
|
12
|
+
|
data/assets/js/hc.js
ADDED
@@ -0,0 +1,94 @@
|
|
1
|
+
jQuery(function() {
|
2
|
+
var $sidebar = $('.sidebar'),
|
3
|
+
$content = $('.content'),
|
4
|
+
$tutorial = $('.tutorial-content'),
|
5
|
+
$window = $(window),
|
6
|
+
offset = $content.offset().top + 60;
|
7
|
+
|
8
|
+
var found = true;
|
9
|
+
|
10
|
+
var $el;
|
11
|
+
|
12
|
+
var href = $sidebar.find('a').first().attr("href");
|
13
|
+
|
14
|
+
if (href !== undefined && href.charAt(0) === "#") {
|
15
|
+
setActiveSidebarLink();
|
16
|
+
|
17
|
+
$(window).on("scroll", function() {
|
18
|
+
throttle(function(){
|
19
|
+
setActiveSidebarLink();
|
20
|
+
setSidebar();
|
21
|
+
}, 100)();
|
22
|
+
});
|
23
|
+
}
|
24
|
+
|
25
|
+
function setSidebar() {
|
26
|
+
var offset = 102,
|
27
|
+
bottom = $tutorial.offset().top + $tutorial.outerHeight() - $sidebar.outerHeight() - offset;
|
28
|
+
if (window.scrollY > bottom) {
|
29
|
+
$sidebar.css("position", "absolute").css("top", $tutorial.outerHeight() - $sidebar.outerHeight());
|
30
|
+
} else if (window.scrollY > $tutorial.offset().top) {
|
31
|
+
$sidebar.css("position", "fixed").css("top", offset);
|
32
|
+
} else {
|
33
|
+
$sidebar.css("position", "absolute").css("top", offset);
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
function setActiveSidebarLink() {
|
38
|
+
$('.sidebar a').removeClass('active');
|
39
|
+
var $closest = getClosestHeader();
|
40
|
+
$closest.addClass('active');
|
41
|
+
}
|
42
|
+
});
|
43
|
+
|
44
|
+
function getClosestHeader() {
|
45
|
+
var $links = $('.sidebar a'),
|
46
|
+
top = window.scrollY,
|
47
|
+
$last = $links.first(),
|
48
|
+
$content = $(".tutorial-content");
|
49
|
+
|
50
|
+
//console.log(top);
|
51
|
+
|
52
|
+
if (top < 300) {
|
53
|
+
return $last;
|
54
|
+
}
|
55
|
+
|
56
|
+
if (top + window.innerHeight >= $content.offset().top + $content.height()) {
|
57
|
+
return $links.last();
|
58
|
+
}
|
59
|
+
|
60
|
+
for (var i = 0; i < $links.length; i++) {
|
61
|
+
var $link = $links.eq(i),
|
62
|
+
href = $link.attr("href");
|
63
|
+
|
64
|
+
if (href !== undefined && href.charAt(0) === "#" && href.length > 1) {
|
65
|
+
var $anchor = $(href);
|
66
|
+
|
67
|
+
if ($anchor.length > 0) {
|
68
|
+
var offset = $anchor.offset();
|
69
|
+
|
70
|
+
if (top < offset.top - (window.innerHeight / 2)) {
|
71
|
+
return $last;
|
72
|
+
}
|
73
|
+
|
74
|
+
$last = $link;
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
return $last;
|
79
|
+
}
|
80
|
+
|
81
|
+
function throttle (callback, limit) {
|
82
|
+
|
83
|
+
var wait = false;
|
84
|
+
return function () {
|
85
|
+
if (!wait) {
|
86
|
+
|
87
|
+
callback.apply(null, arguments);
|
88
|
+
wait = true;
|
89
|
+
setTimeout(function () {
|
90
|
+
wait = false;
|
91
|
+
}, limit);
|
92
|
+
}
|
93
|
+
};
|
94
|
+
}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/**
|
2
|
+
* lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 0.7.0
|
3
|
+
* Copyright (C) 2016 Oliver Nightingale
|
4
|
+
* MIT Licensed
|
5
|
+
* @license
|
6
|
+
*/
|
7
|
+
!function(){var t=function(e){var n=new t.Index;return n.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),e&&e.call(n,n),n};t.version="0.7.0",t.utils={},t.utils.warn=function(t){return function(e){t.console&&console.warn&&console.warn(e)}}(this),t.utils.asString=function(t){return void 0===t||null===t?"":t.toString()},t.EventEmitter=function(){this.events={}},t.EventEmitter.prototype.addListener=function(){var t=Array.prototype.slice.call(arguments),e=t.pop(),n=t;if("function"!=typeof e)throw new TypeError("last argument must be a function");n.forEach(function(t){this.hasHandler(t)||(this.events[t]=[]),this.events[t].push(e)},this)},t.EventEmitter.prototype.removeListener=function(t,e){if(this.hasHandler(t)){var n=this.events[t].indexOf(e);this.events[t].splice(n,1),this.events[t].length||delete this.events[t]}},t.EventEmitter.prototype.emit=function(t){if(this.hasHandler(t)){var e=Array.prototype.slice.call(arguments,1);this.events[t].forEach(function(t){t.apply(void 0,e)})}},t.EventEmitter.prototype.hasHandler=function(t){return t in this.events},t.tokenizer=function(e){return arguments.length&&null!=e&&void 0!=e?Array.isArray(e)?e.map(function(e){return t.utils.asString(e).toLowerCase()}):e.toString().trim().toLowerCase().split(t.tokenizer.seperator):[]},t.tokenizer.seperator=/[\s\-]+/,t.tokenizer.load=function(t){var e=this.registeredFunctions[t];if(!e)throw new Error("Cannot load un-registered function: "+t);return e},t.tokenizer.label="default",t.tokenizer.registeredFunctions={"default":t.tokenizer},t.tokenizer.registerFunction=function(e,n){n in this.registeredFunctions&&t.utils.warn("Overwriting existing tokenizer: "+n),e.label=n,this.registeredFunctions[n]=e},t.Pipeline=function(){this._stack=[]},t.Pipeline.registeredFunctions={},t.Pipeline.registerFunction=function(e,n){n in this.registeredFunctions&&t.utils.warn("Overwriting existing registered function: "+n),e.label=n,t.Pipeline.registeredFunctions[e.label]=e},t.Pipeline.warnIfFunctionNotRegistered=function(e){var n=e.label&&e.label in this.registeredFunctions;n||t.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},t.Pipeline.load=function(e){var n=new t.Pipeline;return e.forEach(function(e){var i=t.Pipeline.registeredFunctions[e];if(!i)throw new Error("Cannot load un-registered function: "+e);n.add(i)}),n},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(e){t.Pipeline.warnIfFunctionNotRegistered(e),this._stack.push(e)},this)},t.Pipeline.prototype.after=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var i=this._stack.indexOf(e);if(-1==i)throw new Error("Cannot find existingFn");i+=1,this._stack.splice(i,0,n)},t.Pipeline.prototype.before=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var i=this._stack.indexOf(e);if(-1==i)throw new Error("Cannot find existingFn");this._stack.splice(i,0,n)},t.Pipeline.prototype.remove=function(t){var e=this._stack.indexOf(t);-1!=e&&this._stack.splice(e,1)},t.Pipeline.prototype.run=function(t){for(var e=[],n=t.length,i=this._stack.length,r=0;n>r;r++){for(var o=t[r],s=0;i>s&&(o=this._stack[s](o,r,t),void 0!==o&&""!==o);s++);void 0!==o&&""!==o&&e.push(o)}return e},t.Pipeline.prototype.reset=function(){this._stack=[]},t.Pipeline.prototype.toJSON=function(){return this._stack.map(function(e){return t.Pipeline.warnIfFunctionNotRegistered(e),e.label})},t.Vector=function(){this._magnitude=null,this.list=void 0,this.length=0},t.Vector.Node=function(t,e,n){this.idx=t,this.val=e,this.next=n},t.Vector.prototype.insert=function(e,n){this._magnitude=void 0;var i=this.list;if(!i)return this.list=new t.Vector.Node(e,n,i),this.length++;if(e<i.idx)return this.list=new t.Vector.Node(e,n,i),this.length++;for(var r=i,o=i.next;void 0!=o;){if(e<o.idx)return r.next=new t.Vector.Node(e,n,o),this.length++;r=o,o=o.next}return r.next=new t.Vector.Node(e,n,o),this.length++},t.Vector.prototype.magnitude=function(){if(this._magnitude)return this._magnitude;for(var t,e=this.list,n=0;e;)t=e.val,n+=t*t,e=e.next;return this._magnitude=Math.sqrt(n)},t.Vector.prototype.dot=function(t){for(var e=this.list,n=t.list,i=0;e&&n;)e.idx<n.idx?e=e.next:e.idx>n.idx?n=n.next:(i+=e.val*n.val,e=e.next,n=n.next);return i},t.Vector.prototype.similarity=function(t){return this.dot(t)/(this.magnitude()*t.magnitude())},t.SortedSet=function(){this.length=0,this.elements=[]},t.SortedSet.load=function(t){var e=new this;return e.elements=t,e.length=t.length,e},t.SortedSet.prototype.add=function(){var t,e;for(t=0;t<arguments.length;t++)e=arguments[t],~this.indexOf(e)||this.elements.splice(this.locationFor(e),0,e);this.length=this.elements.length},t.SortedSet.prototype.toArray=function(){return this.elements.slice()},t.SortedSet.prototype.map=function(t,e){return this.elements.map(t,e)},t.SortedSet.prototype.forEach=function(t,e){return this.elements.forEach(t,e)},t.SortedSet.prototype.indexOf=function(t){for(var e=0,n=this.elements.length,i=n-e,r=e+Math.floor(i/2),o=this.elements[r];i>1;){if(o===t)return r;t>o&&(e=r),o>t&&(n=r),i=n-e,r=e+Math.floor(i/2),o=this.elements[r]}return o===t?r:-1},t.SortedSet.prototype.locationFor=function(t){for(var e=0,n=this.elements.length,i=n-e,r=e+Math.floor(i/2),o=this.elements[r];i>1;)t>o&&(e=r),o>t&&(n=r),i=n-e,r=e+Math.floor(i/2),o=this.elements[r];return o>t?r:t>o?r+1:void 0},t.SortedSet.prototype.intersect=function(e){for(var n=new t.SortedSet,i=0,r=0,o=this.length,s=e.length,a=this.elements,h=e.elements;;){if(i>o-1||r>s-1)break;a[i]!==h[r]?a[i]<h[r]?i++:a[i]>h[r]&&r++:(n.add(a[i]),i++,r++)}return n},t.SortedSet.prototype.clone=function(){var e=new t.SortedSet;return e.elements=this.toArray(),e.length=e.elements.length,e},t.SortedSet.prototype.union=function(t){var e,n,i;this.length>=t.length?(e=this,n=t):(e=t,n=this),i=e.clone();for(var r=0,o=n.toArray();r<o.length;r++)i.add(o[r]);return i},t.SortedSet.prototype.toJSON=function(){return this.toArray()},t.Index=function(){this._fields=[],this._ref="id",this.pipeline=new t.Pipeline,this.documentStore=new t.Store,this.tokenStore=new t.TokenStore,this.corpusTokens=new t.SortedSet,this.eventEmitter=new t.EventEmitter,this.tokenizerFn=t.tokenizer,this._idfCache={},this.on("add","remove","update",function(){this._idfCache={}}.bind(this))},t.Index.prototype.on=function(){var t=Array.prototype.slice.call(arguments);return this.eventEmitter.addListener.apply(this.eventEmitter,t)},t.Index.prototype.off=function(t,e){return this.eventEmitter.removeListener(t,e)},t.Index.load=function(e){e.version!==t.version&&t.utils.warn("version mismatch: current "+t.version+" importing "+e.version);var n=new this;return n._fields=e.fields,n._ref=e.ref,n.tokenizer=t.tokenizer.load(e.tokenizer),n.documentStore=t.Store.load(e.documentStore),n.tokenStore=t.TokenStore.load(e.tokenStore),n.corpusTokens=t.SortedSet.load(e.corpusTokens),n.pipeline=t.Pipeline.load(e.pipeline),n},t.Index.prototype.field=function(t,e){var e=e||{},n={name:t,boost:e.boost||1};return this._fields.push(n),this},t.Index.prototype.ref=function(t){return this._ref=t,this},t.Index.prototype.tokenizer=function(e){var n=e.label&&e.label in t.tokenizer.registeredFunctions;return n||t.utils.warn("Function is not a registered tokenizer. This may cause problems when serialising the index"),this.tokenizerFn=e,this},t.Index.prototype.add=function(e,n){var i={},r=new t.SortedSet,o=e[this._ref],n=void 0===n?!0:n;this._fields.forEach(function(t){var n=this.pipeline.run(this.tokenizerFn(e[t.name]));i[t.name]=n;for(var o=0;o<n.length;o++){var s=n[o];r.add(s),this.corpusTokens.add(s)}},this),this.documentStore.set(o,r);for(var s=0;s<r.length;s++){for(var a=r.elements[s],h=0,u=0;u<this._fields.length;u++){var l=this._fields[u],c=i[l.name],f=c.length;if(f){for(var d=0,p=0;f>p;p++)c[p]===a&&d++;h+=d/f*l.boost}}this.tokenStore.add(a,{ref:o,tf:h})}n&&this.eventEmitter.emit("add",e,this)},t.Index.prototype.remove=function(t,e){var n=t[this._ref],e=void 0===e?!0:e;if(this.documentStore.has(n)){var i=this.documentStore.get(n);this.documentStore.remove(n),i.forEach(function(t){this.tokenStore.remove(t,n)},this),e&&this.eventEmitter.emit("remove",t,this)}},t.Index.prototype.update=function(t,e){var e=void 0===e?!0:e;this.remove(t,!1),this.add(t,!1),e&&this.eventEmitter.emit("update",t,this)},t.Index.prototype.idf=function(t){var e="@"+t;if(Object.prototype.hasOwnProperty.call(this._idfCache,e))return this._idfCache[e];var n=this.tokenStore.count(t),i=1;return n>0&&(i=1+Math.log(this.documentStore.length/n)),this._idfCache[e]=i},t.Index.prototype.search=function(e){var n=this.pipeline.run(this.tokenizerFn(e)),i=new t.Vector,r=[],o=this._fields.reduce(function(t,e){return t+e.boost},0),s=n.some(function(t){return this.tokenStore.has(t)},this);if(!s)return[];n.forEach(function(e,n,s){var a=1/s.length*this._fields.length*o,h=this,u=this.tokenStore.expand(e).reduce(function(n,r){var o=h.corpusTokens.indexOf(r),s=h.idf(r),u=1,l=new t.SortedSet;if(r!==e){var c=Math.max(3,r.length-e.length);u=1/Math.log(c)}o>-1&&i.insert(o,a*s*u);for(var f=h.tokenStore.get(r),d=Object.keys(f),p=d.length,v=0;p>v;v++)l.add(f[d[v]].ref);return n.union(l)},new t.SortedSet);r.push(u)},this);var a=r.reduce(function(t,e){return t.intersect(e)});return a.map(function(t){return{ref:t,score:i.similarity(this.documentVector(t))}},this).sort(function(t,e){return e.score-t.score})},t.Index.prototype.documentVector=function(e){for(var n=this.documentStore.get(e),i=n.length,r=new t.Vector,o=0;i>o;o++){var s=n.elements[o],a=this.tokenStore.get(s)[e].tf,h=this.idf(s);r.insert(this.corpusTokens.indexOf(s),a*h)}return r},t.Index.prototype.toJSON=function(){return{version:t.version,fields:this._fields,ref:this._ref,tokenizer:this.tokenizerFn.label,documentStore:this.documentStore.toJSON(),tokenStore:this.tokenStore.toJSON(),corpusTokens:this.corpusTokens.toJSON(),pipeline:this.pipeline.toJSON()}},t.Index.prototype.use=function(t){var e=Array.prototype.slice.call(arguments,1);e.unshift(this),t.apply(this,e)},t.Store=function(){this.store={},this.length=0},t.Store.load=function(e){var n=new this;return n.length=e.length,n.store=Object.keys(e.store).reduce(function(n,i){return n[i]=t.SortedSet.load(e.store[i]),n},{}),n},t.Store.prototype.set=function(t,e){this.has(t)||this.length++,this.store[t]=e},t.Store.prototype.get=function(t){return this.store[t]},t.Store.prototype.has=function(t){return t in this.store},t.Store.prototype.remove=function(t){this.has(t)&&(delete this.store[t],this.length--)},t.Store.prototype.toJSON=function(){return{store:this.store,length:this.length}},t.stemmer=function(){var t={ational:"ate",tional:"tion",enci:"ence",anci:"ance",izer:"ize",bli:"ble",alli:"al",entli:"ent",eli:"e",ousli:"ous",ization:"ize",ation:"ate",ator:"ate",alism:"al",iveness:"ive",fulness:"ful",ousness:"ous",aliti:"al",iviti:"ive",biliti:"ble",logi:"log"},e={icate:"ic",ative:"",alize:"al",iciti:"ic",ical:"ic",ful:"",ness:""},n="[^aeiou]",i="[aeiouy]",r=n+"[^aeiouy]*",o=i+"[aeiou]*",s="^("+r+")?"+o+r,a="^("+r+")?"+o+r+"("+o+")?$",h="^("+r+")?"+o+r+o+r,u="^("+r+")?"+i,l=new RegExp(s),c=new RegExp(h),f=new RegExp(a),d=new RegExp(u),p=/^(.+?)(ss|i)es$/,v=/^(.+?)([^s])s$/,g=/^(.+?)eed$/,m=/^(.+?)(ed|ing)$/,y=/.$/,S=/(at|bl|iz)$/,w=new RegExp("([^aeiouylsz])\\1$"),k=new RegExp("^"+r+i+"[^aeiouwxy]$"),x=/^(.+?[^aeiou])y$/,b=/^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,E=/^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,F=/^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,_=/^(.+?)(s|t)(ion)$/,z=/^(.+?)e$/,O=/ll$/,P=new RegExp("^"+r+i+"[^aeiouwxy]$"),T=function(n){var i,r,o,s,a,h,u;if(n.length<3)return n;if(o=n.substr(0,1),"y"==o&&(n=o.toUpperCase()+n.substr(1)),s=p,a=v,s.test(n)?n=n.replace(s,"$1$2"):a.test(n)&&(n=n.replace(a,"$1$2")),s=g,a=m,s.test(n)){var T=s.exec(n);s=l,s.test(T[1])&&(s=y,n=n.replace(s,""))}else if(a.test(n)){var T=a.exec(n);i=T[1],a=d,a.test(i)&&(n=i,a=S,h=w,u=k,a.test(n)?n+="e":h.test(n)?(s=y,n=n.replace(s,"")):u.test(n)&&(n+="e"))}if(s=x,s.test(n)){var T=s.exec(n);i=T[1],n=i+"i"}if(s=b,s.test(n)){var T=s.exec(n);i=T[1],r=T[2],s=l,s.test(i)&&(n=i+t[r])}if(s=E,s.test(n)){var T=s.exec(n);i=T[1],r=T[2],s=l,s.test(i)&&(n=i+e[r])}if(s=F,a=_,s.test(n)){var T=s.exec(n);i=T[1],s=c,s.test(i)&&(n=i)}else if(a.test(n)){var T=a.exec(n);i=T[1]+T[2],a=c,a.test(i)&&(n=i)}if(s=z,s.test(n)){var T=s.exec(n);i=T[1],s=c,a=f,h=P,(s.test(i)||a.test(i)&&!h.test(i))&&(n=i)}return s=O,a=c,s.test(n)&&a.test(n)&&(s=y,n=n.replace(s,"")),"y"==o&&(n=o.toLowerCase()+n.substr(1)),n};return T}(),t.Pipeline.registerFunction(t.stemmer,"stemmer"),t.generateStopWordFilter=function(t){var e=t.reduce(function(t,e){return t[e]=e,t},{});return function(t){return t&&e[t]!==t?t:void 0}},t.stopWordFilter=t.generateStopWordFilter(["a","able","about","across","after","all","almost","also","am","among","an","and","any","are","as","at","be","because","been","but","by","can","cannot","could","dear","did","do","does","either","else","ever","every","for","from","get","got","had","has","have","he","her","hers","him","his","how","however","i","if","in","into","is","it","its","just","least","let","like","likely","may","me","might","most","must","my","neither","no","nor","not","of","off","often","on","only","or","other","our","own","rather","said","say","says","she","should","since","so","some","than","that","the","their","them","then","there","these","they","this","tis","to","too","twas","us","wants","was","we","were","what","when","where","which","while","who","whom","why","will","with","would","yet","you","your"]),t.Pipeline.registerFunction(t.stopWordFilter,"stopWordFilter"),t.trimmer=function(t){return t.replace(/^\W+/,"").replace(/\W+$/,"")},t.Pipeline.registerFunction(t.trimmer,"trimmer"),t.TokenStore=function(){this.root={docs:{}},this.length=0},t.TokenStore.load=function(t){var e=new this;return e.root=t.root,e.length=t.length,e},t.TokenStore.prototype.add=function(t,e,n){var n=n||this.root,i=t.charAt(0),r=t.slice(1);return i in n||(n[i]={docs:{}}),0===r.length?(n[i].docs[e.ref]=e,void(this.length+=1)):this.add(r,e,n[i])},t.TokenStore.prototype.has=function(t){if(!t)return!1;for(var e=this.root,n=0;n<t.length;n++){if(!e[t.charAt(n)])return!1;e=e[t.charAt(n)]}return!0},t.TokenStore.prototype.getNode=function(t){if(!t)return{};for(var e=this.root,n=0;n<t.length;n++){if(!e[t.charAt(n)])return{};e=e[t.charAt(n)]}return e},t.TokenStore.prototype.get=function(t,e){return this.getNode(t,e).docs||{}},t.TokenStore.prototype.count=function(t,e){return Object.keys(this.get(t,e)).length},t.TokenStore.prototype.remove=function(t,e){if(t){for(var n=this.root,i=0;i<t.length;i++){if(!(t.charAt(i)in n))return;n=n[t.charAt(i)]}delete n.docs[e]}},t.TokenStore.prototype.expand=function(t,e){var n=this.getNode(t),i=n.docs||{},e=e||[];return Object.keys(i).length&&e.push(t),Object.keys(n).forEach(function(n){"docs"!==n&&e.concat(this.expand(t+n,e))},this),e},t.TokenStore.prototype.toJSON=function(){return{root:this.root,length:this.length}},function(t,e){"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e():t.lunr=e()}(this,function(){return t})}();
|
@@ -0,0 +1,122 @@
|
|
1
|
+
// Generated by CoffeeScript 1.8.0
|
2
|
+
(function() {
|
3
|
+
var e, t, n;
|
4
|
+
n = {}, e = "https://mandrillapp.com/api/1.0/", t = { 1: "OPENED", 2: "HEADERS_RECEIVED", 3: "LOADING", 4: "DONE" }, n.Mandrill = function() {
|
5
|
+
function r(e, t) { this.apikey = e, this.debug = t != null ? t : !1, this.templates = new n.Templates(this), this.exports = new n.Exports(this), this.users = new n.Users(this), this.rejects = new n.Rejects(this), this.inbound = new n.Inbound(this), this.tags = new n.Tags(this), this.messages = new n.Messages(this), this.whitelists = new n.Whitelists(this), this.ips = new n.Ips(this), this.internal = new n.Internal(this), this.subaccounts = new n.Subaccounts(this), this.urls = new n.Urls(this), this.webhooks = new n.Webhooks(this), this.senders = new n.Senders(this), this.metadata = new n.Metadata(this) }
|
6
|
+
return r.prototype.call = function(n, r, i, s) {
|
7
|
+
var o;
|
8
|
+
return r == null && (r = {}), r.key = this.apikey, r = JSON.stringify(r), o = new XMLHttpRequest, o.open("POST", "" + e + n + ".json"), o.setRequestHeader("Content-Type", "application/json"), this.debug && console.log("Mandrill: Opening request to " + e + n + ".json"), o.onreadystatechange = function(e) {
|
9
|
+
return function() {
|
10
|
+
var n;
|
11
|
+
e.debug && console.log("Mandrill: Request state " + t[o.readyState]);
|
12
|
+
if (o.readyState !== 4) return;
|
13
|
+
n = JSON.parse(o.responseText), n == null && (n = { status: "error", name: "GeneralError", message: "An unexpected error occurred" });
|
14
|
+
if (o.status !== 200) return s ? s(n) : e.onerror(n);
|
15
|
+
if (i) return i(n)
|
16
|
+
}
|
17
|
+
}(this), o.send(r)
|
18
|
+
}, r.prototype.onerror = function(e) { throw { name: e.name, message: e.message, toString: function() { return "" + e.name + ": " + e.message } } }, r
|
19
|
+
}(), n.Templates = function() {
|
20
|
+
function e(e) { this.master = e }
|
21
|
+
return e.prototype.add = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), e["from_email"] == null && (e.from_email = null), e["from_name"] == null && (e.from_name = null), e["subject"] == null && (e.subject = null), e["code"] == null && (e.code = null), e["text"] == null && (e.text = null), e["publish"] == null && (e.publish = !0), e["labels"] == null && (e.labels = []), this.master.call("templates/add", e, t, n) }, e.prototype.info = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("templates/info", e, t, n) }, e.prototype.update = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), e["from_email"] == null && (e.from_email = null), e["from_name"] == null && (e.from_name = null), e["subject"] == null && (e.subject = null), e["code"] == null && (e.code = null), e["text"] == null && (e.text = null), e["publish"] == null && (e.publish = !0), e["labels"] == null && (e.labels = null), this.master.call("templates/update", e, t, n) }, e.prototype.publish = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("templates/publish", e, t, n) }, e.prototype["delete"] = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("templates/delete", e, t, n) }, e.prototype.list = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), e["label"] == null && (e.label = null), this.master.call("templates/list", e, t, n) }, e.prototype.timeSeries = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("templates/time-series", e, t, n) }, e.prototype.render = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), e["merge_vars"] == null && (e.merge_vars = null), this.master.call("templates/render", e, t, n) }, e
|
22
|
+
}(), n.Exports = function() {
|
23
|
+
function e(e) { this.master = e }
|
24
|
+
return e.prototype.info = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("exports/info", e, t, n) }, e.prototype.list = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("exports/list", e, t, n) }, e.prototype.rejects = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), e["notify_email"] == null && (e.notify_email = null), this.master.call("exports/rejects", e, t, n) }, e.prototype.whitelist = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), e["notify_email"] == null && (e.notify_email = null), this.master.call("exports/whitelist", e, t, n) }, e.prototype.activity = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), e["notify_email"] == null && (e.notify_email = null), e["date_from"] == null && (e.date_from = null), e["date_to"] == null && (e.date_to = null), e["tags"] == null && (e.tags = null), e["senders"] == null && (e.senders = null), e["states"] == null && (e.states = null), e["api_keys"] == null && (e.api_keys = null), this.master.call("exports/activity", e, t, n) }, e
|
25
|
+
}(), n.Users = function() {
|
26
|
+
function e(e) { this.master = e }
|
27
|
+
return e.prototype.info = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("users/info", e, t, n) }, e.prototype.ping = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("users/ping", e, t, n) }, e.prototype.ping2 = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("users/ping2", e, t, n) }, e.prototype.senders = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("users/senders", e, t, n) }, e
|
28
|
+
}(), n.Rejects = function() {
|
29
|
+
function e(e) { this.master = e }
|
30
|
+
return e.prototype.add = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), e["comment"] == null && (e.comment = null), e["subaccount"] == null && (e.subaccount = null), this.master.call("rejects/add", e, t, n) }, e.prototype.list = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), e["email"] == null && (e.email = null), e["include_expired"] == null && (e.include_expired = !1), e["subaccount"] == null && (e.subaccount = null), this.master.call("rejects/list", e, t, n) }, e.prototype["delete"] = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), e["subaccount"] == null && (e.subaccount = null), this.master.call("rejects/delete", e, t, n) }, e
|
31
|
+
}(), n.Inbound = function() {
|
32
|
+
function e(e) { this.master = e }
|
33
|
+
return e.prototype.domains = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("inbound/domains", e, t, n) }, e.prototype.addDomain = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("inbound/add-domain", e, t, n) }, e.prototype.checkDomain = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("inbound/check-domain", e, t, n) }, e.prototype.deleteDomain = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("inbound/delete-domain", e, t, n) }, e.prototype.routes = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("inbound/routes", e, t, n) }, e.prototype.addRoute = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("inbound/add-route", e, t, n) }, e.prototype.updateRoute = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), e["pattern"] == null && (e.pattern = null), e["url"] == null && (e.url = null), this.master.call("inbound/update-route", e, t, n) }, e.prototype.deleteRoute = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("inbound/delete-route", e, t, n) }, e.prototype.sendRaw = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), e["to"] == null && (e.to = null), e["mail_from"] == null && (e.mail_from = null), e["helo"] == null && (e.helo = null), e["client_address"] == null && (e.client_address = null), this.master.call("inbound/send-raw", e, t, n) }, e
|
34
|
+
}(), n.Tags = function() {
|
35
|
+
function e(e) { this.master = e }
|
36
|
+
return e.prototype.list = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("tags/list", e, t, n) }, e.prototype["delete"] = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("tags/delete", e, t, n) }, e.prototype.info = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("tags/info", e, t, n) }, e.prototype.timeSeries = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("tags/time-series", e, t, n) }, e.prototype.allTimeSeries = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("tags/all-time-series", e, t, n) }, e
|
37
|
+
}(), n.Messages = function() {
|
38
|
+
function e(e) { this.master = e }
|
39
|
+
return e.prototype.send = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), e["async"] == null && (e.async = !1), e["ip_pool"] == null && (e.ip_pool = null), e["send_at"] == null && (e.send_at = null), this.master.call("messages/send", e, t, n) }, e.prototype.sendTemplate = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), e["async"] == null && (e.async = !1), e["ip_pool"] == null && (e.ip_pool = null), e["send_at"] == null && (e.send_at = null), this.master.call("messages/send-template", e, t, n) }, e.prototype.search = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), e["query"] == null && (e.query = "*"), e["date_from"] == null && (e.date_from = null), e["date_to"] == null && (e.date_to = null), e["tags"] == null && (e.tags = null), e["senders"] == null && (e.senders = null), e["api_keys"] == null && (e.api_keys = null), e["limit"] == null && (e.limit = 100), this.master.call("messages/search", e, t, n) }, e.prototype.searchTimeSeries = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), e["query"] == null && (e.query = "*"), e["date_from"] == null && (e.date_from = null), e["date_to"] == null && (e.date_to = null), e["tags"] == null && (e.tags = null), e["senders"] == null && (e.senders = null), this.master.call("messages/search-time-series", e, t, n) }, e.prototype.info = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("messages/info", e, t, n) }, e.prototype.content = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("messages/content", e, t, n) }, e.prototype.parse = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("messages/parse", e, t, n) }, e.prototype.sendRaw = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), e["from_email"] == null && (e.from_email = null), e["from_name"] == null && (e.from_name = null), e["to"] == null && (e.to = null), e["async"] == null && (e.async = !1), e["ip_pool"] == null && (e.ip_pool = null), e["send_at"] == null && (e.send_at = null), e["return_path_domain"] == null && (e.return_path_domain = null), this.master.call("messages/send-raw", e, t, n) }, e.prototype.listScheduled = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), e["to"] == null && (e.to = null), this.master.call("messages/list-scheduled", e, t, n) }, e.prototype.cancelScheduled = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("messages/cancel-scheduled", e, t, n) }, e.prototype.reschedule = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("messages/reschedule", e, t, n) }, e
|
40
|
+
}(), n.Whitelists = function() {
|
41
|
+
function e(e) { this.master = e }
|
42
|
+
return e.prototype.add = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), e["comment"] == null && (e.comment = null), this.master.call("whitelists/add", e, t, n) }, e.prototype.list = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), e["email"] == null && (e.email = null), this.master.call("whitelists/list", e, t, n) }, e.prototype["delete"] = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("whitelists/delete", e, t, n) }, e
|
43
|
+
}(), n.Ips = function() {
|
44
|
+
function e(e) { this.master = e }
|
45
|
+
return e.prototype.list = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("ips/list", e, t, n) }, e.prototype.info = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("ips/info", e, t, n) }, e.prototype.provision = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), e["warmup"] == null && (e.warmup = !1), e["pool"] == null && (e.pool = null), this.master.call("ips/provision", e, t, n) }, e.prototype.startWarmup = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("ips/start-warmup", e, t, n) }, e.prototype.cancelWarmup = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("ips/cancel-warmup", e, t, n) }, e.prototype.setPool = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), e["create_pool"] == null && (e.create_pool = !1), this.master.call("ips/set-pool", e, t, n) }, e.prototype["delete"] = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("ips/delete", e, t, n) }, e.prototype.listPools = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("ips/list-pools", e, t, n) }, e.prototype.poolInfo = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("ips/pool-info", e, t, n) }, e.prototype.createPool = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("ips/create-pool", e, t, n) }, e.prototype.deletePool = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("ips/delete-pool", e, t, n) }, e.prototype.checkCustomDns = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("ips/check-custom-dns", e, t, n) }, e.prototype.setCustomDns = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("ips/set-custom-dns", e, t, n) }, e
|
46
|
+
}(), n.Internal = function() {
|
47
|
+
function e(e) { this.master = e }
|
48
|
+
return e
|
49
|
+
}(), n.Subaccounts = function() {
|
50
|
+
function e(e) { this.master = e }
|
51
|
+
return e.prototype.list = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), e["q"] == null && (e.q = null), this.master.call("subaccounts/list", e, t, n) }, e.prototype.add = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), e["name"] == null && (e.name = null), e["notes"] == null && (e.notes = null), e["custom_quota"] == null && (e.custom_quota = null), this.master.call("subaccounts/add", e, t, n) }, e.prototype.info = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("subaccounts/info", e, t, n) }, e.prototype.update = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), e["name"] == null && (e.name = null), e["notes"] == null && (e.notes = null), e["custom_quota"] == null && (e.custom_quota = null), this.master.call("subaccounts/update", e, t, n) }, e.prototype["delete"] = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("subaccounts/delete", e, t, n) }, e.prototype.pause = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("subaccounts/pause", e, t, n) }, e.prototype.resume = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("subaccounts/resume", e, t, n) }, e
|
52
|
+
}(), n.Urls = function() {
|
53
|
+
function e(e) { this.master = e }
|
54
|
+
return e.prototype.list = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("urls/list", e, t, n) }, e.prototype.search = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("urls/search", e, t, n) }, e.prototype.timeSeries = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("urls/time-series", e, t, n) }, e.prototype.trackingDomains = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("urls/tracking-domains", e, t, n) }, e.prototype.addTrackingDomain = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("urls/add-tracking-domain", e, t, n) }, e.prototype.checkTrackingDomain = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("urls/check-tracking-domain", e, t, n) }, e
|
55
|
+
}(), n.Webhooks = function() {
|
56
|
+
function e(e) { this.master = e }
|
57
|
+
return e.prototype.list = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("webhooks/list", e, t, n) }, e.prototype.add = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), e["description"] == null && (e.description = null), e["events"] == null && (e.events = []), this.master.call("webhooks/add", e, t, n) }, e.prototype.info = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("webhooks/info", e, t, n) }, e.prototype.update = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), e["description"] == null && (e.description = null), e["events"] == null && (e.events = []), this.master.call("webhooks/update", e, t, n) }, e.prototype["delete"] = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("webhooks/delete", e, t, n) }, e
|
58
|
+
}(), n.Senders = function() {
|
59
|
+
function e(e) { this.master = e }
|
60
|
+
return e.prototype.list = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("senders/list", e, t, n) }, e.prototype.domains = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("senders/domains", e, t, n) }, e.prototype.addDomain = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("senders/add-domain", e, t, n) }, e.prototype.checkDomain = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("senders/check-domain", e, t, n) }, e.prototype.verifyDomain = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("senders/verify-domain", e, t, n) }, e.prototype.info = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("senders/info", e, t, n) }, e.prototype.timeSeries = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("senders/time-series", e, t, n) }, e
|
61
|
+
}(), n.Metadata = function() {
|
62
|
+
function e(e) { this.master = e }
|
63
|
+
return e.prototype.list = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("metadata/list", e, t, n) }, e.prototype.add = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), e["view_template"] == null && (e.view_template = null), this.master.call("metadata/add", e, t, n) }, e.prototype.update = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("metadata/update", e, t, n) }, e.prototype["delete"] = function(e, t, n) { return e == null && (e = {}), typeof e == "function" && (n = t, t = e, e = {}), this.master.call("metadata/delete", e, t, n) }, e
|
64
|
+
}(), (typeof exports != "undefined" && exports !== null ? exports : this).mandrill = n
|
65
|
+
}).call(this);
|
66
|
+
var JSON;
|
67
|
+
JSON || (JSON = {}),
|
68
|
+
function() {
|
69
|
+
"use strict";
|
70
|
+
|
71
|
+
function f(e) { return e < 10 ? "0" + e : e }
|
72
|
+
|
73
|
+
function quote(e) { return escapable.lastIndex = 0, escapable.test(e) ? '"' + e.replace(escapable, function(e) { var t = meta[e]; return typeof t == "string" ? t : "\\u" + ("0000" + e.charCodeAt(0).toString(16)).slice(-4) }) + '"' : '"' + e + '"' }
|
74
|
+
|
75
|
+
function str(e, t) {
|
76
|
+
var n, r, i, s, o = gap,
|
77
|
+
u, a = t[e];
|
78
|
+
a && typeof a == "object" && typeof a.toJSON == "function" && (a = a.toJSON(e)), typeof rep == "function" && (a = rep.call(t, e, a));
|
79
|
+
switch (typeof a) {
|
80
|
+
case "string":
|
81
|
+
return quote(a);
|
82
|
+
case "number":
|
83
|
+
return isFinite(a) ? String(a) : "null";
|
84
|
+
case "boolean":
|
85
|
+
case "null":
|
86
|
+
return String(a);
|
87
|
+
case "object":
|
88
|
+
if (!a) return "null";
|
89
|
+
gap += indent, u = [];
|
90
|
+
if (Object.prototype.toString.apply(a) === "[object Array]") { s = a.length; for (n = 0; n < s; n += 1) u[n] = str(n, a) || "null"; return i = u.length === 0 ? "[]" : gap ? "[\n" + gap + u.join(",\n" + gap) + "\n" + o + "]" : "[" + u.join(",") + "]", gap = o, i }
|
91
|
+
if (rep && typeof rep == "object") { s = rep.length; for (n = 0; n < s; n += 1) typeof rep[n] == "string" && (r = rep[n], i = str(r, a), i && u.push(quote(r) + (gap ? ": " : ":") + i)) } else
|
92
|
+
for (r in a) Object.prototype.hasOwnProperty.call(a, r) && (i = str(r, a), i && u.push(quote(r) + (gap ? ": " : ":") + i));
|
93
|
+
return i = u.length === 0 ? "{}" : gap ? "{\n" + gap + u.join(",\n" + gap) + "\n" + o + "}" : "{" + u.join(",") + "}", gap = o, i
|
94
|
+
}
|
95
|
+
}
|
96
|
+
typeof Date.prototype.toJSON != "function" && (Date.prototype.toJSON = function(e) { return isFinite(this.valueOf()) ? this.getUTCFullYear() + "-" + f(this.getUTCMonth() + 1) + "-" + f(this.getUTCDate()) + "T" + f(this.getUTCHours()) + ":" + f(this.getUTCMinutes()) + ":" + f(this.getUTCSeconds()) + "Z" : null }, String.prototype.toJSON = Number.prototype.toJSON = Boolean.prototype.toJSON = function(e) { return this.valueOf() });
|
97
|
+
var cx = /[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
|
98
|
+
escapable = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
|
99
|
+
gap, indent, meta = { "\b": "\\b", " ": "\\t", "\n": "\\n", "\f": "\\f", "\r": "\\r", '"': '\\"', "\\": "\\\\" },
|
100
|
+
rep;
|
101
|
+
typeof JSON.stringify != "function" && (JSON.stringify = function(e, t, n) {
|
102
|
+
var r;
|
103
|
+
gap = "", indent = "";
|
104
|
+
if (typeof n == "number")
|
105
|
+
for (r = 0; r < n; r += 1) indent += " ";
|
106
|
+
else typeof n == "string" && (indent = n);
|
107
|
+
rep = t;
|
108
|
+
if (!t || typeof t == "function" || typeof t == "object" && typeof t.length == "number") return str("", { "": e });
|
109
|
+
throw new Error("JSON.stringify")
|
110
|
+
}), typeof JSON.parse != "function" && (JSON.parse = function(text, reviver) {
|
111
|
+
function walk(e, t) {
|
112
|
+
var n, r, i = e[t];
|
113
|
+
if (i && typeof i == "object")
|
114
|
+
for (n in i) Object.prototype.hasOwnProperty.call(i, n) && (r = walk(i, n), r !== undefined ? i[n] = r : delete i[n]);
|
115
|
+
return reviver.call(e, t, i)
|
116
|
+
}
|
117
|
+
var j;
|
118
|
+
text = String(text), cx.lastIndex = 0, cx.test(text) && (text = text.replace(cx, function(e) { return "\\u" + ("0000" + e.charCodeAt(0).toString(16)).slice(-4) }));
|
119
|
+
if (/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, "@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, "]").replace(/(?:^|:|,)(?:\s*\[)+/g, ""))) return j = eval("(" + text + ")"), typeof reviver == "function" ? walk({ "": j }, "") : j;
|
120
|
+
throw new SyntaxError("JSON.parse")
|
121
|
+
})
|
122
|
+
}();
|