mailgun.js 4.1.2 → 4.1.6
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.
- package/.eslintrc +3 -1
- package/CHANGELOG.md +24 -0
- package/README.md +1 -1
- package/dist/lib/domains.d.ts +6 -2
- package/dist/lib/domainsTemplates.d.ts +35 -0
- package/dist/lib/interfaces/DomainTemplates.d.ts +194 -0
- package/dist/mailgun.node.js +2 -2
- package/dist/mailgun.node.js.LICENSE.txt +1 -1
- package/dist/mailgun.web.js +2 -2
- package/dist/mailgun.web.js.LICENSE.txt +1 -1
- package/docs/.nojekyll +1 -0
- package/docs/assets/highlight.css +127 -0
- package/docs/assets/icons.css +1043 -0
- package/docs/assets/{images/icons.png → icons.png} +0 -0
- package/docs/assets/{images/icons@2x.png → icons@2x.png} +0 -0
- package/docs/assets/main.js +52 -0
- package/docs/assets/search.js +1 -0
- package/docs/assets/style.css +1413 -0
- package/docs/assets/{images/widgets.png → widgets.png} +0 -0
- package/docs/assets/{images/widgets@2x.png → widgets@2x.png} +0 -0
- package/docs/classes/client.default.html +1 -0
- package/docs/classes/domains.Domain.html +1 -0
- package/docs/classes/domains.default.html +1 -0
- package/docs/classes/domainsCredentials.default.html +1 -0
- package/docs/classes/domainsTemplates.DomainTemplateItem.html +1 -0
- package/docs/classes/domainsTemplates.default.html +1 -0
- package/docs/classes/error.default.html +6 -0
- package/docs/classes/events.default.html +1 -0
- package/docs/classes/ip_pools.default.html +1 -0
- package/docs/classes/ips.default.html +1 -0
- package/docs/classes/lists.default.html +1 -0
- package/docs/classes/mailListMembers.default.html +1 -0
- package/docs/classes/messages.default.html +1 -0
- package/docs/classes/multipleValidation.default.html +1 -0
- package/docs/classes/request.default.html +1 -0
- package/docs/classes/routes.default.html +1 -0
- package/docs/classes/stats.default.html +1 -0
- package/docs/classes/suppressions.default.html +1 -0
- package/docs/classes/validate.default.html +1 -0
- package/docs/classes/webhooks.default.html +1 -0
- package/docs/enums/interfaces_DomainTemplates.Pages.html +1 -0
- package/docs/enums/interfaces_DomainTemplates.YesNo.html +1 -0
- package/docs/index.html +1140 -1308
- package/docs/interfaces/interfaces_APIErrorOptions.default.html +1 -0
- package/docs/interfaces/interfaces_ApiResponse.default.html +1 -0
- package/docs/interfaces/interfaces_DomainCredentials.CreatedUpdatedDomainCredentialsResponse.html +1 -0
- package/docs/interfaces/interfaces_DomainCredentials.DeletedDomainCredentialsResponse.html +1 -0
- package/docs/interfaces/interfaces_DomainCredentials.DomainCredentials.html +1 -0
- package/docs/interfaces/interfaces_DomainCredentials.DomainCredentialsItem.html +1 -0
- package/docs/interfaces/interfaces_DomainCredentials.DomainCredentialsList.html +1 -0
- package/docs/interfaces/interfaces_DomainCredentials.DomainCredentialsQuery.html +1 -0
- package/docs/interfaces/interfaces_DomainCredentials.DomainCredentialsResponseData.html +1 -0
- package/docs/interfaces/interfaces_DomainCredentials.DomainCredentialsResult.html +1 -0
- package/docs/interfaces/interfaces_DomainCredentials.IDomainCredentials.html +1 -0
- package/docs/interfaces/interfaces_DomainCredentials.UpdateDomainCredentialsData.html +1 -0
- package/docs/interfaces/interfaces_DomainTemplates.CreateDomainTemplateAPIResponse.html +1 -0
- package/docs/interfaces/interfaces_DomainTemplates.CreateDomainTemplateVersionAPIResponse.html +1 -0
- package/docs/interfaces/interfaces_DomainTemplates.CreateDomainTemplateVersionResult.html +1 -0
- package/docs/interfaces/interfaces_DomainTemplates.DomainTemplate.html +1 -0
- package/docs/interfaces/interfaces_DomainTemplates.DomainTemplateData.html +1 -0
- package/docs/interfaces/interfaces_DomainTemplates.DomainTemplateUpdateData.html +1 -0
- package/docs/interfaces/interfaces_DomainTemplates.DomainTemplateUpdateVersionData.html +1 -0
- package/docs/interfaces/interfaces_DomainTemplates.DomainTemplateVersionData.html +1 -0
- package/docs/interfaces/interfaces_DomainTemplates.DomainTemplatesQuery.html +1 -0
- package/docs/interfaces/interfaces_DomainTemplates.GetDomainTemplateAPIResponse.html +1 -0
- package/docs/interfaces/interfaces_DomainTemplates.IDomainTemplatesClient.html +1 -0
- package/docs/interfaces/interfaces_DomainTemplates.ListDomainTemplateVersionsAPIResponse.html +1 -0
- package/docs/interfaces/interfaces_DomainTemplates.ListDomainTemplateVersionsResult.html +1 -0
- package/docs/interfaces/interfaces_DomainTemplates.ListDomainTemplatesAPIResponse.html +1 -0
- package/docs/interfaces/interfaces_DomainTemplates.ListDomainTemplatesResult.html +1 -0
- package/docs/interfaces/interfaces_DomainTemplates.MutateDomainTemplateVersionAPIResponse.html +1 -0
- package/docs/interfaces/interfaces_DomainTemplates.MutateDomainTemplateVersionResult.html +1 -0
- package/docs/interfaces/interfaces_DomainTemplates.NotificationAPIResponse.html +1 -0
- package/docs/interfaces/interfaces_DomainTemplates.NotificationResult.html +1 -0
- package/docs/interfaces/interfaces_DomainTemplates.ShortTemplateVersion.html +1 -0
- package/docs/interfaces/interfaces_DomainTemplates.TemplateQuery.html +1 -0
- package/docs/interfaces/interfaces_DomainTemplates.TemplateVersion.html +1 -0
- package/docs/interfaces/interfaces_DomainTemplates.UpdateOrDeleteDomainTemplateAPIResponse.html +1 -0
- package/docs/interfaces/interfaces_DomainTemplates.UpdateOrDeleteDomainTemplateResult.html +1 -0
- package/docs/interfaces/interfaces_DomainTracking.ClickTrackingInfo.html +1 -0
- package/docs/interfaces/interfaces_DomainTracking.DomainTrackingData.html +1 -0
- package/docs/interfaces/interfaces_DomainTracking.DomainTrackingResponse.html +1 -0
- package/docs/interfaces/interfaces_DomainTracking.OpenTrackingInfo.html +1 -0
- package/docs/interfaces/interfaces_DomainTracking.UnsubscribeTrackingInfo.html +1 -0
- package/docs/interfaces/interfaces_DomainTracking.UpdateDomainTrackingResponse.html +1 -0
- package/docs/interfaces/interfaces_DomainTracking.UpdatedOpenTracking.html +1 -0
- package/docs/interfaces/interfaces_Domains.ConnectionSettings.html +1 -0
- package/docs/interfaces/interfaces_Domains.ConnectionSettingsResponse.html +1 -0
- package/docs/interfaces/interfaces_Domains.DKIMAuthorityInfo.html +1 -0
- package/docs/interfaces/interfaces_Domains.DKIMSelectorInfo.html +1 -0
- package/docs/interfaces/interfaces_Domains.DNSRecord.html +1 -0
- package/docs/interfaces/interfaces_Domains.DestroyedDomainResponse.html +1 -0
- package/docs/interfaces/interfaces_Domains.DomainData.html +1 -0
- package/docs/interfaces/interfaces_Domains.DomainInfo.html +1 -0
- package/docs/interfaces/interfaces_Domains.DomainListResponseData.html +1 -0
- package/docs/interfaces/interfaces_Domains.DomainResponseData.html +1 -0
- package/docs/interfaces/interfaces_Domains.DomainShortData.html +1 -0
- package/docs/interfaces/interfaces_Domains.DomainsListItem.html +1 -0
- package/docs/interfaces/interfaces_Domains.DomainsQuery.html +1 -0
- package/docs/interfaces/interfaces_Domains.MessageResponse.html +1 -0
- package/docs/interfaces/interfaces_Domains.ReplacementForPool.html +1 -0
- package/docs/interfaces/interfaces_Domains.UpdatedConnectionSettings.html +1 -0
- package/docs/interfaces/interfaces_Domains.UpdatedConnectionSettingsRes.html +1 -0
- package/docs/interfaces/interfaces_Domains.UpdatedDKIMAuthority.html +1 -0
- package/docs/interfaces/interfaces_Domains.UpdatedDKIMAuthorityResponse.html +1 -0
- package/docs/interfaces/interfaces_Domains.UpdatedDKIMSelectorResponse.html +1 -0
- package/docs/interfaces/interfaces_Domains.UpdatedWebPrefix.html +1 -0
- package/docs/interfaces/interfaces_Domains.UpdatedWebPrefixResponse.html +1 -0
- package/docs/interfaces/interfaces_Domains.WebPrefixInfo.html +1 -0
- package/docs/interfaces/interfaces_Events.DomainEvent.html +1 -0
- package/docs/interfaces/interfaces_Events.EventsList.html +1 -0
- package/docs/interfaces/interfaces_Events.EventsPage.html +1 -0
- package/docs/interfaces/interfaces_Events.EventsResponse.html +1 -0
- package/docs/interfaces/interfaces_Events.PagesList.html +1 -0
- package/docs/interfaces/interfaces_Events.PagesListAccumulator.html +1 -0
- package/docs/interfaces/interfaces_Events.ParsedPage.html +1 -0
- package/docs/interfaces/interfaces_Events.ParsedPagesList.html +1 -0
- package/docs/interfaces/interfaces_IFormData.IFormDataOptions.html +1 -0
- package/docs/interfaces/interfaces_IFormData.InputFormData.html +1 -0
- package/docs/interfaces/interfaces_IpPools.IpPool.html +1 -0
- package/docs/interfaces/interfaces_IpPools.IpPoolListResponse.html +1 -0
- package/docs/interfaces/interfaces_IpPools.IpPoolUpdateData.html +1 -0
- package/docs/interfaces/interfaces_Ips.IpData.html +1 -0
- package/docs/interfaces/interfaces_Ips.IpsListResponseBody.html +1 -0
- package/docs/interfaces/interfaces_MultipleValidation.CanceledMultipleValidationJob.html +1 -0
- package/docs/interfaces/interfaces_MultipleValidation.CreatedMultipleValidationJob.html +1 -0
- package/docs/interfaces/interfaces_MultipleValidation.IMultipleValidationClient.html +1 -0
- package/docs/interfaces/interfaces_MultipleValidation.MultipleValidationJob.html +1 -0
- package/docs/interfaces/interfaces_MultipleValidation.MultipleValidationJobsListResponse.html +1 -0
- package/docs/interfaces/interfaces_MultipleValidation.MultipleValidationJobsListResult.html +1 -0
- package/docs/interfaces/interfaces_MultipleValidation.PagesList.html +1 -0
- package/docs/interfaces/interfaces_Options.default.html +1 -0
- package/docs/interfaces/interfaces_RequestOptions.default.html +1 -0
- package/docs/interfaces/interfaces_StatsOptions.Stat.html +1 -0
- package/docs/interfaces/interfaces_StatsOptions.StatsOptions.html +1 -0
- package/docs/interfaces/interfaces_StatsOptions.StatsQuery.html +1 -0
- package/docs/interfaces/interfaces_Supressions.BounceData.html +1 -0
- package/docs/interfaces/interfaces_Supressions.ComplaintData.html +1 -0
- package/docs/interfaces/interfaces_Supressions.UnsubscribeData.html +1 -0
- package/docs/interfaces/interfaces_Supressions.WhiteListData.html +1 -0
- package/docs/interfaces/interfaces_Validate.ValidationResponse.html +1 -0
- package/docs/interfaces/interfaces_Validate.ValidationResult.html +1 -0
- package/docs/interfaces/interfaces_Webhooks.APIWebhook.html +1 -0
- package/docs/interfaces/interfaces_Webhooks.ValidationResponse.html +1 -0
- package/docs/interfaces/interfaces_Webhooks.WebhookList.html +1 -0
- package/docs/interfaces/interfaces_Webhooks.WebhookResponse.html +1 -0
- package/docs/interfaces/interfaces_Webhooks.WebhookResponseBody.html +1 -0
- package/docs/interfaces/interfaces_Webhooks.WebhooksQuery.html +1 -0
- package/docs/interfaces/interfaces_lists.CreateUpdateList.html +1 -0
- package/docs/interfaces/interfaces_lists.DestroyedList.html +1 -0
- package/docs/interfaces/interfaces_lists.ListsQuery.html +1 -0
- package/docs/interfaces/interfaces_lists.MailingList.html +1 -0
- package/docs/interfaces/interfaces_mailListMembers.CreateUpdateMailListMembers.html +1 -0
- package/docs/interfaces/interfaces_mailListMembers.CreateUpdateMailListMembersReq.html +1 -0
- package/docs/interfaces/interfaces_mailListMembers.DeletedMember.html +1 -0
- package/docs/interfaces/interfaces_mailListMembers.IMailListsMembers.html +1 -0
- package/docs/interfaces/interfaces_mailListMembers.MailListMember.html +1 -0
- package/docs/interfaces/interfaces_mailListMembers.MailListMembersQuery.html +1 -0
- package/docs/interfaces/interfaces_mailListMembers.MultipleMembersData.html +1 -0
- package/docs/interfaces/interfaces_mailListMembers.MultipleMembersReqData.html +1 -0
- package/docs/interfaces/interfaces_mailListMembers.NewMultipleMembersResponse.html +1 -0
- package/docs/interfaces/interfaces_routes.CreateUpdateRouteData.html +1 -0
- package/docs/interfaces/interfaces_routes.DestroyRouteResponse.html +1 -0
- package/docs/interfaces/interfaces_routes.Route.html +1 -0
- package/docs/interfaces/interfaces_routes.RoutesListQuery.html +1 -0
- package/docs/interfaces/interfaces_routes.UpdateRouteResponse.html +1 -0
- package/docs/modules/client.html +1 -0
- package/docs/modules/domains.html +1 -0
- package/docs/modules/domainsCredentials.html +1 -0
- package/docs/modules/domainsTemplates.html +1 -0
- package/docs/modules/error.html +1 -0
- package/docs/modules/events.html +1 -0
- package/docs/modules/interfaces_APIErrorOptions.html +1 -0
- package/docs/modules/interfaces_ApiResponse.html +1 -0
- package/docs/modules/interfaces_DomainCredentials.html +1 -0
- package/docs/modules/interfaces_DomainTemplates.html +1 -0
- package/docs/modules/interfaces_DomainTracking.html +1 -0
- package/docs/modules/interfaces_Domains.html +1 -0
- package/docs/modules/interfaces_Events.html +1 -0
- package/docs/modules/interfaces_IFormData.html +1 -0
- package/docs/modules/interfaces_IpPools.html +1 -0
- package/docs/modules/interfaces_Ips.html +1 -0
- package/docs/modules/interfaces_MultipleValidation.html +1 -0
- package/docs/modules/interfaces_Options.html +1 -0
- package/docs/modules/interfaces_RequestOptions.html +1 -0
- package/docs/modules/interfaces_StatsOptions.html +1 -0
- package/docs/modules/interfaces_Supressions.html +1 -0
- package/docs/modules/interfaces_Validate.html +1 -0
- package/docs/modules/interfaces_Webhooks.html +1 -0
- package/docs/modules/interfaces_lists.html +1 -0
- package/docs/modules/interfaces_mailListMembers.html +1 -0
- package/docs/modules/interfaces_routes.html +1 -0
- package/docs/modules/ip_pools.html +1 -0
- package/docs/modules/ips.html +1 -0
- package/docs/modules/lists.html +1 -0
- package/docs/modules/mailListMembers.html +1 -0
- package/docs/modules/messages.html +1 -0
- package/docs/modules/multipleValidation.html +1 -0
- package/docs/modules/request.html +1 -0
- package/docs/modules/routes.html +1 -0
- package/docs/modules/stats.html +1 -0
- package/docs/modules/suppressions.html +1 -0
- package/docs/modules/validate.html +1 -0
- package/docs/modules/webhooks.html +1 -0
- package/docs/modules.html +1 -0
- package/lib/client.ts +3 -1
- package/lib/domains.ts +12 -3
- package/lib/domainsTemplates.ts +235 -0
- package/lib/interfaces/DomainTemplates.ts +238 -0
- package/package.json +5 -4
- package/test/domains.test.ts +3 -1
- package/test/domainsTemplates.test.ts +392 -0
- package/tsconfig.json +2 -2
- package/docs/assets/css/main.css +0 -1
- package/docs/assets/js/main.js +0 -51
- package/docs/assets/js/search.json +0 -1
- package/docs/classes/_index_.mailgun.html +0 -294
- package/docs/classes/_lib_client_.client.html +0 -405
- package/docs/classes/_lib_domains_.domain.html +0 -422
- package/docs/classes/_lib_domains_.domainclient.html +0 -620
- package/docs/classes/_lib_error_.apierror.html +0 -362
- package/docs/classes/_lib_events_.eventclient.html +0 -465
- package/docs/classes/_lib_messages_.messagesclient.html +0 -327
- package/docs/classes/_lib_parse_.parseclient.html +0 -295
- package/docs/classes/_lib_request_.request.html +0 -698
- package/docs/classes/_lib_routes_.routesclient.html +0 -403
- package/docs/classes/_lib_stats_.stats.html +0 -301
- package/docs/classes/_lib_stats_.statsclient.html +0 -357
- package/docs/classes/_lib_suppressions_.bounce.html +0 -327
- package/docs/classes/_lib_suppressions_.complaint.html +0 -299
- package/docs/classes/_lib_suppressions_.suppressionclient.html +0 -599
- package/docs/classes/_lib_suppressions_.unsubscribe.html +0 -313
- package/docs/classes/_lib_validate_.validateclient.html +0 -292
- package/docs/classes/_lib_webhooks_.webhook.html +0 -281
- package/docs/classes/_lib_webhooks_.webhookclient.html +0 -539
- package/docs/globals.html +0 -199
- package/docs/interfaces/_lib_domains_.domaindata.html +0 -352
- package/docs/interfaces/_lib_interfaces_apierroroptions_.apierroroptions.html +0 -284
- package/docs/interfaces/_lib_interfaces_options_.options.html +0 -267
- package/docs/interfaces/_lib_interfaces_requestoptions_.requestoptions.html +0 -285
- package/docs/interfaces/_lib_interfaces_statsoptions_.statsoptions.html +0 -262
- package/docs/interfaces/_lib_interfaces_supressions_.bouncedata.html +0 -268
- package/docs/interfaces/_lib_interfaces_supressions_.complaintdata.html +0 -240
- package/docs/interfaces/_lib_interfaces_supressions_.unsubscribedata.html +0 -254
- package/docs/modules/_index_.html +0 -186
- package/docs/modules/_lib_client_.html +0 -208
- package/docs/modules/_lib_domains_.html +0 -199
- package/docs/modules/_lib_error_.html +0 -186
- package/docs/modules/_lib_events_.html +0 -250
- package/docs/modules/_lib_interfaces_apierroroptions_.html +0 -186
- package/docs/modules/_lib_interfaces_options_.html +0 -186
- package/docs/modules/_lib_interfaces_requestoptions_.html +0 -186
- package/docs/modules/_lib_interfaces_statsoptions_.html +0 -186
- package/docs/modules/_lib_interfaces_supressions_.html +0 -194
- package/docs/modules/_lib_messages_.html +0 -186
- package/docs/modules/_lib_parse_.html +0 -186
- package/docs/modules/_lib_request_.html +0 -259
- package/docs/modules/_lib_routes_.html +0 -186
- package/docs/modules/_lib_stats_.html +0 -190
- package/docs/modules/_lib_suppressions_.html +0 -262
- package/docs/modules/_lib_validate_.html +0 -186
- package/docs/modules/_lib_webhooks_.html +0 -190
- package/docs/modules/_webpack_config_.html +0 -227
- package/docs/modules/_webpack_release_config_.html +0 -227
|
@@ -0,0 +1,392 @@
|
|
|
1
|
+
import formData from 'form-data';
|
|
2
|
+
|
|
3
|
+
import nock from 'nock';
|
|
4
|
+
import Request from '../lib/request';
|
|
5
|
+
import RequestOptions from '../lib/interfaces/RequestOptions';
|
|
6
|
+
import { InputFormData } from '../lib/interfaces/IFormData';
|
|
7
|
+
import { DomainCredentialsList, DomainCredentialsResult } from '../lib/interfaces/DomainCredentials';
|
|
8
|
+
import DomainTemplatesClient from '../lib/domainsTemplates';
|
|
9
|
+
import { DomainTemplateUpdateVersionData, DomainTemplateVersionData } from '../lib/interfaces/DomainTemplates';
|
|
10
|
+
|
|
11
|
+
// TODO: fix types
|
|
12
|
+
describe('DomainsTemplatesClient', function () {
|
|
13
|
+
let client: DomainTemplatesClient;
|
|
14
|
+
let api: nock.Scope;
|
|
15
|
+
|
|
16
|
+
beforeEach(function () {
|
|
17
|
+
const reqObject = new Request({ url: 'https://api.mailgun.net' } as RequestOptions, formData as InputFormData);
|
|
18
|
+
client = new DomainTemplatesClient(reqObject);
|
|
19
|
+
api = nock('https://api.mailgun.net');
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
afterEach(function () {
|
|
23
|
+
api.done();
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
describe('list', function () {
|
|
27
|
+
it('fetches all templates for domain', async () => {
|
|
28
|
+
api.get('/v3/testDomain/templates').reply(200, {
|
|
29
|
+
items: [
|
|
30
|
+
{
|
|
31
|
+
name: 'test_template',
|
|
32
|
+
description: 'test_template description',
|
|
33
|
+
createdAt: 'Mon, 20 Dec 2021 14:47:51 UTC',
|
|
34
|
+
createdBy: '',
|
|
35
|
+
id: 'someId'
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
paging: {
|
|
39
|
+
first: 'first page url',
|
|
40
|
+
last: 'last page url',
|
|
41
|
+
next: 'next page url',
|
|
42
|
+
previous: 'previous page url',
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
const templatesList = await client.list('testDomain');
|
|
47
|
+
templatesList.should.be.an('object').to.have.property('items');
|
|
48
|
+
templatesList.items.should.be.an('array').to.have.property('length').to.be.equal(1);
|
|
49
|
+
templatesList.items[0].should.eql({
|
|
50
|
+
name: 'test_template',
|
|
51
|
+
description: 'test_template description',
|
|
52
|
+
createdAt: new Date('Mon, 20 Dec 2021 14:47:51 UTC'),
|
|
53
|
+
createdBy: '',
|
|
54
|
+
id: 'someId'
|
|
55
|
+
});
|
|
56
|
+
});
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
describe('get', function () {
|
|
60
|
+
it('fetches all templates for domain', async () => {
|
|
61
|
+
api.get('/v3/testDomain/templates/testTemplateName').reply(200, {
|
|
62
|
+
template: {
|
|
63
|
+
name: 'test_template',
|
|
64
|
+
description: 'test_template description',
|
|
65
|
+
createdAt: 'Mon, 20 Dec 2021 14:47:51 UTC',
|
|
66
|
+
createdBy: '',
|
|
67
|
+
id: 'someId'
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
const template = await client.get('testDomain', 'testTemplateName');
|
|
72
|
+
template.should.be.an('object');
|
|
73
|
+
template.should.eql({
|
|
74
|
+
name: 'test_template',
|
|
75
|
+
description: 'test_template description',
|
|
76
|
+
createdAt: new Date('Mon, 20 Dec 2021 14:47:51 UTC'),
|
|
77
|
+
createdBy: '',
|
|
78
|
+
id: 'someId'
|
|
79
|
+
});
|
|
80
|
+
});
|
|
81
|
+
});
|
|
82
|
+
|
|
83
|
+
describe('create', function () {
|
|
84
|
+
it('creates domain template', async () => {
|
|
85
|
+
const templateData = {
|
|
86
|
+
name: 'test_template1',
|
|
87
|
+
description: 'test_template1 description',
|
|
88
|
+
template: '%recipient.title%',
|
|
89
|
+
tag: 'v1',
|
|
90
|
+
comment: 'dummy comment'
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
api.post('/v3/testDomain/templates').reply(200, {
|
|
94
|
+
message: 'template has been stored',
|
|
95
|
+
template: {
|
|
96
|
+
name: 'test_template1',
|
|
97
|
+
description: 'test_template description 1',
|
|
98
|
+
createdAt: 'Wed, 22 Dec 2021 08:59:29 UTC',
|
|
99
|
+
createdBy: '',
|
|
100
|
+
id: 'someId',
|
|
101
|
+
version: {
|
|
102
|
+
tag: 'v1',
|
|
103
|
+
template: '%recipient.title%',
|
|
104
|
+
engine: 'handlebars',
|
|
105
|
+
mjml: '',
|
|
106
|
+
createdAt: 'Wed, 22 Dec 2021 08:59:29 UTC',
|
|
107
|
+
comment: 'dummy comment',
|
|
108
|
+
active: true,
|
|
109
|
+
id: 'someId2'
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
});
|
|
113
|
+
|
|
114
|
+
const template = await client.create('testDomain', templateData);
|
|
115
|
+
template.should.be.an('object');
|
|
116
|
+
template.should.eql({
|
|
117
|
+
name: 'test_template1',
|
|
118
|
+
description: 'test_template description 1',
|
|
119
|
+
createdAt: new Date('Wed, 22 Dec 2021 08:59:29 UTC'),
|
|
120
|
+
createdBy: '',
|
|
121
|
+
id: 'someId',
|
|
122
|
+
version: {
|
|
123
|
+
tag: 'v1',
|
|
124
|
+
template: '%recipient.title%',
|
|
125
|
+
engine: 'handlebars',
|
|
126
|
+
mjml: '',
|
|
127
|
+
createdAt: new Date('Wed, 22 Dec 2021 08:59:29 UTC'),
|
|
128
|
+
comment: 'dummy comment',
|
|
129
|
+
active: true,
|
|
130
|
+
id: 'someId2'
|
|
131
|
+
}
|
|
132
|
+
});
|
|
133
|
+
});
|
|
134
|
+
});
|
|
135
|
+
|
|
136
|
+
describe('update', function () {
|
|
137
|
+
it('updates domain template', async () => {
|
|
138
|
+
api.put('/v3/testDomain/templates/testTemplateName').reply(200, {
|
|
139
|
+
message: 'template has been updated',
|
|
140
|
+
template: { name: 'test_template1' }
|
|
141
|
+
});
|
|
142
|
+
|
|
143
|
+
const updatedTemplate = await client.update('testDomain', 'testTemplateName', {
|
|
144
|
+
description: 'updated test_template description'
|
|
145
|
+
});
|
|
146
|
+
updatedTemplate.should.be.an('object');
|
|
147
|
+
updatedTemplate.should.eql({
|
|
148
|
+
status: 200,
|
|
149
|
+
message: 'template has been updated',
|
|
150
|
+
templateName: 'test_template1'
|
|
151
|
+
});
|
|
152
|
+
});
|
|
153
|
+
});
|
|
154
|
+
|
|
155
|
+
describe('destroy', function () {
|
|
156
|
+
it('deletes domain template', async () => {
|
|
157
|
+
api.delete('/v3/testDomain/templates/testTemplateName').reply(200, {
|
|
158
|
+
message: 'template has been deleted',
|
|
159
|
+
template: { name: 'test_template1' }
|
|
160
|
+
});
|
|
161
|
+
|
|
162
|
+
const deletedTemplate = await client.destroy('testDomain', 'testTemplateName');
|
|
163
|
+
deletedTemplate.should.eql({
|
|
164
|
+
status: 200,
|
|
165
|
+
message: 'template has been deleted',
|
|
166
|
+
templateName: 'test_template1'
|
|
167
|
+
});
|
|
168
|
+
});
|
|
169
|
+
});
|
|
170
|
+
|
|
171
|
+
describe('destroyAll', function () {
|
|
172
|
+
it('deletes all domain templates', async () => {
|
|
173
|
+
api.delete('/v3/testDomain/templates').reply(200, { message: 'templates have been deleted' });
|
|
174
|
+
|
|
175
|
+
const deletedTemplate = await client.destroyAll('testDomain');
|
|
176
|
+
deletedTemplate.should.eql({ status: 200, message: 'templates have been deleted' });
|
|
177
|
+
});
|
|
178
|
+
});
|
|
179
|
+
|
|
180
|
+
describe('createVersion', function () {
|
|
181
|
+
it('creates new version of domain template', async () => {
|
|
182
|
+
const templateVersionData = {
|
|
183
|
+
template: '%recipient.title%',
|
|
184
|
+
tag: 'v3',
|
|
185
|
+
comment: 'comment',
|
|
186
|
+
active: 'yes'
|
|
187
|
+
} as DomainTemplateVersionData;
|
|
188
|
+
|
|
189
|
+
api.post('/v3/testDomain/templates/testTemplateName/versions').reply(200, {
|
|
190
|
+
message: 'new version of the template has been stored',
|
|
191
|
+
template: {
|
|
192
|
+
name: 'test_template1',
|
|
193
|
+
description: 'test_template description 1',
|
|
194
|
+
createdAt: 'Wed, 22 Dec 2021 08:59:29 UTC',
|
|
195
|
+
createdBy: '',
|
|
196
|
+
id: 'someId',
|
|
197
|
+
version: {
|
|
198
|
+
tag: 'v1',
|
|
199
|
+
template: '%recipient.title%',
|
|
200
|
+
engine: 'handlebars',
|
|
201
|
+
mjml: '',
|
|
202
|
+
createdAt: 'Wed, 22 Dec 2021 08:59:29 UTC',
|
|
203
|
+
comment: 'comment',
|
|
204
|
+
active: true,
|
|
205
|
+
id: 'someId2'
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
});
|
|
209
|
+
|
|
210
|
+
const templateVersion = await client.createVersion('testDomain', 'testTemplateName', templateVersionData);
|
|
211
|
+
templateVersion.should.be.an('object');
|
|
212
|
+
templateVersion.should.eql({
|
|
213
|
+
status: 200,
|
|
214
|
+
message: 'new version of the template has been stored',
|
|
215
|
+
template: {
|
|
216
|
+
name: 'test_template1',
|
|
217
|
+
description: 'test_template description 1',
|
|
218
|
+
createdAt: new Date('Wed, 22 Dec 2021 08:59:29 UTC'),
|
|
219
|
+
createdBy: '',
|
|
220
|
+
id: 'someId',
|
|
221
|
+
version: {
|
|
222
|
+
tag: 'v1',
|
|
223
|
+
template: '%recipient.title%',
|
|
224
|
+
engine: 'handlebars',
|
|
225
|
+
mjml: '',
|
|
226
|
+
createdAt: new Date('Wed, 22 Dec 2021 08:59:29 UTC'),
|
|
227
|
+
comment: 'comment',
|
|
228
|
+
active: true,
|
|
229
|
+
id: 'someId2'
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
});
|
|
233
|
+
});
|
|
234
|
+
});
|
|
235
|
+
|
|
236
|
+
describe('getVersion', function () {
|
|
237
|
+
it('fetches version of domain template', async () => {
|
|
238
|
+
api.get('/v3/testDomain/templates/testTemplateName/versions/v1').reply(200, {
|
|
239
|
+
template: {
|
|
240
|
+
name: 'test_template',
|
|
241
|
+
description: 'test_template description',
|
|
242
|
+
createdAt: 'Wed, 22 Dec 2021 09:13:27 UTC',
|
|
243
|
+
createdBy: '',
|
|
244
|
+
id: 'someId',
|
|
245
|
+
version: {
|
|
246
|
+
tag: 'v1',
|
|
247
|
+
template: '%recipient.title%',
|
|
248
|
+
engine: 'handlebars',
|
|
249
|
+
mjml: '',
|
|
250
|
+
createdAt: 'Wed, 22 Dec 2021 09:13:27 UTC',
|
|
251
|
+
comment: 'dummy comment',
|
|
252
|
+
active: false,
|
|
253
|
+
id: 'someId2'
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
});
|
|
257
|
+
|
|
258
|
+
const template = await client.getVersion('testDomain', 'testTemplateName', 'v1');
|
|
259
|
+
template.should.be.an('object');
|
|
260
|
+
template.should.eql({
|
|
261
|
+
name: 'test_template',
|
|
262
|
+
description: 'test_template description',
|
|
263
|
+
createdAt: new Date('2021-12-22T09:13:27.000Z'),
|
|
264
|
+
createdBy: '',
|
|
265
|
+
id: 'someId',
|
|
266
|
+
version: {
|
|
267
|
+
tag: 'v1',
|
|
268
|
+
template: '%recipient.title%',
|
|
269
|
+
engine: 'handlebars',
|
|
270
|
+
mjml: '',
|
|
271
|
+
createdAt: new Date('2021-12-22T09:13:27.000Z'),
|
|
272
|
+
comment: 'dummy comment',
|
|
273
|
+
active: false,
|
|
274
|
+
id: 'someId2',
|
|
275
|
+
}
|
|
276
|
+
});
|
|
277
|
+
});
|
|
278
|
+
});
|
|
279
|
+
|
|
280
|
+
describe('updateVersion', function () {
|
|
281
|
+
it('updates version of domain template', async () => {
|
|
282
|
+
api.put('/v3/testDomain/templates/testTemplateName/versions/v2').reply(200, {
|
|
283
|
+
message: 'version has been updated',
|
|
284
|
+
template: { name: 'test_template', version: { tag: 'v2' } }
|
|
285
|
+
});
|
|
286
|
+
|
|
287
|
+
const updatedTemplate = await client.updateVersion('testDomain', 'testTemplateName', 'v2', {
|
|
288
|
+
template: '%recipient.title%',
|
|
289
|
+
comment: 'updated comment 2',
|
|
290
|
+
active: 'yes'
|
|
291
|
+
} as DomainTemplateUpdateVersionData);
|
|
292
|
+
updatedTemplate.should.be.an('object');
|
|
293
|
+
updatedTemplate.should.eql({
|
|
294
|
+
status: 200,
|
|
295
|
+
message: 'version has been updated',
|
|
296
|
+
templateName: 'test_template',
|
|
297
|
+
templateVersion: { tag: 'v2' }
|
|
298
|
+
});
|
|
299
|
+
});
|
|
300
|
+
});
|
|
301
|
+
|
|
302
|
+
describe('destroyVersion', function () {
|
|
303
|
+
it('deletes version of domain template', async () => {
|
|
304
|
+
api.delete('/v3/testDomain/templates/testTemplateName/versions/v1').reply(200, {
|
|
305
|
+
message: 'version has been deleted',
|
|
306
|
+
template: { name: 'test_template', version: { tag: 'v1' } }
|
|
307
|
+
});
|
|
308
|
+
|
|
309
|
+
const deletedTemplate = await client.destroyVersion('testDomain', 'testTemplateName', 'v1');
|
|
310
|
+
deletedTemplate.should.eql({
|
|
311
|
+
status: 200,
|
|
312
|
+
message: 'version has been deleted',
|
|
313
|
+
templateName: 'test_template',
|
|
314
|
+
templateVersion: { tag: 'v1' }
|
|
315
|
+
});
|
|
316
|
+
});
|
|
317
|
+
});
|
|
318
|
+
|
|
319
|
+
describe('listVersions', function () {
|
|
320
|
+
it('gets list of version for domain template', async () => {
|
|
321
|
+
api.get('/v3/testDomain/templates/testTemplateName/versions').reply(200, {
|
|
322
|
+
paging: {
|
|
323
|
+
first: 'first page url',
|
|
324
|
+
last: 'last page url',
|
|
325
|
+
next: 'next page url',
|
|
326
|
+
previous: 'previous page url',
|
|
327
|
+
},
|
|
328
|
+
template: {
|
|
329
|
+
name: 'test_template',
|
|
330
|
+
description: 'test_template description',
|
|
331
|
+
createdAt: 'Wed, 22 Dec 2021 09:13:27 UTC',
|
|
332
|
+
createdBy: '',
|
|
333
|
+
id: 'someId',
|
|
334
|
+
versions: [{
|
|
335
|
+
tag: 'v2',
|
|
336
|
+
engine: 'handlebars',
|
|
337
|
+
mjml: '',
|
|
338
|
+
createdAt: 'Wed, 22 Dec 2021 09:51:07 UTC',
|
|
339
|
+
comment: 'updated comment 2',
|
|
340
|
+
active: true,
|
|
341
|
+
id: 'someId1'
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
tag: 'v5',
|
|
345
|
+
engine: 'handlebars',
|
|
346
|
+
mjml: '',
|
|
347
|
+
createdAt: 'Mon, 20 Dec 2021 16:36:55 UTC',
|
|
348
|
+
comment: 'updated comment',
|
|
349
|
+
active: false,
|
|
350
|
+
id: 'someId2'
|
|
351
|
+
}]
|
|
352
|
+
}
|
|
353
|
+
});
|
|
354
|
+
|
|
355
|
+
const templatesList = await client.listVersions('testDomain', 'testTemplateName');
|
|
356
|
+
templatesList.should.be.an('object');
|
|
357
|
+
templatesList.should.eql({
|
|
358
|
+
pages: {
|
|
359
|
+
first: 'first page url',
|
|
360
|
+
last: 'last page url',
|
|
361
|
+
next: 'next page url',
|
|
362
|
+
previous: 'previous page url',
|
|
363
|
+
},
|
|
364
|
+
template: {
|
|
365
|
+
name: 'test_template',
|
|
366
|
+
description: 'test_template description',
|
|
367
|
+
createdAt: new Date('Wed, 22 Dec 2021 09:13:27 UTC'),
|
|
368
|
+
createdBy: '',
|
|
369
|
+
id: 'someId',
|
|
370
|
+
versions: [{
|
|
371
|
+
tag: 'v2',
|
|
372
|
+
engine: 'handlebars',
|
|
373
|
+
mjml: '',
|
|
374
|
+
createdAt: new Date('Wed, 22 Dec 2021 09:51:07 UTC'),
|
|
375
|
+
comment: 'updated comment 2',
|
|
376
|
+
active: true,
|
|
377
|
+
id: 'someId1'
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
tag: 'v5',
|
|
381
|
+
engine: 'handlebars',
|
|
382
|
+
mjml: '',
|
|
383
|
+
createdAt: new Date('Mon, 20 Dec 2021 16:36:55 UTC'),
|
|
384
|
+
comment: 'updated comment',
|
|
385
|
+
active: false,
|
|
386
|
+
id: 'someId2'
|
|
387
|
+
}]
|
|
388
|
+
}
|
|
389
|
+
});
|
|
390
|
+
});
|
|
391
|
+
});
|
|
392
|
+
});
|
package/tsconfig.json
CHANGED
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
// "strict": true,
|
|
15
15
|
},
|
|
16
16
|
"typedocOptions": {
|
|
17
|
-
"mode": "modules",
|
|
18
17
|
"out": "docs",
|
|
19
|
-
"
|
|
18
|
+
"entryPointStrategy": "expand",
|
|
19
|
+
"entryPoints": ["./lib"],
|
|
20
20
|
"exclude": ["test/**", "dist/**", "build/**", "docs/**", "examples/**"]
|
|
21
21
|
}
|
|
22
22
|
}
|
package/docs/assets/css/main.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! normalize.css v1.1.3 | MIT License | git.io/normalize */article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-size:100%;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;font-family:sans-serif}button,input,select,textarea{font-family:sans-serif}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}h2{font-size:1.5em;margin:.83em 0}h3{font-size:1.17em;margin:1em 0}h4,.tsd-index-panel h3{font-size:1em;margin:1.33em 0}h5{font-size:.83em;margin:1.67em 0}h6{font-size:.67em;margin:2.33em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}blockquote{margin:1em 40px}dfn{font-style:italic}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}mark{background:#ff0;color:#000}p,pre{margin:1em 0}code,kbd,pre,samp{font-family:monospace,serif;_font-family:"courier new",monospace;font-size:1em}pre{white-space:pre;white-space:pre-wrap;word-wrap:break-word}q{quotes:none}q:before,q:after{content:"";content:none}small{font-size:80%}sub{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;top:-0.5em}sub{bottom:-0.25em}dl,menu,ol,ul{margin:1em 0}dd{margin:0 0 0 40px}menu,ol,ul{padding:0 0 0 40px}nav ul,nav ol{list-style:none;list-style-image:none}img{border:0;-ms-interpolation-mode:bicubic}svg:not(:root){overflow:hidden}figure,form{margin:0}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0;white-space:normal;*margin-left:-7px}button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}button,input{line-height:normal}button,select{text-transform:none}button,html input[type=button]{-webkit-appearance:button;cursor:pointer;*overflow:visible}input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer;*overflow:visible}button[disabled],html input[disabled]{cursor:default}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0;*height:13px;*width:13px}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}.hljs{display:inline-block;padding:.5em;background:#fff;color:#000}.hljs-comment,.hljs-annotation,.hljs-template_comment,.diff .hljs-header,.hljs-chunk,.apache .hljs-cbracket{color:green}.hljs-keyword,.hljs-id,.hljs-built_in,.css .smalltalk .hljs-class,.hljs-winutils,.bash .hljs-variable,.tex .hljs-command,.hljs-request,.hljs-status,.nginx .hljs-title{color:blue}.xml .hljs-tag{color:blue}.xml .hljs-tag .hljs-value{color:blue}.hljs-string,.hljs-title,.hljs-parent,.hljs-tag .hljs-value,.hljs-rules .hljs-value{color:#a31515}.ruby .hljs-symbol{color:#a31515}.ruby .hljs-symbol .hljs-string{color:#a31515}.hljs-template_tag,.django .hljs-variable,.hljs-addition,.hljs-flow,.hljs-stream,.apache .hljs-tag,.hljs-date,.tex .hljs-formula,.coffeescript .hljs-attribute{color:#a31515}.ruby .hljs-string,.hljs-decorator,.hljs-filter .hljs-argument,.hljs-localvars,.hljs-array,.hljs-attr_selector,.hljs-pseudo,.hljs-pi,.hljs-doctype,.hljs-deletion,.hljs-envvar,.hljs-shebang,.hljs-preprocessor,.hljs-pragma,.userType,.apache .hljs-sqbracket,.nginx .hljs-built_in,.tex .hljs-special,.hljs-prompt{color:#2b91af}.hljs-phpdoc,.hljs-javadoc,.hljs-xmlDocTag{color:gray}.vhdl .hljs-typename{font-weight:bold}.vhdl .hljs-string{color:#666}.vhdl .hljs-literal{color:#a31515}.vhdl .hljs-attribute{color:#00b0e8}.xml .hljs-attribute{color:red}ul.tsd-descriptions>li>:first-child,.tsd-panel>:first-child,.col>:first-child,.col-11>:first-child,.col-10>:first-child,.col-9>:first-child,.col-8>:first-child,.col-7>:first-child,.col-6>:first-child,.col-5>:first-child,.col-4>:first-child,.col-3>:first-child,.col-2>:first-child,.col-1>:first-child,ul.tsd-descriptions>li>:first-child>:first-child,.tsd-panel>:first-child>:first-child,.col>:first-child>:first-child,.col-11>:first-child>:first-child,.col-10>:first-child>:first-child,.col-9>:first-child>:first-child,.col-8>:first-child>:first-child,.col-7>:first-child>:first-child,.col-6>:first-child>:first-child,.col-5>:first-child>:first-child,.col-4>:first-child>:first-child,.col-3>:first-child>:first-child,.col-2>:first-child>:first-child,.col-1>:first-child>:first-child,ul.tsd-descriptions>li>:first-child>:first-child>:first-child,.tsd-panel>:first-child>:first-child>:first-child,.col>:first-child>:first-child>:first-child,.col-11>:first-child>:first-child>:first-child,.col-10>:first-child>:first-child>:first-child,.col-9>:first-child>:first-child>:first-child,.col-8>:first-child>:first-child>:first-child,.col-7>:first-child>:first-child>:first-child,.col-6>:first-child>:first-child>:first-child,.col-5>:first-child>:first-child>:first-child,.col-4>:first-child>:first-child>:first-child,.col-3>:first-child>:first-child>:first-child,.col-2>:first-child>:first-child>:first-child,.col-1>:first-child>:first-child>:first-child{margin-top:0}ul.tsd-descriptions>li>:last-child,.tsd-panel>:last-child,.col>:last-child,.col-11>:last-child,.col-10>:last-child,.col-9>:last-child,.col-8>:last-child,.col-7>:last-child,.col-6>:last-child,.col-5>:last-child,.col-4>:last-child,.col-3>:last-child,.col-2>:last-child,.col-1>:last-child,ul.tsd-descriptions>li>:last-child>:last-child,.tsd-panel>:last-child>:last-child,.col>:last-child>:last-child,.col-11>:last-child>:last-child,.col-10>:last-child>:last-child,.col-9>:last-child>:last-child,.col-8>:last-child>:last-child,.col-7>:last-child>:last-child,.col-6>:last-child>:last-child,.col-5>:last-child>:last-child,.col-4>:last-child>:last-child,.col-3>:last-child>:last-child,.col-2>:last-child>:last-child,.col-1>:last-child>:last-child,ul.tsd-descriptions>li>:last-child>:last-child>:last-child,.tsd-panel>:last-child>:last-child>:last-child,.col>:last-child>:last-child>:last-child,.col-11>:last-child>:last-child>:last-child,.col-10>:last-child>:last-child>:last-child,.col-9>:last-child>:last-child>:last-child,.col-8>:last-child>:last-child>:last-child,.col-7>:last-child>:last-child>:last-child,.col-6>:last-child>:last-child>:last-child,.col-5>:last-child>:last-child>:last-child,.col-4>:last-child>:last-child>:last-child,.col-3>:last-child>:last-child>:last-child,.col-2>:last-child>:last-child>:last-child,.col-1>:last-child>:last-child>:last-child{margin-bottom:0}.container{max-width:1200px;margin:0 auto;padding:0 40px}@media(max-width: 640px){.container{padding:0 20px}}.container-main{padding-bottom:200px}.row{display:flex;position:relative;margin:0 -10px}.row:after{visibility:hidden;display:block;content:"";clear:both;height:0}.col,.col-11,.col-10,.col-9,.col-8,.col-7,.col-6,.col-5,.col-4,.col-3,.col-2,.col-1{box-sizing:border-box;float:left;padding:0 10px}.col-1{width:8.3333333333%}.offset-1{margin-left:8.3333333333%}.col-2{width:16.6666666667%}.offset-2{margin-left:16.6666666667%}.col-3{width:25%}.offset-3{margin-left:25%}.col-4{width:33.3333333333%}.offset-4{margin-left:33.3333333333%}.col-5{width:41.6666666667%}.offset-5{margin-left:41.6666666667%}.col-6{width:50%}.offset-6{margin-left:50%}.col-7{width:58.3333333333%}.offset-7{margin-left:58.3333333333%}.col-8{width:66.6666666667%}.offset-8{margin-left:66.6666666667%}.col-9{width:75%}.offset-9{margin-left:75%}.col-10{width:83.3333333333%}.offset-10{margin-left:83.3333333333%}.col-11{width:91.6666666667%}.offset-11{margin-left:91.6666666667%}.tsd-kind-icon{display:block;position:relative;padding-left:20px;text-indent:-20px}.tsd-kind-icon:before{content:"";display:inline-block;vertical-align:middle;width:17px;height:17px;margin:0 3px 2px 0;background-image:url(../images/icons.png)}@media(-webkit-min-device-pixel-ratio: 1.5),(min-resolution: 144dpi){.tsd-kind-icon:before{background-image:url(../images/icons@2x.png);background-size:238px 204px}}.tsd-signature.tsd-kind-icon:before{background-position:0 -153px}.tsd-kind-object-literal>.tsd-kind-icon:before{background-position:0px -17px}.tsd-kind-object-literal.tsd-is-protected>.tsd-kind-icon:before{background-position:-17px -17px}.tsd-kind-object-literal.tsd-is-private>.tsd-kind-icon:before{background-position:-34px -17px}.tsd-kind-class>.tsd-kind-icon:before{background-position:0px -34px}.tsd-kind-class.tsd-is-protected>.tsd-kind-icon:before{background-position:-17px -34px}.tsd-kind-class.tsd-is-private>.tsd-kind-icon:before{background-position:-34px -34px}.tsd-kind-class.tsd-has-type-parameter>.tsd-kind-icon:before{background-position:0px -51px}.tsd-kind-class.tsd-has-type-parameter.tsd-is-protected>.tsd-kind-icon:before{background-position:-17px -51px}.tsd-kind-class.tsd-has-type-parameter.tsd-is-private>.tsd-kind-icon:before{background-position:-34px -51px}.tsd-kind-interface>.tsd-kind-icon:before{background-position:0px -68px}.tsd-kind-interface.tsd-is-protected>.tsd-kind-icon:before{background-position:-17px -68px}.tsd-kind-interface.tsd-is-private>.tsd-kind-icon:before{background-position:-34px -68px}.tsd-kind-interface.tsd-has-type-parameter>.tsd-kind-icon:before{background-position:0px -85px}.tsd-kind-interface.tsd-has-type-parameter.tsd-is-protected>.tsd-kind-icon:before{background-position:-17px -85px}.tsd-kind-interface.tsd-has-type-parameter.tsd-is-private>.tsd-kind-icon:before{background-position:-34px -85px}.tsd-kind-namespace>.tsd-kind-icon:before{background-position:0px -102px}.tsd-kind-namespace.tsd-is-protected>.tsd-kind-icon:before{background-position:-17px -102px}.tsd-kind-namespace.tsd-is-private>.tsd-kind-icon:before{background-position:-34px -102px}.tsd-kind-module>.tsd-kind-icon:before{background-position:0px -102px}.tsd-kind-module.tsd-is-protected>.tsd-kind-icon:before{background-position:-17px -102px}.tsd-kind-module.tsd-is-private>.tsd-kind-icon:before{background-position:-34px -102px}.tsd-kind-enum>.tsd-kind-icon:before{background-position:0px -119px}.tsd-kind-enum.tsd-is-protected>.tsd-kind-icon:before{background-position:-17px -119px}.tsd-kind-enum.tsd-is-private>.tsd-kind-icon:before{background-position:-34px -119px}.tsd-kind-enum-member>.tsd-kind-icon:before{background-position:0px -136px}.tsd-kind-enum-member.tsd-is-protected>.tsd-kind-icon:before{background-position:-17px -136px}.tsd-kind-enum-member.tsd-is-private>.tsd-kind-icon:before{background-position:-34px -136px}.tsd-kind-signature>.tsd-kind-icon:before{background-position:0px -153px}.tsd-kind-signature.tsd-is-protected>.tsd-kind-icon:before{background-position:-17px -153px}.tsd-kind-signature.tsd-is-private>.tsd-kind-icon:before{background-position:-34px -153px}.tsd-kind-type-alias>.tsd-kind-icon:before{background-position:0px -170px}.tsd-kind-type-alias.tsd-is-protected>.tsd-kind-icon:before{background-position:-17px -170px}.tsd-kind-type-alias.tsd-is-private>.tsd-kind-icon:before{background-position:-34px -170px}.tsd-kind-type-alias.tsd-has-type-parameter>.tsd-kind-icon:before{background-position:0px -187px}.tsd-kind-type-alias.tsd-has-type-parameter.tsd-is-protected>.tsd-kind-icon:before{background-position:-17px -187px}.tsd-kind-type-alias.tsd-has-type-parameter.tsd-is-private>.tsd-kind-icon:before{background-position:-34px -187px}.tsd-kind-variable>.tsd-kind-icon:before{background-position:-136px -0px}.tsd-kind-variable.tsd-is-protected>.tsd-kind-icon:before{background-position:-153px -0px}.tsd-kind-variable.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -0px}.tsd-kind-variable.tsd-parent-kind-class>.tsd-kind-icon:before{background-position:-51px -0px}.tsd-kind-variable.tsd-parent-kind-class.tsd-is-inherited>.tsd-kind-icon:before{background-position:-68px -0px}.tsd-kind-variable.tsd-parent-kind-class.tsd-is-protected>.tsd-kind-icon:before{background-position:-85px -0px}.tsd-kind-variable.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited>.tsd-kind-icon:before{background-position:-102px -0px}.tsd-kind-variable.tsd-parent-kind-class.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -0px}.tsd-kind-variable.tsd-parent-kind-enum>.tsd-kind-icon:before{background-position:-170px -0px}.tsd-kind-variable.tsd-parent-kind-enum.tsd-is-protected>.tsd-kind-icon:before{background-position:-187px -0px}.tsd-kind-variable.tsd-parent-kind-enum.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -0px}.tsd-kind-variable.tsd-parent-kind-interface>.tsd-kind-icon:before{background-position:-204px -0px}.tsd-kind-variable.tsd-parent-kind-interface.tsd-is-inherited>.tsd-kind-icon:before{background-position:-221px -0px}.tsd-kind-property>.tsd-kind-icon:before{background-position:-136px -0px}.tsd-kind-property.tsd-is-protected>.tsd-kind-icon:before{background-position:-153px -0px}.tsd-kind-property.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -0px}.tsd-kind-property.tsd-parent-kind-class>.tsd-kind-icon:before{background-position:-51px -0px}.tsd-kind-property.tsd-parent-kind-class.tsd-is-inherited>.tsd-kind-icon:before{background-position:-68px -0px}.tsd-kind-property.tsd-parent-kind-class.tsd-is-protected>.tsd-kind-icon:before{background-position:-85px -0px}.tsd-kind-property.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited>.tsd-kind-icon:before{background-position:-102px -0px}.tsd-kind-property.tsd-parent-kind-class.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -0px}.tsd-kind-property.tsd-parent-kind-enum>.tsd-kind-icon:before{background-position:-170px -0px}.tsd-kind-property.tsd-parent-kind-enum.tsd-is-protected>.tsd-kind-icon:before{background-position:-187px -0px}.tsd-kind-property.tsd-parent-kind-enum.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -0px}.tsd-kind-property.tsd-parent-kind-interface>.tsd-kind-icon:before{background-position:-204px -0px}.tsd-kind-property.tsd-parent-kind-interface.tsd-is-inherited>.tsd-kind-icon:before{background-position:-221px -0px}.tsd-kind-get-signature>.tsd-kind-icon:before{background-position:-136px -17px}.tsd-kind-get-signature.tsd-is-protected>.tsd-kind-icon:before{background-position:-153px -17px}.tsd-kind-get-signature.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -17px}.tsd-kind-get-signature.tsd-parent-kind-class>.tsd-kind-icon:before{background-position:-51px -17px}.tsd-kind-get-signature.tsd-parent-kind-class.tsd-is-inherited>.tsd-kind-icon:before{background-position:-68px -17px}.tsd-kind-get-signature.tsd-parent-kind-class.tsd-is-protected>.tsd-kind-icon:before{background-position:-85px -17px}.tsd-kind-get-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited>.tsd-kind-icon:before{background-position:-102px -17px}.tsd-kind-get-signature.tsd-parent-kind-class.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -17px}.tsd-kind-get-signature.tsd-parent-kind-enum>.tsd-kind-icon:before{background-position:-170px -17px}.tsd-kind-get-signature.tsd-parent-kind-enum.tsd-is-protected>.tsd-kind-icon:before{background-position:-187px -17px}.tsd-kind-get-signature.tsd-parent-kind-enum.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -17px}.tsd-kind-get-signature.tsd-parent-kind-interface>.tsd-kind-icon:before{background-position:-204px -17px}.tsd-kind-get-signature.tsd-parent-kind-interface.tsd-is-inherited>.tsd-kind-icon:before{background-position:-221px -17px}.tsd-kind-set-signature>.tsd-kind-icon:before{background-position:-136px -34px}.tsd-kind-set-signature.tsd-is-protected>.tsd-kind-icon:before{background-position:-153px -34px}.tsd-kind-set-signature.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -34px}.tsd-kind-set-signature.tsd-parent-kind-class>.tsd-kind-icon:before{background-position:-51px -34px}.tsd-kind-set-signature.tsd-parent-kind-class.tsd-is-inherited>.tsd-kind-icon:before{background-position:-68px -34px}.tsd-kind-set-signature.tsd-parent-kind-class.tsd-is-protected>.tsd-kind-icon:before{background-position:-85px -34px}.tsd-kind-set-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited>.tsd-kind-icon:before{background-position:-102px -34px}.tsd-kind-set-signature.tsd-parent-kind-class.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -34px}.tsd-kind-set-signature.tsd-parent-kind-enum>.tsd-kind-icon:before{background-position:-170px -34px}.tsd-kind-set-signature.tsd-parent-kind-enum.tsd-is-protected>.tsd-kind-icon:before{background-position:-187px -34px}.tsd-kind-set-signature.tsd-parent-kind-enum.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -34px}.tsd-kind-set-signature.tsd-parent-kind-interface>.tsd-kind-icon:before{background-position:-204px -34px}.tsd-kind-set-signature.tsd-parent-kind-interface.tsd-is-inherited>.tsd-kind-icon:before{background-position:-221px -34px}.tsd-kind-accessor>.tsd-kind-icon:before{background-position:-136px -51px}.tsd-kind-accessor.tsd-is-protected>.tsd-kind-icon:before{background-position:-153px -51px}.tsd-kind-accessor.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -51px}.tsd-kind-accessor.tsd-parent-kind-class>.tsd-kind-icon:before{background-position:-51px -51px}.tsd-kind-accessor.tsd-parent-kind-class.tsd-is-inherited>.tsd-kind-icon:before{background-position:-68px -51px}.tsd-kind-accessor.tsd-parent-kind-class.tsd-is-protected>.tsd-kind-icon:before{background-position:-85px -51px}.tsd-kind-accessor.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited>.tsd-kind-icon:before{background-position:-102px -51px}.tsd-kind-accessor.tsd-parent-kind-class.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -51px}.tsd-kind-accessor.tsd-parent-kind-enum>.tsd-kind-icon:before{background-position:-170px -51px}.tsd-kind-accessor.tsd-parent-kind-enum.tsd-is-protected>.tsd-kind-icon:before{background-position:-187px -51px}.tsd-kind-accessor.tsd-parent-kind-enum.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -51px}.tsd-kind-accessor.tsd-parent-kind-interface>.tsd-kind-icon:before{background-position:-204px -51px}.tsd-kind-accessor.tsd-parent-kind-interface.tsd-is-inherited>.tsd-kind-icon:before{background-position:-221px -51px}.tsd-kind-function>.tsd-kind-icon:before{background-position:-136px -68px}.tsd-kind-function.tsd-is-protected>.tsd-kind-icon:before{background-position:-153px -68px}.tsd-kind-function.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -68px}.tsd-kind-function.tsd-parent-kind-class>.tsd-kind-icon:before{background-position:-51px -68px}.tsd-kind-function.tsd-parent-kind-class.tsd-is-inherited>.tsd-kind-icon:before{background-position:-68px -68px}.tsd-kind-function.tsd-parent-kind-class.tsd-is-protected>.tsd-kind-icon:before{background-position:-85px -68px}.tsd-kind-function.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited>.tsd-kind-icon:before{background-position:-102px -68px}.tsd-kind-function.tsd-parent-kind-class.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -68px}.tsd-kind-function.tsd-parent-kind-enum>.tsd-kind-icon:before{background-position:-170px -68px}.tsd-kind-function.tsd-parent-kind-enum.tsd-is-protected>.tsd-kind-icon:before{background-position:-187px -68px}.tsd-kind-function.tsd-parent-kind-enum.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -68px}.tsd-kind-function.tsd-parent-kind-interface>.tsd-kind-icon:before{background-position:-204px -68px}.tsd-kind-function.tsd-parent-kind-interface.tsd-is-inherited>.tsd-kind-icon:before{background-position:-221px -68px}.tsd-kind-method>.tsd-kind-icon:before{background-position:-136px -68px}.tsd-kind-method.tsd-is-protected>.tsd-kind-icon:before{background-position:-153px -68px}.tsd-kind-method.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -68px}.tsd-kind-method.tsd-parent-kind-class>.tsd-kind-icon:before{background-position:-51px -68px}.tsd-kind-method.tsd-parent-kind-class.tsd-is-inherited>.tsd-kind-icon:before{background-position:-68px -68px}.tsd-kind-method.tsd-parent-kind-class.tsd-is-protected>.tsd-kind-icon:before{background-position:-85px -68px}.tsd-kind-method.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited>.tsd-kind-icon:before{background-position:-102px -68px}.tsd-kind-method.tsd-parent-kind-class.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -68px}.tsd-kind-method.tsd-parent-kind-enum>.tsd-kind-icon:before{background-position:-170px -68px}.tsd-kind-method.tsd-parent-kind-enum.tsd-is-protected>.tsd-kind-icon:before{background-position:-187px -68px}.tsd-kind-method.tsd-parent-kind-enum.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -68px}.tsd-kind-method.tsd-parent-kind-interface>.tsd-kind-icon:before{background-position:-204px -68px}.tsd-kind-method.tsd-parent-kind-interface.tsd-is-inherited>.tsd-kind-icon:before{background-position:-221px -68px}.tsd-kind-call-signature>.tsd-kind-icon:before{background-position:-136px -68px}.tsd-kind-call-signature.tsd-is-protected>.tsd-kind-icon:before{background-position:-153px -68px}.tsd-kind-call-signature.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -68px}.tsd-kind-call-signature.tsd-parent-kind-class>.tsd-kind-icon:before{background-position:-51px -68px}.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-inherited>.tsd-kind-icon:before{background-position:-68px -68px}.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-protected>.tsd-kind-icon:before{background-position:-85px -68px}.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited>.tsd-kind-icon:before{background-position:-102px -68px}.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -68px}.tsd-kind-call-signature.tsd-parent-kind-enum>.tsd-kind-icon:before{background-position:-170px -68px}.tsd-kind-call-signature.tsd-parent-kind-enum.tsd-is-protected>.tsd-kind-icon:before{background-position:-187px -68px}.tsd-kind-call-signature.tsd-parent-kind-enum.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -68px}.tsd-kind-call-signature.tsd-parent-kind-interface>.tsd-kind-icon:before{background-position:-204px -68px}.tsd-kind-call-signature.tsd-parent-kind-interface.tsd-is-inherited>.tsd-kind-icon:before{background-position:-221px -68px}.tsd-kind-function.tsd-has-type-parameter>.tsd-kind-icon:before{background-position:-136px -85px}.tsd-kind-function.tsd-has-type-parameter.tsd-is-protected>.tsd-kind-icon:before{background-position:-153px -85px}.tsd-kind-function.tsd-has-type-parameter.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -85px}.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-class>.tsd-kind-icon:before{background-position:-51px -85px}.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-inherited>.tsd-kind-icon:before{background-position:-68px -85px}.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-protected>.tsd-kind-icon:before{background-position:-85px -85px}.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited>.tsd-kind-icon:before{background-position:-102px -85px}.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -85px}.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-enum>.tsd-kind-icon:before{background-position:-170px -85px}.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-enum.tsd-is-protected>.tsd-kind-icon:before{background-position:-187px -85px}.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-enum.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -85px}.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-interface>.tsd-kind-icon:before{background-position:-204px -85px}.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-interface.tsd-is-inherited>.tsd-kind-icon:before{background-position:-221px -85px}.tsd-kind-method.tsd-has-type-parameter>.tsd-kind-icon:before{background-position:-136px -85px}.tsd-kind-method.tsd-has-type-parameter.tsd-is-protected>.tsd-kind-icon:before{background-position:-153px -85px}.tsd-kind-method.tsd-has-type-parameter.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -85px}.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-class>.tsd-kind-icon:before{background-position:-51px -85px}.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-inherited>.tsd-kind-icon:before{background-position:-68px -85px}.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-protected>.tsd-kind-icon:before{background-position:-85px -85px}.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited>.tsd-kind-icon:before{background-position:-102px -85px}.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -85px}.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-enum>.tsd-kind-icon:before{background-position:-170px -85px}.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-enum.tsd-is-protected>.tsd-kind-icon:before{background-position:-187px -85px}.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-enum.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -85px}.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-interface>.tsd-kind-icon:before{background-position:-204px -85px}.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-interface.tsd-is-inherited>.tsd-kind-icon:before{background-position:-221px -85px}.tsd-kind-constructor>.tsd-kind-icon:before{background-position:-136px -102px}.tsd-kind-constructor.tsd-is-protected>.tsd-kind-icon:before{background-position:-153px -102px}.tsd-kind-constructor.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -102px}.tsd-kind-constructor.tsd-parent-kind-class>.tsd-kind-icon:before{background-position:-51px -102px}.tsd-kind-constructor.tsd-parent-kind-class.tsd-is-inherited>.tsd-kind-icon:before{background-position:-68px -102px}.tsd-kind-constructor.tsd-parent-kind-class.tsd-is-protected>.tsd-kind-icon:before{background-position:-85px -102px}.tsd-kind-constructor.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited>.tsd-kind-icon:before{background-position:-102px -102px}.tsd-kind-constructor.tsd-parent-kind-class.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -102px}.tsd-kind-constructor.tsd-parent-kind-enum>.tsd-kind-icon:before{background-position:-170px -102px}.tsd-kind-constructor.tsd-parent-kind-enum.tsd-is-protected>.tsd-kind-icon:before{background-position:-187px -102px}.tsd-kind-constructor.tsd-parent-kind-enum.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -102px}.tsd-kind-constructor.tsd-parent-kind-interface>.tsd-kind-icon:before{background-position:-204px -102px}.tsd-kind-constructor.tsd-parent-kind-interface.tsd-is-inherited>.tsd-kind-icon:before{background-position:-221px -102px}.tsd-kind-constructor-signature>.tsd-kind-icon:before{background-position:-136px -102px}.tsd-kind-constructor-signature.tsd-is-protected>.tsd-kind-icon:before{background-position:-153px -102px}.tsd-kind-constructor-signature.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -102px}.tsd-kind-constructor-signature.tsd-parent-kind-class>.tsd-kind-icon:before{background-position:-51px -102px}.tsd-kind-constructor-signature.tsd-parent-kind-class.tsd-is-inherited>.tsd-kind-icon:before{background-position:-68px -102px}.tsd-kind-constructor-signature.tsd-parent-kind-class.tsd-is-protected>.tsd-kind-icon:before{background-position:-85px -102px}.tsd-kind-constructor-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited>.tsd-kind-icon:before{background-position:-102px -102px}.tsd-kind-constructor-signature.tsd-parent-kind-class.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -102px}.tsd-kind-constructor-signature.tsd-parent-kind-enum>.tsd-kind-icon:before{background-position:-170px -102px}.tsd-kind-constructor-signature.tsd-parent-kind-enum.tsd-is-protected>.tsd-kind-icon:before{background-position:-187px -102px}.tsd-kind-constructor-signature.tsd-parent-kind-enum.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -102px}.tsd-kind-constructor-signature.tsd-parent-kind-interface>.tsd-kind-icon:before{background-position:-204px -102px}.tsd-kind-constructor-signature.tsd-parent-kind-interface.tsd-is-inherited>.tsd-kind-icon:before{background-position:-221px -102px}.tsd-kind-index-signature>.tsd-kind-icon:before{background-position:-136px -119px}.tsd-kind-index-signature.tsd-is-protected>.tsd-kind-icon:before{background-position:-153px -119px}.tsd-kind-index-signature.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -119px}.tsd-kind-index-signature.tsd-parent-kind-class>.tsd-kind-icon:before{background-position:-51px -119px}.tsd-kind-index-signature.tsd-parent-kind-class.tsd-is-inherited>.tsd-kind-icon:before{background-position:-68px -119px}.tsd-kind-index-signature.tsd-parent-kind-class.tsd-is-protected>.tsd-kind-icon:before{background-position:-85px -119px}.tsd-kind-index-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited>.tsd-kind-icon:before{background-position:-102px -119px}.tsd-kind-index-signature.tsd-parent-kind-class.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -119px}.tsd-kind-index-signature.tsd-parent-kind-enum>.tsd-kind-icon:before{background-position:-170px -119px}.tsd-kind-index-signature.tsd-parent-kind-enum.tsd-is-protected>.tsd-kind-icon:before{background-position:-187px -119px}.tsd-kind-index-signature.tsd-parent-kind-enum.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -119px}.tsd-kind-index-signature.tsd-parent-kind-interface>.tsd-kind-icon:before{background-position:-204px -119px}.tsd-kind-index-signature.tsd-parent-kind-interface.tsd-is-inherited>.tsd-kind-icon:before{background-position:-221px -119px}.tsd-kind-event>.tsd-kind-icon:before{background-position:-136px -136px}.tsd-kind-event.tsd-is-protected>.tsd-kind-icon:before{background-position:-153px -136px}.tsd-kind-event.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -136px}.tsd-kind-event.tsd-parent-kind-class>.tsd-kind-icon:before{background-position:-51px -136px}.tsd-kind-event.tsd-parent-kind-class.tsd-is-inherited>.tsd-kind-icon:before{background-position:-68px -136px}.tsd-kind-event.tsd-parent-kind-class.tsd-is-protected>.tsd-kind-icon:before{background-position:-85px -136px}.tsd-kind-event.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited>.tsd-kind-icon:before{background-position:-102px -136px}.tsd-kind-event.tsd-parent-kind-class.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -136px}.tsd-kind-event.tsd-parent-kind-enum>.tsd-kind-icon:before{background-position:-170px -136px}.tsd-kind-event.tsd-parent-kind-enum.tsd-is-protected>.tsd-kind-icon:before{background-position:-187px -136px}.tsd-kind-event.tsd-parent-kind-enum.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -136px}.tsd-kind-event.tsd-parent-kind-interface>.tsd-kind-icon:before{background-position:-204px -136px}.tsd-kind-event.tsd-parent-kind-interface.tsd-is-inherited>.tsd-kind-icon:before{background-position:-221px -136px}.tsd-is-static>.tsd-kind-icon:before{background-position:-136px -153px}.tsd-is-static.tsd-is-protected>.tsd-kind-icon:before{background-position:-153px -153px}.tsd-is-static.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -153px}.tsd-is-static.tsd-parent-kind-class>.tsd-kind-icon:before{background-position:-51px -153px}.tsd-is-static.tsd-parent-kind-class.tsd-is-inherited>.tsd-kind-icon:before{background-position:-68px -153px}.tsd-is-static.tsd-parent-kind-class.tsd-is-protected>.tsd-kind-icon:before{background-position:-85px -153px}.tsd-is-static.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited>.tsd-kind-icon:before{background-position:-102px -153px}.tsd-is-static.tsd-parent-kind-class.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -153px}.tsd-is-static.tsd-parent-kind-enum>.tsd-kind-icon:before{background-position:-170px -153px}.tsd-is-static.tsd-parent-kind-enum.tsd-is-protected>.tsd-kind-icon:before{background-position:-187px -153px}.tsd-is-static.tsd-parent-kind-enum.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -153px}.tsd-is-static.tsd-parent-kind-interface>.tsd-kind-icon:before{background-position:-204px -153px}.tsd-is-static.tsd-parent-kind-interface.tsd-is-inherited>.tsd-kind-icon:before{background-position:-221px -153px}.tsd-is-static.tsd-kind-function>.tsd-kind-icon:before{background-position:-136px -170px}.tsd-is-static.tsd-kind-function.tsd-is-protected>.tsd-kind-icon:before{background-position:-153px -170px}.tsd-is-static.tsd-kind-function.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -170px}.tsd-is-static.tsd-kind-function.tsd-parent-kind-class>.tsd-kind-icon:before{background-position:-51px -170px}.tsd-is-static.tsd-kind-function.tsd-parent-kind-class.tsd-is-inherited>.tsd-kind-icon:before{background-position:-68px -170px}.tsd-is-static.tsd-kind-function.tsd-parent-kind-class.tsd-is-protected>.tsd-kind-icon:before{background-position:-85px -170px}.tsd-is-static.tsd-kind-function.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited>.tsd-kind-icon:before{background-position:-102px -170px}.tsd-is-static.tsd-kind-function.tsd-parent-kind-class.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -170px}.tsd-is-static.tsd-kind-function.tsd-parent-kind-enum>.tsd-kind-icon:before{background-position:-170px -170px}.tsd-is-static.tsd-kind-function.tsd-parent-kind-enum.tsd-is-protected>.tsd-kind-icon:before{background-position:-187px -170px}.tsd-is-static.tsd-kind-function.tsd-parent-kind-enum.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -170px}.tsd-is-static.tsd-kind-function.tsd-parent-kind-interface>.tsd-kind-icon:before{background-position:-204px -170px}.tsd-is-static.tsd-kind-function.tsd-parent-kind-interface.tsd-is-inherited>.tsd-kind-icon:before{background-position:-221px -170px}.tsd-is-static.tsd-kind-method>.tsd-kind-icon:before{background-position:-136px -170px}.tsd-is-static.tsd-kind-method.tsd-is-protected>.tsd-kind-icon:before{background-position:-153px -170px}.tsd-is-static.tsd-kind-method.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -170px}.tsd-is-static.tsd-kind-method.tsd-parent-kind-class>.tsd-kind-icon:before{background-position:-51px -170px}.tsd-is-static.tsd-kind-method.tsd-parent-kind-class.tsd-is-inherited>.tsd-kind-icon:before{background-position:-68px -170px}.tsd-is-static.tsd-kind-method.tsd-parent-kind-class.tsd-is-protected>.tsd-kind-icon:before{background-position:-85px -170px}.tsd-is-static.tsd-kind-method.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited>.tsd-kind-icon:before{background-position:-102px -170px}.tsd-is-static.tsd-kind-method.tsd-parent-kind-class.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -170px}.tsd-is-static.tsd-kind-method.tsd-parent-kind-enum>.tsd-kind-icon:before{background-position:-170px -170px}.tsd-is-static.tsd-kind-method.tsd-parent-kind-enum.tsd-is-protected>.tsd-kind-icon:before{background-position:-187px -170px}.tsd-is-static.tsd-kind-method.tsd-parent-kind-enum.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -170px}.tsd-is-static.tsd-kind-method.tsd-parent-kind-interface>.tsd-kind-icon:before{background-position:-204px -170px}.tsd-is-static.tsd-kind-method.tsd-parent-kind-interface.tsd-is-inherited>.tsd-kind-icon:before{background-position:-221px -170px}.tsd-is-static.tsd-kind-call-signature>.tsd-kind-icon:before{background-position:-136px -170px}.tsd-is-static.tsd-kind-call-signature.tsd-is-protected>.tsd-kind-icon:before{background-position:-153px -170px}.tsd-is-static.tsd-kind-call-signature.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -170px}.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-class>.tsd-kind-icon:before{background-position:-51px -170px}.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-inherited>.tsd-kind-icon:before{background-position:-68px -170px}.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-protected>.tsd-kind-icon:before{background-position:-85px -170px}.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited>.tsd-kind-icon:before{background-position:-102px -170px}.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -170px}.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-enum>.tsd-kind-icon:before{background-position:-170px -170px}.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-enum.tsd-is-protected>.tsd-kind-icon:before{background-position:-187px -170px}.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-enum.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -170px}.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-interface>.tsd-kind-icon:before{background-position:-204px -170px}.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-interface.tsd-is-inherited>.tsd-kind-icon:before{background-position:-221px -170px}.tsd-is-static.tsd-kind-event>.tsd-kind-icon:before{background-position:-136px -187px}.tsd-is-static.tsd-kind-event.tsd-is-protected>.tsd-kind-icon:before{background-position:-153px -187px}.tsd-is-static.tsd-kind-event.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -187px}.tsd-is-static.tsd-kind-event.tsd-parent-kind-class>.tsd-kind-icon:before{background-position:-51px -187px}.tsd-is-static.tsd-kind-event.tsd-parent-kind-class.tsd-is-inherited>.tsd-kind-icon:before{background-position:-68px -187px}.tsd-is-static.tsd-kind-event.tsd-parent-kind-class.tsd-is-protected>.tsd-kind-icon:before{background-position:-85px -187px}.tsd-is-static.tsd-kind-event.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited>.tsd-kind-icon:before{background-position:-102px -187px}.tsd-is-static.tsd-kind-event.tsd-parent-kind-class.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -187px}.tsd-is-static.tsd-kind-event.tsd-parent-kind-enum>.tsd-kind-icon:before{background-position:-170px -187px}.tsd-is-static.tsd-kind-event.tsd-parent-kind-enum.tsd-is-protected>.tsd-kind-icon:before{background-position:-187px -187px}.tsd-is-static.tsd-kind-event.tsd-parent-kind-enum.tsd-is-private>.tsd-kind-icon:before{background-position:-119px -187px}.tsd-is-static.tsd-kind-event.tsd-parent-kind-interface>.tsd-kind-icon:before{background-position:-204px -187px}.tsd-is-static.tsd-kind-event.tsd-parent-kind-interface.tsd-is-inherited>.tsd-kind-icon:before{background-position:-221px -187px}@keyframes fade-in{from{opacity:0}to{opacity:1}}@keyframes fade-out{from{opacity:1;visibility:visible}to{opacity:0}}@keyframes fade-in-delayed{0%{opacity:0}33%{opacity:0}100%{opacity:1}}@keyframes fade-out-delayed{0%{opacity:1;visibility:visible}66%{opacity:0}100%{opacity:0}}@keyframes shift-to-left{from{transform:translate(0, 0)}to{transform:translate(-25%, 0)}}@keyframes unshift-to-left{from{transform:translate(-25%, 0)}to{transform:translate(0, 0)}}@keyframes pop-in-from-right{from{transform:translate(100%, 0)}to{transform:translate(0, 0)}}@keyframes pop-out-to-right{from{transform:translate(0, 0);visibility:visible}to{transform:translate(100%, 0)}}body{background:#fdfdfd;font-family:"Segoe UI",sans-serif;font-size:16px;color:#222}a{color:#4da6ff;text-decoration:none}a:hover{text-decoration:underline}code,pre{font-family:Menlo,Monaco,Consolas,"Courier New",monospace;padding:.2em;margin:0;font-size:14px;background-color:rgba(0,0,0,.04)}pre{padding:10px}pre code{padding:0;font-size:100%;background-color:transparent}.tsd-typography{line-height:1.333em}.tsd-typography ul{list-style:square;padding:0 0 0 20px;margin:0}.tsd-typography h4,.tsd-typography .tsd-index-panel h3,.tsd-index-panel .tsd-typography h3,.tsd-typography h5,.tsd-typography h6{font-size:1em;margin:0}.tsd-typography h5,.tsd-typography h6{font-weight:normal}.tsd-typography p,.tsd-typography ul,.tsd-typography ol{margin:1em 0}@media(min-width: 901px)and (max-width: 1024px){html.default .col-content{width:72%}html.default .col-menu{width:28%}html.default .tsd-navigation{padding-left:10px}}@media(max-width: 900px){html.default .col-content{float:none;width:100%}html.default .col-menu{position:fixed !important;overflow:auto;-webkit-overflow-scrolling:touch;z-index:1024;top:0 !important;bottom:0 !important;left:auto !important;right:0 !important;width:100%;padding:20px 20px 0 0;max-width:450px;visibility:hidden;background-color:#fff;transform:translate(100%, 0)}html.default .col-menu>*:last-child{padding-bottom:20px}html.default .overlay{content:"";display:block;position:fixed;z-index:1023;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.75);visibility:hidden}html.default.to-has-menu .overlay{animation:fade-in .4s}html.default.to-has-menu header,html.default.to-has-menu footer,html.default.to-has-menu .col-content{animation:shift-to-left .4s}html.default.to-has-menu .col-menu{animation:pop-in-from-right .4s}html.default.from-has-menu .overlay{animation:fade-out .4s}html.default.from-has-menu header,html.default.from-has-menu footer,html.default.from-has-menu .col-content{animation:unshift-to-left .4s}html.default.from-has-menu .col-menu{animation:pop-out-to-right .4s}html.default.has-menu body{overflow:hidden}html.default.has-menu .overlay{visibility:visible}html.default.has-menu header,html.default.has-menu footer,html.default.has-menu .col-content{transform:translate(-25%, 0)}html.default.has-menu .col-menu{visibility:visible;transform:translate(0, 0)}}.tsd-page-title{padding:70px 0 20px 0;margin:0 0 40px 0;background:#fff;box-shadow:0 0 5px rgba(0,0,0,.35)}.tsd-page-title h1{margin:0}.tsd-breadcrumb{margin:0;padding:0;color:#707070}.tsd-breadcrumb a{color:#707070;text-decoration:none}.tsd-breadcrumb a:hover{text-decoration:underline}.tsd-breadcrumb li{display:inline}.tsd-breadcrumb li:after{content:" / "}html.minimal .container{margin:0}html.minimal .container-main{padding-top:50px;padding-bottom:0}html.minimal .content-wrap{padding-left:300px}html.minimal .tsd-navigation{position:fixed !important;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;z-index:1;left:0;top:40px;bottom:0;width:300px;padding:20px;margin:0}html.minimal .tsd-member .tsd-member{margin-left:0}html.minimal .tsd-page-toolbar{position:fixed;z-index:2}html.minimal #tsd-filter .tsd-filter-group{right:0;transform:none}html.minimal footer{background-color:transparent}html.minimal footer .container{padding:0}html.minimal .tsd-generator{padding:0}@media(max-width: 900px){html.minimal .tsd-navigation{display:none}html.minimal .content-wrap{padding-left:0}}dl.tsd-comment-tags{overflow:hidden}dl.tsd-comment-tags dt{float:left;padding:1px 5px;margin:0 10px 0 0;border-radius:4px;border:1px solid #707070;color:#707070;font-size:.8em;font-weight:normal}dl.tsd-comment-tags dd{margin:0 0 10px 0}dl.tsd-comment-tags dd:before,dl.tsd-comment-tags dd:after{display:table;content:" "}dl.tsd-comment-tags dd pre,dl.tsd-comment-tags dd:after{clear:both}dl.tsd-comment-tags p{margin:0}.tsd-panel.tsd-comment .lead{font-size:1.1em;line-height:1.333em;margin-bottom:2em}.tsd-panel.tsd-comment .lead:last-child{margin-bottom:0}.toggle-protected .tsd-is-private{display:none}.toggle-public .tsd-is-private,.toggle-public .tsd-is-protected,.toggle-public .tsd-is-private-protected{display:none}.toggle-inherited .tsd-is-inherited{display:none}.toggle-only-exported .tsd-is-not-exported{display:none}.toggle-externals .tsd-is-external{display:none}#tsd-filter{position:relative;display:inline-block;height:40px;vertical-align:bottom}.no-filter #tsd-filter{display:none}#tsd-filter .tsd-filter-group{display:inline-block;height:40px;vertical-align:bottom;white-space:nowrap}#tsd-filter input{display:none}@media(max-width: 900px){#tsd-filter .tsd-filter-group{display:block;position:absolute;top:40px;right:20px;height:auto;background-color:#fff;visibility:hidden;transform:translate(50%, 0);box-shadow:0 0 4px rgba(0,0,0,.25)}.has-options #tsd-filter .tsd-filter-group{visibility:visible}.to-has-options #tsd-filter .tsd-filter-group{animation:fade-in .2s}.from-has-options #tsd-filter .tsd-filter-group{animation:fade-out .2s}#tsd-filter label,#tsd-filter .tsd-select{display:block;padding-right:20px}}footer{border-top:1px solid #eee;background-color:#fff}footer.with-border-bottom{border-bottom:1px solid #eee}footer .tsd-legend-group{font-size:0}footer .tsd-legend{display:inline-block;width:25%;padding:0;font-size:16px;list-style:none;line-height:1.333em;vertical-align:top}@media(max-width: 900px){footer .tsd-legend{width:50%}}.tsd-hierarchy{list-style:square;padding:0 0 0 20px;margin:0}.tsd-hierarchy .target{font-weight:bold}.tsd-index-panel .tsd-index-content{margin-bottom:-30px !important}.tsd-index-panel .tsd-index-section{margin-bottom:30px !important}.tsd-index-panel h3{margin:0 -20px 10px -20px;padding:0 20px 10px 20px;border-bottom:1px solid #eee}.tsd-index-panel ul.tsd-index-list{-webkit-column-count:3;-moz-column-count:3;-ms-column-count:3;-o-column-count:3;column-count:3;-webkit-column-gap:20px;-moz-column-gap:20px;-ms-column-gap:20px;-o-column-gap:20px;column-gap:20px;padding:0;list-style:none;line-height:1.333em}@media(max-width: 900px){.tsd-index-panel ul.tsd-index-list{-webkit-column-count:1;-moz-column-count:1;-ms-column-count:1;-o-column-count:1;column-count:1}}@media(min-width: 901px)and (max-width: 1024px){.tsd-index-panel ul.tsd-index-list{-webkit-column-count:2;-moz-column-count:2;-ms-column-count:2;-o-column-count:2;column-count:2}}.tsd-index-panel ul.tsd-index-list li{-webkit-page-break-inside:avoid;-moz-page-break-inside:avoid;-ms-page-break-inside:avoid;-o-page-break-inside:avoid;page-break-inside:avoid}.tsd-index-panel a,.tsd-index-panel .tsd-parent-kind-module a{color:#9600ff}.tsd-index-panel .tsd-parent-kind-interface a{color:#647f1b}.tsd-index-panel .tsd-parent-kind-enum a{color:#937210}.tsd-index-panel .tsd-parent-kind-class a{color:#0672de}.tsd-index-panel .tsd-kind-module a{color:#9600ff}.tsd-index-panel .tsd-kind-interface a{color:#647f1b}.tsd-index-panel .tsd-kind-enum a{color:#937210}.tsd-index-panel .tsd-kind-class a{color:#0672de}.tsd-index-panel .tsd-is-private a{color:#707070}.tsd-flag{display:inline-block;padding:1px 5px;border-radius:4px;color:#fff;background-color:#707070;text-indent:0;font-size:14px;font-weight:normal}.tsd-anchor{position:absolute;top:-100px}.tsd-member{position:relative}.tsd-member .tsd-anchor+h3{margin-top:0;margin-bottom:0;border-bottom:none}.tsd-navigation{margin:0 0 0 40px}.tsd-navigation a{display:block;padding-top:2px;padding-bottom:2px;border-left:2px solid transparent;color:#222;text-decoration:none;transition:border-left-color .1s}.tsd-navigation a:hover{text-decoration:underline}.tsd-navigation ul{margin:0;padding:0;list-style:none}.tsd-navigation li{padding:0}.tsd-navigation.primary{padding-bottom:40px}.tsd-navigation.primary a{display:block;padding-top:6px;padding-bottom:6px}.tsd-navigation.primary ul li a{padding-left:5px}.tsd-navigation.primary ul li li a{padding-left:25px}.tsd-navigation.primary ul li li li a{padding-left:45px}.tsd-navigation.primary ul li li li li a{padding-left:65px}.tsd-navigation.primary ul li li li li li a{padding-left:85px}.tsd-navigation.primary ul li li li li li li a{padding-left:105px}.tsd-navigation.primary>ul{border-bottom:1px solid #eee}.tsd-navigation.primary li{border-top:1px solid #eee}.tsd-navigation.primary li.current>a{font-weight:bold}.tsd-navigation.primary li.label span{display:block;padding:20px 0 6px 5px;color:#707070}.tsd-navigation.primary li.globals+li>span,.tsd-navigation.primary li.globals+li>a{padding-top:20px}.tsd-navigation.secondary{max-height:calc(100vh - 1rem - 40px);overflow:auto;position:-webkit-sticky;position:sticky;top:calc(.5rem + 40px);transition:.3s}.tsd-navigation.secondary.tsd-navigation--toolbar-hide{max-height:calc(100vh - 1rem);top:.5rem}.tsd-navigation.secondary ul{transition:opacity .2s}.tsd-navigation.secondary ul li a{padding-left:25px}.tsd-navigation.secondary ul li li a{padding-left:45px}.tsd-navigation.secondary ul li li li a{padding-left:65px}.tsd-navigation.secondary ul li li li li a{padding-left:85px}.tsd-navigation.secondary ul li li li li li a{padding-left:105px}.tsd-navigation.secondary ul li li li li li li a{padding-left:125px}.tsd-navigation.secondary ul.current a{border-left-color:#eee}.tsd-navigation.secondary li.focus>a,.tsd-navigation.secondary ul.current li.focus>a{border-left-color:#000}.tsd-navigation.secondary li.current{margin-top:20px;margin-bottom:20px;border-left-color:#eee}.tsd-navigation.secondary li.current>a{font-weight:bold}@media(min-width: 901px){.menu-sticky-wrap{position:static}}.tsd-panel{margin:20px 0;padding:20px;background-color:#fff;box-shadow:0 0 4px rgba(0,0,0,.25)}.tsd-panel:empty{display:none}.tsd-panel>h1,.tsd-panel>h2,.tsd-panel>h3{margin:1.5em -20px 10px -20px;padding:0 20px 10px 20px;border-bottom:1px solid #eee}.tsd-panel>h1.tsd-before-signature,.tsd-panel>h2.tsd-before-signature,.tsd-panel>h3.tsd-before-signature{margin-bottom:0;border-bottom:0}.tsd-panel table{display:block;width:100%;overflow:auto;margin-top:10px;word-break:normal;word-break:keep-all}.tsd-panel table th{font-weight:bold}.tsd-panel table th,.tsd-panel table td{padding:6px 13px;border:1px solid #ddd}.tsd-panel table tr{background-color:#fff;border-top:1px solid #ccc}.tsd-panel table tr:nth-child(2n){background-color:#f8f8f8}.tsd-panel-group{margin:60px 0}.tsd-panel-group>h1,.tsd-panel-group>h2,.tsd-panel-group>h3{padding-left:20px;padding-right:20px}#tsd-search{transition:background-color .2s}#tsd-search .title{position:relative;z-index:2}#tsd-search .field{position:absolute;left:0;top:0;right:40px;height:40px}#tsd-search .field input{box-sizing:border-box;position:relative;top:-50px;z-index:1;width:100%;padding:0 10px;opacity:0;outline:0;border:0;background:transparent;color:#222}#tsd-search .field label{position:absolute;overflow:hidden;right:-40px}#tsd-search .field input,#tsd-search .title{transition:opacity .2s}#tsd-search .results{position:absolute;visibility:hidden;top:40px;width:100%;margin:0;padding:0;list-style:none;box-shadow:0 0 4px rgba(0,0,0,.25)}#tsd-search .results li{padding:0 10px;background-color:#fdfdfd}#tsd-search .results li:nth-child(even){background-color:#fff}#tsd-search .results li.state{display:none}#tsd-search .results li.current,#tsd-search .results li:hover{background-color:#eee}#tsd-search .results a{display:block}#tsd-search .results a:before{top:10px}#tsd-search .results span.parent{color:#707070;font-weight:normal}#tsd-search.has-focus{background-color:#eee}#tsd-search.has-focus .field input{top:0;opacity:1}#tsd-search.has-focus .title{z-index:0;opacity:0}#tsd-search.has-focus .results{visibility:visible}#tsd-search.loading .results li.state.loading{display:block}#tsd-search.failure .results li.state.failure{display:block}.tsd-signature{margin:0 0 1em 0;padding:10px;border:1px solid #eee;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:14px;overflow-x:auto}.tsd-signature.tsd-kind-icon{padding-left:30px}.tsd-signature.tsd-kind-icon:before{top:10px;left:10px}.tsd-panel>.tsd-signature{margin-left:-20px;margin-right:-20px;border-width:1px 0}.tsd-panel>.tsd-signature.tsd-kind-icon{padding-left:40px}.tsd-panel>.tsd-signature.tsd-kind-icon:before{left:20px}.tsd-signature-symbol{color:#707070;font-weight:normal}.tsd-signature-type{font-style:italic;font-weight:normal}.tsd-signatures{padding:0;margin:0 0 1em 0;border:1px solid #eee}.tsd-signatures .tsd-signature{margin:0;border-width:1px 0 0 0;transition:background-color .1s}.tsd-signatures .tsd-signature:first-child{border-top-width:0}.tsd-signatures .tsd-signature.current{background-color:#eee}.tsd-signatures.active>.tsd-signature{cursor:pointer}.tsd-panel>.tsd-signatures{margin-left:-20px;margin-right:-20px;border-width:1px 0}.tsd-panel>.tsd-signatures .tsd-signature.tsd-kind-icon{padding-left:40px}.tsd-panel>.tsd-signatures .tsd-signature.tsd-kind-icon:before{left:20px}.tsd-panel>a.anchor+.tsd-signatures{border-top-width:0;margin-top:-20px}ul.tsd-descriptions{position:relative;overflow:hidden;padding:0;list-style:none}ul.tsd-descriptions.active>.tsd-description{display:none}ul.tsd-descriptions.active>.tsd-description.current{display:block}ul.tsd-descriptions.active>.tsd-description.fade-in{animation:fade-in-delayed .3s}ul.tsd-descriptions.active>.tsd-description.fade-out{animation:fade-out-delayed .3s;position:absolute;display:block;top:0;left:0;right:0;opacity:0;visibility:hidden}ul.tsd-descriptions h4,ul.tsd-descriptions .tsd-index-panel h3,.tsd-index-panel ul.tsd-descriptions h3{font-size:16px;margin:1em 0 .5em 0}ul.tsd-parameters,ul.tsd-type-parameters{list-style:square;margin:0;padding-left:20px}ul.tsd-parameters>li.tsd-parameter-signature,ul.tsd-type-parameters>li.tsd-parameter-signature{list-style:none;margin-left:-20px}ul.tsd-parameters h5,ul.tsd-type-parameters h5{font-size:16px;margin:1em 0 .5em 0}ul.tsd-parameters .tsd-comment,ul.tsd-type-parameters .tsd-comment{margin-top:-0.5em}.tsd-sources{font-size:14px;color:#707070;margin:0 0 1em 0}.tsd-sources a{color:#707070;text-decoration:underline}.tsd-sources ul,.tsd-sources p{margin:0 !important}.tsd-sources ul{list-style:none;padding:0}.tsd-page-toolbar{position:fixed;z-index:1;top:0;left:0;width:100%;height:40px;color:#333;background:#fff;border-bottom:1px solid #eee;transition:transform .3s linear}.tsd-page-toolbar a{color:#333;text-decoration:none}.tsd-page-toolbar a.title{font-weight:bold}.tsd-page-toolbar a.title:hover{text-decoration:underline}.tsd-page-toolbar .table-wrap{display:table;width:100%;height:40px}.tsd-page-toolbar .table-cell{display:table-cell;position:relative;white-space:nowrap;line-height:40px}.tsd-page-toolbar .table-cell:first-child{width:100%}.tsd-page-toolbar--hide{transform:translateY(-100%)}.tsd-select .tsd-select-list li:before,.tsd-select .tsd-select-label:before,.tsd-widget:before{content:"";display:inline-block;width:40px;height:40px;margin:0 -8px 0 0;background-image:url(../images/widgets.png);background-repeat:no-repeat;text-indent:-1024px;vertical-align:bottom}@media(-webkit-min-device-pixel-ratio: 1.5),(min-resolution: 144dpi){.tsd-select .tsd-select-list li:before,.tsd-select .tsd-select-label:before,.tsd-widget:before{background-image:url(../images/widgets@2x.png);background-size:320px 40px}}.tsd-widget{display:inline-block;overflow:hidden;opacity:.6;height:40px;transition:opacity .1s,background-color .2s;vertical-align:bottom;cursor:pointer}.tsd-widget:hover{opacity:.8}.tsd-widget.active{opacity:1;background-color:#eee}.tsd-widget.no-caption{width:40px}.tsd-widget.no-caption:before{margin:0}.tsd-widget.search:before{background-position:0 0}.tsd-widget.menu:before{background-position:-40px 0}.tsd-widget.options:before{background-position:-80px 0}.tsd-widget.options,.tsd-widget.menu{display:none}@media(max-width: 900px){.tsd-widget.options,.tsd-widget.menu{display:inline-block}}input[type=checkbox]+.tsd-widget:before{background-position:-120px 0}input[type=checkbox]:checked+.tsd-widget:before{background-position:-160px 0}.tsd-select{position:relative;display:inline-block;height:40px;transition:opacity .1s,background-color .2s;vertical-align:bottom;cursor:pointer}.tsd-select .tsd-select-label{opacity:.6;transition:opacity .2s}.tsd-select .tsd-select-label:before{background-position:-240px 0}.tsd-select.active .tsd-select-label{opacity:.8}.tsd-select.active .tsd-select-list{visibility:visible;opacity:1;transition-delay:0s}.tsd-select .tsd-select-list{position:absolute;visibility:hidden;top:40px;left:0;margin:0;padding:0;opacity:0;list-style:none;box-shadow:0 0 4px rgba(0,0,0,.25);transition:visibility 0s .2s,opacity .2s}.tsd-select .tsd-select-list li{padding:0 20px 0 0;background-color:#fdfdfd}.tsd-select .tsd-select-list li:before{background-position:40px 0}.tsd-select .tsd-select-list li:nth-child(even){background-color:#fff}.tsd-select .tsd-select-list li:hover{background-color:#eee}.tsd-select .tsd-select-list li.selected:before{background-position:-200px 0}@media(max-width: 900px){.tsd-select .tsd-select-list{top:0;left:auto;right:100%;margin-right:-5px}.tsd-select .tsd-select-label:before{background-position:-280px 0}}img{max-width:100%}
|