@verdocs/web-sdk 1.5.2 → 1.6.0
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/dist/cjs/{VerdocsEndpoint-5e6dd8ef.js → VerdocsEndpoint-4b97517d.js} +45 -2048
- package/dist/cjs/VerdocsEndpoint-4b97517d.js.map +1 -0
- package/dist/cjs/index-589f3be8.js +2 -0
- package/dist/cjs/index-589f3be8.js.map +1 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/loader.cjs.js +4 -2
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/{popper-71bf3058.js → popper-11d5f714.js} +62 -49
- package/dist/cjs/popper-11d5f714.js.map +1 -0
- package/dist/cjs/verdocs-auth.cjs.entry.js +23 -14
- package/dist/cjs/verdocs-auth.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-button_2.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-button_2.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-dropdown_12.cjs.entry.js +11357 -7265
- package/dist/cjs/verdocs-dropdown_12.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-initial-dialog.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-initial-dialog.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-kba-dialog.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-kba-dialog.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-loader.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-loader.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-ok-dialog.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-ok-dialog.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-organization-card.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-organization-card.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-quick-functions.cjs.entry.js +3 -1
- package/dist/cjs/verdocs-quick-functions.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-search-activity_2.cjs.entry.js +3 -1
- package/dist/cjs/verdocs-search-activity_2.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-search-tabs.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-search-tabs.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-search.cjs.entry.js +3 -1
- package/dist/cjs/verdocs-search.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-sign.cjs.entry.js +4 -2
- package/dist/cjs/verdocs-sign.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-signature-dialog.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-signature-dialog.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-status-indicator.cjs.entry.js +3 -1
- package/dist/cjs/verdocs-status-indicator.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-template-card.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-template-card.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-template-tags.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-template-tags.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-toggle.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-toggle.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-upload-dialog.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-upload-dialog.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-web-sdk.cjs.js +4 -2
- package/dist/cjs/verdocs-web-sdk.cjs.js.map +1 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/controls/verdocs-button/verdocs-button.js +1 -0
- package/dist/collection/components/controls/verdocs-button/verdocs-button.js.map +1 -0
- package/dist/collection/components/controls/verdocs-button/verdocs-button.stories.js +1 -0
- package/dist/collection/components/controls/verdocs-button/verdocs-button.stories.js.map +1 -0
- package/dist/collection/components/controls/verdocs-dropdown/verdocs-dropdown.js +1 -0
- package/dist/collection/components/controls/verdocs-dropdown/verdocs-dropdown.js.map +1 -0
- package/dist/collection/components/controls/verdocs-dropdown/verdocs-dropdown.stories.js +1 -0
- package/dist/collection/components/controls/verdocs-dropdown/verdocs-dropdown.stories.js.map +1 -0
- package/dist/collection/components/controls/verdocs-loader/verdocs-loader.js +1 -0
- package/dist/collection/components/controls/verdocs-loader/verdocs-loader.js.map +1 -0
- package/dist/collection/components/controls/verdocs-loader/verdocs-loader.stories.js +1 -0
- package/dist/collection/components/controls/verdocs-loader/verdocs-loader.stories.js.map +1 -0
- package/dist/collection/components/controls/verdocs-organization-card/verdocs-organization-card.js +1 -0
- package/dist/collection/components/controls/verdocs-organization-card/verdocs-organization-card.js.map +1 -0
- package/dist/collection/components/controls/verdocs-organization-card/verdocs-organization-card.stories.js +1 -0
- package/dist/collection/components/controls/verdocs-organization-card/verdocs-organization-card.stories.js.map +1 -0
- package/dist/collection/components/controls/verdocs-status-indicator/recipient-flow.js +1 -0
- package/dist/collection/components/controls/verdocs-status-indicator/recipient-flow.js.map +1 -0
- package/dist/collection/components/controls/verdocs-status-indicator/verdocs-status-indicator.js +1 -0
- package/dist/collection/components/controls/verdocs-status-indicator/verdocs-status-indicator.js.map +1 -0
- package/dist/collection/components/controls/verdocs-status-indicator/verdocs-status-indicator.stories.js +1 -0
- package/dist/collection/components/controls/verdocs-status-indicator/verdocs-status-indicator.stories.js.map +1 -0
- package/dist/collection/components/controls/verdocs-template-card/verdocs-template-card.js +1 -0
- package/dist/collection/components/controls/verdocs-template-card/verdocs-template-card.js.map +1 -0
- package/dist/collection/components/controls/verdocs-template-card/verdocs-template-card.stories.js +1 -0
- package/dist/collection/components/controls/verdocs-template-card/verdocs-template-card.stories.js.map +1 -0
- package/dist/collection/components/controls/verdocs-template-tags/verdocs-template-tags.js +1 -0
- package/dist/collection/components/controls/verdocs-template-tags/verdocs-template-tags.js.map +1 -0
- package/dist/collection/components/controls/verdocs-template-tags/verdocs-template-tags.stories.js +1 -0
- package/dist/collection/components/controls/verdocs-template-tags/verdocs-template-tags.stories.js.map +1 -0
- package/dist/collection/components/controls/verdocs-text-input/test/verdocs-text-input.js +1 -0
- package/dist/collection/components/controls/verdocs-text-input/test/verdocs-text-input.js.map +1 -0
- package/dist/collection/components/controls/verdocs-text-input/verdocs-text-input.js +1 -0
- package/dist/collection/components/controls/verdocs-text-input/verdocs-text-input.js.map +1 -0
- package/dist/collection/components/controls/verdocs-text-input/verdocs-text-input.stories.js +1 -0
- package/dist/collection/components/controls/verdocs-text-input/verdocs-text-input.stories.js.map +1 -0
- package/dist/collection/components/controls/verdocs-toggle/verdocs-toggle.js +1 -0
- package/dist/collection/components/controls/verdocs-toggle/verdocs-toggle.js.map +1 -0
- package/dist/collection/components/controls/verdocs-toggle/verdocs-toggle.stories.js +1 -0
- package/dist/collection/components/controls/verdocs-toggle/verdocs-toggle.stories.js.map +1 -0
- package/dist/collection/components/dialogs/verdocs-initial-dialog/verdocs-initial-dialog.js +1 -0
- package/dist/collection/components/dialogs/verdocs-initial-dialog/verdocs-initial-dialog.js.map +1 -0
- package/dist/collection/components/dialogs/verdocs-initial-dialog/verdocs-initial-dialog.stories.js +1 -0
- package/dist/collection/components/dialogs/verdocs-initial-dialog/verdocs-initial-dialog.stories.js.map +1 -0
- package/dist/collection/components/dialogs/verdocs-kba-dialog/verdocs-kba-dialog.js +1 -0
- package/dist/collection/components/dialogs/verdocs-kba-dialog/verdocs-kba-dialog.js.map +1 -0
- package/dist/collection/components/dialogs/verdocs-kba-dialog/verdocs-kba-dialog.stories.js +1 -0
- package/dist/collection/components/dialogs/verdocs-kba-dialog/verdocs-kba-dialog.stories.js.map +1 -0
- package/dist/collection/components/dialogs/verdocs-ok-dialog/verdocs-ok-dialog.js +1 -0
- package/dist/collection/components/dialogs/verdocs-ok-dialog/verdocs-ok-dialog.js.map +1 -0
- package/dist/collection/components/dialogs/verdocs-ok-dialog/verdocs-ok-dialog.stories.js +1 -0
- package/dist/collection/components/dialogs/verdocs-ok-dialog/verdocs-ok-dialog.stories.js.map +1 -0
- package/dist/collection/components/dialogs/verdocs-signature-dialog/verdocs-signature-dialog.js +1 -0
- package/dist/collection/components/dialogs/verdocs-signature-dialog/verdocs-signature-dialog.js.map +1 -0
- package/dist/collection/components/dialogs/verdocs-signature-dialog/verdocs-signature-dialog.stories.js +1 -0
- package/dist/collection/components/dialogs/verdocs-signature-dialog/verdocs-signature-dialog.stories.js.map +1 -0
- package/dist/collection/components/dialogs/verdocs-upload-dialog/verdocs-upload-dialog.js +1 -0
- package/dist/collection/components/dialogs/verdocs-upload-dialog/verdocs-upload-dialog.js.map +1 -0
- package/dist/collection/components/dialogs/verdocs-upload-dialog/verdocs-upload-dialog.stories.js +1 -0
- package/dist/collection/components/dialogs/verdocs-upload-dialog/verdocs-upload-dialog.stories.js.map +1 -0
- package/dist/collection/components/elements/verdocs-field-attachment/verdocs-field-attachment.js +1 -0
- package/dist/collection/components/elements/verdocs-field-attachment/verdocs-field-attachment.js.map +1 -0
- package/dist/collection/components/elements/verdocs-field-attachment/verdocs-field-attachment.stories.js +1 -0
- package/dist/collection/components/elements/verdocs-field-attachment/verdocs-field-attachment.stories.js.map +1 -0
- package/dist/collection/components/elements/verdocs-field-checkbox-group/verdocs-field-checkbox.js +1 -0
- package/dist/collection/components/elements/verdocs-field-checkbox-group/verdocs-field-checkbox.js.map +1 -0
- package/dist/collection/components/elements/verdocs-field-checkbox-group/verdocs-field-checkbox.stories.js +1 -0
- package/dist/collection/components/elements/verdocs-field-checkbox-group/verdocs-field-checkbox.stories.js.map +1 -0
- package/dist/collection/components/elements/verdocs-field-date/verdocs-field-date.js +1 -0
- package/dist/collection/components/elements/verdocs-field-date/verdocs-field-date.js.map +1 -0
- package/dist/collection/components/elements/verdocs-field-date/verdocs-field-date.stories.js +1 -0
- package/dist/collection/components/elements/verdocs-field-date/verdocs-field-date.stories.js.map +1 -0
- package/dist/collection/components/elements/verdocs-field-dropdown/verdocs-field-dropdown.js +1 -0
- package/dist/collection/components/elements/verdocs-field-dropdown/verdocs-field-dropdown.js.map +1 -0
- package/dist/collection/components/elements/verdocs-field-dropdown/verdocs-field-dropdown.stories.js +1 -0
- package/dist/collection/components/elements/verdocs-field-dropdown/verdocs-field-dropdown.stories.js.map +1 -0
- package/dist/collection/components/elements/verdocs-field-initial/verdocs-field-initial.js +1 -0
- package/dist/collection/components/elements/verdocs-field-initial/verdocs-field-initial.js.map +1 -0
- package/dist/collection/components/elements/verdocs-field-initial/verdocs-field-initial.stories.js +1 -0
- package/dist/collection/components/elements/verdocs-field-initial/verdocs-field-initial.stories.js.map +1 -0
- package/dist/collection/components/elements/verdocs-field-payment/verdocs-field-payment.js +1 -0
- package/dist/collection/components/elements/verdocs-field-payment/verdocs-field-payment.js.map +1 -0
- package/dist/collection/components/elements/verdocs-field-payment/verdocs-field-payment.stories.js +1 -0
- package/dist/collection/components/elements/verdocs-field-payment/verdocs-field-payment.stories.js.map +1 -0
- package/dist/collection/components/elements/verdocs-field-radio-button-group/verdocs-field-radio-button.js +1 -0
- package/dist/collection/components/elements/verdocs-field-radio-button-group/verdocs-field-radio-button.js.map +1 -0
- package/dist/collection/components/elements/verdocs-field-radio-button-group/verdocs-field-radio-button.stories.js +1 -0
- package/dist/collection/components/elements/verdocs-field-radio-button-group/verdocs-field-radio-button.stories.js.map +1 -0
- package/dist/collection/components/elements/verdocs-field-signature/verdocs-field-signature.js +1 -0
- package/dist/collection/components/elements/verdocs-field-signature/verdocs-field-signature.js.map +1 -0
- package/dist/collection/components/elements/verdocs-field-signature/verdocs-field-signature.stories.js +1 -0
- package/dist/collection/components/elements/verdocs-field-signature/verdocs-field-signature.stories.js.map +1 -0
- package/dist/collection/components/elements/verdocs-field-textarea/verdocs-field-textarea.js +1 -0
- package/dist/collection/components/elements/verdocs-field-textarea/verdocs-field-textarea.js.map +1 -0
- package/dist/collection/components/elements/verdocs-field-textarea/verdocs-field-textarea.stories.js +1 -0
- package/dist/collection/components/elements/verdocs-field-textarea/verdocs-field-textarea.stories.js.map +1 -0
- package/dist/collection/components/elements/verdocs-field-textbox/verdocs-field-textbox.js +1 -0
- package/dist/collection/components/elements/verdocs-field-textbox/verdocs-field-textbox.js.map +1 -0
- package/dist/collection/components/elements/verdocs-field-textbox/verdocs-field-textbox.stories.js +1 -0
- package/dist/collection/components/elements/verdocs-field-textbox/verdocs-field-textbox.stories.js.map +1 -0
- package/dist/collection/components/elements/verdocs-quick-functions/verdocs-quick-functions.js +1 -0
- package/dist/collection/components/elements/verdocs-quick-functions/verdocs-quick-functions.js.map +1 -0
- package/dist/collection/components/elements/verdocs-quick-functions/verdocs-quick-functions.stories.js +1 -0
- package/dist/collection/components/elements/verdocs-quick-functions/verdocs-quick-functions.stories.js.map +1 -0
- package/dist/collection/components/elements/verdocs-search-activity/verdocs-search-activity.js +1 -0
- package/dist/collection/components/elements/verdocs-search-activity/verdocs-search-activity.js.map +1 -0
- package/dist/collection/components/elements/verdocs-search-activity/verdocs-search-activity.stories.js +1 -0
- package/dist/collection/components/elements/verdocs-search-activity/verdocs-search-activity.stories.js.map +1 -0
- package/dist/collection/components/elements/verdocs-search-box/verdocs-search-box.js +1 -0
- package/dist/collection/components/elements/verdocs-search-box/verdocs-search-box.js.map +1 -0
- package/dist/collection/components/elements/verdocs-search-box/verdocs-search-box.stories.js +1 -0
- package/dist/collection/components/elements/verdocs-search-box/verdocs-search-box.stories.js.map +1 -0
- package/dist/collection/components/elements/verdocs-search-tabs/verdocs-search-tabs.js +1 -0
- package/dist/collection/components/elements/verdocs-search-tabs/verdocs-search-tabs.js.map +1 -0
- package/dist/collection/components/elements/verdocs-search-tabs/verdocs-search-tabs.stories.js +1 -0
- package/dist/collection/components/elements/verdocs-search-tabs/verdocs-search-tabs.stories.js.map +1 -0
- package/dist/collection/components/embeds/verdocs-auth/verdocs-auth.js +24 -16
- package/dist/collection/components/embeds/verdocs-auth/verdocs-auth.js.map +1 -0
- package/dist/collection/components/embeds/verdocs-auth/verdocs-auth.stories.js +1 -0
- package/dist/collection/components/embeds/verdocs-auth/verdocs-auth.stories.js.map +1 -0
- package/dist/collection/components/embeds/verdocs-search/verdocs-search.js +1 -0
- package/dist/collection/components/embeds/verdocs-search/verdocs-search.js.map +1 -0
- package/dist/collection/components/embeds/verdocs-search/verdocs-search.stories.js +1 -0
- package/dist/collection/components/embeds/verdocs-search/verdocs-search.stories.js.map +1 -0
- package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js +2 -1
- package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js.map +1 -0
- package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.stories.js +1 -0
- package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.stories.js.map +1 -0
- package/dist/collection/components/embeds/verdocs-view/verdocs-view.css +1 -2
- package/dist/collection/components/embeds/verdocs-view/verdocs-view.js +4 -24
- package/dist/collection/components/embeds/verdocs-view/verdocs-view.js.map +1 -0
- package/dist/collection/components/embeds/verdocs-view/verdocs-view.stories.js +5 -2
- package/dist/collection/components/embeds/verdocs-view/verdocs-view.stories.js.map +1 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/utils/utils.js +1 -0
- package/dist/collection/utils/utils.js.map +1 -0
- package/dist/components/VerdocsEndpoint.js +46 -2042
- package/dist/components/VerdocsEndpoint.js.map +1 -0
- package/dist/components/index.d.ts +32 -32
- package/dist/components/index.js +2 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/popper.js +62 -49
- package/dist/components/popper.js.map +1 -0
- package/dist/components/verdocs-auth.js +24 -14
- package/dist/components/verdocs-auth.js.map +1 -0
- package/dist/components/verdocs-button.js +2 -0
- package/dist/components/verdocs-button.js.map +1 -0
- package/dist/components/verdocs-button2.js +2 -0
- package/dist/components/verdocs-button2.js.map +1 -0
- package/dist/components/verdocs-dropdown.js +2 -0
- package/dist/components/verdocs-dropdown.js.map +1 -0
- package/dist/components/verdocs-dropdown2.js +2 -0
- package/dist/components/verdocs-dropdown2.js.map +1 -0
- package/dist/components/verdocs-field-attachment.js +2 -0
- package/dist/components/verdocs-field-attachment.js.map +1 -0
- package/dist/components/verdocs-field-attachment2.js +2 -0
- package/dist/components/verdocs-field-attachment2.js.map +1 -0
- package/dist/components/verdocs-field-checkbox.js +2 -0
- package/dist/components/verdocs-field-checkbox.js.map +1 -0
- package/dist/components/verdocs-field-checkbox2.js +2 -0
- package/dist/components/verdocs-field-checkbox2.js.map +1 -0
- package/dist/components/verdocs-field-date.js +2 -0
- package/dist/components/verdocs-field-date.js.map +1 -0
- package/dist/components/verdocs-field-date2.js +2 -0
- package/dist/components/verdocs-field-date2.js.map +1 -0
- package/dist/components/verdocs-field-dropdown.js +2 -0
- package/dist/components/verdocs-field-dropdown.js.map +1 -0
- package/dist/components/verdocs-field-dropdown2.js +2 -0
- package/dist/components/verdocs-field-dropdown2.js.map +1 -0
- package/dist/components/verdocs-field-initial.js +2 -0
- package/dist/components/verdocs-field-initial.js.map +1 -0
- package/dist/components/verdocs-field-initial2.js +2 -0
- package/dist/components/verdocs-field-initial2.js.map +1 -0
- package/dist/components/verdocs-field-payment.js +2 -0
- package/dist/components/verdocs-field-payment.js.map +1 -0
- package/dist/components/verdocs-field-payment2.js +2 -0
- package/dist/components/verdocs-field-payment2.js.map +1 -0
- package/dist/components/verdocs-field-radio-button.js +2 -0
- package/dist/components/verdocs-field-radio-button.js.map +1 -0
- package/dist/components/verdocs-field-radio-button2.js +2 -0
- package/dist/components/verdocs-field-radio-button2.js.map +1 -0
- package/dist/components/verdocs-field-signature.js +2 -0
- package/dist/components/verdocs-field-signature.js.map +1 -0
- package/dist/components/verdocs-field-signature2.js +2 -0
- package/dist/components/verdocs-field-signature2.js.map +1 -0
- package/dist/components/verdocs-field-textarea.js +2 -0
- package/dist/components/verdocs-field-textarea.js.map +1 -0
- package/dist/components/verdocs-field-textarea2.js +2 -0
- package/dist/components/verdocs-field-textarea2.js.map +1 -0
- package/dist/components/verdocs-field-textbox.js +2 -0
- package/dist/components/verdocs-field-textbox.js.map +1 -0
- package/dist/components/verdocs-field-textbox2.js +2 -0
- package/dist/components/verdocs-field-textbox2.js.map +1 -0
- package/dist/components/verdocs-initial-dialog.js +2 -0
- package/dist/components/verdocs-initial-dialog.js.map +1 -0
- package/dist/components/verdocs-initial-dialog2.js +2 -0
- package/dist/components/verdocs-initial-dialog2.js.map +1 -0
- package/dist/components/verdocs-kba-dialog.js +2 -0
- package/dist/components/verdocs-kba-dialog.js.map +1 -0
- package/dist/components/verdocs-loader.js +2 -0
- package/dist/components/verdocs-loader.js.map +1 -0
- package/dist/components/verdocs-loader2.js +2 -0
- package/dist/components/verdocs-loader2.js.map +1 -0
- package/dist/components/verdocs-ok-dialog.js +2 -0
- package/dist/components/verdocs-ok-dialog.js.map +1 -0
- package/dist/components/verdocs-ok-dialog2.js +2 -0
- package/dist/components/verdocs-ok-dialog2.js.map +1 -0
- package/dist/components/verdocs-organization-card.js +2 -0
- package/dist/components/verdocs-organization-card.js.map +1 -0
- package/dist/components/verdocs-quick-functions.js +2 -0
- package/dist/components/verdocs-quick-functions.js.map +1 -0
- package/dist/components/verdocs-search-activity.js +2 -0
- package/dist/components/verdocs-search-activity.js.map +1 -0
- package/dist/components/verdocs-search-activity2.js +2 -0
- package/dist/components/verdocs-search-activity2.js.map +1 -0
- package/dist/components/verdocs-search-box.js +2 -0
- package/dist/components/verdocs-search-box.js.map +1 -0
- package/dist/components/verdocs-search-box2.js +2 -0
- package/dist/components/verdocs-search-box2.js.map +1 -0
- package/dist/components/verdocs-search-tabs.js +2 -0
- package/dist/components/verdocs-search-tabs.js.map +1 -0
- package/dist/components/verdocs-search.js +2 -0
- package/dist/components/verdocs-search.js.map +1 -0
- package/dist/components/verdocs-sign.js +3 -1
- package/dist/components/verdocs-sign.js.map +1 -0
- package/dist/components/verdocs-signature-dialog.js +2 -0
- package/dist/components/verdocs-signature-dialog.js.map +1 -0
- package/dist/components/verdocs-signature-dialog2.js +2 -0
- package/dist/components/verdocs-signature-dialog2.js.map +1 -0
- package/dist/components/verdocs-status-indicator.js +2 -0
- package/dist/components/verdocs-status-indicator.js.map +1 -0
- package/dist/components/verdocs-template-card.js +2 -0
- package/dist/components/verdocs-template-card.js.map +1 -0
- package/dist/components/verdocs-template-tags.js +2 -0
- package/dist/components/verdocs-template-tags.js.map +1 -0
- package/dist/components/verdocs-text-input.js +2 -0
- package/dist/components/verdocs-text-input.js.map +1 -0
- package/dist/components/verdocs-text-input2.js +2 -0
- package/dist/components/verdocs-text-input2.js.map +1 -0
- package/dist/components/verdocs-toggle.js +2 -0
- package/dist/components/verdocs-toggle.js.map +1 -0
- package/dist/components/verdocs-upload-dialog.js +2 -0
- package/dist/components/verdocs-upload-dialog.js.map +1 -0
- package/dist/components/verdocs-upload-dialog2.js +2 -0
- package/dist/components/verdocs-upload-dialog2.js.map +1 -0
- package/dist/components/verdocs-view.js +2 -0
- package/dist/components/verdocs-view.js.map +1 -0
- package/dist/components/verdocs-view2.js +11357 -7266
- package/dist/components/verdocs-view2.js.map +1 -0
- package/dist/custom-elements.json +0 -4
- package/dist/docs.json +2 -20
- package/dist/esm/{VerdocsEndpoint-30e1b6ec.js → VerdocsEndpoint-9353e4a0.js} +46 -2042
- package/dist/esm/VerdocsEndpoint-9353e4a0.js.map +1 -0
- package/dist/esm/index-859bc689.js +2 -0
- package/dist/esm/index-859bc689.js.map +1 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/loader.js +4 -2
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/{popper-93ecb064.js → popper-f860750c.js} +62 -49
- package/dist/esm/popper-f860750c.js.map +1 -0
- package/dist/esm/verdocs-auth.entry.js +23 -14
- package/dist/esm/verdocs-auth.entry.js.map +1 -0
- package/dist/esm/verdocs-button_2.entry.js +2 -0
- package/dist/esm/verdocs-button_2.entry.js.map +1 -0
- package/dist/esm/verdocs-dropdown_12.entry.js +11334 -7242
- package/dist/esm/verdocs-dropdown_12.entry.js.map +1 -0
- package/dist/esm/verdocs-initial-dialog.entry.js +2 -0
- package/dist/esm/verdocs-initial-dialog.entry.js.map +1 -0
- package/dist/esm/verdocs-kba-dialog.entry.js +2 -0
- package/dist/esm/verdocs-kba-dialog.entry.js.map +1 -0
- package/dist/esm/verdocs-loader.entry.js +2 -0
- package/dist/esm/verdocs-loader.entry.js.map +1 -0
- package/dist/esm/verdocs-ok-dialog.entry.js +2 -0
- package/dist/esm/verdocs-ok-dialog.entry.js.map +1 -0
- package/dist/esm/verdocs-organization-card.entry.js +2 -0
- package/dist/esm/verdocs-organization-card.entry.js.map +1 -0
- package/dist/esm/verdocs-quick-functions.entry.js +3 -1
- package/dist/esm/verdocs-quick-functions.entry.js.map +1 -0
- package/dist/esm/verdocs-search-activity_2.entry.js +3 -1
- package/dist/esm/verdocs-search-activity_2.entry.js.map +1 -0
- package/dist/esm/verdocs-search-tabs.entry.js +2 -0
- package/dist/esm/verdocs-search-tabs.entry.js.map +1 -0
- package/dist/esm/verdocs-search.entry.js +3 -1
- package/dist/esm/verdocs-search.entry.js.map +1 -0
- package/dist/esm/verdocs-sign.entry.js +4 -2
- package/dist/esm/verdocs-sign.entry.js.map +1 -0
- package/dist/esm/verdocs-signature-dialog.entry.js +2 -0
- package/dist/esm/verdocs-signature-dialog.entry.js.map +1 -0
- package/dist/esm/verdocs-status-indicator.entry.js +3 -1
- package/dist/esm/verdocs-status-indicator.entry.js.map +1 -0
- package/dist/esm/verdocs-template-card.entry.js +2 -0
- package/dist/esm/verdocs-template-card.entry.js.map +1 -0
- package/dist/esm/verdocs-template-tags.entry.js +2 -0
- package/dist/esm/verdocs-template-tags.entry.js.map +1 -0
- package/dist/esm/verdocs-toggle.entry.js +2 -0
- package/dist/esm/verdocs-toggle.entry.js.map +1 -0
- package/dist/esm/verdocs-upload-dialog.entry.js +2 -0
- package/dist/esm/verdocs-upload-dialog.entry.js.map +1 -0
- package/dist/esm/verdocs-web-sdk.js +4 -2
- package/dist/esm/verdocs-web-sdk.js.map +1 -0
- package/dist/esm-es5/VerdocsEndpoint-9353e4a0.js +2 -0
- package/dist/esm-es5/VerdocsEndpoint-9353e4a0.js.map +1 -0
- package/dist/esm-es5/index-859bc689.js +2 -1
- package/dist/esm-es5/index-859bc689.js.map +1 -0
- package/dist/esm-es5/index.js +2 -0
- package/dist/esm-es5/index.js.map +1 -0
- package/dist/esm-es5/loader.js +2 -1
- package/dist/esm-es5/loader.js.map +1 -0
- package/dist/esm-es5/popper-f860750c.js +2 -0
- package/dist/esm-es5/popper-f860750c.js.map +1 -0
- package/dist/esm-es5/verdocs-auth.entry.js +2 -1
- package/dist/esm-es5/verdocs-auth.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-button_2.entry.js +2 -1
- package/dist/esm-es5/verdocs-button_2.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-dropdown_12.entry.js +6 -5
- package/dist/esm-es5/verdocs-dropdown_12.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-initial-dialog.entry.js +2 -1
- package/dist/esm-es5/verdocs-initial-dialog.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-kba-dialog.entry.js +2 -1
- package/dist/esm-es5/verdocs-kba-dialog.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-loader.entry.js +2 -1
- package/dist/esm-es5/verdocs-loader.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-ok-dialog.entry.js +2 -1
- package/dist/esm-es5/verdocs-ok-dialog.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-organization-card.entry.js +2 -1
- package/dist/esm-es5/verdocs-organization-card.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-quick-functions.entry.js +2 -1
- package/dist/esm-es5/verdocs-quick-functions.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-search-activity_2.entry.js +2 -1
- package/dist/esm-es5/verdocs-search-activity_2.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-search-tabs.entry.js +2 -1
- package/dist/esm-es5/verdocs-search-tabs.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-search.entry.js +2 -1
- package/dist/esm-es5/verdocs-search.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-sign.entry.js +2 -1
- package/dist/esm-es5/verdocs-sign.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-signature-dialog.entry.js +2 -1
- package/dist/esm-es5/verdocs-signature-dialog.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-status-indicator.entry.js +2 -1
- package/dist/esm-es5/verdocs-status-indicator.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-template-card.entry.js +2 -1
- package/dist/esm-es5/verdocs-template-card.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-template-tags.entry.js +2 -1
- package/dist/esm-es5/verdocs-template-tags.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-toggle.entry.js +2 -1
- package/dist/esm-es5/verdocs-toggle.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-upload-dialog.entry.js +2 -1
- package/dist/esm-es5/verdocs-upload-dialog.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-web-sdk.js +2 -1
- package/dist/esm-es5/verdocs-web-sdk.js.map +1 -0
- package/dist/types/components/embeds/verdocs-auth/verdocs-auth.d.ts +2 -0
- package/dist/types/components/embeds/verdocs-view/verdocs-view.d.ts +0 -5
- package/dist/types/components.d.ts +0 -8
- package/dist/verdocs-web-sdk/index.esm.js +2 -0
- package/dist/verdocs-web-sdk/index.esm.js.map +1 -0
- package/dist/verdocs-web-sdk/p-06b2e7a5.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-06b2e7a5.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-088b9a26.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-088b9a26.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-10e49d23.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-10e49d23.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-11f56146.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-11f56146.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-144e0842.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-144e0842.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-1907fc69.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-1907fc69.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-1c648415.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-1c648415.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-1f55d8ac.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-1f55d8ac.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-22220dcc.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-22220dcc.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-2bc58746.js +3 -2
- package/dist/verdocs-web-sdk/p-2bc58746.js.map +1 -0
- package/dist/verdocs-web-sdk/p-316b2fd4.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-316b2fd4.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-347c10fe.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-347c10fe.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-1b4e04b7.system.entry.js → p-39818d35.system.entry.js} +2 -1
- package/dist/verdocs-web-sdk/p-39818d35.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-4b0c711c.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-4b0c711c.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-50ea2036.system.js +2 -1
- package/dist/verdocs-web-sdk/p-50ea2036.system.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-a87069d5.system.entry.js → p-545eb938.system.entry.js} +2 -1
- package/dist/verdocs-web-sdk/p-545eb938.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-64127985.system.js +2 -0
- package/dist/verdocs-web-sdk/p-64127985.system.js.map +1 -0
- package/dist/verdocs-web-sdk/p-654d98ea.system.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-654d98ea.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-6802ef91.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-6802ef91.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-f814d5cc.system.entry.js → p-6bda2959.system.entry.js} +2 -1
- package/dist/verdocs-web-sdk/p-6bda2959.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-9139a76d.system.entry.js → p-6eed372a.system.entry.js} +2 -1
- package/dist/verdocs-web-sdk/p-6eed372a.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-7f162244.js +2 -0
- package/dist/verdocs-web-sdk/p-7f162244.js.map +1 -0
- package/dist/verdocs-web-sdk/p-81fc0196.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-81fc0196.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-85cd7ebf.system.entry.js +24 -0
- package/dist/verdocs-web-sdk/p-85cd7ebf.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-92f8605b.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-92f8605b.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-a217fe67.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-a217fe67.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-aef24c40.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-aef24c40.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-b08a8bd9.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-b08a8bd9.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-bb08e079.system.js +2 -0
- package/dist/verdocs-web-sdk/p-bb08e079.system.js.map +1 -0
- package/dist/verdocs-web-sdk/p-bdcc8115.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-bdcc8115.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-c2f97ef9.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-c2f97ef9.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-caed7818.system.js +2 -1
- package/dist/verdocs-web-sdk/p-caed7818.system.js.map +1 -0
- package/dist/verdocs-web-sdk/p-cc127684.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-cc127684.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-cd6a2c40.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-cd6a2c40.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-d14a6057.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-d14a6057.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-d6206c17.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-d6206c17.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-da0462e5.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-da0462e5.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-16d62a51.system.entry.js → p-dadb25d5.system.entry.js} +2 -1
- package/dist/verdocs-web-sdk/p-dadb25d5.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-e12b7fbc.system.js +2 -0
- package/dist/verdocs-web-sdk/p-e12b7fbc.system.js.map +1 -0
- package/dist/verdocs-web-sdk/p-e4ba14dc.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-e4ba14dc.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-e719f9ca.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-e719f9ca.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-ec26fc38.js +2 -0
- package/dist/verdocs-web-sdk/p-ec26fc38.js.map +1 -0
- package/dist/verdocs-web-sdk/p-ec757dab.entry.js +24 -0
- package/dist/verdocs-web-sdk/p-ec757dab.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-f0d0f959.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-f0d0f959.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-f248e3c4.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-f248e3c4.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-f33f8683.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-f33f8683.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +2 -1
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js.map +1 -0
- package/dist/verdocs-web-sdk/verdocs-web-sdk.js +1 -1
- package/package.json +20 -14
- package/dist/esm-es5/VerdocsEndpoint-30e1b6ec.js +0 -7
- package/dist/esm-es5/popper-93ecb064.js +0 -1
- package/dist/verdocs-web-sdk/p-064453c3.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-06f38046.js +0 -1
- package/dist/verdocs-web-sdk/p-15b7ed4d.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-1ea3b9d3.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-30cc8818.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-32ad1014.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-4c66f794.js +0 -1
- package/dist/verdocs-web-sdk/p-4d80d044.system.js +0 -7
- package/dist/verdocs-web-sdk/p-6393b2b4.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-66b19637.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-6fa6fb3c.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-8276345a.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-829b235c.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-88a300c5.system.js +0 -1
- package/dist/verdocs-web-sdk/p-96c0bf40.system.js +0 -1
- package/dist/verdocs-web-sdk/p-9b34c794.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-9d8d8c78.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-aa9fc574.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-bf2620cb.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-c29c2cf8.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-c4d03ff9.system.entry.js +0 -23
- package/dist/verdocs-web-sdk/p-d522de7d.entry.js +0 -23
- package/dist/verdocs-web-sdk/p-da667373.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-f4219236.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-f6a53928.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-f7e26fbd.entry.js +0 -1
- package/dist/verdocs-web-sdk/verdocs-web-sdk.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["node_modules/@verdocs/js-sdk/Templates/Templates.js","node_modules/@verdocs/js-sdk/Search/Content.js","src/components/elements/verdocs-search-activity/verdocs-search-activity.scss?tag=verdocs-search-activity","src/components/elements/verdocs-search-activity/verdocs-search-activity.tsx","src/components/elements/verdocs-search-box/verdocs-search-box.scss?tag=verdocs-search-box","src/components/elements/verdocs-search-box/verdocs-search-box.tsx"],"names":["getTemplates","endpoint","params","api","get","then","r","data","__awaiter","this","thisArg","_arguments","P","generator","adopt","value","resolve","Promise","reject","fulfilled","step","next","e","rejected","result","done","apply","__generator","body","_","label","sent","t","trys","ops","f","y","g","verb","throw","return","Symbol","iterator","n","v","op","TypeError","call","pop","length","push","getSearchHistory","_a","verdocsSearchActivityCss","VerdocsSearchActivity","exports","class_1","hostRef","VerdocsEndpoint","getDefault","type","emptyMessage","authFailure","title","recent","saved","starred","prototype","componentWillLoad","_this","loadSession","errorHandler","console","warn","response","status","catch","is_starred","handleSelectEntry","entry","entrySelected","emit","computePagesText","pages","concat","computeRecipientsText","recipients","join","render","showEmpty","h","class","map","onClick","innerHTML","DocumentIcon","q","option","verdocsSearchBoxCss","VerdocsSearchBox","class_2","placeholder","query","handleSearch","searchClicked","preventDefault","handleChange","queryChanged","target","handleClearFilter","typeChanged","handleKeyUp","key","onSubmit","undefined","CloseIcon","onInput","onKeyUp","SearchIcon"],"mappings":"gMAsDO,IAAIA,EAAe,SAAUC,EAAUC,GAC1C,OAAOD,EAASE,IACXC,IAAI,cAAe,CAAEF,OAAQA,IAC7BG,MAAK,SAAUC,GAAK,OAAOA,EAAEC,SClDtC,IAAIC,EAAaC,WAAQA,UAAKD,WAAc,SAAUE,EAASC,EAAYC,EAAGC,GAC1E,SAASC,EAAMC,GAAS,OAAOA,aAAiBH,EAAIG,EAAQ,IAAIH,GAAE,SAAUI,GAAWA,EAAQD,MAC/F,OAAO,IAAKH,IAAMA,EAAIK,WAAU,SAAUD,EAASE,GAC/C,SAASC,EAAUJ,GAAS,IAAMK,EAAKP,EAAUQ,KAAKN,IAAW,MAAOO,GAAKJ,EAAOI,IACpF,SAASC,EAASR,GAAS,IAAMK,EAAKP,EAAU,SAASE,IAAW,MAAOO,GAAKJ,EAAOI,IACvF,SAASF,EAAKI,GAAUA,EAAOC,KAAOT,EAAQQ,EAAOT,OAASD,EAAMU,EAAOT,OAAOV,KAAKc,EAAWI,GAClGH,GAAMP,EAAYA,EAAUa,MAAMhB,EAASC,GAAc,KAAKU,YAGtE,IAAIM,EAAelB,WAAQA,UAAKkB,aAAgB,SAAUjB,EAASkB,GAC/D,IAAIC,EAAI,CAAEC,MAAO,EAAGC,KAAM,WAAa,GAAIC,EAAE,GAAK,EAAG,MAAMA,EAAE,GAAI,OAAOA,EAAE,IAAOC,KAAM,GAAIC,IAAK,IAAMC,EAAGC,EAAGJ,EAAGK,EAC/G,OAAOA,EAAI,CAAEhB,KAAMiB,EAAK,GAAIC,MAASD,EAAK,GAAIE,OAAUF,EAAK,WAAaG,SAAW,aAAeJ,EAAEI,OAAOC,UAAY,WAAa,OAAOjC,OAAU4B,EACvJ,SAASC,EAAKK,GAAK,OAAO,SAAUC,GAAK,OAAOxB,EAAK,CAACuB,EAAGC,KACzD,SAASxB,EAAKyB,GACV,GAAIV,EAAG,MAAM,IAAIW,UAAU,mCAC3B,MAAOjB,MACH,GAAIM,EAAI,EAAGC,IAAMJ,EAAIa,EAAG,GAAK,EAAIT,EAAE,UAAYS,EAAG,GAAKT,EAAE,YAAcJ,EAAII,EAAE,YAAcJ,EAAEe,KAAKX,GAAI,GAAKA,EAAEf,SAAWW,EAAIA,EAAEe,KAAKX,EAAGS,EAAG,KAAKpB,KAAM,OAAOO,EAC3J,GAAII,EAAI,EAAGJ,EAAGa,EAAK,CAACA,EAAG,GAAK,EAAGb,EAAEjB,OACjC,OAAQ8B,EAAG,IACP,KAAK,EAAG,KAAK,EAAGb,EAAIa,EAAI,MACxB,KAAK,EAAGhB,EAAEC,QAAS,MAAO,CAAEf,MAAO8B,EAAG,GAAIpB,KAAM,OAChD,KAAK,EAAGI,EAAEC,QAASM,EAAIS,EAAG,GAAIA,EAAK,CAAC,GAAI,SACxC,KAAK,EAAGA,EAAKhB,EAAEK,IAAIc,MAAOnB,EAAEI,KAAKe,MAAO,SACxC,QACI,KAAMhB,EAAIH,EAAEI,KAAMD,EAAIA,EAAEiB,OAAS,GAAKjB,EAAEA,EAAEiB,OAAS,MAAQJ,EAAG,KAAO,GAAKA,EAAG,KAAO,GAAI,CAAEhB,EAAI,EAAG,SACjG,GAAIgB,EAAG,KAAO,KAAOb,GAAMa,EAAG,GAAKb,EAAE,IAAMa,EAAG,GAAKb,EAAE,IAAM,CAAEH,EAAEC,MAAQe,EAAG,GAAI,MAC9E,GAAIA,EAAG,KAAO,GAAKhB,EAAEC,MAAQE,EAAE,GAAI,CAAEH,EAAEC,MAAQE,EAAE,GAAIA,EAAIa,EAAI,MAC7D,GAAIb,GAAKH,EAAEC,MAAQE,EAAE,GAAI,CAAEH,EAAEC,MAAQE,EAAE,GAAIH,EAAEK,IAAIgB,KAAKL,GAAK,MAC3D,GAAIb,EAAE,GAAIH,EAAEK,IAAIc,MAChBnB,EAAEI,KAAKe,MAAO,SAEtBH,EAAKjB,EAAKmB,KAAKrC,EAASmB,GAC1B,MAAOP,GAAKuB,EAAK,CAAC,EAAGvB,GAAIc,EAAI,UAAeD,EAAIH,EAAI,EACtD,GAAIa,EAAG,GAAK,EAAG,MAAMA,EAAG,GAAI,MAAO,CAAE9B,MAAO8B,EAAG,GAAKA,EAAG,QAAU,EAAGpB,KAAM,QAa3E,IAAI0B,EAAmB,SAAUlD,GAAY,OAAOO,OAAe,OAAQ,OAAQ,GAAG,WACzF,OAAOmB,EAAYlB,MAAM,SAAU2C,GAC/B,MAAO,CAAC,EAAcnD,EAASE,IACtBC,IAAI,mBACJC,MAAK,SAAUC,GAAK,OAAOA,EAAEC,wSCzD9C,IAAM8C,EAA2B,w2CCmBpBC,EAAqBC,EAAA,0BAAA,WALlC,SAAAC,EAAAC,0DASUhD,KAAAR,SAA4ByD,EAAgBC,aAE5ClD,KAAAmD,KAAuC,SAStCnD,KAAAoD,aAAe,wCAEfpD,KAAAqD,YAAc,MAEdrD,KAAAsD,MAAQ,kBAERtD,KAAAuD,OAA0B,GAE1BvD,KAAAwD,MAAwB,GAExBxD,KAAAyD,QAAuB,GAEhCV,EAAAW,UAAAC,kBAAA,WAAA,IAAAC,EAAA5D,KACEA,KAAKR,SAASqE,cAEd,IAAMC,EAAe,SAAAjD,SACnBkD,QAAQC,KAAK,sDAAuDnD,GACpE,KAAI8B,EAAA9B,IAAC,MAADA,SAAC,OAAA,EAADA,EAAGoD,YAAQ,MAAAtB,SAAA,OAAA,EAAAA,EAAEuB,UAAW,IAAK,CAC/BN,EAAKP,YAAc,OAIvB,OAAQrD,KAAKmD,MACX,IAAK,SACHnD,KAAKsD,MAAQ,kBACbtD,KAAKoD,aAAe,uCACpBV,EAAiB1C,KAAKR,UACnBI,MAAK,SAAAC,GAAC,OAAK+D,EAAKL,OAAS1D,EAAE0D,UAC3BY,MAAML,GACT,MAEF,IAAK,QACH9D,KAAKsD,MAAQ,iBACbtD,KAAKoD,aAAe,sCACpBV,EAAiB1C,KAAKR,UACnBI,MAAK,SAAAC,GAAC,OAAK+D,EAAKJ,MAAQ3D,EAAE2D,SAC1BW,MAAML,GACT,MAEF,IAAK,UACH9D,KAAKsD,MAAQ,mBACbtD,KAAKoD,aAAe,yCACpB7D,EAAaS,KAAKR,SAAU,CAAC4E,WAAY,OACtCxE,MAAK,SAAAC,GAAC,OAAK+D,EAAKH,QAAU5D,KAC1BsE,MAAML,GACT,QAINf,EAAAW,UAAAW,kBAAA,SAAkBC,GAChBtE,KAAKuE,cAAcC,KAAKF,IAG1BvB,EAAAW,UAAAe,iBAAA,SAAiBC,GACf,GAAIA,EAAQ,EAAG,CACb,MAAO,GAAAC,OAAGD,EAAK,aACV,CACL,MAAO,GAAAC,OAAGD,EAAK,YAInB3B,EAAAW,UAAAkB,sBAAA,SAAsBC,GACpB,UAAWA,IAAe,SAAU,CAClC,OAAOA,EAAWC,KAAK,WAClB,GAAID,EAAa,EAAG,CACzB,MAAO,GAAAF,OAAGE,EAAU,mBACf,CACL,MAAO,GAAAF,OAAGE,EAAU,gBAIxB9B,EAAAW,UAAAqB,OAAA,WAAA,IAAAnB,EAAA5D,KACE,IAAMgF,EAAYhF,KAAKuD,OAAOf,OAAS,GAAKxC,KAAKwD,MAAMhB,OAAS,GAAKxC,KAAKyD,QAAQjB,OAAS,EAE3F,OACEyC,EAAA,MAAA,CAAKC,MAAM,aACTD,EAAA,IAAA,CAAGC,MAAM,SAASlF,KAAKsD,OAEvB2B,EAAA,MAAA,CAAKC,MAAM,SACRlF,KAAKuD,OAAO4B,KAAI,SAAA5B,GAAM,OACrB0B,EAAA,SAAA,CAAQC,MAAM,OAAOE,QAAS,WAAM,OAAAxB,EAAKS,kBAAkBd,KACzD0B,EAAA,MAAA,CAAKC,MAAM,OAAOG,UAAWC,IAC7BL,EAAA,MAAA,CAAKC,MAAM,WACTD,EAAA,MAAA,CAAKC,MAAM,cAAc3B,EAAO9D,OAAO8F,GACvCN,EAAA,MAAA,CAAKC,MAAM,QAAM,aAKtBlF,KAAKwD,MAAM2B,KAAI,SAAAK,GAAM,OACpBP,EAAA,SAAA,CAAQC,MAAM,OAAOE,QAAS,WAAM,OAAAxB,EAAKS,kBAAkBmB,KACzDP,EAAA,MAAA,CAAKC,MAAM,OAAOG,UAAWC,IAC7BL,EAAA,MAAA,CAAKC,MAAM,WACTD,EAAA,MAAA,CAAKC,MAAM,cAAcM,EAAO/F,OAAO8F,GACvCN,EAAA,MAAA,CAAKC,MAAM,cAQhBF,GAAaC,EAAA,MAAA,CAAKC,MAAM,SAASlF,KAAKqD,YAAc,0BAA4BrD,KAAKoD,0BArH9D,+nECnBlC,IAAMqC,EAAsB,20DCuBfC,EAAgB5C,EAAA,qBAAA,WAL7B,SAAA6C,EAAA3C,8IASUhD,KAAAR,SAA4ByD,EAAgBC,aAK5ClD,KAAA4F,YAAc,yCAKd5F,KAAAmD,KAAqB,MAKrBnD,KAAA6F,MAAQ,GAiBhBF,EAAAjC,UAAAoC,aAAA,SAAajF,GACXb,KAAK+F,cAAcvB,KAAK,CAACrB,KAAMnD,KAAKmD,KAAM0C,MAAO7F,KAAK6F,QACtDhF,EAAEmF,iBACF,OAAO,OAGTL,EAAAjC,UAAAuC,aAAA,SAAapF,GACXb,KAAKkG,aAAa1B,KAAK3D,EAAEsF,OAAO7F,QAGlCqF,EAAAjC,UAAA0C,kBAAA,WACEpG,KAAKqG,YAAY7B,KAAK,QAGxBmB,EAAAjC,UAAA4C,YAAA,SAAYzF,GACV,GAAIA,EAAE0F,MAAQ,QAAS,CACrBvG,KAAK+F,cAAcvB,KAAK,CAACrB,KAAMnD,KAAKmD,KAAM0C,MAAO7F,KAAK6F,UAI1DF,EAAAjC,UAAAqB,OAAA,WAAA,IAAAnB,EAAA5D,KACE,OACEiF,EAAA,OAAA,CAAMuB,SAAU,SAAA3F,GAAK,OAAA+C,EAAKkC,aAAajF,KACpCb,KAAKmD,OAASsD,WAAazG,KAAKmD,OAAS,OACxC8B,EAAA,OAAA,CAAMC,MAAM,QACTlF,KAAKmD,KAAI,KAAG8B,EAAA,SAAA,CAAQC,MAAM,SAASG,UAAWqB,EAAWtB,QAAS,WAAM,OAAAxB,EAAKwC,wBAGlFnB,EAAA,QAAA,CAAO9B,KAAK,OAAOyC,YAAa5F,KAAK4F,YAAatF,MAAON,KAAK6F,MAAOc,QAAS,SAAA9F,GAAK,OAAA+C,EAAKqC,aAAapF,IAAI+F,QAAS,SAAA/F,GAAK,OAAA+C,EAAK0C,YAAYzF,MACxIoE,EAAA,SAAA,CAAQG,QAAS,SAAAvE,GAAK,OAAA+C,EAAKkC,aAAajF,IAAIqE,MAAM,UAChDD,EAAA,OAAA,CAAMI,UAAWwB,IAAc,qBAlEZ","sourcesContent":["/**\n * A Template defines how a Verdocs signing flow will be performed, including attachments, signing fields, and\n * recipients.\n *\n * @module\n */\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\n/**\n * Get all templates accessible by the caller, with optional filters.\n *\n * ```typescript\n * import {Templates} from '@verdocs/js-sdk/Templates';\n *\n * await Templates.getTemplates();\n * await Templates.getTemplates({ is_starred: true });\n * await Templates.getTemplates({ is_creator: true });\n * await Templates.getTemplates({ is_organization: true });\n * ```\n */\nexport var getTemplates = function (endpoint, params) {\n return endpoint.api //\n .get('/templates/', { params: params })\n .then(function (r) { return r.data; });\n};\n/**\n * Get one template by its ID.\n *\n * ```typescript\n * import {Templates} from '@verdocs/js-sdk/Templates';\n *\n * const template = await Templates.getTemplate('83da3d70-7857-4392-b876-c4592a304bc9');\n * ```\n */\nexport var getTemplate = function (endpoint, templateId) {\n return endpoint.api //\n .get(\"/templates/\".concat(templateId))\n .then(function (r) { return r.data; });\n};\n/**\n * Create a template.\n *\n * ```typescript\n * import {Templates} from '@verdocs/js-sdk/Templates';\n *\n * const newTemplate = await Templates.createTemplate({...});\n * ```\n */\nexport var createTemplate = function (endpoint, params) {\n return endpoint.api //\n .post('/templates/', params)\n .then(function (r) { return r.data; });\n};\n/**\n * Update a template.\n *\n * ```typescript\n * import {Templates} from '@verdocs/js-sdk/Templates';\n *\n * const updatedTemplate = await Templates.updateTemplate('83da3d70-7857-4392-b876-c4592a304bc9', { name: 'New Name' });\n * ```\n */\nexport var updateTemplate = function (endpoint, templateId, params) {\n return endpoint.api //\n .put(\"/templates/\".concat(templateId), params)\n .then(function (r) { return r.data; });\n};\n/**\n * Search for templates matching various criteria.\n *\n * ```typescript\n * import {Templates} from '@verdocs/js-sdk/Templates';\n *\n * const {result, page, total} = await Templates.search({ ... });\n * ```\n */\nexport var searchTemplates = function (endpoint, params) { return __awaiter(void 0, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, endpoint.api //\n .post('/templates/search', params)\n .then(function (r) { return r.data; })];\n });\n}); };\n/**\n * Get a summary of template data, typically used to populate admin panel dashboard pages.\n *\n * ```typescript\n * import {Templates} from '@verdocs/js-sdk/Templates';\n *\n * const summary = await Templates.getSummary(0);\n * ```\n */\nexport var getSummary = function (endpoint, page) { return __awaiter(void 0, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, endpoint.api //\n .post('/templates/summary', { page: page })\n .then(function (r) { return r.data; })];\n });\n}); };\n","/**\n * Verdocs provides a range of search functions to help find and retrieve content. This module provides generic functions intended\n * to locate items across all content types. More specific retrievals may be performed using the various \"list\" endpoints within\n * each collection (e.g. {@link Documents.Documents.searchDocuments} or {@link Templates.Templates.searchTemplates}).\n *\n * @module\n */\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\n/**\n * Retrieve recent and saved searches. Note that result counts will be limited to a maximum of 20 entries for each\n * type but this may be expanded in the future. Client UI's should self-limit display counts as needed.\n *\n * ```typescript\n * import {Content} from '@verdocs/js-sdk/Search';\n *\n * const {recent, saved} = await Content.getSearchHistory();\n * ```\n */\nexport var getSearchHistory = function (endpoint) { return __awaiter(void 0, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, endpoint.api //\n .get('/search/history')\n .then(function (r) { return r.data; })];\n });\n}); };\n/**\n * Save a search. If a name is re-used, that saved search will be overwritten with the new parameters.\n *\n * ```typescript\n * import {Content} from '@verdocs/js-sdk/Search';\n *\n * const entry = await Documents.saveSearch('W9 Forms', {q: 'w9', type: 'template});\n * ```\n */\nexport var saveSearch = function (endpoint, name, params) { return __awaiter(void 0, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, endpoint.api //\n .post('/search/saved', { name: name, params: params })\n .then(function (r) { return r.data; })];\n });\n}); };\n/**\n * Search for documents matching various criteria.\n *\n * ```typescript\n * import {Content} from '@verdocs/js-sdk/Search';\n *\n * const {result, page, total} = await Documents.search({ ... });\n * ```\n */\nexport var searchContent = function (endpoint, params) { return __awaiter(void 0, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, endpoint.api //\n .post('/search/content', params)\n .then(function (r) { return r.data; })];\n });\n}); };\n","@import '../../../theme.scss';\n\nverdocs-search-activity {\n font-family: $verdocs-primary-font;\n\n .container {\n display: flex;\n width: 240px;\n color: #ffffff;\n flex-direction: column;\n text-transform: uppercase;\n padding: 10px 10px 20px 10px;\n background-color: var(--verdocs-background-dark);\n }\n\n .title {\n font-size: 22px;\n font-weight: 700;\n line-height: 30px;\n }\n\n .items {\n display: flex;\n margin-top: 20px;\n flex-direction: column;\n }\n\n .item {\n border: none;\n display: flex;\n text-align: left;\n margin-bottom: 20px;\n flex-direction: row;\n background: transparent;\n }\n\n .item:hover {\n cursor: pointer;\n }\n\n .icon {\n flex: 0 0 22px;\n margin-right: 14px;\n }\n\n .icon svg {\n fill: #707ae5;\n width: 22px;\n height: 22px;\n }\n\n .details {\n display: flex;\n overflow: hidden;\n flex-direction: column;\n }\n\n .item-title {\n font-size: 16px;\n font-weight: 400;\n color: #ffffff;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n .info {\n font-size: 14px;\n font-weight: 500;\n line-height: 23px;\n color: #aeb4bf;\n }\n\n .empty {\n text-transform: none;\n line-height: 22px;\n color: #ccc;\n }\n}\n","import {ITemplate} from '@verdocs/js-sdk/Templates/Types';\nimport {getSearchHistory} from '@verdocs/js-sdk/Search/Content';\nimport {getTemplates} from '@verdocs/js-sdk/Templates/Templates';\nimport {IRecentSearch, ISavedSearch} from '@verdocs/js-sdk/Search/Types';\nimport {Component, h, Prop, Event, EventEmitter, State} from '@stencil/core';\nimport {VerdocsEndpoint} from '@verdocs/js-sdk';\nimport DocumentIcon from './document-icon.svg';\n\n/**\n * Display a list of starred items.\n *\n * Authentication is required to demonstrate this Element. You may do this in Storybook by using the Auth\n * embed. This Element will reuse the same session produced by logging in via that Embed.\n */\n@Component({\n tag: 'verdocs-search-activity',\n styleUrl: 'verdocs-search-activity.scss',\n shadow: false,\n})\nexport class VerdocsSearchActivity {\n /**\n * The endpoint to use to communicate with Verdocs. If not set, the default endpoint will be used.\n */\n @Prop() endpoint: VerdocsEndpoint = VerdocsEndpoint.getDefault();\n\n @Prop() type: 'recent' | 'saved' | 'starred' = 'recent';\n\n @Prop() options: any;\n\n /**\n * Event fired when an entry is clicked.\n */\n @Event({composed: true}) entrySelected: EventEmitter<IRecentSearch>;\n\n @State() emptyMessage = 'You do not have any starred searches.';\n\n @State() authFailure = false;\n\n @State() title = 'Recent Searches';\n\n @State() recent: IRecentSearch[] = [];\n\n @State() saved: ISavedSearch[] = [];\n\n @State() starred: ITemplate[] = [];\n\n componentWillLoad() {\n this.endpoint.loadSession();\n\n const errorHandler = e => {\n console.warn('[Verdocs/search-activity] Error getting search data', e);\n if (e?.response?.status === 401) {\n this.authFailure = true;\n }\n };\n\n switch (this.type) {\n case 'recent':\n this.title = 'Recent Searches';\n this.emptyMessage = 'You do not have any recent searches.';\n getSearchHistory(this.endpoint)\n .then(r => (this.recent = r.recent))\n .catch(errorHandler);\n break;\n\n case 'saved':\n this.title = 'Saved Searches';\n this.emptyMessage = 'You do not have any saved searches.';\n getSearchHistory(this.endpoint)\n .then(r => (this.saved = r.saved))\n .catch(errorHandler);\n break;\n\n case 'starred':\n this.title = 'My Starred items';\n this.emptyMessage = 'You do not have any starred templates.';\n getTemplates(this.endpoint, {is_starred: true})\n .then(r => (this.starred = r))\n .catch(errorHandler);\n break;\n }\n }\n\n handleSelectEntry(entry: any) {\n this.entrySelected.emit(entry);\n }\n\n computePagesText(pages) {\n if (pages < 2) {\n return `${pages} Page`;\n } else {\n return `${pages} Pages`;\n }\n }\n\n computeRecipientsText(recipients) {\n if (typeof recipients === 'object') {\n return recipients.join(', ');\n } else if (recipients > 1) {\n return `${recipients} Recipients`;\n } else {\n return `${recipients} Recipient`;\n }\n }\n\n render() {\n const showEmpty = this.recent.length < 1 && this.saved.length < 1 && this.starred.length < 1;\n\n return (\n <div class=\"container\">\n <p class=\"title\">{this.title}</p>\n\n <div class=\"items\">\n {this.recent.map(recent => (\n <button class=\"item\" onClick={() => this.handleSelectEntry(recent)}>\n <div class=\"icon\" innerHTML={DocumentIcon} />\n <div class=\"details\">\n <div class=\"item-title\">{recent.params.q}</div>\n <div class=\"info\">Test</div>\n </div>\n </button>\n ))}\n\n {this.saved.map(option => (\n <button class=\"item\" onClick={() => this.handleSelectEntry(option)}>\n <div class=\"icon\" innerHTML={DocumentIcon} />\n <div class=\"details\">\n <div class=\"item-title\">{option.params.q}</div>\n <div class=\"info\">\n {/*{option.pages ? `${this.computePagesText(option.pages)} ` : ''}*/}\n {/*{option.recipients ? this.computeRecipientsText(option.recipients) : ''}*/}\n </div>\n </div>\n </button>\n ))}\n\n {showEmpty && <div class=\"empty\">{this.authFailure ? 'Authentication required' : this.emptyMessage}</div>}\n </div>\n </div>\n );\n }\n}\n","@import '../../../theme.scss';\n\nverdocs-search-box {\n font-family: $verdocs-primary-font;\n\n form {\n display: flex;\n flex-direction: row;\n height: 45px;\n box-sizing: border-box;\n margin: 5px 0 0;\n border-radius: 5px;\n align-items: center;\n background-color: #fff;\n padding: 0 8px;\n border-width: 1px;\n border-style: solid;\n border-color: var(--verdocs-container-border-color);\n\n input {\n box-sizing: border-box;\n height: 43px;\n width: 100%;\n font-size: 18px;\n border: none;\n\n &:focus {\n outline: none;\n }\n }\n\n button.search {\n cursor: pointer;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n border-radius: 4px;\n border: none;\n width: 100px;\n height: 28px;\n font-weight: 700;\n font-size: 10px;\n letter-spacing: 1px;\n background-color: #50be80;\n text-transform: uppercase;\n color: #fff;\n }\n\n .type {\n background-color: #707ae5;\n height: 30px;\n display: inline-flex;\n padding: 1px 0 2px 10px;\n font-size: 13px;\n line-height: 16px;\n border-radius: 4px;\n justify-content: center;\n text-transform: uppercase;\n align-items: center;\n flex-direction: row;\n color: #fff;\n margin-right: 10px;\n\n button {\n border: none;\n color: #fff;\n margin: 5px 0 0 8px;\n background: transparent;\n }\n }\n\n svg {\n width: 12px;\n height: 12px;\n margin-right: 6px;\n }\n }\n\n ::placeholder {\n color: #aeb4bf;\n }\n}\n","import {VerdocsEndpoint} from '@verdocs/js-sdk';\nimport {Component, h, Event, EventEmitter, Prop} from '@stencil/core';\nimport SearchIcon from './search.svg';\nimport CloseIcon from './close.svg';\n\nexport type TContentType = 'all' | 'document' | 'template' | 'organization';\n\nexport interface ISearchEvent {\n query: string;\n type: TContentType;\n}\n\n/**\n * Displays a customizable input box for search queries.\n *\n * Authentication is required to demonstrate this Element. You may do this in Storybook by using the Auth\n * embed. This Element will reuse the same session produced by logging in via that Embed.\n */\n@Component({\n tag: 'verdocs-search-box',\n styleUrl: 'verdocs-search-box.scss',\n shadow: false,\n})\nexport class VerdocsSearchBox {\n /**\n * The endpoint to use to communicate with Verdocs. If not set, the default endpoint will be used.\n */\n @Prop() endpoint: VerdocsEndpoint = VerdocsEndpoint.getDefault();\n\n /**\n * The placeholder to display in the input field.\n */\n @Prop() placeholder = 'search documents, templates, people...';\n\n /**\n * If set to a value other than 'all', a removeable filter indicator will be displayed.\n */\n @Prop() type: TContentType = 'all';\n\n /**\n * The text search string entered by the user.\n */\n @Prop() query = '';\n\n /**\n * Event fired when the user changes the type.\n */\n @Event({composed: true}) searchClicked: EventEmitter<ISearchEvent>;\n\n /**\n * Event fired when the user changes the type.\n */\n @Event({composed: true}) typeChanged: EventEmitter<TContentType>;\n\n /**\n * Event fired when the user changes the query string.\n */\n @Event({composed: true}) queryChanged: EventEmitter<string>;\n\n handleSearch(e) {\n this.searchClicked.emit({type: this.type, query: this.query});\n e.preventDefault();\n return false;\n }\n\n handleChange(e) {\n this.queryChanged.emit(e.target.value);\n }\n\n handleClearFilter() {\n this.typeChanged.emit('all');\n }\n\n handleKeyUp(e) {\n if (e.key === 'Enter') {\n this.searchClicked.emit({type: this.type, query: this.query});\n }\n }\n\n render() {\n return (\n <form onSubmit={e => this.handleSearch(e)}>\n {this.type !== undefined && this.type !== 'all' && (\n <span class=\"type\">\n {this.type}s <button class=\"remove\" innerHTML={CloseIcon} onClick={() => this.handleClearFilter()} />\n </span>\n )}\n <input type=\"text\" placeholder={this.placeholder} value={this.query} onInput={e => this.handleChange(e)} onKeyUp={e => this.handleKeyUp(e)} />\n <button onClick={e => this.handleSearch(e)} class=\"search\">\n <span innerHTML={SearchIcon} />\n Search\n </button>\n </form>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as t,h as n,H as s}from"./p-2bc58746.js";import{c as i}from"./p-ec26fc38.js";const e={};const r=[];function o(t,n){if(Array.isArray(t)){for(const s of t){o(s,n)}return}if(typeof t==="object"){for(const n in t){o(n,t[n])}return}c(Object.getOwnPropertyNames(n));e[t]=Object.assign(e[t]||{},n)}function h(t){return e[t]||{}}function u(){return[...new Set(r)]}function c(t){r.push(...t)}function l(t,n){let s;const i=t.length;const e=[];for(s=0;s<i;s++){e.push(n(t[s]))}return e}function f(t,n){let s;const i=t.length;const e=[];for(s=0;s<i;s++){if(n(t[s])){e.push(t[s])}}return e}function a(t){return t%360*Math.PI/180}function d(t){return t.toLowerCase().replace(/-(.)/g,(function(t,n){return n.toUpperCase()}))}function C(t){return t.replace(/([A-Z])/g,(function(t,n){return"-"+n.toLowerCase()}))}function w(t){return t.charAt(0).toUpperCase()+t.slice(1)}function p(t,n,s,i){if(n==null||s==null){i=i||t.bbox();if(n==null){n=i.width/i.height*s}else if(s==null){s=i.height/i.width*n}}return{width:n,height:s}}function g(t,n){const s=t.origin;let i=t.ox!=null?t.ox:t.originX!=null?t.originX:"center";let e=t.oy!=null?t.oy:t.originY!=null?t.originY:"center";if(s!=null){[i,e]=Array.isArray(s)?s:typeof s==="object"?[s.x,s.y]:[s,s]}const r=typeof i==="string";const o=typeof e==="string";if(r||o){const{height:t,width:s,x:h,y:u}=n.bbox();if(r){i=i.includes("left")?h:i.includes("right")?h+s:h+s/2}if(o){e=e.includes("top")?u:e.includes("bottom")?u+t:u+t/2}}return[i,e]}const m="http://www.w3.org/2000/svg";const y="http://www.w3.org/1999/xhtml";const x="http://www.w3.org/2000/xmlns/";const v="http://www.w3.org/1999/xlink";const b="http://svgjs.dev/svgjs";const M={window:typeof window==="undefined"?null:window,document:typeof document==="undefined"?null:document};class _{}const k={};const j="___SYMBOL___ROOT___";function L(t,n=m){return M.document.createElementNS(n,t)}function A(t,n=false){if(t instanceof _)return t;if(typeof t==="object"){return V(t)}if(t==null){return new k[j]}if(typeof t==="string"&&t.charAt(0)!=="<"){return V(M.document.querySelector(t))}const s=n?M.document.createElement("div"):L("svg");s.innerHTML=t;t=V(s.firstChild);s.removeChild(s.firstChild);return t}function O(t,n){return n&&n.ownerDocument&&n instanceof n.ownerDocument.defaultView.Node?n:L(t)}function E(t){if(!t)return null;if(t.instance instanceof _)return t.instance;if(t.nodeName==="#document-fragment"){return new k.Fragment(t)}let n=w(t.nodeName||"Dom");if(n==="LinearGradient"||n==="RadialGradient"){n="Gradient"}else if(!k[n]){n="Dom"}return new k[n](t)}let V=E;function H(t,n=t.name,s=false){k[n]=t;if(s)k[j]=t;c(Object.getOwnPropertyNames(t.prototype));return t}function B(t){return k[t]}let T=1e3;function S(t){return"Svgjs"+w(t)+T++}function D(t){for(let n=t.children.length-1;n>=0;n--){D(t.children[n])}if(t.id){t.id=S(t.nodeName);return t}return t}function z(t,n){let s,i;t=Array.isArray(t)?t:[t];for(i=t.length-1;i>=0;i--){for(s in n){t[i].prototype[s]=n[s]}}}function Z(t){return function(...n){const s=n[n.length-1];if(s&&s.constructor===Object&&!(s instanceof Array)){return t.apply(this,n.slice(0,-1)).attr(s)}else{return t.apply(this,n)}}}function I(){return this.parent().children()}function F(){return this.parent().index(this)}function N(){return this.siblings()[this.position()+1]}function $(){return this.siblings()[this.position()-1]}function P(){const t=this.position();const n=this.parent();n.add(this.remove(),t+1);return this}function R(){const t=this.position();const n=this.parent();n.add(this.remove(),t?t-1:0);return this}function Y(){const t=this.parent();t.add(this.remove());return this}function G(){const t=this.parent();t.add(this.remove(),0);return this}function X(t){t=A(t);t.remove();const n=this.position();this.parent().add(t,n);return this}function Q(t){t=A(t);t.remove();const n=this.position();this.parent().add(t,n+1);return this}function q(t){t=A(t);t.before(this);return this}function U(t){t=A(t);t.after(this);return this}o("Dom",{siblings:I,position:F,next:N,prev:$,forward:P,backward:R,front:Y,back:G,before:X,after:Q,insertBefore:q,insertAfter:U});const J=/^([+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?)([a-z%]*)$/i;const W=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;const K=/rgb\((\d+),(\d+),(\d+)\)/;const tt=/(#[a-z_][a-z0-9\-_]*)/i;const nt=/\)\s*,?\s*/;const st=/\s/g;const it=/^#[a-f0-9]{3}$|^#[a-f0-9]{6}$/i;const et=/^rgb\(/;const rt=/^(\s+)?$/;const ot=/^[+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;const ht=/\.(jpg|jpeg|png|gif|svg)(\?[^=]+.*)?/i;const ut=/[\s,]+/;const ct=/[MLHVCSQTAZ]/i;function lt(){const t=this.attr("class");return t==null?[]:t.trim().split(ut)}function ft(t){return this.classes().indexOf(t)!==-1}function at(t){if(!this.hasClass(t)){const n=this.classes();n.push(t);this.attr("class",n.join(" "))}return this}function dt(t){if(this.hasClass(t)){this.attr("class",this.classes().filter((function(n){return n!==t})).join(" "))}return this}function Ct(t){return this.hasClass(t)?this.removeClass(t):this.addClass(t)}o("Dom",{classes:lt,hasClass:ft,addClass:at,removeClass:dt,toggleClass:Ct});function wt(t,n){const s={};if(arguments.length===0){this.node.style.cssText.split(/\s*;\s*/).filter((function(t){return!!t.length})).forEach((function(t){const n=t.split(/\s*:\s*/);s[n[0]]=n[1]}));return s}if(arguments.length<2){if(Array.isArray(t)){for(const n of t){const t=d(n);s[n]=this.node.style[t]}return s}if(typeof t==="string"){return this.node.style[d(t)]}if(typeof t==="object"){for(const n in t){this.node.style[d(n)]=t[n]==null||rt.test(t[n])?"":t[n]}}}if(arguments.length===2){this.node.style[d(t)]=n==null||rt.test(n)?"":n}return this}function pt(){return this.css("display","")}function gt(){return this.css("display","none")}function mt(){return this.css("display")!=="none"}o("Dom",{css:wt,show:pt,hide:gt,visible:mt});function yt(t,n,s){if(t==null){return this.data(l(f(this.node.attributes,(t=>t.nodeName.indexOf("data-")===0)),(t=>t.nodeName.slice(5))))}else if(t instanceof Array){const n={};for(const s of t){n[s]=this.data(s)}return n}else if(typeof t==="object"){for(n in t){this.data(n,t[n])}}else if(arguments.length<2){try{return JSON.parse(this.attr("data-"+t))}catch(n){return this.attr("data-"+t)}}else{this.attr("data-"+t,n===null?null:s===true||typeof n==="string"||typeof n==="number"?n:JSON.stringify(n))}return this}o("Dom",{data:yt});function xt(t,n){if(typeof arguments[0]==="object"){for(const n in t){this.remember(n,t[n])}}else if(arguments.length===1){return this.memory()[t]}else{this.memory()[t]=n}return this}function vt(){if(arguments.length===0){this._memory={}}else{for(let t=arguments.length-1;t>=0;t--){delete this.memory()[arguments[t]]}}return this}function bt(){return this._memory=this._memory||{}}o("Dom",{remember:xt,forget:vt,memory:bt});function Mt(t){return t.length===4?["#",t.substring(1,2),t.substring(1,2),t.substring(2,3),t.substring(2,3),t.substring(3,4),t.substring(3,4)].join(""):t}function _t(t){const n=Math.round(t);const s=Math.max(0,Math.min(255,n));const i=s.toString(16);return i.length===1?"0"+i:i}function kt(t,n){for(let s=n.length;s--;){if(t[n[s]]==null){return false}}return true}function jt(t,n){const s=kt(t,"rgb")?{_a:t.r,_b:t.g,_c:t.b,_d:0,space:"rgb"}:kt(t,"xyz")?{_a:t.x,_b:t.y,_c:t.z,_d:0,space:"xyz"}:kt(t,"hsl")?{_a:t.h,_b:t.s,_c:t.l,_d:0,space:"hsl"}:kt(t,"lab")?{_a:t.l,_b:t.a,_c:t.b,_d:0,space:"lab"}:kt(t,"lch")?{_a:t.l,_b:t.c,_c:t.h,_d:0,space:"lch"}:kt(t,"cmyk")?{_a:t.c,_b:t.m,_c:t.y,_d:t.k,space:"cmyk"}:{_a:0,_b:0,_c:0,space:"rgb"};s.space=n||s.space;return s}function Lt(t){if(t==="lab"||t==="xyz"||t==="lch"){return true}else{return false}}function At(t,n,s){if(s<0)s+=1;if(s>1)s-=1;if(s<1/6)return t+(n-t)*6*s;if(s<1/2)return n;if(s<2/3)return t+(n-t)*(2/3-s)*6;return t}class Ot{constructor(...t){this.init(...t)}static isColor(t){return t&&(t instanceof Ot||this.isRgb(t)||this.test(t))}static isRgb(t){return t&&typeof t.r==="number"&&typeof t.g==="number"&&typeof t.b==="number"}static random(t="vibrant",n,s){const{random:i,round:e,sin:r,PI:o}=Math;if(t==="vibrant"){const t=(81-57)*i()+57;const n=(83-45)*i()+45;const s=360*i();const e=new Ot(t,n,s,"lch");return e}else if(t==="sine"){n=n==null?i():n;const t=e(80*r(2*o*n/.5+.01)+150);const s=e(50*r(2*o*n/.5+4.6)+200);const h=e(100*r(2*o*n/.5+2.3)+150);const u=new Ot(t,s,h);return u}else if(t==="pastel"){const t=(94-86)*i()+86;const n=(26-9)*i()+9;const s=360*i();const e=new Ot(t,n,s,"lch");return e}else if(t==="dark"){const t=10+10*i();const n=(125-75)*i()+86;const s=360*i();const e=new Ot(t,n,s,"lch");return e}else if(t==="rgb"){const t=255*i();const n=255*i();const s=255*i();const e=new Ot(t,n,s);return e}else if(t==="lab"){const t=100*i();const n=256*i()-128;const s=256*i()-128;const e=new Ot(t,n,s,"lab");return e}else if(t==="grey"){const t=255*i();const n=new Ot(t,t,t);return n}else{throw new Error("Unsupported random color mode")}}static test(t){return typeof t==="string"&&(it.test(t)||et.test(t))}cmyk(){const{_a:t,_b:n,_c:s}=this.rgb();const[i,e,r]=[t,n,s].map((t=>t/255));const o=Math.min(1-i,1-e,1-r);if(o===1){return new Ot(0,0,0,1,"cmyk")}const h=(1-i-o)/(1-o);const u=(1-e-o)/(1-o);const c=(1-r-o)/(1-o);const l=new Ot(h,u,c,o,"cmyk");return l}hsl(){const{_a:t,_b:n,_c:s}=this.rgb();const[i,e,r]=[t,n,s].map((t=>t/255));const o=Math.max(i,e,r);const h=Math.min(i,e,r);const u=(o+h)/2;const c=o===h;const l=o-h;const f=c?0:u>.5?l/(2-o-h):l/(o+h);const a=c?0:o===i?((e-r)/l+(e<r?6:0))/6:o===e?((r-i)/l+2)/6:o===r?((i-e)/l+4)/6:0;const d=new Ot(360*a,100*f,100*u,"hsl");return d}init(t=0,n=0,s=0,i=0,e="rgb"){t=!t?0:t;if(this.space){for(const t in this.space){delete this[this.space[t]]}}if(typeof t==="number"){e=typeof i==="string"?i:e;i=typeof i==="string"?0:i;Object.assign(this,{_a:t,_b:n,_c:s,_d:i,space:e})}else if(t instanceof Array){this.space=n||(typeof t[3]==="string"?t[3]:t[4])||"rgb";Object.assign(this,{_a:t[0],_b:t[1],_c:t[2],_d:t[3]||0})}else if(t instanceof Object){const s=jt(t,n);Object.assign(this,s)}else if(typeof t==="string"){if(et.test(t)){const n=t.replace(st,"");const[s,i,e]=K.exec(n).slice(1,4).map((t=>parseInt(t)));Object.assign(this,{_a:s,_b:i,_c:e,_d:0,space:"rgb"})}else if(it.test(t)){const n=t=>parseInt(t,16);const[,s,i,e]=W.exec(Mt(t)).map(n);Object.assign(this,{_a:s,_b:i,_c:e,_d:0,space:"rgb"})}else throw Error("Unsupported string format, can't construct Color")}const{_a:r,_b:o,_c:h,_d:u}=this;const c=this.space==="rgb"?{r,g:o,b:h}:this.space==="xyz"?{x:r,y:o,z:h}:this.space==="hsl"?{h:r,s:o,l:h}:this.space==="lab"?{l:r,a:o,b:h}:this.space==="lch"?{l:r,c:o,h}:this.space==="cmyk"?{c:r,m:o,y:h,k:u}:{};Object.assign(this,c)}lab(){const{x:t,y:n,z:s}=this.xyz();const i=116*n-16;const e=500*(t-n);const r=200*(n-s);const o=new Ot(i,e,r,"lab");return o}lch(){const{l:t,a:n,b:s}=this.lab();const i=Math.sqrt(n**2+s**2);let e=180*Math.atan2(s,n)/Math.PI;if(e<0){e*=-1;e=360-e}const r=new Ot(t,i,e,"lch");return r}rgb(){if(this.space==="rgb"){return this}else if(Lt(this.space)){let{x:t,y:n,z:s}=this;if(this.space==="lab"||this.space==="lch"){let{l:i,a:e,b:r}=this;if(this.space==="lch"){const{c:t,h:n}=this;const s=Math.PI/180;e=t*Math.cos(s*n);r=t*Math.sin(s*n)}const o=(i+16)/116;const h=e/500+o;const u=o-r/200;const c=16/116;const l=.008856;const f=7.787;t=.95047*(h**3>l?h**3:(h-c)/f);n=1*(o**3>l?o**3:(o-c)/f);s=1.08883*(u**3>l?u**3:(u-c)/f)}const i=t*3.2406+n*-1.5372+s*-.4986;const e=t*-.9689+n*1.8758+s*.0415;const r=t*.0557+n*-.204+s*1.057;const o=Math.pow;const h=.0031308;const u=i>h?1.055*o(i,1/2.4)-.055:12.92*i;const c=e>h?1.055*o(e,1/2.4)-.055:12.92*e;const l=r>h?1.055*o(r,1/2.4)-.055:12.92*r;const f=new Ot(255*u,255*c,255*l);return f}else if(this.space==="hsl"){let{h:t,s:n,l:s}=this;t/=360;n/=100;s/=100;if(n===0){s*=255;const t=new Ot(s,s,s);return t}const i=s<.5?s*(1+n):s+n-s*n;const e=2*s-i;const r=255*At(e,i,t+1/3);const o=255*At(e,i,t);const h=255*At(e,i,t-1/3);const u=new Ot(r,o,h);return u}else if(this.space==="cmyk"){const{c:t,m:n,y:s,k:i}=this;const e=255*(1-Math.min(1,t*(1-i)+i));const r=255*(1-Math.min(1,n*(1-i)+i));const o=255*(1-Math.min(1,s*(1-i)+i));const h=new Ot(e,r,o);return h}else{return this}}toArray(){const{_a:t,_b:n,_c:s,_d:i,space:e}=this;return[t,n,s,i,e]}toHex(){const[t,n,s]=this._clamped().map(_t);return`#${t}${n}${s}`}toRgb(){const[t,n,s]=this._clamped();const i=`rgb(${t},${n},${s})`;return i}toString(){return this.toHex()}xyz(){const{_a:t,_b:n,_c:s}=this.rgb();const[i,e,r]=[t,n,s].map((t=>t/255));const o=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92;const h=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92;const u=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92;const c=(o*.4124+h*.3576+u*.1805)/.95047;const l=(o*.2126+h*.7152+u*.0722)/1;const f=(o*.0193+h*.1192+u*.9505)/1.08883;const a=c>.008856?Math.pow(c,1/3):7.787*c+16/116;const d=l>.008856?Math.pow(l,1/3):7.787*l+16/116;const C=f>.008856?Math.pow(f,1/3):7.787*f+16/116;const w=new Ot(a,d,C,"xyz");return w}_clamped(){const{_a:t,_b:n,_c:s}=this.rgb();const{max:i,min:e,round:r}=Math;const o=t=>i(0,e(r(t),255));return[t,n,s].map(o)}}class Et{constructor(...t){this.init(...t)}clone(){return new Et(this)}init(t,n){const s={x:0,y:0};const i=Array.isArray(t)?{x:t[0],y:t[1]}:typeof t==="object"?{x:t.x,y:t.y}:{x:t,y:n};this.x=i.x==null?s.x:i.x;this.y=i.y==null?s.y:i.y;return this}toArray(){return[this.x,this.y]}transform(t){return this.clone().transformO(t)}transformO(t){if(!Bt.isMatrixLike(t)){t=new Bt(t)}const{x:n,y:s}=this;this.x=t.a*n+t.c*s+t.e;this.y=t.b*n+t.d*s+t.f;return this}}function Vt(t,n){return new Et(t,n).transform(this.screenCTM().inverse())}function Ht(t,n,s){return Math.abs(n-t)<(s||1e-6)}class Bt{constructor(...t){this.init(...t)}static formatTransforms(t){const n=t.flip==="both"||t.flip===true;const s=t.flip&&(n||t.flip==="x")?-1:1;const i=t.flip&&(n||t.flip==="y")?-1:1;const e=t.skew&&t.skew.length?t.skew[0]:isFinite(t.skew)?t.skew:isFinite(t.skewX)?t.skewX:0;const r=t.skew&&t.skew.length?t.skew[1]:isFinite(t.skew)?t.skew:isFinite(t.skewY)?t.skewY:0;const o=t.scale&&t.scale.length?t.scale[0]*s:isFinite(t.scale)?t.scale*s:isFinite(t.scaleX)?t.scaleX*s:s;const h=t.scale&&t.scale.length?t.scale[1]*i:isFinite(t.scale)?t.scale*i:isFinite(t.scaleY)?t.scaleY*i:i;const u=t.shear||0;const c=t.rotate||t.theta||0;const l=new Et(t.origin||t.around||t.ox||t.originX,t.oy||t.originY);const f=l.x;const a=l.y;const d=new Et(t.position||t.px||t.positionX||NaN,t.py||t.positionY||NaN);const C=d.x;const w=d.y;const p=new Et(t.translate||t.tx||t.translateX,t.ty||t.translateY);const g=p.x;const m=p.y;const y=new Et(t.relative||t.rx||t.relativeX,t.ry||t.relativeY);const x=y.x;const v=y.y;return{scaleX:o,scaleY:h,skewX:e,skewY:r,shear:u,theta:c,rx:x,ry:v,tx:g,ty:m,ox:f,oy:a,px:C,py:w}}static fromArray(t){return{a:t[0],b:t[1],c:t[2],d:t[3],e:t[4],f:t[5]}}static isMatrixLike(t){return t.a!=null||t.b!=null||t.c!=null||t.d!=null||t.e!=null||t.f!=null}static matrixMultiply(t,n,s){const i=t.a*n.a+t.c*n.b;const e=t.b*n.a+t.d*n.b;const r=t.a*n.c+t.c*n.d;const o=t.b*n.c+t.d*n.d;const h=t.e+t.a*n.e+t.c*n.f;const u=t.f+t.b*n.e+t.d*n.f;s.a=i;s.b=e;s.c=r;s.d=o;s.e=h;s.f=u;return s}around(t,n,s){return this.clone().aroundO(t,n,s)}aroundO(t,n,s){const i=t||0;const e=n||0;return this.translateO(-i,-e).lmultiplyO(s).translateO(i,e)}clone(){return new Bt(this)}decompose(t=0,n=0){const s=this.a;const i=this.b;const e=this.c;const r=this.d;const o=this.e;const h=this.f;const u=s*r-i*e;const c=u>0?1:-1;const l=c*Math.sqrt(s*s+i*i);const f=Math.atan2(c*i,c*s);const a=180/Math.PI*f;const d=Math.cos(f);const C=Math.sin(f);const w=(s*e+i*r)/u;const p=e*l/(w*s-i)||r*l/(w*i+s);const g=o-t+t*d*l+n*(w*d*l-C*p);const m=h-n+t*C*l+n*(w*C*l+d*p);return{scaleX:l,scaleY:p,shear:w,rotate:a,translateX:g,translateY:m,originX:t,originY:n,a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f}}equals(t){if(t===this)return true;const n=new Bt(t);return Ht(this.a,n.a)&&Ht(this.b,n.b)&&Ht(this.c,n.c)&&Ht(this.d,n.d)&&Ht(this.e,n.e)&&Ht(this.f,n.f)}flip(t,n){return this.clone().flipO(t,n)}flipO(t,n){return t==="x"?this.scaleO(-1,1,n,0):t==="y"?this.scaleO(1,-1,0,n):this.scaleO(-1,-1,t,n||t)}init(t){const n=Bt.fromArray([1,0,0,1,0,0]);t=t instanceof Cn?t.matrixify():typeof t==="string"?Bt.fromArray(t.split(ut).map(parseFloat)):Array.isArray(t)?Bt.fromArray(t):typeof t==="object"&&Bt.isMatrixLike(t)?t:typeof t==="object"?(new Bt).transform(t):arguments.length===6?Bt.fromArray([].slice.call(arguments)):n;this.a=t.a!=null?t.a:n.a;this.b=t.b!=null?t.b:n.b;this.c=t.c!=null?t.c:n.c;this.d=t.d!=null?t.d:n.d;this.e=t.e!=null?t.e:n.e;this.f=t.f!=null?t.f:n.f;return this}inverse(){return this.clone().inverseO()}inverseO(){const t=this.a;const n=this.b;const s=this.c;const i=this.d;const e=this.e;const r=this.f;const o=t*i-n*s;if(!o)throw new Error("Cannot invert "+this);const h=i/o;const u=-n/o;const c=-s/o;const l=t/o;const f=-(h*e+c*r);const a=-(u*e+l*r);this.a=h;this.b=u;this.c=c;this.d=l;this.e=f;this.f=a;return this}lmultiply(t){return this.clone().lmultiplyO(t)}lmultiplyO(t){const n=this;const s=t instanceof Bt?t:new Bt(t);return Bt.matrixMultiply(s,n,this)}multiply(t){return this.clone().multiplyO(t)}multiplyO(t){const n=this;const s=t instanceof Bt?t:new Bt(t);return Bt.matrixMultiply(n,s,this)}rotate(t,n,s){return this.clone().rotateO(t,n,s)}rotateO(t,n=0,s=0){t=a(t);const i=Math.cos(t);const e=Math.sin(t);const{a:r,b:o,c:h,d:u,e:c,f:l}=this;this.a=r*i-o*e;this.b=o*i+r*e;this.c=h*i-u*e;this.d=u*i+h*e;this.e=c*i-l*e+s*e-n*i+n;this.f=l*i+c*e-n*e-s*i+s;return this}scale(t,n,s,i){return this.clone().scaleO(...arguments)}scaleO(t,n=t,s=0,i=0){if(arguments.length===3){i=s;s=n;n=t}const{a:e,b:r,c:o,d:h,e:u,f:c}=this;this.a=e*t;this.b=r*n;this.c=o*t;this.d=h*n;this.e=u*t-s*t+s;this.f=c*n-i*n+i;return this}shear(t,n,s){return this.clone().shearO(t,n,s)}shearO(t,n=0,s=0){const{a:i,b:e,c:r,d:o,e:h,f:u}=this;this.a=i+e*t;this.c=r+o*t;this.e=h+u*t-s*t;return this}skew(t,n,s,i){return this.clone().skewO(...arguments)}skewO(t,n=t,s=0,i=0){if(arguments.length===3){i=s;s=n;n=t}t=a(t);n=a(n);const e=Math.tan(t);const r=Math.tan(n);const{a:o,b:h,c:u,d:c,e:l,f}=this;this.a=o+h*e;this.b=h+o*r;this.c=u+c*e;this.d=c+u*r;this.e=l+f*e-i*e;this.f=f+l*r-s*r;return this}skewX(t,n,s){return this.skew(t,0,n,s)}skewY(t,n,s){return this.skew(0,t,n,s)}toArray(){return[this.a,this.b,this.c,this.d,this.e,this.f]}toString(){return"matrix("+this.a+","+this.b+","+this.c+","+this.d+","+this.e+","+this.f+")"}transform(t){if(Bt.isMatrixLike(t)){const n=new Bt(t);return n.multiplyO(this)}const n=Bt.formatTransforms(t);const s=this;const{x:i,y:e}=new Et(n.ox,n.oy).transform(s);const r=(new Bt).translateO(n.rx,n.ry).lmultiplyO(s).translateO(-i,-e).scaleO(n.scaleX,n.scaleY).skewO(n.skewX,n.skewY).shearO(n.shear).rotateO(n.theta).translateO(i,e);if(isFinite(n.px)||isFinite(n.py)){const t=new Et(i,e).transform(r);const s=isFinite(n.px)?n.px-t.x:0;const o=isFinite(n.py)?n.py-t.y:0;r.translateO(s,o)}r.translateO(n.tx,n.ty);return r}translate(t,n){return this.clone().translateO(t,n)}translateO(t,n){this.e+=t||0;this.f+=n||0;return this}valueOf(){return{a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f}}}function Tt(){return new Bt(this.node.getCTM())}function St(){if(typeof this.isRoot==="function"&&!this.isRoot()){const t=this.rect(1,1);const n=t.node.getScreenCTM();t.remove();return new Bt(n)}return new Bt(this.node.getScreenCTM())}H(Bt,"Matrix");function Dt(){if(!Dt.nodes){const t=A().size(2,0);t.node.style.cssText=["opacity: 0","position: absolute","left: -100%","top: -100%","overflow: hidden"].join(";");t.attr("focusable","false");t.attr("aria-hidden","true");const n=t.path().node;Dt.nodes={svg:t,path:n}}if(!Dt.nodes.svg.node.parentNode){const t=M.document.body||M.document.documentElement;Dt.nodes.svg.addTo(t)}return Dt.nodes}function zt(t){return!t.width&&!t.height&&!t.x&&!t.y}function Zt(t){return t===M.document||(M.document.documentElement.contains||function(t){while(t.parentNode){t=t.parentNode}return t===M.document}).call(M.document.documentElement,t)}class It{constructor(...t){this.init(...t)}addOffset(){this.x+=M.window.pageXOffset;this.y+=M.window.pageYOffset;return new It(this)}init(t){const n=[0,0,0,0];t=typeof t==="string"?t.split(ut).map(parseFloat):Array.isArray(t)?t:typeof t==="object"?[t.left!=null?t.left:t.x,t.top!=null?t.top:t.y,t.width,t.height]:arguments.length===4?[].slice.call(arguments):n;this.x=t[0]||0;this.y=t[1]||0;this.width=this.w=t[2]||0;this.height=this.h=t[3]||0;this.x2=this.x+this.w;this.y2=this.y+this.h;this.cx=this.x+this.w/2;this.cy=this.y+this.h/2;return this}isNulled(){return zt(this)}merge(t){const n=Math.min(this.x,t.x);const s=Math.min(this.y,t.y);const i=Math.max(this.x+this.width,t.x+t.width)-n;const e=Math.max(this.y+this.height,t.y+t.height)-s;return new It(n,s,i,e)}toArray(){return[this.x,this.y,this.width,this.height]}toString(){return this.x+" "+this.y+" "+this.width+" "+this.height}transform(t){if(!(t instanceof Bt)){t=new Bt(t)}let n=Infinity;let s=-Infinity;let i=Infinity;let e=-Infinity;const r=[new Et(this.x,this.y),new Et(this.x2,this.y),new Et(this.x,this.y2),new Et(this.x2,this.y2)];r.forEach((function(r){r=r.transform(t);n=Math.min(n,r.x);s=Math.max(s,r.x);i=Math.min(i,r.y);e=Math.max(e,r.y)}));return new It(n,i,s-n,e-i)}}function Ft(t,n,s){let i;try{i=n(t.node);if(zt(i)&&!Zt(t.node)){throw new Error("Element not in the dom")}}catch(n){i=s(t)}return i}function Nt(){const t=t=>t.getBBox();const n=t=>{try{const n=t.clone().addTo(Dt().svg).show();const s=n.node.getBBox();n.remove();return s}catch(n){throw new Error(`Getting bbox of element "${t.node.nodeName}" is not possible: ${n.toString()}`)}};const s=Ft(this,t,n);const i=new It(s);return i}function $t(t){const n=t=>t.getBoundingClientRect();const s=t=>{throw new Error(`Getting rbox of element "${t.node.nodeName}" is not possible`)};const i=Ft(this,n,s);const e=new It(i);if(t){return e.transform(t.screenCTM().inverseO())}return e.addOffset()}function Pt(t,n){const s=this.bbox();return t>s.x&&n>s.y&&t<s.x+s.width&&n<s.y+s.height}o({viewbox:{viewbox(t,n,s,i){if(t==null)return new It(this.attr("viewBox"));return this.attr("viewBox",new It(t,n,s,i))},zoom(t,n){let{width:s,height:i}=this.attr(["width","height"]);if(!s&&!i||typeof s==="string"||typeof i==="string"){s=this.node.clientWidth;i=this.node.clientHeight}if(!s||!i){throw new Error("Impossible to get absolute width and height. Please provide an absolute width and height attribute on the zooming element")}const e=this.viewbox();const r=s/e.width;const o=i/e.height;const h=Math.min(r,o);if(t==null){return h}let u=h/t;if(u===Infinity)u=Number.MAX_SAFE_INTEGER/100;n=n||new Et(s/2/r+e.x,i/2/o+e.y);const c=new It(e).transform(new Bt({scale:u,origin:n}));return this.viewbox(c)}}});H(It,"Box");class Rt extends Array{constructor(t=[],...n){super(t,...n);if(typeof t==="number")return this;this.length=0;this.push(...t)}}z([Rt],{each(t,...n){if(typeof t==="function"){return this.map(((n,s,i)=>t.call(n,n,s,i)))}else{return this.map((s=>s[t](...n)))}},toArray(){return Array.prototype.concat.apply([],this)}});const Yt=["toArray","constructor","each"];Rt.extend=function(t){t=t.reduce(((t,n)=>{if(Yt.includes(n))return t;if(n[0]==="_")return t;t[n]=function(...t){return this.each(n,...t)};return t}),{});z([Rt],t)};function Gt(t,n){return new Rt(l((n||M.document).querySelectorAll(t),(function(t){return E(t)})))}function Xt(t){return Gt(t,this.node)}function Qt(t){return E(this.node.querySelector(t))}let qt=0;const Ut={};function Jt(t){let n=t.getEventHolder();if(n===M.window)n=Ut;if(!n.events)n.events={};return n.events}function Wt(t){return t.getEventTarget()}function Kt(t){let n=t.getEventHolder();if(n===M.window)n=Ut;if(n.events)n.events={}}function tn(t,n,s,i,e){const r=s.bind(i||t);const o=A(t);const h=Jt(o);const u=Wt(o);n=Array.isArray(n)?n:n.split(ut);if(!s._svgjsListenerId){s._svgjsListenerId=++qt}n.forEach((function(t){const n=t.split(".")[0];const i=t.split(".")[1]||"*";h[n]=h[n]||{};h[n][i]=h[n][i]||{};h[n][i][s._svgjsListenerId]=r;u.addEventListener(n,r,e||false)}))}function nn(t,n,s,i){const e=A(t);const r=Jt(e);const o=Wt(e);if(typeof s==="function"){s=s._svgjsListenerId;if(!s)return}n=Array.isArray(n)?n:(n||"").split(ut);n.forEach((function(t){const n=t&&t.split(".")[0];const h=t&&t.split(".")[1];let u,c;if(s){if(r[n]&&r[n][h||"*"]){o.removeEventListener(n,r[n][h||"*"][s],i||false);delete r[n][h||"*"][s]}}else if(n&&h){if(r[n]&&r[n][h]){for(c in r[n][h]){nn(o,[n,h].join("."),c)}delete r[n][h]}}else if(h){for(t in r){for(u in r[t]){if(h===u){nn(o,[t,h].join("."))}}}}else if(n){if(r[n]){for(u in r[n]){nn(o,[n,u].join("."))}delete r[n]}}else{for(t in r){nn(o,t)}Kt(e)}}))}function sn(t,n,s,i){const e=Wt(t);if(n instanceof M.window.Event){e.dispatchEvent(n)}else{n=new M.window.CustomEvent(n,{detail:s,cancelable:true,...i});e.dispatchEvent(n)}return n}class en extends _{addEventListener(){}dispatch(t,n,s){return sn(this,t,n,s)}dispatchEvent(t){const n=this.getEventHolder().events;if(!n)return true;const s=n[t.type];for(const n in s){for(const i in s[n]){s[n][i](t)}}return!t.defaultPrevented}fire(t,n,s){this.dispatch(t,n,s);return this}getEventHolder(){return this}getEventTarget(){return this}off(t,n,s){nn(this,t,n,s);return this}on(t,n,s,i){tn(this,t,n,s,i);return this}removeEventListener(){}}H(en,"EventTarget");function rn(){}const on={duration:400,ease:">",delay:0};const hn={"fill-opacity":1,"stroke-opacity":1,"stroke-width":0,"stroke-linejoin":"miter","stroke-linecap":"butt",fill:"#000000",stroke:"#000000",opacity:1,x:0,y:0,cx:0,cy:0,width:0,height:0,r:0,rx:0,ry:0,offset:0,"stop-opacity":1,"stop-color":"#000000","text-anchor":"start"};class un extends Array{constructor(...t){super(...t);this.init(...t)}clone(){return new this.constructor(this)}init(t){if(typeof t==="number")return this;this.length=0;this.push(...this.parse(t));return this}parse(t=[]){if(t instanceof Array)return t;return t.trim().split(ut).map(parseFloat)}toArray(){return Array.prototype.concat.apply([],this)}toSet(){return new Set(this)}toString(){return this.join(" ")}valueOf(){const t=[];t.push(...this);return t}}class cn{constructor(...t){this.init(...t)}convert(t){return new cn(this.value,t)}divide(t){t=new cn(t);return new cn(this/t,this.unit||t.unit)}init(t,n){n=Array.isArray(t)?t[1]:n;t=Array.isArray(t)?t[0]:t;this.value=0;this.unit=n||"";if(typeof t==="number"){this.value=isNaN(t)?0:!isFinite(t)?t<0?-34e37:+34e37:t}else if(typeof t==="string"){n=t.match(J);if(n){this.value=parseFloat(n[1]);if(n[5]==="%"){this.value/=100}else if(n[5]==="s"){this.value*=1e3}this.unit=n[5]}}else{if(t instanceof cn){this.value=t.valueOf();this.unit=t.unit}}return this}minus(t){t=new cn(t);return new cn(this-t,this.unit||t.unit)}plus(t){t=new cn(t);return new cn(this+t,this.unit||t.unit)}times(t){t=new cn(t);return new cn(this*t,this.unit||t.unit)}toArray(){return[this.value,this.unit]}toJSON(){return this.toString()}toString(){return(this.unit==="%"?~~(this.value*1e8)/1e6:this.unit==="s"?this.value/1e3:this.value)+this.unit}valueOf(){return this.value}}const ln=[];function fn(t){ln.push(t)}function an(t,n,s){if(t==null){t={};n=this.node.attributes;for(const s of n){t[s.nodeName]=ot.test(s.nodeValue)?parseFloat(s.nodeValue):s.nodeValue}return t}else if(t instanceof Array){return t.reduce(((t,n)=>{t[n]=this.attr(n);return t}),{})}else if(typeof t==="object"&&t.constructor===Object){for(n in t)this.attr(n,t[n])}else if(n===null){this.node.removeAttribute(t)}else if(n==null){n=this.node.getAttribute(t);return n==null?hn[t]:ot.test(n)?parseFloat(n):n}else{n=ln.reduce(((n,s)=>s(t,n,this)),n);if(typeof n==="number"){n=new cn(n)}else if(Ot.isColor(n)){n=new Ot(n)}else if(n.constructor===Array){n=new un(n)}if(t==="leading"){if(this.leading){this.leading(n)}}else{typeof s==="string"?this.node.setAttributeNS(s,t,n.toString()):this.node.setAttribute(t,n.toString())}if(this.rebuild&&(t==="font-size"||t==="x")){this.rebuild()}}return this}class dn extends en{constructor(t,n){super();this.node=t;this.type=t.nodeName;if(n&&t!==n){this.attr(n)}}add(t,n){t=A(t);if(t.removeNamespace&&this.node instanceof M.window.SVGElement){t.removeNamespace()}if(n==null){this.node.appendChild(t.node)}else if(t.node!==this.node.childNodes[n]){this.node.insertBefore(t.node,this.node.childNodes[n])}return this}addTo(t,n){return A(t).put(this,n)}children(){return new Rt(l(this.node.children,(function(t){return E(t)})))}clear(){while(this.node.hasChildNodes()){this.node.removeChild(this.node.lastChild)}return this}clone(t=true){this.writeDataToDom();return new this.constructor(D(this.node.cloneNode(t)))}each(t,n){const s=this.children();let i,e;for(i=0,e=s.length;i<e;i++){t.apply(s[i],[i,s]);if(n){s[i].each(t,n)}}return this}element(t,n){return this.put(new dn(L(t),n))}first(){return E(this.node.firstChild)}get(t){return E(this.node.childNodes[t])}getEventHolder(){return this.node}getEventTarget(){return this.node}has(t){return this.index(t)>=0}html(t,n){return this.xml(t,n,y)}id(t){if(typeof t==="undefined"&&!this.node.id){this.node.id=S(this.type)}return this.attr("id",t)}index(t){return[].slice.call(this.node.childNodes).indexOf(t.node)}last(){return E(this.node.lastChild)}matches(t){const n=this.node;const s=n.matches||n.matchesSelector||n.msMatchesSelector||n.mozMatchesSelector||n.webkitMatchesSelector||n.oMatchesSelector||null;return s&&s.call(n,t)}parent(t){let n=this;if(!n.node.parentNode)return null;n=E(n.node.parentNode);if(!t)return n;do{if(typeof t==="string"?n.matches(t):n instanceof t)return n}while(n=E(n.node.parentNode));return n}put(t,n){t=A(t);this.add(t,n);return t}putIn(t,n){return A(t).add(this,n)}remove(){if(this.parent()){this.parent().removeElement(this)}return this}removeElement(t){this.node.removeChild(t.node);return this}replace(t){t=A(t);if(this.node.parentNode){this.node.parentNode.replaceChild(t.node,this.node)}return t}round(t=2,n=null){const s=10**t;const i=this.attr(n);for(const t in i){if(typeof i[t]==="number"){i[t]=Math.round(i[t]*s)/s}}this.attr(i);return this}svg(t,n){return this.xml(t,n,m)}toString(){return this.id()}words(t){this.node.textContent=t;return this}wrap(t){const n=this.parent();if(!n){return this.addTo(t)}const s=n.index(this);return n.put(t,s).put(this)}writeDataToDom(){this.each((function(){this.writeDataToDom()}));return this}xml(t,n,s){if(typeof t==="boolean"){s=n;n=t;t=null}if(t==null||typeof t==="function"){n=n==null?true:n;this.writeDataToDom();let s=this;if(t!=null){s=E(s.node.cloneNode(true));if(n){const n=t(s);s=n||s;if(n===false)return""}s.each((function(){const n=t(this);const s=n||this;if(n===false){this.remove()}else if(n&&this!==s){this.replace(s)}}),true)}return n?s.node.outerHTML:s.node.innerHTML}n=n==null?false:n;const i=L("wrapper",s);const e=M.document.createDocumentFragment();i.innerHTML=t;for(let t=i.children.length;t--;){e.appendChild(i.firstElementChild)}const r=this.parent();return n?this.replace(e)&&r:this.add(e)}}z(dn,{attr:an,find:Xt,findOne:Qt});H(dn,"Dom");class Cn extends dn{constructor(t,n){super(t,n);this.dom={};this.node.instance=this;if(t.hasAttribute("svgjs:data")){this.setData(JSON.parse(t.getAttribute("svgjs:data"))||{})}}center(t,n){return this.cx(t).cy(n)}cx(t){return t==null?this.x()+this.width()/2:this.x(t-this.width()/2)}cy(t){return t==null?this.y()+this.height()/2:this.y(t-this.height()/2)}defs(){const t=this.root();return t&&t.defs()}dmove(t,n){return this.dx(t).dy(n)}dx(t=0){return this.x(new cn(t).plus(this.x()))}dy(t=0){return this.y(new cn(t).plus(this.y()))}getEventHolder(){return this}height(t){return this.attr("height",t)}move(t,n){return this.x(t).y(n)}parents(t=this.root()){const n=typeof t==="string";if(!n){t=A(t)}const s=new Rt;let i=this;while((i=i.parent())&&i.node!==M.document&&i.nodeName!=="#document-fragment"){s.push(i);if(!n&&i.node===t.node){break}if(n&&i.matches(t)){break}if(i.node===this.root().node){return null}}return s}reference(t){t=this.attr(t);if(!t)return null;const n=(t+"").match(tt);return n?A(n[1]):null}root(){const t=this.parent(B(j));return t&&t.root()}setData(t){this.dom=t;return this}size(t,n){const s=p(this,t,n);return this.width(new cn(s.width)).height(new cn(s.height))}width(t){return this.attr("width",t)}writeDataToDom(){this.node.removeAttribute("svgjs:data");if(Object.keys(this.dom).length){this.node.setAttribute("svgjs:data",JSON.stringify(this.dom))}return super.writeDataToDom()}x(t){return this.attr("x",t)}y(t){return this.attr("y",t)}}z(Cn,{bbox:Nt,rbox:$t,inside:Pt,point:Vt,ctm:Tt,screenCTM:St});H(Cn,"Element");const wn={stroke:["color","width","opacity","linecap","linejoin","miterlimit","dasharray","dashoffset"],fill:["color","opacity","rule"],prefix:function(t,n){return n==="color"?t:t+"-"+n}};["fill","stroke"].forEach((function(t){const n={};let s;n[t]=function(n){if(typeof n==="undefined"){return this.attr(t)}if(typeof n==="string"||n instanceof Ot||Ot.isRgb(n)||n instanceof Cn){this.attr(t,n)}else{for(s=wn[t].length-1;s>=0;s--){if(n[wn[t][s]]!=null){this.attr(wn.prefix(t,wn[t][s]),n[wn[t][s]])}}}return this};o(["Element","Runner"],n)}));o(["Element","Runner"],{matrix:function(t,n,s,i,e,r){if(t==null){return new Bt(this)}return this.attr("transform",new Bt(t,n,s,i,e,r))},rotate:function(t,n,s){return this.transform({rotate:t,ox:n,oy:s},true)},skew:function(t,n,s,i){return arguments.length===1||arguments.length===3?this.transform({skew:t,ox:n,oy:s},true):this.transform({skew:[t,n],ox:s,oy:i},true)},shear:function(t,n,s){return this.transform({shear:t,ox:n,oy:s},true)},scale:function(t,n,s,i){return arguments.length===1||arguments.length===3?this.transform({scale:t,ox:n,oy:s},true):this.transform({scale:[t,n],ox:s,oy:i},true)},translate:function(t,n){return this.transform({translate:[t,n]},true)},relative:function(t,n){return this.transform({relative:[t,n]},true)},flip:function(t="both",n="center"){if("xybothtrue".indexOf(t)===-1){n=t;t="both"}return this.transform({flip:t,origin:n},true)},opacity:function(t){return this.attr("opacity",t)}});o("radius",{radius:function(t,n=t){const s=(this._element||this).type;return s==="radialGradient"?this.attr("r",new cn(t)):this.rx(t).ry(n)}});o("Path",{length:function(){return this.node.getTotalLength()},pointAt:function(t){return new Et(this.node.getPointAtLength(t))}});o(["Element","Runner"],{font:function(t,n){if(typeof t==="object"){for(n in t)this.font(n,t[n]);return this}return t==="leading"?this.leading(n):t==="anchor"?this.attr("text-anchor",n):t==="size"||t==="family"||t==="weight"||t==="stretch"||t==="variant"||t==="style"?this.attr("font-"+t,n):this.attr(t,n)}});const pn=["click","dblclick","mousedown","mouseup","mouseover","mouseout","mousemove","mouseenter","mouseleave","touchstart","touchmove","touchleave","touchend","touchcancel"].reduce((function(t,n){const s=function(t){if(t===null){this.off(n)}else{this.on(n,t)}return this};t[n]=s;return t}),{});o("Element",pn);function gn(){return this.attr("transform",null)}function mn(){const t=(this.attr("transform")||"").split(nt).slice(0,-1).map((function(t){const n=t.trim().split("(");return[n[0],n[1].split(ut).map((function(t){return parseFloat(t)}))]})).reverse().reduce((function(t,n){if(n[0]==="matrix"){return t.lmultiply(Bt.fromArray(n[1]))}return t[n[0]].apply(t,n[1])}),new Bt);return t}function yn(t,n){if(this===t)return this;const s=this.screenCTM();const i=t.screenCTM().inverse();this.addTo(t,n).untransform().transform(i.multiply(s));return this}function xn(t){return this.toParent(this.root(),t)}function vn(t,n){if(t==null||typeof t==="string"){const n=new Bt(this).decompose();return t==null?n:n[t]}if(!Bt.isMatrixLike(t)){t={...t,origin:g(t,this)}}const s=n===true?this:n||false;const i=new Bt(s).transform(t);return this.attr("transform",i)}o("Element",{untransform:gn,matrixify:mn,toParent:yn,toRoot:xn,transform:vn});class bn extends Cn{flatten(t=this,n){this.each((function(){if(this instanceof bn){return this.flatten().ungroup()}}));return this}ungroup(t=this.parent(),n=t.index(this)){n=n===-1?t.children().length:n;this.each((function(s,i){return i[i.length-s-1].toParent(t,n)}));return this.remove()}}H(bn,"Container");class Mn extends bn{constructor(t,n=t){super(O("defs",t),n)}flatten(){return this}ungroup(){return this}}H(Mn,"Defs");class _n extends Cn{}H(_n,"Shape");function kn(t){return this.attr("rx",t)}function jn(t){return this.attr("ry",t)}function Ln(t){return t==null?this.cx()-this.rx():this.cx(t+this.rx())}function An(t){return t==null?this.cy()-this.ry():this.cy(t+this.ry())}function On(t){return this.attr("cx",t)}function En(t){return this.attr("cy",t)}function Vn(t){return t==null?this.rx()*2:this.rx(new cn(t).divide(2))}function Hn(t){return t==null?this.ry()*2:this.ry(new cn(t).divide(2))}var Bn={__proto__:null,rx:kn,ry:jn,x:Ln,y:An,cx:On,cy:En,width:Vn,height:Hn};class Tn extends _n{constructor(t,n=t){super(O("ellipse",t),n)}size(t,n){const s=p(this,t,n);return this.rx(new cn(s.width).divide(2)).ry(new cn(s.height).divide(2))}}z(Tn,Bn);o("Container",{ellipse:Z((function(t=0,n=t){return this.put(new Tn).size(t,n).move(0,0)}))});H(Tn,"Ellipse");class Sn extends dn{constructor(t=M.document.createDocumentFragment()){super(t)}xml(t,n,s){if(typeof t==="boolean"){s=n;n=t;t=null}if(t==null||typeof t==="function"){const t=new dn(L("wrapper",s));t.add(this.node.cloneNode(true));return t.xml(false,s)}return super.xml(t,false,s)}}H(Sn,"Fragment");function Dn(t,n){return(this._element||this).type==="radialGradient"?this.attr({fx:new cn(t),fy:new cn(n)}):this.attr({x1:new cn(t),y1:new cn(n)})}function zn(t,n){return(this._element||this).type==="radialGradient"?this.attr({cx:new cn(t),cy:new cn(n)}):this.attr({x2:new cn(t),y2:new cn(n)})}var Zn={__proto__:null,from:Dn,to:zn};class In extends bn{constructor(t,n){super(O(t+"Gradient",typeof t==="string"?null:t),n)}attr(t,n,s){if(t==="transform")t="gradientTransform";return super.attr(t,n,s)}bbox(){return new It}targets(){return Gt('svg [fill*="'+this.id()+'"]')}toString(){return this.url()}update(t){this.clear();if(typeof t==="function"){t.call(this,this)}return this}url(){return'url("#'+this.id()+'")'}}z(In,Zn);o({Container:{gradient(...t){return this.defs().gradient(...t)}},Defs:{gradient:Z((function(t,n){return this.put(new In(t)).update(n)}))}});H(In,"Gradient");class Fn extends bn{constructor(t,n=t){super(O("pattern",t),n)}attr(t,n,s){if(t==="transform")t="patternTransform";return super.attr(t,n,s)}bbox(){return new It}targets(){return Gt('svg [fill*="'+this.id()+'"]')}toString(){return this.url()}update(t){this.clear();if(typeof t==="function"){t.call(this,this)}return this}url(){return'url("#'+this.id()+'")'}}o({Container:{pattern(...t){return this.defs().pattern(...t)}},Defs:{pattern:Z((function(t,n,s){return this.put(new Fn).update(s).attr({x:0,y:0,width:t,height:n,patternUnits:"userSpaceOnUse"})}))}});H(Fn,"Pattern");class Nn extends _n{constructor(t,n=t){super(O("image",t),n)}load(t,n){if(!t)return this;const s=new M.window.Image;tn(s,"load",(function(t){const i=this.parent(Fn);if(this.width()===0&&this.height()===0){this.size(s.width,s.height)}if(i instanceof Fn){if(i.width()===0&&i.height()===0){i.size(this.width(),this.height())}}if(typeof n==="function"){n.call(this,t)}}),this);tn(s,"load error",(function(){nn(s)}));return this.attr("href",s.src=t,v)}}fn((function(t,n,s){if(t==="fill"||t==="stroke"){if(ht.test(n)){n=s.root().defs().image(n)}}if(n instanceof Nn){n=s.root().defs().pattern(0,0,(t=>{t.add(n)}))}return n}));o({Container:{image:Z((function(t,n){return this.put(new Nn).size(0,0).load(t,n)}))}});H(Nn,"Image");class $n extends un{bbox(){let t=-Infinity;let n=-Infinity;let s=Infinity;let i=Infinity;this.forEach((function(e){t=Math.max(e[0],t);n=Math.max(e[1],n);s=Math.min(e[0],s);i=Math.min(e[1],i)}));return new It(s,i,t-s,n-i)}move(t,n){const s=this.bbox();t-=s.x;n-=s.y;if(!isNaN(t)&&!isNaN(n)){for(let s=this.length-1;s>=0;s--){this[s]=[this[s][0]+t,this[s][1]+n]}}return this}parse(t=[0,0]){const n=[];if(t instanceof Array){t=Array.prototype.concat.apply([],t)}else{t=t.trim().split(ut).map(parseFloat)}if(t.length%2!==0)t.pop();for(let s=0,i=t.length;s<i;s=s+2){n.push([t[s],t[s+1]])}return n}size(t,n){let s;const i=this.bbox();for(s=this.length-1;s>=0;s--){if(i.width)this[s][0]=(this[s][0]-i.x)*t/i.width+i.x;if(i.height)this[s][1]=(this[s][1]-i.y)*n/i.height+i.y}return this}toLine(){return{x1:this[0][0],y1:this[0][1],x2:this[1][0],y2:this[1][1]}}toString(){const t=[];for(let n=0,s=this.length;n<s;n++){t.push(this[n].join(","))}return t.join(" ")}transform(t){return this.clone().transformO(t)}transformO(t){if(!Bt.isMatrixLike(t)){t=new Bt(t)}for(let n=this.length;n--;){const[s,i]=this[n];this[n][0]=t.a*s+t.c*i+t.e;this[n][1]=t.b*s+t.d*i+t.f}return this}}const Pn=$n;function Rn(t){return t==null?this.bbox().x:this.move(t,this.bbox().y)}function Yn(t){return t==null?this.bbox().y:this.move(this.bbox().x,t)}function Gn(t){const n=this.bbox();return t==null?n.width:this.size(t,n.height)}function Xn(t){const n=this.bbox();return t==null?n.height:this.size(n.width,t)}var Qn={__proto__:null,MorphArray:Pn,x:Rn,y:Yn,width:Gn,height:Xn};class qn extends _n{constructor(t,n=t){super(O("line",t),n)}array(){return new $n([[this.attr("x1"),this.attr("y1")],[this.attr("x2"),this.attr("y2")]])}move(t,n){return this.attr(this.array().move(t,n).toLine())}plot(t,n,s,i){if(t==null){return this.array()}else if(typeof n!=="undefined"){t={x1:t,y1:n,x2:s,y2:i}}else{t=new $n(t).toLine()}return this.attr(t)}size(t,n){const s=p(this,t,n);return this.attr(this.array().size(s.width,s.height).toLine())}}z(qn,Qn);o({Container:{line:Z((function(...t){return qn.prototype.plot.apply(this.put(new qn),t[0]!=null?t:[0,0,0,0])}))}});H(qn,"Line");class Un extends bn{constructor(t,n=t){super(O("marker",t),n)}height(t){return this.attr("markerHeight",t)}orient(t){return this.attr("orient",t)}ref(t,n){return this.attr("refX",t).attr("refY",n)}toString(){return"url(#"+this.id()+")"}update(t){this.clear();if(typeof t==="function"){t.call(this,this)}return this}width(t){return this.attr("markerWidth",t)}}o({Container:{marker(...t){return this.defs().marker(...t)}},Defs:{marker:Z((function(t,n,s){return this.put(new Un).size(t,n).ref(t/2,n/2).viewbox(0,0,t,n).attr("orient","auto").update(s)}))},marker:{marker(t,n,s,i){let e=["marker"];if(t!=="all")e.push(t);e=e.join("-");t=arguments[1]instanceof Un?arguments[1]:this.defs().marker(n,s,i);return this.attr(e,t)}}});H(Un,"Marker");function Jn(t,n){return function(s){if(s==null)return this[t];this[t]=s;if(n)n.call(this);return this}}const Wn={"-":function(t){return t},"<>":function(t){return-Math.cos(t*Math.PI)/2+.5},">":function(t){return Math.sin(t*Math.PI/2)},"<":function(t){return-Math.cos(t*Math.PI/2)+1},bezier:function(t,n,s,i){return function(e){if(e<0){if(t>0){return n/t*e}else if(s>0){return i/s*e}else{return 0}}else if(e>1){if(s<1){return(1-i)/(1-s)*e+(i-s)/(1-s)}else if(t<1){return(1-n)/(1-t)*e+(n-t)/(1-t)}else{return 1}}else{return 3*e*(1-e)**2*n+3*e**2*(1-e)*i+e**3}}},steps:function(t,n="end"){n=n.split("-").reverse()[0];let s=t;if(n==="none"){--s}else if(n==="both"){++s}return(i,e=false)=>{let r=Math.floor(i*t);const o=i*r%1===0;if(n==="start"||n==="both"){++r}if(e&&o){--r}if(i>=0&&r<0){r=0}if(i<=1&&r>s){r=s}return r/s}}};class Kn{done(){return false}}class ts extends Kn{constructor(t=on.ease){super();this.ease=Wn[t]||t}step(t,n,s){if(typeof t!=="number"){return s<1?t:n}return t+(n-t)*this.ease(s)}}class ns extends Kn{constructor(t){super();this.stepper=t}done(t){return t.done}step(t,n,s,i){return this.stepper(t,n,s,i)}}function ss(){const t=(this._duration||500)/1e3;const n=this._overshoot||0;const s=1e-10;const i=Math.PI;const e=Math.log(n/100+s);const r=-e/Math.sqrt(i*i+e*e);const o=3.9/(r*t);this.d=2*r*o;this.k=o*o}class is extends ns{constructor(t=500,n=0){super();this.duration(t).overshoot(n)}step(t,n,s,i){if(typeof t==="string")return t;i.done=s===Infinity;if(s===Infinity)return n;if(s===0)return t;if(s>100)s=16;s/=1e3;const e=i.velocity||0;const r=-this.d*e-this.k*(t-n);const o=t+e*s+r*s*s/2;i.velocity=e+r*s;i.done=Math.abs(n-o)+Math.abs(e)<.002;return i.done?n:o}}z(is,{duration:Jn("_duration",ss),overshoot:Jn("_overshoot",ss)});class es extends ns{constructor(t=.1,n=.01,s=0,i=1e3){super();this.p(t).i(n).d(s).windup(i)}step(t,n,s,i){if(typeof t==="string")return t;i.done=s===Infinity;if(s===Infinity)return n;if(s===0)return t;const e=n-t;let r=(i.integral||0)+e*s;const o=(e-(i.error||0))/s;const h=this._windup;if(h!==false){r=Math.max(-h,Math.min(r,h))}i.error=e;i.integral=r;i.done=Math.abs(e)<.001;return i.done?n:t+(this.P*e+this.I*r+this.D*o)}}z(es,{windup:Jn("_windup"),p:Jn("P"),i:Jn("I"),d:Jn("D")});const rs={M:2,L:2,H:1,V:1,C:6,S:4,Q:4,T:2,A:7,Z:0};const os={M:function(t,n,s){n.x=s.x=t[0];n.y=s.y=t[1];return["M",n.x,n.y]},L:function(t,n){n.x=t[0];n.y=t[1];return["L",t[0],t[1]]},H:function(t,n){n.x=t[0];return["H",t[0]]},V:function(t,n){n.y=t[0];return["V",t[0]]},C:function(t,n){n.x=t[4];n.y=t[5];return["C",t[0],t[1],t[2],t[3],t[4],t[5]]},S:function(t,n){n.x=t[2];n.y=t[3];return["S",t[0],t[1],t[2],t[3]]},Q:function(t,n){n.x=t[2];n.y=t[3];return["Q",t[0],t[1],t[2],t[3]]},T:function(t,n){n.x=t[0];n.y=t[1];return["T",t[0],t[1]]},Z:function(t,n,s){n.x=s.x;n.y=s.y;return["Z"]},A:function(t,n){n.x=t[5];n.y=t[6];return["A",t[0],t[1],t[2],t[3],t[4],t[5],t[6]]}};const hs="mlhvqtcsaz".split("");for(let t=0,n=hs.length;t<n;++t){os[hs[t]]=function(t){return function(n,s,i){if(t==="H")n[0]=n[0]+s.x;else if(t==="V")n[0]=n[0]+s.y;else if(t==="A"){n[5]=n[5]+s.x;n[6]=n[6]+s.y}else{for(let t=0,i=n.length;t<i;++t){n[t]=n[t]+(t%2?s.y:s.x)}}return os[t](n,s,i)}}(hs[t].toUpperCase())}function us(t){const n=t.segment[0];return os[n](t.segment.slice(1),t.p,t.p0)}function cs(t){return t.segment.length&&t.segment.length-1===rs[t.segment[0].toUpperCase()]}function ls(t,n){t.inNumber&&fs(t,false);const s=ct.test(n);if(s){t.segment=[n]}else{const n=t.lastCommand;const s=n.toLowerCase();const i=n===s;t.segment=[s==="m"?i?"l":"L":n]}t.inSegment=true;t.lastCommand=t.segment[0];return s}function fs(t,n){if(!t.inNumber)throw new Error("Parser Error");t.number&&t.segment.push(parseFloat(t.number));t.inNumber=n;t.number="";t.pointSeen=false;t.hasExponent=false;if(cs(t)){as(t)}}function as(t){t.inSegment=false;if(t.absolute){t.segment=us(t)}t.segments.push(t.segment)}function ds(t){if(!t.segment.length)return false;const n=t.segment[0].toUpperCase()==="A";const s=t.segment.length;return n&&(s===4||s===5)}function Cs(t){return t.lastToken.toUpperCase()==="E"}function ws(t,n=true){let s=0;let i="";const e={segment:[],inNumber:false,number:"",lastToken:"",inSegment:false,segments:[],pointSeen:false,hasExponent:false,absolute:n,p0:new Et,p:new Et};while(e.lastToken=i,i=t.charAt(s++)){if(!e.inSegment){if(ls(e,i)){continue}}if(i==="."){if(e.pointSeen||e.hasExponent){fs(e,false);--s;continue}e.inNumber=true;e.pointSeen=true;e.number+=i;continue}if(!isNaN(parseInt(i))){if(e.number==="0"||ds(e)){e.inNumber=true;e.number=i;fs(e,true);continue}e.inNumber=true;e.number+=i;continue}if(i===" "||i===","){if(e.inNumber){fs(e,false)}continue}if(i==="-"){if(e.inNumber&&!Cs(e)){fs(e,false);--s;continue}e.number+=i;e.inNumber=true;continue}if(i.toUpperCase()==="E"){e.number+=i;e.hasExponent=true;continue}if(ct.test(i)){if(e.inNumber){fs(e,false)}else if(!cs(e)){throw new Error("parser Error")}else{as(e)}--s}}if(e.inNumber){fs(e,false)}if(e.inSegment&&cs(e)){as(e)}return e.segments}function ps(t){let n="";for(let s=0,i=t.length;s<i;s++){n+=t[s][0];if(t[s][1]!=null){n+=t[s][1];if(t[s][2]!=null){n+=" ";n+=t[s][2];if(t[s][3]!=null){n+=" ";n+=t[s][3];n+=" ";n+=t[s][4];if(t[s][5]!=null){n+=" ";n+=t[s][5];n+=" ";n+=t[s][6];if(t[s][7]!=null){n+=" ";n+=t[s][7]}}}}}}return n+" "}class gs extends un{bbox(){Dt().path.setAttribute("d",this.toString());return new It(Dt.nodes.path.getBBox())}move(t,n){const s=this.bbox();t-=s.x;n-=s.y;if(!isNaN(t)&&!isNaN(n)){for(let s,i=this.length-1;i>=0;i--){s=this[i][0];if(s==="M"||s==="L"||s==="T"){this[i][1]+=t;this[i][2]+=n}else if(s==="H"){this[i][1]+=t}else if(s==="V"){this[i][1]+=n}else if(s==="C"||s==="S"||s==="Q"){this[i][1]+=t;this[i][2]+=n;this[i][3]+=t;this[i][4]+=n;if(s==="C"){this[i][5]+=t;this[i][6]+=n}}else if(s==="A"){this[i][6]+=t;this[i][7]+=n}}}return this}parse(t="M0 0"){if(Array.isArray(t)){t=Array.prototype.concat.apply([],t).toString()}return ws(t)}size(t,n){const s=this.bbox();let i,e;s.width=s.width===0?1:s.width;s.height=s.height===0?1:s.height;for(i=this.length-1;i>=0;i--){e=this[i][0];if(e==="M"||e==="L"||e==="T"){this[i][1]=(this[i][1]-s.x)*t/s.width+s.x;this[i][2]=(this[i][2]-s.y)*n/s.height+s.y}else if(e==="H"){this[i][1]=(this[i][1]-s.x)*t/s.width+s.x}else if(e==="V"){this[i][1]=(this[i][1]-s.y)*n/s.height+s.y}else if(e==="C"||e==="S"||e==="Q"){this[i][1]=(this[i][1]-s.x)*t/s.width+s.x;this[i][2]=(this[i][2]-s.y)*n/s.height+s.y;this[i][3]=(this[i][3]-s.x)*t/s.width+s.x;this[i][4]=(this[i][4]-s.y)*n/s.height+s.y;if(e==="C"){this[i][5]=(this[i][5]-s.x)*t/s.width+s.x;this[i][6]=(this[i][6]-s.y)*n/s.height+s.y}}else if(e==="A"){this[i][1]=this[i][1]*t/s.width;this[i][2]=this[i][2]*n/s.height;this[i][6]=(this[i][6]-s.x)*t/s.width+s.x;this[i][7]=(this[i][7]-s.y)*n/s.height+s.y}}return this}toString(){return ps(this)}}const ms=t=>{const n=typeof t;if(n==="number"){return cn}else if(n==="string"){if(Ot.isColor(t)){return Ot}else if(ut.test(t)){return ct.test(t)?gs:un}else if(J.test(t)){return cn}else{return xs}}else if(_s.indexOf(t.constructor)>-1){return t.constructor}else if(Array.isArray(t)){return un}else if(n==="object"){return Ms}else{return xs}};class ys{constructor(t){this._stepper=t||new ts("-");this._from=null;this._to=null;this._type=null;this._context=null;this._morphObj=null}at(t){return this._morphObj.morph(this._from,this._to,t,this._stepper,this._context)}done(){const t=this._context.map(this._stepper.done).reduce((function(t,n){return t&&n}),true);return t}from(t){if(t==null){return this._from}this._from=this._set(t);return this}stepper(t){if(t==null)return this._stepper;this._stepper=t;return this}to(t){if(t==null){return this._to}this._to=this._set(t);return this}type(t){if(t==null){return this._type}this._type=t;return this}_set(t){if(!this._type){this.type(ms(t))}let n=new this._type(t);if(this._type===Ot){n=this._to?n[this._to[4]]():this._from?n[this._from[4]]():n}if(this._type===Ms){n=this._to?n.align(this._to):this._from?n.align(this._from):n}n=n.toConsumable();this._morphObj=this._morphObj||new this._type;this._context=this._context||Array.apply(null,Array(n.length)).map(Object).map((function(t){t.done=true;return t}));return n}}class xs{constructor(...t){this.init(...t)}init(t){t=Array.isArray(t)?t[0]:t;this.value=t;return this}toArray(){return[this.value]}valueOf(){return this.value}}class vs{constructor(...t){this.init(...t)}init(t){if(Array.isArray(t)){t={scaleX:t[0],scaleY:t[1],shear:t[2],rotate:t[3],translateX:t[4],translateY:t[5],originX:t[6],originY:t[7]}}Object.assign(this,vs.defaults,t);return this}toArray(){const t=this;return[t.scaleX,t.scaleY,t.shear,t.rotate,t.translateX,t.translateY,t.originX,t.originY]}}vs.defaults={scaleX:1,scaleY:1,shear:0,rotate:0,translateX:0,translateY:0,originX:0,originY:0};const bs=(t,n)=>t[0]<n[0]?-1:t[0]>n[0]?1:0;class Ms{constructor(...t){this.init(...t)}align(t){const n=this.values;for(let s=0,i=n.length;s<i;++s){if(n[s+1]===t[s+1]){if(n[s+1]===Ot&&t[s+7]!==n[s+7]){const n=t[s+7];const i=new Ot(this.values.splice(s+3,5))[n]().toArray();this.values.splice(s+3,0,...i)}s+=n[s+2]+2;continue}if(!t[s+1]){return this}const i=(new t[s+1]).toArray();const e=n[s+2]+3;n.splice(s,e,t[s],t[s+1],t[s+2],...i);s+=n[s+2]+2}return this}init(t){this.values=[];if(Array.isArray(t)){this.values=t.slice();return}t=t||{};const n=[];for(const s in t){const i=ms(t[s]);const e=new i(t[s]).toArray();n.push([s,i,e.length,...e])}n.sort(bs);this.values=n.reduce(((t,n)=>t.concat(n)),[]);return this}toArray(){return this.values}valueOf(){const t={};const n=this.values;while(n.length){const s=n.shift();const i=n.shift();const e=n.shift();const r=n.splice(0,e);t[s]=new i(r)}return t}}const _s=[xs,vs,Ms];function ks(t=[]){_s.push(...[].concat(t))}function js(){z(_s,{to(t){return(new ys).type(this.constructor).from(this.toArray()).to(t)},fromArray(t){this.init(t);return this},toConsumable(){return this.toArray()},morph(t,n,s,i,e){const r=function(t,r){return i.step(t,n[r],s,e[r],e)};return this.fromArray(t.map(r))}})}class Ls extends _n{constructor(t,n=t){super(O("path",t),n)}array(){return this._array||(this._array=new gs(this.attr("d")))}clear(){delete this._array;return this}height(t){return t==null?this.bbox().height:this.size(this.bbox().width,t)}move(t,n){return this.attr("d",this.array().move(t,n))}plot(t){return t==null?this.array():this.clear().attr("d",typeof t==="string"?t:this._array=new gs(t))}size(t,n){const s=p(this,t,n);return this.attr("d",this.array().size(s.width,s.height))}width(t){return t==null?this.bbox().width:this.size(t,this.bbox().height)}x(t){return t==null?this.bbox().x:this.move(t,this.bbox().y)}y(t){return t==null?this.bbox().y:this.move(this.bbox().x,t)}}Ls.prototype.MorphArray=gs;o({Container:{path:Z((function(t){return this.put(new Ls).plot(t||new gs)}))}});H(Ls,"Path");function As(){return this._array||(this._array=new $n(this.attr("points")))}function Os(){delete this._array;return this}function Es(t,n){return this.attr("points",this.array().move(t,n))}function Vs(t){return t==null?this.array():this.clear().attr("points",typeof t==="string"?t:this._array=new $n(t))}function Hs(t,n){const s=p(this,t,n);return this.attr("points",this.array().size(s.width,s.height))}var Bs={__proto__:null,array:As,clear:Os,move:Es,plot:Vs,size:Hs};class Ts extends _n{constructor(t,n=t){super(O("polygon",t),n)}}o({Container:{polygon:Z((function(t){return this.put(new Ts).plot(t||new $n)}))}});z(Ts,Qn);z(Ts,Bs);H(Ts,"Polygon");class Ss extends _n{constructor(t,n=t){super(O("polyline",t),n)}}o({Container:{polyline:Z((function(t){return this.put(new Ss).plot(t||new $n)}))}});z(Ss,Qn);z(Ss,Bs);H(Ss,"Polyline");class Ds extends _n{constructor(t,n=t){super(O("rect",t),n)}}z(Ds,{rx:kn,ry:jn});o({Container:{rect:Z((function(t,n){return this.put(new Ds).size(t,n)}))}});H(Ds,"Rect");class zs{constructor(){this._first=null;this._last=null}first(){return this._first&&this._first.value}last(){return this._last&&this._last.value}push(t){const n=typeof t.next!=="undefined"?t:{value:t,next:null,prev:null};if(this._last){n.prev=this._last;this._last.next=n;this._last=n}else{this._last=n;this._first=n}return n}remove(t){if(t.prev)t.prev.next=t.next;if(t.next)t.next.prev=t.prev;if(t===this._last)this._last=t.prev;if(t===this._first)this._first=t.next;t.prev=null;t.next=null}shift(){const t=this._first;if(!t)return null;this._first=t.next;if(this._first)this._first.prev=null;this._last=this._first?this._last:null;return t.value}}const Zs={nextDraw:null,frames:new zs,timeouts:new zs,immediates:new zs,timer:()=>M.window.performance||M.window.Date,transforms:[],frame(t){const n=Zs.frames.push({run:t});if(Zs.nextDraw===null){Zs.nextDraw=M.window.requestAnimationFrame(Zs._draw)}return n},timeout(t,n){n=n||0;const s=Zs.timer().now()+n;const i=Zs.timeouts.push({run:t,time:s});if(Zs.nextDraw===null){Zs.nextDraw=M.window.requestAnimationFrame(Zs._draw)}return i},immediate(t){const n=Zs.immediates.push(t);if(Zs.nextDraw===null){Zs.nextDraw=M.window.requestAnimationFrame(Zs._draw)}return n},cancelFrame(t){t!=null&&Zs.frames.remove(t)},clearTimeout(t){t!=null&&Zs.timeouts.remove(t)},cancelImmediate(t){t!=null&&Zs.immediates.remove(t)},_draw(t){let n=null;const s=Zs.timeouts.last();while(n=Zs.timeouts.shift()){if(t>=n.time){n.run()}else{Zs.timeouts.push(n)}if(n===s)break}let i=null;const e=Zs.frames.last();while(i!==e&&(i=Zs.frames.shift())){i.run(t)}let r=null;while(r=Zs.immediates.shift()){r()}Zs.nextDraw=Zs.timeouts.first()||Zs.frames.first()?M.window.requestAnimationFrame(Zs._draw):null}};const Is=function(t){const n=t.start;const s=t.runner.duration();const i=n+s;return{start:n,duration:s,end:i,runner:t.runner}};const Fs=function(){const t=M.window;return(t.performance||t.Date).now()};class Ns extends en{constructor(t=Fs){super();this._timeSource=t;this._startTime=0;this._speed=1;this._persist=0;this._nextFrame=null;this._paused=true;this._runners=[];this._runnerIds=[];this._lastRunnerId=-1;this._time=0;this._lastSourceTime=0;this._lastStepTime=0;this._step=this._stepFn.bind(this,false);this._stepImmediate=this._stepFn.bind(this,true)}active(){return!!this._nextFrame}finish(){this.time(this.getEndTimeOfTimeline()+1);return this.pause()}getEndTime(){const t=this.getLastRunnerInfo();const n=t?t.runner.duration():0;const s=t?t.start:this._time;return s+n}getEndTimeOfTimeline(){const t=this._runners.map((t=>t.start+t.runner.duration()));return Math.max(0,...t)}getLastRunnerInfo(){return this.getRunnerInfoById(this._lastRunnerId)}getRunnerInfoById(t){return this._runners[this._runnerIds.indexOf(t)]||null}pause(){this._paused=true;return this._continue()}persist(t){if(t==null)return this._persist;this._persist=t;return this}play(){this._paused=false;return this.updateTime()._continue()}reverse(t){const n=this.speed();if(t==null)return this.speed(-n);const s=Math.abs(n);return this.speed(t?-s:s)}schedule(t,n,s){if(t==null){return this._runners.map(Is)}let i=0;const e=this.getEndTime();n=n||0;if(s==null||s==="last"||s==="after"){i=e}else if(s==="absolute"||s==="start"){i=n;n=0}else if(s==="now"){i=this._time}else if(s==="relative"){const s=this.getRunnerInfoById(t.id);if(s){i=s.start+n;n=0}}else if(s==="with-last"){const t=this.getLastRunnerInfo();const n=t?t.start:this._time;i=n}else{throw new Error('Invalid value for the "when" parameter')}t.unschedule();t.timeline(this);const r=t.persist();const o={persist:r===null?this._persist:r,start:i+n,runner:t};this._lastRunnerId=t.id;this._runners.push(o);this._runners.sort(((t,n)=>t.start-n.start));this._runnerIds=this._runners.map((t=>t.runner.id));this.updateTime()._continue();return this}seek(t){return this.time(this._time+t)}source(t){if(t==null)return this._timeSource;this._timeSource=t;return this}speed(t){if(t==null)return this._speed;this._speed=t;return this}stop(){this.time(0);return this.pause()}time(t){if(t==null)return this._time;this._time=t;return this._continue(true)}unschedule(t){const n=this._runnerIds.indexOf(t.id);if(n<0)return this;this._runners.splice(n,1);this._runnerIds.splice(n,1);t.timeline(null);return this}updateTime(){if(!this.active()){this._lastSourceTime=this._timeSource()}return this}_continue(t=false){Zs.cancelFrame(this._nextFrame);this._nextFrame=null;if(t)return this._stepImmediate();if(this._paused)return this;this._nextFrame=Zs.frame(this._step);return this}_stepFn(t=false){const n=this._timeSource();let s=n-this._lastSourceTime;if(t)s=0;const i=this._speed*s+(this._time-this._lastStepTime);this._lastSourceTime=n;if(!t){this._time+=i;this._time=this._time<0?0:this._time}this._lastStepTime=this._time;this.fire("time",this._time);for(let t=this._runners.length;t--;){const n=this._runners[t];const s=n.runner;const i=this._time-n.start;if(i<=0){s.reset()}}let e=false;for(let t=0,n=this._runners.length;t<n;t++){const s=this._runners[t];const r=s.runner;let o=i;const h=this._time-s.start;if(h<=0){e=true;continue}else if(h<o){o=h}if(!r.active())continue;const u=r.step(o).done;if(!u){e=true}else if(s.persist!==true){const i=r.duration()-r.time()+this._time;if(i+s.persist<this._time){r.unschedule();--t;--n}}}if(e&&!(this._speed<0&&this._time===0)||this._runnerIds.length&&this._speed<0&&this._time>0){this._continue()}else{this.pause();this.fire("finished")}return this}}o({Element:{timeline:function(t){if(t==null){this._timeline=this._timeline||new Ns;return this._timeline}else{this._timeline=t;return this}}}});class $s extends en{constructor(t){super();this.id=$s.id++;t=t==null?on.duration:t;t=typeof t==="function"?new ns(t):t;this._element=null;this._timeline=null;this.done=false;this._queue=[];this._duration=typeof t==="number"&&t;this._isDeclarative=t instanceof ns;this._stepper=this._isDeclarative?t:new ts;this._history={};this.enabled=true;this._time=0;this._lastTime=0;this._reseted=true;this.transforms=new Bt;this.transformId=1;this._haveReversed=false;this._reverse=false;this._loopsDone=0;this._swing=false;this._wait=0;this._times=1;this._frameId=null;this._persist=this._isDeclarative?true:null}static sanitise(t,n,s){let i=1;let e=false;let r=0;t=t||on.duration;n=n||on.delay;s=s||"last";if(typeof t==="object"&&!(t instanceof Kn)){n=t.delay||n;s=t.when||s;e=t.swing||e;i=t.times||i;r=t.wait||r;t=t.duration||on.duration}return{duration:t,delay:n,swing:e,times:i,wait:r,when:s}}active(t){if(t==null)return this.enabled;this.enabled=t;return this}addTransform(t,n){this.transforms.lmultiplyO(t);return this}after(t){return this.on("finished",t)}animate(t,n,s){const i=$s.sanitise(t,n,s);const e=new $s(i.duration);if(this._timeline)e.timeline(this._timeline);if(this._element)e.element(this._element);return e.loop(i).schedule(i.delay,i.when)}clearTransform(){this.transforms=new Bt;return this}clearTransformsFromQueue(){if(!this.done||!this._timeline||!this._timeline._runnerIds.includes(this.id)){this._queue=this._queue.filter((t=>!t.isTransform))}}delay(t){return this.animate(0,t)}duration(){return this._times*(this._wait+this._duration)-this._wait}during(t){return this.queue(null,t)}ease(t){this._stepper=new ts(t);return this}element(t){if(t==null)return this._element;this._element=t;t._prepareRunner();return this}finish(){return this.step(Infinity)}loop(t,n,s){if(typeof t==="object"){n=t.swing;s=t.wait;t=t.times}this._times=t||Infinity;this._swing=n||false;this._wait=s||0;if(this._times===true){this._times=Infinity}return this}loops(t){const n=this._duration+this._wait;if(t==null){const t=Math.floor(this._time/n);const s=this._time-t*n;const i=s/this._duration;return Math.min(t+i,this._times)}const s=Math.floor(t);const i=t%1;const e=n*s+this._duration*i;return this.time(e)}persist(t){if(t==null)return this._persist;this._persist=t;return this}position(t){const n=this._time;const s=this._duration;const i=this._wait;const e=this._times;const r=this._swing;const o=this._reverse;let h;if(t==null){const t=function(t){const n=r*Math.floor(t%(2*(i+s))/(i+s));const e=n&&!o||!n&&o;const h=Math.pow(-1,e)*(t%(i+s))/s+e;const u=Math.max(Math.min(h,1),0);return u};const u=e*(i+s)-i;h=n<=0?Math.round(t(1e-5)):n<u?t(n):Math.round(t(u-1e-5));return h}const u=Math.floor(this.loops());const c=r&&u%2===0;const l=c&&!o||o&&c;h=u+(l?t:1-t);return this.loops(h)}progress(t){if(t==null){return Math.min(1,this._time/this.duration())}return this.time(t*this.duration())}queue(t,n,s,i){this._queue.push({initialiser:t||rn,runner:n||rn,retarget:s,isTransform:i,initialised:false,finished:false});const e=this.timeline();e&&this.timeline()._continue();return this}reset(){if(this._reseted)return this;this.time(0);this._reseted=true;return this}reverse(t){this._reverse=t==null?!this._reverse:t;return this}schedule(t,n,s){if(!(t instanceof Ns)){s=n;n=t;t=this.timeline()}if(!t){throw Error("Runner cannot be scheduled without timeline")}t.schedule(this,n,s);return this}step(t){if(!this.enabled)return this;t=t==null?16:t;this._time+=t;const n=this.position();const s=this._lastPosition!==n&&this._time>=0;this._lastPosition=n;const i=this.duration();const e=this._lastTime<=0&&this._time>0;const r=this._lastTime<i&&this._time>=i;this._lastTime=this._time;if(e){this.fire("start",this)}const o=this._isDeclarative;this.done=!o&&!r&&this._time>=i;this._reseted=false;let h=false;if(s||o){this._initialise(s);this.transforms=new Bt;h=this._run(o?t:n);this.fire("step",this)}this.done=this.done||h&&o;if(r){this.fire("finished",this)}return this}time(t){if(t==null){return this._time}const n=t-this._time;this.step(n);return this}timeline(t){if(typeof t==="undefined")return this._timeline;this._timeline=t;return this}unschedule(){const t=this.timeline();t&&t.unschedule(this);return this}_initialise(t){if(!t&&!this._isDeclarative)return;for(let n=0,s=this._queue.length;n<s;++n){const s=this._queue[n];const i=this._isDeclarative||!s.initialised&&t;t=!s.finished;if(i&&t){s.initialiser.call(this);s.initialised=true}}}_rememberMorpher(t,n){this._history[t]={morpher:n,caller:this._queue[this._queue.length-1]};if(this._isDeclarative){const t=this.timeline();t&&t.play()}}_run(t){let n=true;for(let s=0,i=this._queue.length;s<i;++s){const i=this._queue[s];const e=i.runner.call(this,t);i.finished=i.finished||e===true;n=n&&i.finished}return n}_tryRetarget(t,n,s){if(this._history[t]){if(!this._history[t].caller.initialised){const n=this._queue.indexOf(this._history[t].caller);this._queue.splice(n,1);return false}if(this._history[t].caller.retarget){this._history[t].caller.retarget.call(this,n,s)}else{this._history[t].morpher.to(n)}this._history[t].caller.finished=false;const i=this.timeline();i&&i.play();return true}return false}}$s.id=0;class Ps{constructor(t=new Bt,n=-1,s=true){this.transforms=t;this.id=n;this.done=s}clearTransformsFromQueue(){}}z([$s,Ps],{mergeWith(t){return new Ps(t.transforms.lmultiply(this.transforms),t.id)}});const Rs=(t,n)=>t.lmultiplyO(n);const Ys=t=>t.transforms;function Gs(){const t=this._transformationRunners.runners;const n=t.map(Ys).reduce(Rs,new Bt);this.transform(n);this._transformationRunners.merge();if(this._transformationRunners.length()===1){this._frameId=null}}class Xs{constructor(){this.runners=[];this.ids=[]}add(t){if(this.runners.includes(t))return;const n=t.id+1;this.runners.push(t);this.ids.push(n);return this}clearBefore(t){const n=this.ids.indexOf(t+1)||1;this.ids.splice(0,n,0);this.runners.splice(0,n,new Ps).forEach((t=>t.clearTransformsFromQueue()));return this}edit(t,n){const s=this.ids.indexOf(t+1);this.ids.splice(s,1,t+1);this.runners.splice(s,1,n);return this}getByID(t){return this.runners[this.ids.indexOf(t+1)]}length(){return this.ids.length}merge(){let t=null;for(let n=0;n<this.runners.length;++n){const s=this.runners[n];const i=t&&s.done&&t.done&&(!s._timeline||!s._timeline._runnerIds.includes(s.id))&&(!t._timeline||!t._timeline._runnerIds.includes(t.id));if(i){this.remove(s.id);const i=s.mergeWith(t);this.edit(t.id,i);t=i;--n}else{t=s}}return this}remove(t){const n=this.ids.indexOf(t+1);this.ids.splice(n,1);this.runners.splice(n,1);return this}}o({Element:{animate(t,n,s){const i=$s.sanitise(t,n,s);const e=this.timeline();return new $s(i.duration).loop(i).element(this).timeline(e.play()).schedule(i.delay,i.when)},delay(t,n){return this.animate(0,t,n)},_clearTransformRunnersBefore(t){this._transformationRunners.clearBefore(t.id)},_currentTransform(t){return this._transformationRunners.runners.filter((n=>n.id<=t.id)).map(Ys).reduce(Rs,new Bt)},_addRunner(t){this._transformationRunners.add(t);Zs.cancelImmediate(this._frameId);this._frameId=Zs.immediate(Gs.bind(this))},_prepareRunner(){if(this._frameId==null){this._transformationRunners=(new Xs).add(new Ps(new Bt(this)))}}}});const Qs=(t,n)=>t.filter((t=>!n.includes(t)));z($s,{attr(t,n){return this.styleAttr("attr",t,n)},css(t,n){return this.styleAttr("css",t,n)},styleAttr(t,n,s){if(typeof n==="string"){return this.styleAttr(t,{[n]:s})}let i=n;if(this._tryRetarget(t,i))return this;let e=new ys(this._stepper).to(i);let r=Object.keys(i);this.queue((function(){e=e.from(this.element()[t](r))}),(function(n){this.element()[t](e.at(n).valueOf());return e.done()}),(function(n){const s=Object.keys(n);const o=Qs(s,r);if(o.length){const n=this.element()[t](o);const s=new Ms(e.from()).valueOf();Object.assign(s,n);e.from(s)}const h=new Ms(e.to()).valueOf();Object.assign(h,n);e.to(h);r=s;i=n}));this._rememberMorpher(t,e);return this},zoom(t,n){if(this._tryRetarget("zoom",t,n))return this;let s=new ys(this._stepper).to(new cn(t));this.queue((function(){s=s.from(this.element().zoom())}),(function(t){this.element().zoom(s.at(t),n);return s.done()}),(function(t,i){n=i;s.to(t)}));this._rememberMorpher("zoom",s);return this},transform(t,n,s){n=t.relative||n;if(this._isDeclarative&&!n&&this._tryRetarget("transform",t)){return this}const i=Bt.isMatrixLike(t);s=t.affine!=null?t.affine:s!=null?s:!i;const e=new ys(this._stepper).type(s?vs:Bt);let r;let o;let h;let u;let c;function l(){o=o||this.element();r=r||g(t,o);c=new Bt(n?undefined:o);o._addRunner(this);if(!n){o._clearTransformRunnersBefore(this)}}function f(l){if(!n)this.clearTransform();const{x:f,y:a}=new Et(r).transform(o._currentTransform(this));let d=new Bt({...t,origin:[f,a]});let C=this._isDeclarative&&h?h:c;if(s){d=d.decompose(f,a);C=C.decompose(f,a);const t=d.rotate;const n=C.rotate;const s=[t-360,t,t+360];const i=s.map((t=>Math.abs(t-n)));const e=Math.min(...i);const r=i.indexOf(e);d.rotate=s[r]}if(n){if(!i){d.rotate=t.rotate||0}if(this._isDeclarative&&u){C.rotate=u}}e.from(C);e.to(d);const w=e.at(l);u=w.rotate;h=new Bt(w);this.addTransform(h);o._addRunner(this);return e.done()}function a(n){if((n.origin||"center").toString()!==(t.origin||"center").toString()){r=g(n,o)}t={...n,origin:r}}this.queue(l,f,a,true);this._isDeclarative&&this._rememberMorpher("transform",e);return this},x(t,n){return this._queueNumber("x",t)},y(t){return this._queueNumber("y",t)},dx(t=0){return this._queueNumberDelta("x",t)},dy(t=0){return this._queueNumberDelta("y",t)},dmove(t,n){return this.dx(t).dy(n)},_queueNumberDelta(t,n){n=new cn(n);if(this._tryRetarget(t,n))return this;const s=new ys(this._stepper).to(n);let i=null;this.queue((function(){i=this.element()[t]();s.from(i);s.to(i+n)}),(function(n){this.element()[t](s.at(n));return s.done()}),(function(t){s.to(i+new cn(t))}));this._rememberMorpher(t,s);return this},_queueObject(t,n){if(this._tryRetarget(t,n))return this;const s=new ys(this._stepper).to(n);this.queue((function(){s.from(this.element()[t]())}),(function(n){this.element()[t](s.at(n));return s.done()}));this._rememberMorpher(t,s);return this},_queueNumber(t,n){return this._queueObject(t,new cn(n))},cx(t){return this._queueNumber("cx",t)},cy(t){return this._queueNumber("cy",t)},move(t,n){return this.x(t).y(n)},center(t,n){return this.cx(t).cy(n)},size(t,n){let s;if(!t||!n){s=this._element.bbox()}if(!t){t=s.width/s.height*n}if(!n){n=s.height/s.width*t}return this.width(t).height(n)},width(t){return this._queueNumber("width",t)},height(t){return this._queueNumber("height",t)},plot(t,n,s,i){if(arguments.length===4){return this.plot([t,n,s,i])}if(this._tryRetarget("plot",t))return this;const e=new ys(this._stepper).type(this._element.MorphArray).to(t);this.queue((function(){e.from(this._element.array())}),(function(t){this._element.plot(e.at(t));return e.done()}));this._rememberMorpher("plot",e);return this},leading(t){return this._queueNumber("leading",t)},viewbox(t,n,s,i){return this._queueObject("viewbox",new It(t,n,s,i))},update(t){if(typeof t!=="object"){return this.update({offset:arguments[0],color:arguments[1],opacity:arguments[2]})}if(t.opacity!=null)this.attr("stop-opacity",t.opacity);if(t.color!=null)this.attr("stop-color",t.color);if(t.offset!=null)this.attr("offset",t.offset);return this}});z($s,{rx:kn,ry:jn,from:Dn,to:zn});H($s,"Runner");class qs extends bn{constructor(t,n=t){super(O("svg",t),n);this.namespace()}defs(){if(!this.isRoot())return this.root().defs();return E(this.node.querySelector("defs"))||this.put(new Mn)}isRoot(){return!this.node.parentNode||!(this.node.parentNode instanceof M.window.SVGElement)&&this.node.parentNode.nodeName!=="#document-fragment"}namespace(){if(!this.isRoot())return this.root().namespace();return this.attr({xmlns:m,version:"1.1"}).attr("xmlns:xlink",v,x).attr("xmlns:svgjs",b,x)}removeNamespace(){return this.attr({xmlns:null,version:null}).attr("xmlns:xlink",null,x).attr("xmlns:svgjs",null,x)}root(){if(this.isRoot())return this;return super.root()}}o({Container:{nested:Z((function(){return this.put(new qs)}))}});H(qs,"Svg",true);class Us extends bn{constructor(t,n=t){super(O("symbol",t),n)}}o({Container:{symbol:Z((function(){return this.put(new Us)}))}});H(Us,"Symbol");function Js(t){if(this._build===false){this.clear()}this.node.appendChild(M.document.createTextNode(t));return this}function Ws(){return this.node.getComputedTextLength()}function Ks(t,n=this.bbox()){if(t==null){return n.x}return this.attr("x",this.attr("x")+t-n.x)}function ti(t,n=this.bbox()){if(t==null){return n.y}return this.attr("y",this.attr("y")+t-n.y)}function ni(t,n,s=this.bbox()){return this.x(t,s).y(n,s)}function si(t,n=this.bbox()){if(t==null){return n.cx}return this.attr("x",this.attr("x")+t-n.cx)}function ii(t,n=this.bbox()){if(t==null){return n.cy}return this.attr("y",this.attr("y")+t-n.cy)}function ei(t,n,s=this.bbox()){return this.cx(t,s).cy(n,s)}function ri(t){return this.attr("x",t)}function oi(t){return this.attr("y",t)}function hi(t,n){return this.ax(t).ay(n)}function ui(t){this._build=!!t;return this}var ci={__proto__:null,plain:Js,length:Ws,x:Ks,y:ti,move:ni,cx:si,cy:ii,center:ei,ax:ri,ay:oi,amove:hi,build:ui};class li extends _n{constructor(t,n=t){super(O("text",t),n);this.dom.leading=new cn(1.3);this._rebuild=true;this._build=false}leading(t){if(t==null){return this.dom.leading}this.dom.leading=new cn(t);return this.rebuild()}rebuild(t){if(typeof t==="boolean"){this._rebuild=t}if(this._rebuild){const t=this;let n=0;const s=this.dom.leading;this.each((function(i){const e=M.window.getComputedStyle(this.node).getPropertyValue("font-size");const r=s*new cn(e);if(this.dom.newLined){this.attr("x",t.attr("x"));if(this.text()==="\n"){n+=r}else{this.attr("dy",i?r+n:0);n=0}}}));this.fire("rebuild")}return this}setData(t){this.dom=t;this.dom.leading=new cn(t.leading||1.3);return this}text(t){if(t===undefined){const n=this.node.childNodes;let s=0;t="";for(let i=0,e=n.length;i<e;++i){if(n[i].nodeName==="textPath"){if(i===0)s=1;continue}if(i!==s&&n[i].nodeType!==3&&E(n[i]).dom.newLined===true){t+="\n"}t+=n[i].textContent}return t}this.clear().build(true);if(typeof t==="function"){t.call(this,this)}else{t=(t+"").split("\n");for(let n=0,s=t.length;n<s;n++){this.newLine(t[n])}}return this.build(false).rebuild()}}z(li,ci);o({Container:{text:Z((function(t=""){return this.put(new li).text(t)})),plain:Z((function(t=""){return this.put(new li).plain(t)}))}});H(li,"Text");class fi extends _n{constructor(t,n=t){super(O("tspan",t),n);this._build=false}dx(t){return this.attr("dx",t)}dy(t){return this.attr("dy",t)}newLine(){this.dom.newLined=true;const t=this.parent();if(!(t instanceof li)){return this}const n=t.index(this);const s=M.window.getComputedStyle(this.node).getPropertyValue("font-size");const i=t.dom.leading*new cn(s);return this.dy(n?i:0).attr("x",t.x())}text(t){if(t==null)return this.node.textContent+(this.dom.newLined?"\n":"");if(typeof t==="function"){this.clear().build(true);t.call(this,this);this.build(false)}else{this.plain(t)}return this}}z(fi,ci);o({Tspan:{tspan:Z((function(t=""){const n=new fi;if(!this._build){this.clear()}return this.put(n).text(t)}))},Text:{newLine:function(t=""){return this.tspan(t).newLine()}}});H(fi,"Tspan");class ai extends _n{constructor(t,n=t){super(O("circle",t),n)}radius(t){return this.attr("r",t)}rx(t){return this.attr("r",t)}ry(t){return this.rx(t)}size(t){return this.radius(new cn(t).divide(2))}}z(ai,{x:Ln,y:An,cx:On,cy:En,width:Vn,height:Hn});o({Container:{circle:Z((function(t=0){return this.put(new ai).size(t).move(0,0)}))}});H(ai,"Circle");class di extends bn{constructor(t,n=t){super(O("clipPath",t),n)}remove(){this.targets().forEach((function(t){t.unclip()}));return super.remove()}targets(){return Gt('svg [clip-path*="'+this.id()+'"]')}}o({Container:{clip:Z((function(){return this.defs().put(new di)}))},Element:{clipper(){return this.reference("clip-path")},clipWith(t){const n=t instanceof di?t:this.parent().clip().add(t);return this.attr("clip-path",'url("#'+n.id()+'")')},unclip(){return this.attr("clip-path",null)}}});H(di,"ClipPath");class Ci extends Cn{constructor(t,n=t){super(O("foreignObject",t),n)}}o({Container:{foreignObject:Z((function(t,n){return this.put(new Ci).size(t,n)}))}});H(Ci,"ForeignObject");function wi(t,n){this.children().forEach(((s,i)=>{let e;try{e=s.bbox()}catch(t){return}const r=new Bt(s);const o=r.translate(t,n).transform(r.inverse());const h=new Et(e.x,e.y).transform(o);s.move(h.x,h.y)}));return this}function pi(t){return this.dmove(t,0)}function gi(t){return this.dmove(0,t)}function mi(t,n=this.bbox()){if(t==null)return n.height;return this.size(n.width,t,n)}function yi(t=0,n=0,s=this.bbox()){const i=t-s.x;const e=n-s.y;return this.dmove(i,e)}function xi(t,n,s=this.bbox()){const i=p(this,t,n,s);const e=i.width/s.width;const r=i.height/s.height;this.children().forEach(((t,n)=>{const i=new Et(s).transform(new Bt(t).inverse());t.scale(e,r,i.x,i.y)}));return this}function vi(t,n=this.bbox()){if(t==null)return n.width;return this.size(t,n.height,n)}function bi(t,n=this.bbox()){if(t==null)return n.x;return this.move(t,n.y,n)}function Mi(t,n=this.bbox()){if(t==null)return n.y;return this.move(n.x,t,n)}var _i={__proto__:null,dmove:wi,dx:pi,dy:gi,height:mi,move:yi,size:xi,width:vi,x:bi,y:Mi};class ki extends bn{constructor(t,n=t){super(O("g",t),n)}}z(ki,_i);o({Container:{group:Z((function(){return this.put(new ki)}))}});H(ki,"G");class ji extends bn{constructor(t,n=t){super(O("a",t),n)}target(t){return this.attr("target",t)}to(t){return this.attr("href",t,v)}}z(ji,_i);o({Container:{link:Z((function(t){return this.put(new ji).to(t)}))},Element:{unlink(){const t=this.linker();if(!t)return this;const n=t.parent();if(!n){return this.remove()}const s=n.index(t);n.add(this,s);t.remove();return this},linkTo(t){let n=this.linker();if(!n){n=new ji;this.wrap(n)}if(typeof t==="function"){t.call(n,n)}else{n.to(t)}return this},linker(){const t=this.parent();if(t&&t.node.nodeName.toLowerCase()==="a"){return t}return null}}});H(ji,"A");class Li extends bn{constructor(t,n=t){super(O("mask",t),n)}remove(){this.targets().forEach((function(t){t.unmask()}));return super.remove()}targets(){return Gt('svg [mask*="'+this.id()+'"]')}}o({Container:{mask:Z((function(){return this.defs().put(new Li)}))},Element:{masker(){return this.reference("mask")},maskWith(t){const n=t instanceof Li?t:this.parent().mask().add(t);return this.attr("mask",'url("#'+n.id()+'")')},unmask(){return this.attr("mask",null)}}});H(Li,"Mask");class Ai extends Cn{constructor(t,n=t){super(O("stop",t),n)}update(t){if(typeof t==="number"||t instanceof cn){t={offset:arguments[0],color:arguments[1],opacity:arguments[2]}}if(t.opacity!=null)this.attr("stop-opacity",t.opacity);if(t.color!=null)this.attr("stop-color",t.color);if(t.offset!=null)this.attr("offset",new cn(t.offset));return this}}o({Gradient:{stop:function(t,n,s){return this.put(new Ai).update(t,n,s)}}});H(Ai,"Stop");function Oi(t,n){if(!t)return"";if(!n)return t;let s=t+"{";for(const t in n){s+=C(t)+":"+n[t]+";"}s+="}";return s}class Ei extends Cn{constructor(t,n=t){super(O("style",t),n)}addText(t=""){this.node.textContent+=t;return this}font(t,n,s={}){return this.rule("@font-face",{fontFamily:t,src:n,...s})}rule(t,n){return this.addText(Oi(t,n))}}o("Dom",{style(t,n){return this.put(new Ei).rule(t,n)},fontface(t,n,s){return this.put(new Ei).font(t,n,s)}});H(Ei,"Style");class Vi extends li{constructor(t,n=t){super(O("textPath",t),n)}array(){const t=this.track();return t?t.array():null}plot(t){const n=this.track();let s=null;if(n){s=n.plot(t)}return t==null?s:this}track(){return this.reference("href")}}o({Container:{textPath:Z((function(t,n){if(!(t instanceof li)){t=this.text(t)}return t.path(n)}))},Text:{path:Z((function(t,n=true){const s=new Vi;if(!(t instanceof Ls)){t=this.defs().path(t)}s.attr("href","#"+t,v);let i;if(n){while(i=this.node.firstChild){s.node.appendChild(i)}}return this.put(s)})),textPath(){return this.findOne("textPath")}},Path:{text:Z((function(t){if(!(t instanceof li)){t=(new li).addTo(this.parent()).text(t)}return t.path(this)})),targets(){return Gt("svg textPath").filter((t=>(t.attr("href")||"").includes(this.id())))}}});Vi.prototype.MorphArray=gs;H(Vi,"TextPath");class Hi extends _n{constructor(t,n=t){super(O("use",t),n)}use(t,n){return this.attr("href",(n||"")+"#"+t,v)}}o({Container:{use:Z((function(t,n){return this.put(new Hi).use(t,n)}))}});H(Hi,"Use");const Bi=A;z([qs,Us,Nn,Fn,Un],h("viewbox"));z([qn,Ss,Ts,Ls],h("marker"));z(li,h("Text"));z(Ls,h("Path"));z(Mn,h("Defs"));z([li,fi],h("Tspan"));z([Ds,Tn,In,$s],h("radius"));z(en,h("EventTarget"));z(dn,h("Dom"));z(Cn,h("Element"));z(_n,h("Shape"));z([bn,Sn],h("Container"));z(In,h("Gradient"));z($s,h("Runner"));Rt.extend(u());ks([cn,Ot,It,Bt,un,$n,gs,Et]);js();function Ti(){let t={entities:[]};let n;let s=[];function i(t,s,i){n=Bi().addTo(t).size(s,i);n.entities=[];n.lines=n.group();n.labels=n.group()}function e(t,n){const s=t.group().attr({id:n.id});t.entities.push(s);n.background_color=n.background_color?n.background_color:"#f06";n.color=n.color?n.color:"#ffffff";n.radius=n.radius?n.radius:0;s.entity=s.rect(n.width,n.height).cx(n.width/2).cy(n.height/2).attr({fill:"#ffffff",stroke:n.color,["stroke-width"]:2}).radius(n.radius);if(n.class){s.entity.attr("class",n.class)}s.plain(n.text).cx(14).cy(n.height/2+6).attr({fill:n.color});s.move(n.x,n.y)}function r(){if(t.labels&&t.labels.length>0){t.labels.forEach((t=>{n.labels.text(t.value).x(t.x).y(t.y)}))}}function o(t,n){n.forEach((n=>h(t,n)))}function h(t,n){let s="";const i=n.color||"#4c56cb";const e=t.findOne("#"+n.from.element);const r=t.findOne("#"+n.to.element);const o=u(n,e,r);s+=l(e,n.from.point)+","+f(e,n.from.point)+" ";o.forEach((t=>s+=t.x+","+t.y+" "));if(n.to.point==="top"){s+=l(r,n.to.point)+","+f(r,n.to.point)+" "}else if(n.to.point==="bottom"){s+=l(r,n.to.point)+","+f(r,n.to.point)+" "}else{s+=l(r,n.to.point)+","+f(r,n.to.point)+" "}if(!n.polyline){n.polyline=t.lines.polyline(s).fill("none").stroke({color:i,width:2,linecap:"round",linejoin:"round"}).attr("id",n.id)}else{n.polyline.plot(s)}}function u(t,n,s){const i=[];const e=f(n,t.from.point);const r=f(s,t.to.point);const o=l(n,t.from.point);const h=l(s,t.to.point);const u=c(t.from.point);const a=c(t.to.point);const d=u-a;if(d===0){if(t.from.point==="top"){if(e<=r){i.push({x:o,y:e-20});i.push({x:h,y:e-20})}else{i.push({x:o,y:r-20});i.push({x:h,y:r-20})}}else if(t.from.point==="bottom"){if(e<=r){i.push({x:o,y:r+20});i.push({x:h,y:r+20})}else{i.push({x:o,y:e+20});i.push({x:h,y:e+20})}}else{if(o<=h){i.push({x:h+20,y:e});i.push({x:h+20,y:r})}else{i.push({x:o+20,y:e});i.push({x:o+20,y:r})}}}if(d===2||d===-2){if(o!==h){i.push({x:o,y:r+(e-r)/2});i.push({x:h,y:r+(e-r)/2})}}if(d===1||d===-1||d===3||d===-3){if(t.from.point==="top"){if(e<r+20){i.push({x:o,y:e-20});i.push({x:h+20,y:e-20});i.push({x:h+20,y:r})}else{i.push({x:o,y:r})}}if(t.from.point==="bottom"){if(e>r-20){i.push({x:o,y:e+20});i.push({x:h+20,y:e+20});i.push({x:h+20,y:r})}else{i.push({x:o,y:r})}}}return i}function c(t){switch(t){case"top":return 0;case"bottom":return 2;default:return 3}}function l(t,n){const s=t.entity.attr("width");const i=t.entity.attr("x");switch(n){case"top":case"bottom":return i+s/2;default:return i-s/2}}function f(t,n){const s=t.entity.attr("height");const i=t.entity.attr("y");switch(n){case"top":return i;case"bottom":return i+s;default:return i}}function a(){n.entities.forEach((t=>t.remove()));n.entities=[];s=[];if(!t.labels){t.labels=[]}t.labels=t.labels.map((t=>({id:t.id,value:t.value?t.value:"",x:t.x?t.x:0,y:t.y?t.y:0,color:t.color?t.color:"black"})));t.entities.map((t=>{t.type=t.type?t.type:"entity";if(t.type==="operation"){t.height=t.width}}));r();t.entities.forEach((t=>e(n,t)));s=t.lines;o(n,s)}function d(n){t=n;a()}return{initalize:i,update:d}}const Si=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">\n<circle cx="12.5" cy="12.5" r="11.5" stroke="#654DCB" stroke-width="2"/>\n<path d="M11.728 15.968C11.7067 15.9893 11.7013 16.0107 11.712 16.032C11.7227 16.0533 11.744 16.064 11.776 16.064H16.112C16.1653 16.064 16.208 16.0853 16.24 16.128C16.2827 16.16 16.304 16.2027 16.304 16.256V17.808C16.304 17.8613 16.2827 17.9093 16.24 17.952C16.208 17.984 16.1653 18 16.112 18H8.912C8.85867 18 8.81067 17.984 8.768 17.952C8.736 17.9093 8.72 17.8613 8.72 17.808V16.336C8.72 16.24 8.752 16.16 8.816 16.096C9.33867 15.584 9.872 15.0293 10.416 14.432C10.96 13.824 11.3013 13.4453 11.44 13.296C11.7387 12.944 12.0427 12.608 12.352 12.288C13.3227 11.2107 13.808 10.4107 13.808 9.888C13.808 9.51467 13.6747 9.21067 13.408 8.976C13.1413 8.73067 12.7947 8.608 12.368 8.608C11.9413 8.608 11.5947 8.73067 11.328 8.976C11.0613 9.21067 10.928 9.52533 10.928 9.92V10.32C10.928 10.3733 10.9067 10.4213 10.864 10.464C10.832 10.496 10.7893 10.512 10.736 10.512H8.848C8.79467 10.512 8.74667 10.496 8.704 10.464C8.672 10.4213 8.656 10.3733 8.656 10.32V9.568C8.688 8.992 8.86933 8.48533 9.2 8.048C9.53067 7.6 9.968 7.25867 10.512 7.024C11.0667 6.78933 11.6853 6.672 12.368 6.672C13.1253 6.672 13.7813 6.816 14.336 7.104C14.9013 7.38133 15.3333 7.76 15.632 8.24C15.9413 8.72 16.096 9.25333 16.096 9.84C16.096 10.288 15.984 10.7467 15.76 11.216C15.536 11.6853 15.2 12.192 14.752 12.736C14.4213 13.152 14.064 13.5627 13.68 13.968C13.296 14.3733 12.7253 14.96 11.968 15.728L11.728 15.968Z" fill="#654DCB"/>\n</svg>\n`;const Di=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">\n<circle cx="12.5" cy="12.5" r="11.5" stroke="white" stroke-width="2"/>\n<path d="M11.728 15.968C11.7067 15.9893 11.7013 16.0107 11.712 16.032C11.7227 16.0533 11.744 16.064 11.776 16.064H16.112C16.1653 16.064 16.208 16.0853 16.24 16.128C16.2827 16.16 16.304 16.2027 16.304 16.256V17.808C16.304 17.8613 16.2827 17.9093 16.24 17.952C16.208 17.984 16.1653 18 16.112 18H8.912C8.85867 18 8.81067 17.984 8.768 17.952C8.736 17.9093 8.72 17.8613 8.72 17.808V16.336C8.72 16.24 8.752 16.16 8.816 16.096C9.33867 15.584 9.872 15.0293 10.416 14.432C10.96 13.824 11.3013 13.4453 11.44 13.296C11.7387 12.944 12.0427 12.608 12.352 12.288C13.3227 11.2107 13.808 10.4107 13.808 9.888C13.808 9.51467 13.6747 9.21067 13.408 8.976C13.1413 8.73067 12.7947 8.608 12.368 8.608C11.9413 8.608 11.5947 8.73067 11.328 8.976C11.0613 9.21067 10.928 9.52533 10.928 9.92V10.32C10.928 10.3733 10.9067 10.4213 10.864 10.464C10.832 10.496 10.7893 10.512 10.736 10.512H8.848C8.79467 10.512 8.74667 10.496 8.704 10.464C8.672 10.4213 8.656 10.3733 8.656 10.32V9.568C8.688 8.992 8.86933 8.48533 9.2 8.048C9.53067 7.6 9.968 7.25867 10.512 7.024C11.0667 6.78933 11.6853 6.672 12.368 6.672C13.1253 6.672 13.7813 6.816 14.336 7.104C14.9013 7.38133 15.3333 7.76 15.632 8.24C15.9413 8.72 16.096 9.25333 16.096 9.84C16.096 10.288 15.984 10.7467 15.76 11.216C15.536 11.6853 15.2 12.192 14.752 12.736C14.4213 13.152 14.064 13.5627 13.68 13.968C13.296 14.3733 12.7253 14.96 11.968 15.728L11.728 15.968Z" fill="white"/>\n</svg>\n`;const zi=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path fill-rule="evenodd" clip-rule="evenodd" d="M12 24C15.1826 24 18.2348 22.7357 20.4853 20.4853C22.7357 18.2348 24 15.1826 24 12C24 8.8174 22.7357 5.76516 20.4853 3.51472C18.2348 1.26428 15.1826 0 12 0C8.8174 0 5.76516 1.26428 3.51472 3.51472C1.26428 5.76516 0 8.8174 0 12C0 15.1826 1.26428 18.2348 3.51472 20.4853C5.76516 22.7357 8.8174 24 12 24V24ZM9 7.5C8.60218 7.5 8.22064 7.65804 7.93934 7.93934C7.65804 8.22064 7.5 8.60218 7.5 9V15C7.5 15.3978 7.65804 15.7794 7.93934 16.0607C8.22064 16.342 8.60218 16.5 9 16.5H15C15.3978 16.5 15.7794 16.342 16.0607 16.0607C16.342 15.7794 16.5 15.3978 16.5 15V9C16.5 8.60218 16.342 8.22064 16.0607 7.93934C15.7794 7.65804 15.3978 7.5 15 7.5H9Z" fill="#9095B3"/>\n</svg>\n`;const Zi=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path fill-rule="evenodd" clip-rule="evenodd" d="M12 24C15.1826 24 18.2348 22.7357 20.4853 20.4853C22.7357 18.2348 24 15.1826 24 12C24 8.8174 22.7357 5.76516 20.4853 3.51472C18.2348 1.26428 15.1826 0 12 0C8.8174 0 5.76516 1.26428 3.51472 3.51472C1.26428 5.76516 0 8.8174 0 12C0 15.1826 1.26428 18.2348 3.51472 20.4853C5.76516 22.7357 8.8174 24 12 24V24ZM9 7.5C8.60218 7.5 8.22064 7.65804 7.93934 7.93934C7.65804 8.22064 7.5 8.60218 7.5 9V15C7.5 15.3978 7.65804 15.7794 7.93934 16.0607C8.22064 16.342 8.60218 16.5 9 16.5H15C15.3978 16.5 15.7794 16.342 16.0607 16.0607C16.342 15.7794 16.5 15.3978 16.5 15V9C16.5 8.60218 16.342 8.22064 16.0607 7.93934C15.7794 7.65804 15.3978 7.5 15 7.5H9Z" fill="#9095B3"/>\n</svg>\n`;const Ii=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path fill-rule="evenodd" clip-rule="evenodd" d="M6.7152 2.35464C7.71225 2.27504 8.65876 1.88287 9.41995 1.23399C10.2797 0.501758 11.3721 0.0996094 12.5013 0.0996094C13.6306 0.0996094 14.723 0.501758 15.5827 1.23399C16.3439 1.88287 17.2904 2.27504 18.2875 2.35464C19.4135 2.44463 20.4706 2.93273 21.2693 3.73145C22.068 4.53017 22.5561 5.58727 22.6461 6.71324C22.7251 7.70989 23.1173 8.65694 23.7667 9.41799C24.499 10.2777 24.9011 11.3701 24.9011 12.4994C24.9011 13.6287 24.499 14.7211 23.7667 15.5808C23.1179 16.342 22.7257 17.2885 22.6461 18.2855C22.5561 19.4115 22.068 20.4686 21.2693 21.2673C20.4706 22.0661 19.4135 22.5542 18.2875 22.6441C17.2904 22.7237 16.3439 23.1159 15.5827 23.7648C14.723 24.497 13.6306 24.8992 12.5013 24.8992C11.3721 24.8992 10.2797 24.497 9.41995 23.7648C8.65876 23.1159 7.71225 22.7237 6.7152 22.6441C5.58923 22.5542 4.53213 22.0661 3.73341 21.2673C2.93469 20.4686 2.44658 19.4115 2.35659 18.2855C2.27699 17.2885 1.88482 16.342 1.23595 15.5808C0.503711 14.7211 0.101562 13.6287 0.101562 12.4994C0.101562 11.3701 0.503711 10.2777 1.23595 9.41799C1.88482 8.65681 2.27699 7.71029 2.35659 6.71324C2.44658 5.58727 2.93469 4.53017 3.73341 3.73145C4.53213 2.93273 5.58923 2.44463 6.7152 2.35464V2.35464ZM18.2472 10.4952C18.5295 10.2029 18.6858 9.81138 18.6822 9.40497C18.6787 8.99857 18.5157 8.60981 18.2283 8.32242C17.9409 8.03504 17.5522 7.87203 17.1458 7.8685C16.7394 7.86497 16.3478 8.0212 16.0555 8.30354L10.9513 13.4077L8.9472 11.4035C8.65486 11.1212 8.26333 10.965 7.85692 10.9685C7.45052 10.972 7.06176 11.135 6.77438 11.4224C6.48699 11.7098 6.32398 12.0986 6.32045 12.505C6.31692 12.9114 6.47315 13.3029 6.7555 13.5952L9.8555 16.6952C10.1462 16.9858 10.5403 17.1491 10.9513 17.1491C11.3624 17.1491 11.7565 16.9858 12.0472 16.6952L18.2472 10.4952V10.4952Z" fill="#50BE80"/>\n</svg>\n`;const Fi=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path fill-rule="evenodd" clip-rule="evenodd" d="M6.7152 2.35464C7.71225 2.27504 8.65876 1.88287 9.41995 1.23399C10.2797 0.501758 11.3721 0.0996094 12.5013 0.0996094C13.6306 0.0996094 14.723 0.501758 15.5827 1.23399C16.3439 1.88287 17.2904 2.27504 18.2875 2.35464C19.4135 2.44463 20.4706 2.93273 21.2693 3.73145C22.068 4.53017 22.5561 5.58727 22.6461 6.71324C22.7251 7.70989 23.1173 8.65694 23.7667 9.41799C24.499 10.2777 24.9011 11.3701 24.9011 12.4994C24.9011 13.6287 24.499 14.7211 23.7667 15.5808C23.1179 16.342 22.7257 17.2885 22.6461 18.2855C22.5561 19.4115 22.068 20.4686 21.2693 21.2673C20.4706 22.0661 19.4135 22.5542 18.2875 22.6441C17.2904 22.7237 16.3439 23.1159 15.5827 23.7648C14.723 24.497 13.6306 24.8992 12.5013 24.8992C11.3721 24.8992 10.2797 24.497 9.41995 23.7648C8.65876 23.1159 7.71225 22.7237 6.7152 22.6441C5.58923 22.5542 4.53213 22.0661 3.73341 21.2673C2.93469 20.4686 2.44658 19.4115 2.35659 18.2855C2.27699 17.2885 1.88482 16.342 1.23595 15.5808C0.503711 14.7211 0.101562 13.6287 0.101562 12.4994C0.101562 11.3701 0.503711 10.2777 1.23595 9.41799C1.88482 8.65681 2.27699 7.71029 2.35659 6.71324C2.44658 5.58727 2.93469 4.53017 3.73341 3.73145C4.53213 2.93273 5.58923 2.44463 6.7152 2.35464V2.35464ZM18.2472 10.4952C18.5295 10.2029 18.6858 9.81138 18.6822 9.40497C18.6787 8.99857 18.5157 8.60981 18.2283 8.32242C17.9409 8.03504 17.5522 7.87203 17.1458 7.8685C16.7394 7.86497 16.3478 8.0212 16.0555 8.30354L10.9513 13.4077L8.9472 11.4035C8.65486 11.1212 8.26333 10.965 7.85692 10.9685C7.45052 10.972 7.06176 11.135 6.77438 11.4224C6.48699 11.7098 6.32398 12.0986 6.32045 12.505C6.31692 12.9114 6.47315 13.3029 6.7555 13.5952L9.8555 16.6952C10.1462 16.9858 10.5403 17.1491 10.9513 17.1491C11.3624 17.1491 11.7565 16.9858 12.0472 16.6952L18.2472 10.4952V10.4952Z" fill="#63C58E"/>\n</svg>\n`;const Ni=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path fill-rule="evenodd" clip-rule="evenodd" d="M24 12C24 15.1826 22.7357 18.2348 20.4853 20.4853C18.2348 22.7357 15.1826 24 12 24C8.8174 24 5.76516 22.7357 3.51472 20.4853C1.26428 18.2348 0 15.1826 0 12C0 8.8174 1.26428 5.76516 3.51472 3.51472C5.76516 1.26428 8.8174 0 12 0C15.1826 0 18.2348 1.26428 20.4853 3.51472C22.7357 5.76516 24 8.8174 24 12V12ZM13.5 18C13.5 18.3978 13.342 18.7794 13.0607 19.0607C12.7794 19.342 12.3978 19.5 12 19.5C11.6022 19.5 11.2206 19.342 10.9393 19.0607C10.658 18.7794 10.5 18.3978 10.5 18C10.5 17.6022 10.658 17.2206 10.9393 16.9393C11.2206 16.658 11.6022 16.5 12 16.5C12.3978 16.5 12.7794 16.658 13.0607 16.9393C13.342 17.2206 13.5 17.6022 13.5 18V18ZM12 4.5C11.6022 4.5 11.2206 4.65804 10.9393 4.93934C10.658 5.22064 10.5 5.60218 10.5 6V12C10.5 12.3978 10.658 12.7794 10.9393 13.0607C11.2206 13.342 11.6022 13.5 12 13.5C12.3978 13.5 12.7794 13.342 13.0607 13.0607C13.342 12.7794 13.5 12.3978 13.5 12V6C13.5 5.60218 13.342 5.22064 13.0607 4.93934C12.7794 4.65804 12.3978 4.5 12 4.5Z" fill="#FF0000"/>\n</svg>\n`;const $i=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path fill-rule="evenodd" clip-rule="evenodd" d="M24 12C24 15.1826 22.7357 18.2348 20.4853 20.4853C18.2348 22.7357 15.1826 24 12 24C8.8174 24 5.76516 22.7357 3.51472 20.4853C1.26428 18.2348 0 15.1826 0 12C0 8.8174 1.26428 5.76516 3.51472 3.51472C5.76516 1.26428 8.8174 0 12 0C15.1826 0 18.2348 1.26428 20.4853 3.51472C22.7357 5.76516 24 8.8174 24 12V12ZM13.5 18C13.5 18.3978 13.342 18.7794 13.0607 19.0607C12.7794 19.342 12.3978 19.5 12 19.5C11.6022 19.5 11.2206 19.342 10.9393 19.0607C10.658 18.7794 10.5 18.3978 10.5 18C10.5 17.6022 10.658 17.2206 10.9393 16.9393C11.2206 16.658 11.6022 16.5 12 16.5C12.3978 16.5 12.7794 16.658 13.0607 16.9393C13.342 17.2206 13.5 17.6022 13.5 18V18ZM12 4.5C11.6022 4.5 11.2206 4.65804 10.9393 4.93934C10.658 5.22064 10.5 5.60218 10.5 6V12C10.5 12.3978 10.658 12.7794 10.9393 13.0607C11.2206 13.342 11.6022 13.5 12 13.5C12.3978 13.5 12.7794 13.342 13.0607 13.0607C13.342 12.7794 13.5 12.3978 13.5 12V6C13.5 5.60218 13.342 5.22064 13.0607 4.93934C12.7794 4.65804 12.3978 4.5 12 4.5Z" fill="#F95353"/>\n</svg>\n`;const Pi=`<svg width="27" height="27" viewBox="0 0 27 27" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M14.7917 9.625L18.6667 13.5M18.6667 13.5L14.7917 17.375M18.6667 13.5H8.33333M25.125 13.5C25.125 15.0266 24.8243 16.5383 24.2401 17.9487C23.6559 19.3591 22.7996 20.6406 21.7201 21.7201C20.6406 22.7996 19.3591 23.6559 17.9487 24.2401C16.5383 24.8243 15.0266 25.125 13.5 25.125C11.9734 25.125 10.4617 24.8243 9.0513 24.2401C7.64089 23.6559 6.35936 22.7996 5.27988 21.7201C4.2004 20.6406 3.34411 19.3591 2.7599 17.9487C2.17569 16.5383 1.875 15.0266 1.875 13.5C1.875 10.4169 3.09977 7.45999 5.27988 5.27988C7.45999 3.09977 10.4169 1.875 13.5 1.875C16.5831 1.875 19.54 3.09977 21.7201 5.27988C23.9002 7.45999 25.125 10.4169 25.125 13.5Z" stroke="#654DCB" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\n</svg>\n`;const Ri=`<svg width="27" height="27" viewBox="0 0 27 27" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M14.7917 9.625L18.6667 13.5M18.6667 13.5L14.7917 17.375M18.6667 13.5H8.33333M25.125 13.5C25.125 15.0266 24.8243 16.5383 24.2401 17.9487C23.6559 19.3591 22.7996 20.6406 21.7201 21.7201C20.6406 22.7996 19.3591 23.6559 17.9487 24.2401C16.5383 24.8243 15.0266 25.125 13.5 25.125C11.9734 25.125 10.4617 24.8243 9.0513 24.2401C7.64089 23.6559 6.35936 22.7996 5.27988 21.7201C4.2004 20.6406 3.34411 19.3591 2.7599 17.9487C2.17569 16.5383 1.875 15.0266 1.875 13.5C1.875 10.4169 3.09977 7.45999 5.27988 5.27988C7.45999 3.09977 10.4169 1.875 13.5 1.875C16.5831 1.875 19.54 3.09977 21.7201 5.27988C23.9002 7.45999 25.125 10.4169 25.125 13.5Z" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\n</svg>\n`;const Yi=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">\n<circle cx="12.5" cy="12.5" r="11.5" stroke="#654DCB" stroke-width="2"/>\n<path d="M11.4 6.848C11.4533 6.816 11.5333 6.8 11.64 6.8H13.576C13.6293 6.8 13.672 6.82133 13.704 6.864C13.7467 6.896 13.768 6.93867 13.768 6.992V17.808C13.768 17.8613 13.7467 17.9093 13.704 17.952C13.672 17.984 13.6293 18 13.576 18H11.704C11.6507 18 11.6027 17.984 11.56 17.952C11.528 17.9093 11.512 17.8613 11.512 17.808V9.04C11.512 9.01867 11.5013 8.99733 11.48 8.976C11.4587 8.95467 11.4373 8.94933 11.416 8.96L9.832 9.392L9.768 9.408C9.672 9.408 9.624 9.34933 9.624 9.232L9.576 7.856C9.576 7.74933 9.624 7.67467 9.72 7.632L11.4 6.848Z" fill="#654DCB"/>\n</svg>\n`;const Gi=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">\n<circle cx="12.5" cy="12.5" r="11.5" stroke="white" stroke-width="2"/>\n<path d="M11.4 6.848C11.4533 6.816 11.5333 6.8 11.64 6.8H13.576C13.6293 6.8 13.672 6.82133 13.704 6.864C13.7467 6.896 13.768 6.93867 13.768 6.992V17.808C13.768 17.8613 13.7467 17.9093 13.704 17.952C13.672 17.984 13.6293 18 13.576 18H11.704C11.6507 18 11.6027 17.984 11.56 17.952C11.528 17.9093 11.512 17.8613 11.512 17.808V9.04C11.512 9.01867 11.5013 8.99733 11.48 8.976C11.4587 8.95467 11.4373 8.94933 11.416 8.96L9.832 9.392L9.768 9.408C9.672 9.408 9.624 9.34933 9.624 9.232L9.576 7.856C9.576 7.74933 9.624 7.67467 9.72 7.632L11.4 6.848Z" fill="white"/>\n</svg>\n`;const Xi=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M7.33333 12H7.345M12 12H12.0117M16.6667 12H16.6783M22.5 12C22.5 13.3789 22.2284 14.7443 21.7007 16.0182C21.1731 17.2921 20.3996 18.4496 19.4246 19.4246C18.4496 20.3996 17.2921 21.1731 16.0182 21.7007C14.7443 22.2284 13.3789 22.5 12 22.5C10.6211 22.5 9.25574 22.2284 7.98182 21.7007C6.70791 21.1731 5.55039 20.3996 4.57538 19.4246C3.60036 18.4496 2.82694 17.2921 2.29926 16.0182C1.77159 14.7443 1.5 13.3789 1.5 12C1.5 9.21523 2.60625 6.54451 4.57538 4.57538C6.54451 2.60625 9.21523 1.5 12 1.5C14.7848 1.5 17.4555 2.60625 19.4246 4.57538C21.3938 6.54451 22.5 9.21523 22.5 12Z" stroke="#999999" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\n</svg>\n`;const Qi=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M7.33333 12H7.345M12 12H12.0117M16.6667 12H16.6783M22.5 12C22.5 13.3789 22.2284 14.7443 21.7007 16.0182C21.1731 17.2921 20.3996 18.4496 19.4246 19.4246C18.4496 20.3996 17.2921 21.1731 16.0182 21.7007C14.7443 22.2284 13.3789 22.5 12 22.5C10.6211 22.5 9.25574 22.2284 7.98182 21.7007C6.70791 21.1731 5.55039 20.3996 4.57538 19.4246C3.60036 18.4496 2.82694 17.2921 2.29926 16.0182C1.77159 14.7443 1.5 13.3789 1.5 12C1.5 9.21523 2.60625 6.54451 4.57538 4.57538C6.54451 2.60625 9.21523 1.5 12 1.5C14.7848 1.5 17.4555 2.60625 19.4246 4.57538C21.3938 6.54451 22.5 9.21523 22.5 12Z" stroke="#cccccc" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\n</svg>\n`;const qi=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">\n<circle cx="12.5" cy="12.5" r="11.5" stroke="#654DCB" stroke-width="2"/>\n<path d="M15.632 12.656C15.8453 13.1467 15.952 13.712 15.952 14.352C15.952 14.928 15.856 15.4613 15.664 15.952C15.408 16.6347 14.976 17.168 14.368 17.552C13.7707 17.936 13.0613 18.128 12.24 18.128C11.4293 18.128 10.7147 17.9253 10.096 17.52C9.488 17.1147 9.05067 16.5653 8.784 15.872C8.63467 15.456 8.54933 15.008 8.528 14.528C8.528 14.4 8.592 14.336 8.72 14.336H10.608C10.736 14.336 10.8 14.4 10.8 14.528C10.8427 14.88 10.9013 15.1413 10.976 15.312C11.072 15.5893 11.2267 15.808 11.44 15.968C11.664 16.1173 11.9253 16.192 12.224 16.192C12.8213 16.192 13.232 15.9307 13.456 15.408C13.6053 15.088 13.68 14.7147 13.68 14.288C13.68 13.7867 13.6 13.376 13.44 13.056C13.1947 12.5547 12.784 12.304 12.208 12.304C12.0907 12.304 11.968 12.3413 11.84 12.416C11.712 12.48 11.5573 12.576 11.376 12.704C11.3333 12.736 11.2907 12.752 11.248 12.752C11.184 12.752 11.136 12.72 11.104 12.656L10.16 11.328C10.1387 11.296 10.128 11.2587 10.128 11.216C10.128 11.152 10.1493 11.0987 10.192 11.056L12.736 8.832C12.7573 8.81067 12.7627 8.78933 12.752 8.768C12.752 8.74667 12.736 8.736 12.704 8.736H8.944C8.89067 8.736 8.84267 8.72 8.8 8.688C8.768 8.64533 8.752 8.59733 8.752 8.544V6.992C8.752 6.93867 8.768 6.896 8.8 6.864C8.84267 6.82133 8.89067 6.8 8.944 6.8H15.616C15.6693 6.8 15.712 6.82133 15.744 6.864C15.7867 6.896 15.808 6.93867 15.808 6.992V8.752C15.808 8.83733 15.7707 8.91733 15.696 8.992L13.6 10.912C13.5787 10.9333 13.568 10.9547 13.568 10.976C13.5787 10.9973 13.6053 11.008 13.648 11.008C14.576 11.1893 15.2373 11.7387 15.632 12.656Z" fill="#654DCB"/>\n</svg>\n`;const Ui=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">\n<circle cx="12.5" cy="12.5" r="11.5" stroke="white" stroke-width="2"/>\n<path d="M15.632 12.656C15.8453 13.1467 15.952 13.712 15.952 14.352C15.952 14.928 15.856 15.4613 15.664 15.952C15.408 16.6347 14.976 17.168 14.368 17.552C13.7707 17.936 13.0613 18.128 12.24 18.128C11.4293 18.128 10.7147 17.9253 10.096 17.52C9.488 17.1147 9.05067 16.5653 8.784 15.872C8.63467 15.456 8.54933 15.008 8.528 14.528C8.528 14.4 8.592 14.336 8.72 14.336H10.608C10.736 14.336 10.8 14.4 10.8 14.528C10.8427 14.88 10.9013 15.1413 10.976 15.312C11.072 15.5893 11.2267 15.808 11.44 15.968C11.664 16.1173 11.9253 16.192 12.224 16.192C12.8213 16.192 13.232 15.9307 13.456 15.408C13.6053 15.088 13.68 14.7147 13.68 14.288C13.68 13.7867 13.6 13.376 13.44 13.056C13.1947 12.5547 12.784 12.304 12.208 12.304C12.0907 12.304 11.968 12.3413 11.84 12.416C11.712 12.48 11.5573 12.576 11.376 12.704C11.3333 12.736 11.2907 12.752 11.248 12.752C11.184 12.752 11.136 12.72 11.104 12.656L10.16 11.328C10.1387 11.296 10.128 11.2587 10.128 11.216C10.128 11.152 10.1493 11.0987 10.192 11.056L12.736 8.832C12.7573 8.81067 12.7627 8.78933 12.752 8.768C12.752 8.74667 12.736 8.736 12.704 8.736H8.944C8.89067 8.736 8.84267 8.72 8.8 8.688C8.768 8.64533 8.752 8.59733 8.752 8.544V6.992C8.752 6.93867 8.768 6.896 8.8 6.864C8.84267 6.82133 8.89067 6.8 8.944 6.8H15.616C15.6693 6.8 15.712 6.82133 15.744 6.864C15.7867 6.896 15.808 6.93867 15.808 6.992V8.752C15.808 8.83733 15.7707 8.91733 15.696 8.992L13.6 10.912C13.5787 10.9333 13.568 10.9547 13.568 10.976C13.5787 10.9973 13.6053 11.008 13.648 11.008C14.576 11.1893 15.2373 11.7387 15.632 12.656Z" fill="white"/>\n</svg>\n`;const Ji=`<svg width="27" height="27" viewBox="0 0 27 27" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M9.62395 13.5009L12.2073 16.0842L17.374 10.9176M8.11916 4.06786C9.04568 3.99392 9.92527 3.6296 10.6327 3.02678C11.4322 2.34513 12.4484 1.9707 13.499 1.9707C14.5495 1.9707 15.5657 2.34513 16.3652 3.02678C17.0726 3.6296 17.9522 3.99392 18.8787 4.06786C19.926 4.15118 20.9092 4.60497 21.6521 5.34781C22.3949 6.09064 22.8487 7.07389 22.932 8.12111C23.0059 9.04764 23.3703 9.92723 23.9731 10.6347C24.6547 11.4341 25.0292 12.4503 25.0292 13.5009C25.0292 14.5515 24.6547 15.5677 23.9731 16.3671C23.3703 17.0746 23.0059 17.9542 22.932 18.8807C22.8487 19.9279 22.3949 20.9112 21.6521 21.654C20.9092 22.3968 19.926 22.8506 18.8787 22.9339C17.9522 23.0079 17.0726 23.3722 16.3652 23.975C15.5657 24.6567 14.5495 25.0311 13.499 25.0311C12.4484 25.0311 11.4322 24.6567 10.6327 23.975C9.92527 23.3722 9.04568 23.0079 8.11916 22.9339C7.07194 22.8506 6.08869 22.3968 5.34585 21.654C4.60302 20.9112 4.14923 19.9279 4.06591 18.8807C3.99196 17.9542 3.62765 17.0746 3.02483 16.3671C2.34318 15.5677 1.96875 14.5515 1.96875 13.5009C1.96875 12.4503 2.34318 11.4341 3.02483 10.6347C3.62765 9.92723 3.99196 9.04764 4.06591 8.12111C4.14923 7.07389 4.60302 6.09064 5.34585 5.34781C6.08869 4.60497 7.07194 4.15118 8.11916 4.06786V4.06786Z" stroke="#654DCB" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\n</svg>\n`;const Wi=`<svg width="27" height="27" viewBox="0 0 27 27" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M9.62395 13.5009L12.2073 16.0842L17.374 10.9176M8.11916 4.06786C9.04568 3.99392 9.92527 3.6296 10.6327 3.02678C11.4322 2.34513 12.4484 1.9707 13.499 1.9707C14.5495 1.9707 15.5657 2.34513 16.3652 3.02678C17.0726 3.6296 17.9522 3.99392 18.8787 4.06786C19.926 4.15118 20.9092 4.60497 21.6521 5.34781C22.3949 6.09064 22.8487 7.07389 22.932 8.12111C23.0059 9.04764 23.3703 9.92723 23.9731 10.6347C24.6547 11.4341 25.0292 12.4503 25.0292 13.5009C25.0292 14.5515 24.6547 15.5677 23.9731 16.3671C23.3703 17.0746 23.0059 17.9542 22.932 18.8807C22.8487 19.9279 22.3949 20.9112 21.6521 21.654C20.9092 22.3968 19.926 22.8506 18.8787 22.9339C17.9522 23.0079 17.0726 23.3722 16.3652 23.975C15.5657 24.6567 14.5495 25.0311 13.499 25.0311C12.4484 25.0311 11.4322 24.6567 10.6327 23.975C9.92527 23.3722 9.04568 23.0079 8.11916 22.9339C7.07194 22.8506 6.08869 22.3968 5.34585 21.654C4.60302 20.9112 4.14923 19.9279 4.06591 18.8807C3.99196 17.9542 3.62765 17.0746 3.02483 16.3671C2.34318 15.5677 1.96875 14.5515 1.96875 13.5009C1.96875 12.4503 2.34318 11.4341 3.02483 10.6347C3.62765 9.92723 3.99196 9.04764 4.06591 8.12111C4.14923 7.07389 4.60302 6.09064 5.34585 5.34781C6.08869 4.60497 7.07194 4.15118 8.11916 4.06786V4.06786Z" stroke="#63C58E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\n</svg>\n`;const Ki=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path fill-rule="evenodd" clip-rule="evenodd" d="M6.7152 2.35464C7.71225 2.27504 8.65876 1.88287 9.41995 1.23399C10.2797 0.501758 11.3721 0.0996094 12.5013 0.0996094C13.6306 0.0996094 14.723 0.501758 15.5827 1.23399C16.3439 1.88287 17.2904 2.27504 18.2875 2.35464C19.4135 2.44463 20.4706 2.93273 21.2693 3.73145C22.068 4.53017 22.5561 5.58727 22.6461 6.71324C22.7251 7.70989 23.1173 8.65694 23.7667 9.41799C24.499 10.2777 24.9011 11.3701 24.9011 12.4994C24.9011 13.6287 24.499 14.7211 23.7667 15.5808C23.1179 16.342 22.7257 17.2885 22.6461 18.2855C22.5561 19.4115 22.068 20.4686 21.2693 21.2673C20.4706 22.0661 19.4135 22.5542 18.2875 22.6441C17.2904 22.7237 16.3439 23.1159 15.5827 23.7648C14.723 24.497 13.6306 24.8992 12.5013 24.8992C11.3721 24.8992 10.2797 24.497 9.41995 23.7648C8.65876 23.1159 7.71225 22.7237 6.7152 22.6441C5.58923 22.5542 4.53213 22.0661 3.73341 21.2673C2.93469 20.4686 2.44658 19.4115 2.35659 18.2855C2.27699 17.2885 1.88482 16.342 1.23595 15.5808C0.503711 14.7211 0.101562 13.6287 0.101562 12.4994C0.101562 11.3701 0.503711 10.2777 1.23595 9.41799C1.88482 8.65681 2.27699 7.71029 2.35659 6.71324C2.44658 5.58727 2.93469 4.53017 3.73341 3.73145C4.53213 2.93273 5.58923 2.44463 6.7152 2.35464V2.35464ZM18.2472 10.4952C18.5295 10.2029 18.6858 9.81138 18.6822 9.40497C18.6787 8.99857 18.5157 8.60981 18.2283 8.32242C17.9409 8.03504 17.5522 7.87203 17.1458 7.8685C16.7394 7.86497 16.3478 8.0212 16.0555 8.30354L10.9513 13.4077L8.9472 11.4035C8.65486 11.1212 8.26333 10.965 7.85692 10.9685C7.45052 10.972 7.06176 11.135 6.77438 11.4224C6.48699 11.7098 6.32398 12.0986 6.32045 12.505C6.31692 12.9114 6.47315 13.3029 6.7555 13.5952L9.8555 16.6952C10.1462 16.9858 10.5403 17.1491 10.9513 17.1491C11.3624 17.1491 11.7565 16.9858 12.0472 16.6952L18.2472 10.4952V10.4952Z" fill="#50BE80"/>\n</svg>\n`;const te=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path fill-rule="evenodd" clip-rule="evenodd" d="M6.7152 2.35464C7.71225 2.27504 8.65876 1.88287 9.41995 1.23399C10.2797 0.501758 11.3721 0.0996094 12.5013 0.0996094C13.6306 0.0996094 14.723 0.501758 15.5827 1.23399C16.3439 1.88287 17.2904 2.27504 18.2875 2.35464C19.4135 2.44463 20.4706 2.93273 21.2693 3.73145C22.068 4.53017 22.5561 5.58727 22.6461 6.71324C22.7251 7.70989 23.1173 8.65694 23.7667 9.41799C24.499 10.2777 24.9011 11.3701 24.9011 12.4994C24.9011 13.6287 24.499 14.7211 23.7667 15.5808C23.1179 16.342 22.7257 17.2885 22.6461 18.2855C22.5561 19.4115 22.068 20.4686 21.2693 21.2673C20.4706 22.0661 19.4135 22.5542 18.2875 22.6441C17.2904 22.7237 16.3439 23.1159 15.5827 23.7648C14.723 24.497 13.6306 24.8992 12.5013 24.8992C11.3721 24.8992 10.2797 24.497 9.41995 23.7648C8.65876 23.1159 7.71225 22.7237 6.7152 22.6441C5.58923 22.5542 4.53213 22.0661 3.73341 21.2673C2.93469 20.4686 2.44658 19.4115 2.35659 18.2855C2.27699 17.2885 1.88482 16.342 1.23595 15.5808C0.503711 14.7211 0.101562 13.6287 0.101562 12.4994C0.101562 11.3701 0.503711 10.2777 1.23595 9.41799C1.88482 8.65681 2.27699 7.71029 2.35659 6.71324C2.44658 5.58727 2.93469 4.53017 3.73341 3.73145C4.53213 2.93273 5.58923 2.44463 6.7152 2.35464V2.35464ZM18.2472 10.4952C18.5295 10.2029 18.6858 9.81138 18.6822 9.40497C18.6787 8.99857 18.5157 8.60981 18.2283 8.32242C17.9409 8.03504 17.5522 7.87203 17.1458 7.8685C16.7394 7.86497 16.3478 8.0212 16.0555 8.30354L10.9513 13.4077L8.9472 11.4035C8.65486 11.1212 8.26333 10.965 7.85692 10.9685C7.45052 10.972 7.06176 11.135 6.77438 11.4224C6.48699 11.7098 6.32398 12.0986 6.32045 12.505C6.31692 12.9114 6.47315 13.3029 6.7555 13.5952L9.8555 16.6952C10.1462 16.9858 10.5403 17.1491 10.9513 17.1491C11.3624 17.1491 11.7565 16.9858 12.0472 16.6952L18.2472 10.4952V10.4952Z" fill="#63C58E"/>\n</svg>\n`;const ne='verdocs-status-indicator{display:-ms-flexbox;display:flex;font-size:18px;-ms-flex-wrap:nowrap;flex-wrap:nowrap;padding:4px 12px;border-radius:6px;color:#33364b;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;font-family:"Barlow", sans-serif}verdocs-status-indicator.has-document:hover{cursor:pointer;background:rgba(0, 0, 0, 0.1)}verdocs-status-indicator .icon{width:25px;height:25px;margin:0 10px -4px 0}verdocs-status-indicator.dark{color:#ffffff}verdocs-status-indicator.small{font-size:16px}verdocs-status-indicator.small .icon{width:20px;height:20px;margin:0 8px -4px 0}verdocs-status-indicator .detail-panel{display:none;background:#ffffff;border:1px solid #1e2031;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-ms-flex-direction:column;flex-direction:column;border-radius:10px;font-weight:500}verdocs-status-indicator .detail-panel h1{font-size:44px;color:#092c4c}verdocs-status-indicator .detail-panel[data-show]{display:-ms-flexbox;display:flex}';const se=140;const ie=40;const ee=40;const re=class{constructor(n){t(this,n);this.size="normal";this.theme="light";this.recipientStatusIcons=[]}componentDidLoad(){var t;this.popper=i(this.summaryComponent,this.detailPanel,{placement:"bottom-start",modifiers:[{name:"offset",options:{offset:[0,10]}}]});if((t=this.document)===null||t===void 0?void 0:t.recipients){const t=[];this.document.recipients.forEach((n=>{const s=n.sequence-1;t[s]||(t[s]=[]);const i=`r-${s}-${t[s].length}`;t[s].push({...n,id:i})}));const n=Object.keys(t).length;const s=n*ie+(n+1)*ee;let i=0;Object.values(t).forEach((t=>{let n=t.length*se+(t.length+1)*ee;if(n>i){i=n}}));const e=[];const r=[];const o=[];let h=ee;Object.entries(t).forEach((([n,s])=>{const u=s.length*(se+ee);const c=i-u;const l=ee/2+c/2;s.forEach(((s,i)=>{var u;const[c,f]=(s.full_name||"Unknown").toUpperCase().split(" ");const a=`${c} ${f===null||f===void 0?void 0:f.substring(0,1)}`;const d={id:s.id,text:a,icon:this.getStatusIcon(s.status),x:i*(se+ee)+l,y:h,width:se,height:ie,color:this.getStatusColor(s.status),radius:8};e.push(d);o.push({icon:this.getStatusIcon(s.status),x:i*(se+ee)+l+(se-32),y:h+ie/2-13});(u=t[+n-1])===null||u===void 0?void 0:u.forEach((t=>{const n={id:`line-${t.id}-${d.id}`,from:{element:t.id,point:"bottom"},to:{element:d.id,point:"top"},color:this.getStatusColor(s.status)};r.push(n)}))}));h+=ie+ee}));this.recipientStatusIcons=o;const u=Ti();u.initalize("#verdocs-recipient-status-diagram",i,s);u.update({entities:e,lines:r})}}showDropdown(){var t,n;this.isOpen=true;this.detailPanel.setAttribute("data-show","");this.detailPanel.removeAttribute("aria-hidden");(t=this.popper)===null||t===void 0?void 0:t.setOptions((t=>({...t,modifiers:[...t.modifiers,{name:"eventListeners",enabled:true}]})));(n=this.popper)===null||n===void 0?void 0:n.update()}handleHideDropdown(t){var n,s;if(((n=t===null||t===void 0?void 0:t.target)===null||n===void 0?void 0:n.localName)==="button"&&((s=t===null||t===void 0?void 0:t.target)===null||s===void 0?void 0:s.className)==="arrow"){return}this.hide()}toggleDropdown(){if(this.isOpen){this.hide()}else{this.showDropdown()}}hide(){var t;this.isOpen=false;this.detailPanel.removeAttribute("data-show");this.detailPanel.setAttribute("aria-hidden","true");(t=this.popper)===null||t===void 0?void 0:t.setOptions((t=>({...t,modifiers:[...t.modifiers,{name:"eventListeners",enabled:false}]})))}getStatusColor(t){switch(t){case"invited":case"opened":case"accepted":case"signed":return"#654dcb";case"some-signed":case"submitted":case"complete":return"#55bc81";case"declined":return"#ff0000";case"canceled":case"in progress":case"pending":default:return"#999999"}}getStatusIcon(t){switch(t){case"accepted":return this.theme==="light"?Si:Di;case"complete":return this.theme==="light"?Ii:Fi;case"in progress":return this.theme==="light"?Pi:Ri;case"canceled":return this.theme==="light"?zi:Zi;case"declined":return this.theme==="light"?Ni:$i;case"invited":return this.theme==="light"?Pi:Ri;case"opened":return this.theme==="light"?Yi:Gi;case"signed":return this.theme==="light"?qi:Ui;case"submitted":return this.theme==="light"?Ki:te;case"some-signed":return this.theme==="light"?Ji:Wi;default:case"pending":return this.theme==="light"?Xi:Qi}}getStatusMessage(t){switch(t){case"accepted":return"Accepted";case"complete":return"Completed";case"in progress":return"In Progress";case"canceled":return"Cancelled";case"declined":return"Declined";case"invited":return"Invited";case"opened":return"Opened";case"signed":return"Signed";case"submitted":return"Submitted";case"some-signed":return"Partly Signed";default:case"pending":return"Pending"}}render(){var t,i;let e=this.status||((t=this.document)===null||t===void 0?void 0:t.status)||"pending"||"accepted";if(!this.status&&((i=this.document)===null||i===void 0?void 0:i.recipients)){const t=this.document.recipients.filter((t=>t.status==="submitted"));if(t.length>0&&t.length!==this.document.recipients.length){e="some-signed"}}const r=this.getStatusIcon(e);const o=this.getStatusMessage(e);return n(s,{ref:t=>this.summaryComponent=t,class:`${this.theme} ${this.size} ${this.document?"has-document":""}`,"aria-label":"Click to View Details",onClick:()=>this.document&&this.toggleDropdown(),onBlur:t=>this.document&&this.handleHideDropdown(t)},n("span",{class:"icon",innerHTML:r}),n("span",{class:"content"},o),n("div",{class:"detail-panel",ref:t=>this.detailPanel=t},n("div",{id:"verdocs-recipient-status-diagram"}),this.recipientStatusIcons.map((t=>n("span",{innerHTML:t.icon,style:{position:"absolute",top:`${t.y}px`,left:`${t.x}px`}})))))}};re.style=ne;export{re as verdocs_status_indicator};
|
|
2
|
+
//# sourceMappingURL=p-4b0c711c.entry.js.map
|