@scouterna/ui-webc 3.2.0 → 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{index-BPpKjjvS.js → index-Vd3hlPvW.js} +35 -4
- package/dist/cjs/{inputMixin-D0IzcaXz.js → inputMixin-BsRV69ob.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/scout-app-bar.cjs.entry.js +2 -2
- package/dist/cjs/scout-avatar.cjs.entry.js +39 -0
- package/dist/cjs/scout-bottom-bar-item.cjs.entry.js +2 -2
- package/dist/cjs/scout-bottom-bar.cjs.entry.js +2 -2
- package/dist/cjs/scout-button.cjs.entry.js +1 -1
- package/dist/cjs/scout-card.cjs.entry.js +1 -1
- package/dist/cjs/scout-checkbox_2.cjs.entry.js +2 -2
- package/dist/cjs/scout-divider.cjs.entry.js +1 -1
- package/dist/cjs/scout-drawer.cjs.entry.js +841 -0
- package/dist/cjs/scout-field.cjs.entry.js +1 -1
- package/dist/cjs/scout-input.cjs.entry.js +2 -2
- package/dist/cjs/scout-link.cjs.entry.js +1 -1
- package/dist/cjs/scout-list-view-item.cjs.entry.js +2 -2
- package/dist/cjs/scout-list-view-subheader.cjs.entry.js +1 -1
- package/dist/cjs/scout-list-view.cjs.entry.js +7 -5
- package/dist/cjs/scout-loader.cjs.entry.js +1 -1
- package/dist/cjs/scout-segmented-control.cjs.entry.js +88 -0
- package/dist/cjs/scout-select.cjs.entry.js +3 -3
- package/dist/cjs/scout-stack.cjs.entry.js +3 -3
- package/dist/cjs/scout-switch.cjs.entry.js +3 -3
- package/dist/cjs/scout-tabs-tab.cjs.entry.js +2 -2
- package/dist/cjs/scout-tabs.cjs.entry.js +3 -3
- package/dist/cjs/ui-webc.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/app-bar/app-bar.css +5 -1
- package/dist/collection/components/avatar/assets/fallbackImage.png +0 -0
- package/dist/collection/components/avatar/avatar.css +7 -0
- package/dist/collection/components/avatar/avatar.js +88 -0
- package/dist/collection/components/bottom-bar/bottom-bar.css +7 -2
- package/dist/collection/components/bottom-bar-item/bottom-bar-item.css +16 -2
- package/dist/collection/components/drawer/drawer.css +157 -0
- package/dist/collection/components/drawer/drawer.js +323 -0
- package/dist/collection/components/list-view/list-view.css +7 -2
- package/dist/collection/components/list-view/list-view.js +6 -4
- package/dist/collection/components/list-view-item/list-view-item.css +16 -4
- package/dist/collection/components/segmented-control/segmented-control.css +68 -0
- package/dist/collection/components/segmented-control/segmented-control.js +185 -0
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/stack/stack.js +2 -2
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tabs/tabs.js +2 -2
- package/dist/collection/components/tabs-tab/tabs-tab.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/p-7UFtpiQE.js +1 -0
- package/dist/components/p-CWxftSWo.js +1 -0
- package/dist/components/p-DLiFilsh.js +1 -0
- package/dist/components/{p-CYcNS38J.js → p-DYpc8Wxz.js} +1 -1
- package/dist/components/scout-app-bar.js +1 -1
- package/dist/components/scout-avatar.d.ts +11 -0
- package/dist/components/scout-avatar.js +1 -0
- package/dist/components/scout-bottom-bar-item.js +1 -1
- package/dist/components/scout-bottom-bar.js +1 -1
- package/dist/components/scout-button.js +1 -1
- package/dist/components/scout-card.js +1 -1
- package/dist/components/scout-checkbox.js +1 -1
- package/dist/components/scout-divider.js +1 -1
- package/dist/components/scout-drawer.d.ts +11 -0
- package/dist/components/scout-drawer.js +1 -0
- package/dist/components/scout-field.js +1 -1
- package/dist/components/scout-input.js +1 -1
- package/dist/components/scout-link.js +1 -1
- package/dist/components/scout-list-view-item.js +1 -1
- package/dist/components/scout-list-view-subheader.js +1 -1
- package/dist/components/scout-list-view.js +1 -1
- package/dist/components/scout-loader.js +1 -1
- package/dist/components/scout-radio-button.js +1 -1
- package/dist/components/scout-segmented-control.d.ts +11 -0
- package/dist/components/scout-segmented-control.js +1 -0
- package/dist/components/scout-select.js +1 -1
- package/dist/components/scout-stack.js +1 -1
- package/dist/components/scout-switch.js +1 -1
- package/dist/components/scout-tabs-tab.js +1 -1
- package/dist/components/scout-tabs.js +1 -1
- package/dist/custom-elements.json +475 -1
- package/dist/esm/{index-CBq_WkdR.js → index-BtN0bCWb.js} +35 -5
- package/dist/esm/{inputMixin-CArDsEiI.js → inputMixin-DC4hF1Lp.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/scout-app-bar.entry.js +2 -2
- package/dist/esm/scout-avatar.entry.js +37 -0
- package/dist/esm/scout-bottom-bar-item.entry.js +2 -2
- package/dist/esm/scout-bottom-bar.entry.js +2 -2
- package/dist/esm/scout-button.entry.js +1 -1
- package/dist/esm/scout-card.entry.js +1 -1
- package/dist/esm/scout-checkbox_2.entry.js +2 -2
- package/dist/esm/scout-divider.entry.js +1 -1
- package/dist/esm/scout-drawer.entry.js +839 -0
- package/dist/esm/scout-field.entry.js +1 -1
- package/dist/esm/scout-input.entry.js +2 -2
- package/dist/esm/scout-link.entry.js +1 -1
- package/dist/esm/scout-list-view-item.entry.js +2 -2
- package/dist/esm/scout-list-view-subheader.entry.js +1 -1
- package/dist/esm/scout-list-view.entry.js +7 -5
- package/dist/esm/scout-loader.entry.js +1 -1
- package/dist/esm/scout-segmented-control.entry.js +86 -0
- package/dist/esm/scout-select.entry.js +3 -3
- package/dist/esm/scout-stack.entry.js +3 -3
- package/dist/esm/scout-switch.entry.js +3 -3
- package/dist/esm/scout-tabs-tab.entry.js +2 -2
- package/dist/esm/scout-tabs.entry.js +3 -3
- package/dist/esm/ui-webc.js +3 -3
- package/dist/types/components/avatar/avatar.d.ts +16 -0
- package/dist/types/components/drawer/drawer.d.ts +53 -0
- package/dist/types/components/segmented-control/segmented-control.d.ts +40 -0
- package/dist/types/components/tabs/tabs.d.ts +1 -1
- package/dist/types/components.d.ts +252 -0
- package/dist/ui-webc/assets/fallbackImage.png +0 -0
- package/dist/ui-webc/p-0b313ae9.entry.js +1 -0
- package/dist/ui-webc/p-1c5b40f5.entry.js +1 -0
- package/dist/ui-webc/p-214dc4e4.entry.js +1 -0
- package/dist/ui-webc/{p-a153023c.entry.js → p-2d773911.entry.js} +1 -1
- package/dist/ui-webc/{p-c0696c1f.entry.js → p-4d676928.entry.js} +1 -1
- package/dist/ui-webc/p-4d905b20.entry.js +1 -0
- package/dist/ui-webc/{p-f8a4ef3d.entry.js → p-5b0e6de5.entry.js} +1 -1
- package/dist/ui-webc/p-6bd3258b.entry.js +1 -0
- package/dist/ui-webc/p-6fea31a0.entry.js +1 -0
- package/dist/ui-webc/{p-6287efe7.entry.js → p-70c0acea.entry.js} +1 -1
- package/dist/ui-webc/p-74bd1d24.entry.js +1 -0
- package/dist/ui-webc/{p-0e444b1f.entry.js → p-8c81f27f.entry.js} +1 -1
- package/dist/ui-webc/{p-ff537388.entry.js → p-9c8d24b2.entry.js} +1 -1
- package/dist/ui-webc/p-9e3739c6.entry.js +1 -0
- package/dist/ui-webc/p-BtN0bCWb.js +2 -0
- package/dist/ui-webc/{p-6xDaXBJm.js → p-DMdnqqlQ.js} +1 -1
- package/dist/ui-webc/{p-b699617e.entry.js → p-a26bd0db.entry.js} +1 -1
- package/dist/ui-webc/{p-a2c09e05.entry.js → p-cec7a021.entry.js} +1 -1
- package/dist/ui-webc/p-d0fc1cd6.entry.js +1 -0
- package/dist/ui-webc/p-d76c67a5.entry.js +1 -0
- package/dist/ui-webc/{p-8f5965aa.entry.js → p-d88cbd78.entry.js} +1 -1
- package/dist/ui-webc/{p-f8099e5b.entry.js → p-db109100.entry.js} +1 -1
- package/dist/ui-webc/{p-6825e415.entry.js → p-ee796725.entry.js} +1 -1
- package/dist/ui-webc/{p-189879c2.entry.js → p-f1fb33e9.entry.js} +1 -1
- package/dist/ui-webc/ui-webc.css +2 -2
- package/dist/ui-webc/ui-webc.esm.js +1 -1
- package/package.json +3 -2
- package/dist/components/p-CXXyN7aY.js +0 -1
- package/dist/components/p-CpD1flSg.js +0 -1
- package/dist/components/p-a16hBieR.js +0 -1
- package/dist/ui-webc/p-60cd6c7e.entry.js +0 -1
- package/dist/ui-webc/p-78126f74.entry.js +0 -1
- package/dist/ui-webc/p-CBq_WkdR.js +0 -2
- package/dist/ui-webc/p-c4f7cfa2.entry.js +0 -1
- package/dist/ui-webc/p-cdc127de.entry.js +0 -1
- package/dist/ui-webc/p-db40c987.entry.js +0 -1
- package/dist/ui-webc/p-f799b2d8.entry.js +0 -1
- package/dist/ui-webc/p-fe2020a1.entry.js +0 -1
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
import { Host, h, } from "@stencil/core";
|
|
2
|
+
/**
|
|
3
|
+
* The segmented control component presents a set of options where exactly one
|
|
4
|
+
* option is active at a time.
|
|
5
|
+
*
|
|
6
|
+
* The component displays an indicator under the selected option and emits a
|
|
7
|
+
* `scoutChange` event when the user picks a different option, so you can update
|
|
8
|
+
* `value`.
|
|
9
|
+
*
|
|
10
|
+
* Use button elements as the slotted segment options.
|
|
11
|
+
*/
|
|
12
|
+
export class ScoutSegmentedControl {
|
|
13
|
+
/**
|
|
14
|
+
* Visual size of the segmented control.
|
|
15
|
+
* Use `small` for dense layouts and `medium` for the default size.
|
|
16
|
+
*/
|
|
17
|
+
size = "medium";
|
|
18
|
+
/**
|
|
19
|
+
* Zero-based index of the currently active segment.
|
|
20
|
+
*/
|
|
21
|
+
value = 0;
|
|
22
|
+
/**
|
|
23
|
+
* Emitted when the active segment changes as a result of a user click.
|
|
24
|
+
* The `value` in the event detail is the zero-based index of the newly selected segment.
|
|
25
|
+
*/
|
|
26
|
+
scoutChange;
|
|
27
|
+
widths = [];
|
|
28
|
+
lefts = [];
|
|
29
|
+
enableAnimations = false;
|
|
30
|
+
el;
|
|
31
|
+
render() {
|
|
32
|
+
const sizeClass = this.size === "small" ? "small" : "";
|
|
33
|
+
const noTransitionClass = this.enableAnimations ? "" : "no-transition";
|
|
34
|
+
return (h(Host, { key: '2d8b54a8df11bf86dba14ec39590faf531a6db37', class: `${sizeClass} ${noTransitionClass}` }, h("slot", { key: '7b80b3510c5fb1540198825ab956acc73c6ae7ae' }), this.getIndicator()));
|
|
35
|
+
}
|
|
36
|
+
componentDidLoad() {
|
|
37
|
+
this.updateChildrenAttributes();
|
|
38
|
+
this.calculateIndicatorSizes();
|
|
39
|
+
requestAnimationFrame(() => {
|
|
40
|
+
this.enableAnimations = true;
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
getIndicator() {
|
|
44
|
+
const width = this.widths[this.value] || 0;
|
|
45
|
+
const left = this.lefts[this.value] || 0;
|
|
46
|
+
const indicatorStyle = {
|
|
47
|
+
width: `${width}px`,
|
|
48
|
+
transform: `translateX(${left}px)`,
|
|
49
|
+
};
|
|
50
|
+
return h("div", { "aria-hidden": "true", class: "indicator", style: indicatorStyle });
|
|
51
|
+
}
|
|
52
|
+
handleClick(event) {
|
|
53
|
+
const target = event.target;
|
|
54
|
+
const buttons = Array.from(this.el.children);
|
|
55
|
+
const clickedIndex = buttons.indexOf(target);
|
|
56
|
+
if (clickedIndex !== -1 && clickedIndex !== this.value) {
|
|
57
|
+
this.scoutChange.emit({ value: clickedIndex });
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
updateChildrenAttributes() {
|
|
61
|
+
Array.from(this.el.children).forEach((child, index) => {
|
|
62
|
+
const button = child;
|
|
63
|
+
button.role = "radio";
|
|
64
|
+
if (index === this.value) {
|
|
65
|
+
button.ariaChecked = "true";
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
68
|
+
button.ariaChecked = "false";
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
calculateIndicatorSizes() {
|
|
73
|
+
// Get left padding of container
|
|
74
|
+
const baseLeft = parseFloat(getComputedStyle(this.el).paddingLeft) || 0;
|
|
75
|
+
this.widths = Array.from(this.el.children).map((child) => child.offsetWidth);
|
|
76
|
+
this.lefts = this.widths.map((_, index) => this.widths.slice(0, index).reduce((acc, w) => acc + w, 0) + baseLeft);
|
|
77
|
+
}
|
|
78
|
+
static get is() { return "scout-segmented-control"; }
|
|
79
|
+
static get encapsulation() { return "shadow"; }
|
|
80
|
+
static get delegatesFocus() { return true; }
|
|
81
|
+
static get originalStyleUrls() {
|
|
82
|
+
return {
|
|
83
|
+
"$": ["segmented-control.css"]
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
static get styleUrls() {
|
|
87
|
+
return {
|
|
88
|
+
"$": ["segmented-control.css"]
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
static get properties() {
|
|
92
|
+
return {
|
|
93
|
+
"size": {
|
|
94
|
+
"type": "string",
|
|
95
|
+
"mutable": false,
|
|
96
|
+
"complexType": {
|
|
97
|
+
"original": "Size",
|
|
98
|
+
"resolved": "\"medium\" | \"small\"",
|
|
99
|
+
"references": {
|
|
100
|
+
"Size": {
|
|
101
|
+
"location": "local",
|
|
102
|
+
"path": "/home/runner/work/j26-components/j26-components/packages/ui-webc/src/components/segmented-control/segmented-control.tsx",
|
|
103
|
+
"id": "src/components/segmented-control/segmented-control.tsx::Size"
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"required": false,
|
|
108
|
+
"optional": false,
|
|
109
|
+
"docs": {
|
|
110
|
+
"tags": [],
|
|
111
|
+
"text": "Visual size of the segmented control.\nUse `small` for dense layouts and `medium` for the default size."
|
|
112
|
+
},
|
|
113
|
+
"getter": false,
|
|
114
|
+
"setter": false,
|
|
115
|
+
"reflect": false,
|
|
116
|
+
"attribute": "size",
|
|
117
|
+
"defaultValue": "\"medium\""
|
|
118
|
+
},
|
|
119
|
+
"value": {
|
|
120
|
+
"type": "number",
|
|
121
|
+
"mutable": false,
|
|
122
|
+
"complexType": {
|
|
123
|
+
"original": "number",
|
|
124
|
+
"resolved": "number",
|
|
125
|
+
"references": {}
|
|
126
|
+
},
|
|
127
|
+
"required": false,
|
|
128
|
+
"optional": false,
|
|
129
|
+
"docs": {
|
|
130
|
+
"tags": [],
|
|
131
|
+
"text": "Zero-based index of the currently active segment."
|
|
132
|
+
},
|
|
133
|
+
"getter": false,
|
|
134
|
+
"setter": false,
|
|
135
|
+
"reflect": false,
|
|
136
|
+
"attribute": "value",
|
|
137
|
+
"defaultValue": "0"
|
|
138
|
+
}
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
static get states() {
|
|
142
|
+
return {
|
|
143
|
+
"widths": {},
|
|
144
|
+
"lefts": {},
|
|
145
|
+
"enableAnimations": {}
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
static get events() {
|
|
149
|
+
return [{
|
|
150
|
+
"method": "scoutChange",
|
|
151
|
+
"name": "scoutChange",
|
|
152
|
+
"bubbles": true,
|
|
153
|
+
"cancelable": true,
|
|
154
|
+
"composed": true,
|
|
155
|
+
"docs": {
|
|
156
|
+
"tags": [],
|
|
157
|
+
"text": "Emitted when the active segment changes as a result of a user click.\nThe `value` in the event detail is the zero-based index of the newly selected segment."
|
|
158
|
+
},
|
|
159
|
+
"complexType": {
|
|
160
|
+
"original": "{ value: number }",
|
|
161
|
+
"resolved": "{ value: number; }",
|
|
162
|
+
"references": {}
|
|
163
|
+
}
|
|
164
|
+
}];
|
|
165
|
+
}
|
|
166
|
+
static get elementRef() { return "el"; }
|
|
167
|
+
static get watchers() {
|
|
168
|
+
return [{
|
|
169
|
+
"propName": "value",
|
|
170
|
+
"methodName": "updateChildrenAttributes"
|
|
171
|
+
}, {
|
|
172
|
+
"propName": "value",
|
|
173
|
+
"methodName": "calculateIndicatorSizes"
|
|
174
|
+
}];
|
|
175
|
+
}
|
|
176
|
+
static get listeners() {
|
|
177
|
+
return [{
|
|
178
|
+
"name": "click",
|
|
179
|
+
"method": "handleClick",
|
|
180
|
+
"target": undefined,
|
|
181
|
+
"capture": true,
|
|
182
|
+
"passive": false
|
|
183
|
+
}];
|
|
184
|
+
}
|
|
185
|
+
}
|
|
@@ -21,7 +21,7 @@ export class ScoutSelect extends Mixin(inputMixin) {
|
|
|
21
21
|
disabled = false;
|
|
22
22
|
name;
|
|
23
23
|
render() {
|
|
24
|
-
return (h("div", { key: '
|
|
24
|
+
return (h("div", { key: 'e310b4c1428ca0cfd1a8b27972a984fea3cc71a3', class: "select-wrapper" }, h("select", { key: '4573604ba50d2d59f73050e0f1964e693854e0bf', ref: (el) => this.setInputRef(el), id: this.ariaId, name: this.name, class: "select", disabled: this.disabled, onChange: () => this.onInput(), onBlur: () => this.onBlur(), onInvalid: () => this.onInvalid() }, h("slot", { key: '6b94eb31ab85b85af76f5b14418ccac2799904fc' })), h("span", { key: '84d7635264f72630763e4018feeb7f47a2bf927b', class: "select-icon", style: { "--icon-chevron": `url(${chevronIcon})` }, "aria-hidden": "true" })));
|
|
25
25
|
}
|
|
26
26
|
static get is() { return "scout-select"; }
|
|
27
27
|
static get encapsulation() { return "scoped"; }
|
|
@@ -18,10 +18,10 @@ export class ScoutStack {
|
|
|
18
18
|
*/
|
|
19
19
|
gapSize = "m";
|
|
20
20
|
render() {
|
|
21
|
-
return (h(Host, { key: '
|
|
21
|
+
return (h(Host, { key: 'cf8f24869700a8f07be858433970b07f77a15c70', style: {
|
|
22
22
|
"--stack-flex-direction": `${this.direction}`,
|
|
23
23
|
"--stack-gap-spacing": `var(--spacing-${GapSizeValues[this.gapSize]})`,
|
|
24
|
-
} }, h("slot", { key: '
|
|
24
|
+
} }, h("slot", { key: '5673836639ec9e40da4e6558b8e42029dda5ff95' })));
|
|
25
25
|
}
|
|
26
26
|
static get is() { return "scout-stack"; }
|
|
27
27
|
static get encapsulation() { return "shadow"; }
|
|
@@ -29,7 +29,7 @@ export class ScoutSwitch extends Mixin(inputMixin) {
|
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
31
|
const Tag = this.label?.length ? "label" : "div";
|
|
32
|
-
return (h(Tag, { key: '
|
|
32
|
+
return (h(Tag, { key: '6d15a65d5338857bcecb4f5e80dce58d37c03153' }, this.label, h("span", { key: 'b398f86314685fe31394fe35eef10a515f5d9936', class: "inlineDivider" }), h("input", { key: '555d43eb9526f3831a127b316fa4142140056fb6', ref: (el) => this.setInputRef(el), id: this.ariaId, type: "checkbox", class: "switch", "aria-labelledby": this.ariaLabelledby, "aria-disabled": this.disabled, disabled: this.disabled, checked: this.toggled, onChange: (event) => {
|
|
33
33
|
this.onInput();
|
|
34
34
|
this.onChange(event);
|
|
35
35
|
}, onBlur: () => this.onBlur(), onInvalid: () => this.onInvalid() })));
|
|
@@ -8,7 +8,6 @@ import { Host, h, } from "@stencil/core";
|
|
|
8
8
|
* handled programmatically for now.
|
|
9
9
|
*/
|
|
10
10
|
export class ScoutTabs {
|
|
11
|
-
el;
|
|
12
11
|
/**
|
|
13
12
|
* Zero-based index of the currently active tab.
|
|
14
13
|
*/
|
|
@@ -20,8 +19,9 @@ export class ScoutTabs {
|
|
|
20
19
|
scoutChange;
|
|
21
20
|
widths = [];
|
|
22
21
|
lefts = [];
|
|
22
|
+
el;
|
|
23
23
|
render() {
|
|
24
|
-
return (h(Host, { key: '
|
|
24
|
+
return (h(Host, { key: '929deee05337a8f617c4e429db7b79a210d4aa9d' }, h("slot", { key: '1fe4833315de956310d25206d5bcc5cd82be93cf' }), this.getIndicator()));
|
|
25
25
|
}
|
|
26
26
|
componentDidLoad() {
|
|
27
27
|
this.updateChildrenClasses();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export class ScoutTabsTab {
|
|
3
3
|
render() {
|
|
4
|
-
return (h("button", { key: '
|
|
4
|
+
return (h("button", { key: 'ba1a973a3eaf5e02ca19525aa1bb66616d5b56ac', class: "button-native", type: "button" }, h("div", { key: 'f0daa636e1b3d0058d198e469e0f4874c37a7ca1', class: "inner-container" }, h("slot", { key: '19587f0a7794cbfa646c383e0b57ffb90ce4b67c' }))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "scout-tabs-tab"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
package/dist/components/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{g as getAssetPath,r as render,s as setAssetPath,a as setNonce,b as setPlatformOptions}from"./p-
|
|
1
|
+
export{g as getAssetPath,r as render,s as setAssetPath,a as setNonce,b as setPlatformOptions}from"./p-DLiFilsh.js";function t(s,t,e){return(s||"")+(t?" "+t:"")+(e?" "+e:"")}export{t as format}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./p-DLiFilsh.js";const t=t=>class extends t{constructor(){super()}validity;scoutInputChange;scoutBlur;scoutValidate;_scoutValidityChanged;_scoutInvalid;_scoutFieldId;ariaId;inputElement;componentWillLoad(){this.ariaId=`_${Math.random().toString(36).substring(2,9)}`,this._scoutFieldId.emit(this.ariaId)}componentDidLoad(){this.emitValidityEvent()}onInput(){this.emitValidityEvent(),this.scoutInputChange.emit({value:this.inputElement.value,element:this.inputElement})}onBlur(){this.scoutBlur.emit()}onInvalid(){this._scoutInvalid.emit()}emitValidityEvent(){this.scoutValidate.emit({value:this.inputElement.value,element:this.inputElement})}runValidation(){this.inputElement.setCustomValidity(this.validity??""),this._scoutValidityChanged.emit({element:this.inputElement})}setInputRef(t){this.inputElement=t}};export{t as i}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as o,M as a,c as t,h as e,t as r}from"./p-DLiFilsh.js";import{i}from"./p-7UFtpiQE.js";const s=o(class extends(a(i)){constructor(o){super(!1),!1!==o&&this.__registerHost(),this.scoutInputChange=t(this,"scoutInputChange"),this.scoutBlur=t(this,"scoutBlur"),this.scoutValidate=t(this,"scoutValidate"),this._scoutValidityChanged=t(this,"_scoutValidityChanged"),this._scoutInvalid=t(this,"_scoutInvalid"),this._scoutFieldId=t(this,"_scoutFieldId"),this.scoutChecked=t(this,"scoutChecked")}checked=!1;disabled=!1;ariaLabelledby;label;value;name;scoutChecked;onChange(o){const a=o.target;this.scoutChecked.emit({checked:a.checked,element:a})}render(){return e(this.label?.length?"label":"div",{key:"22df090dcbf2f2b4b14b7cad8d34500295045f70"},e("input",{key:"3bcc5022fa6202fd1fe733c1a8430f7ed1a54cf4",ref:o=>this.setInputRef(o),id:this.ariaId,type:"radio",value:this.value,name:this.name,class:"radio","aria-labelledby":this.ariaLabelledby,"aria-disabled":this.disabled,disabled:this.disabled,checked:this.checked,onChange:o=>{this.onInput(),this.onChange(o)},onBlur:()=>this.onBlur(),onInvalid:()=>this.onInvalid()}),this.label)}static get watchers(){return{validity:[{runValidation:0}]}}static get style(){return'.radio.sc-scout-radio-button{width:var(--spacing-6);height:var(--spacing-6);-moz-appearance:none;appearance:none;-webkit-appearance:none;display:flex;align-content:center;justify-content:center;border-radius:100%;background-color:var(--color-white);border:2px solid var(--color-gray-300);position:relative}@media (hover: hover){.radio.sc-scout-radio-button:hover{border:2px solid var(--color-gray-400);box-shadow:inset 0px 0px 5px 5px var(--color-background-brand-subtle-hovered);cursor:pointer}}.radio.sc-scout-radio-button:active{background-color:var(--color-background-brand-subtle-pressed)}@media (hover: hover){.radio.sc-scout-radio-button:checked:hover{border-color:var(--color-background-brand-hovered);box-shadow:none}.radio.sc-scout-radio-button:checked:hover::before{background-color:var(--color-background-brand-hovered)}}.radio.sc-scout-radio-button:checked{border-color:var(--color-background-brand-base)}.radio.sc-scout-radio-button::after{content:"";position:absolute;width:var(--spacing-10);height:var(--spacing-10);top:50%;left:50%;transform:translate(-50%, -50%)}.radio.sc-scout-radio-button:checked::before{content:"";background-color:var(--color-background-brand-base);width:var(--spacing-4);height:var(--spacing-4);position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);border-radius:100%}.radio.sc-scout-radio-button:disabled{pointer-events:none;background-color:var(--color-gray-100);border-color:var(--color-gray-100)}label.sc-scout-radio-button{display:flex;align-items:center;gap:var(--spacing-2);font:var(--type-label-base);color:var(--color-text-base)}'}},[514,"scout-radio-button",{validity:[1],checked:[4],disabled:[4],ariaLabelledby:[1,"aria-labelledby"],label:[1],value:[1],name:[1],ariaId:[32]},void 0,{validity:[{runValidation:0}]}]);function c(){"undefined"!=typeof customElements&&["scout-radio-button"].forEach((o=>{"scout-radio-button"===o&&(customElements.get(r(o))||customElements.define(r(o),s))}))}export{s as S,c as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=':root{--misc-color-annotations:#ff00ff;--color-blue-50:#e6eeff;--color-blue-100:#d0e0ff;--color-blue-200:#9cc3ff;--color-blue-300:#58a6ff;--color-blue-400:#0087e3;--color-blue-500:#006bb5;--color-blue-600:#00508a;--color-blue-700:#003660;--color-blue-800:#002748;--color-blue-900:#00162d;--color-blue-950:#000f21;--color-neutral-50:#ebf1f7;--color-neutral-100:#d7e4f0;--color-neutral-200:#b1cde3;--color-neutral-300:#87b3d4;--color-neutral-400:#749bb7;--color-neutral-500:#608199;--color-neutral-600:#4c667a;--color-neutral-700:#374b5a;--color-neutral-800:#25343f;--color-neutral-900:#131d24;--color-neutral-950:#0a1217;--color-white:#ffffff;--color-challengerpink-50:#fff0f2;--color-challengerpink-100:#ffdde3;--color-challengerpink-200:#ffbac7;--color-challengerpink-300:#ff93ab;--color-challengerpink-400:#ff668e;--color-challengerpink-500:#ff1271;--color-challengerpink-600:#da005e;--color-challengerpink-700:#a60046;--color-challengerpink-800:#72002e;--color-challengerpink-900:#470019;--color-challengerpink-950:#30000f;--color-orange-50:#fffbeb;--color-orange-100:#fef3c7;--color-orange-200:#fde68a;--color-orange-300:#fcd34d;--color-orange-400:#fbbf24;--color-orange-500:#f59e0b;--color-orange-600:#d97706;--color-orange-700:#b45309;--color-orange-800:#92400e;--color-orange-900:#78350f;--color-orange-950:#451a03;--color-gray-50:#f2f2f6;--color-gray-100:#e5e5e6;--color-gray-200:#cbccce;--color-gray-300:#b2b3b6;--color-gray-400:#9c9ea1;--color-gray-500:#85868a;--color-gray-600:#6e7073;--color-gray-700:#585a5c;--color-gray-800:#444547;--color-gray-900:#252627;--color-gray-950:#151616;--color-discovererblue-50:#eaf5ff;--color-discovererblue-100:#cde9ff;--color-discovererblue-200:#92d4ff;--color-discovererblue-300:#1ec0ff;--color-discovererblue-400:#00a8e1;--color-discovererblue-500:#008bbb;--color-discovererblue-600:#006d94;--color-discovererblue-700:#01516f;--color-discovererblue-800:#00394f;--color-discovererblue-900:#00202f;--color-discovererblue-950:#00131d;--color-trackergreen-50:#ccfec6;--color-trackergreen-100:#85fd72;--color-trackergreen-200:#5be23d;--color-trackergreen-300:#4ec333;--color-trackergreen-400:#41a629;--color-trackergreen-500:#348821;--color-trackergreen-600:#286c18;--color-trackergreen-700:#1c5110;--color-trackergreen-800:#113808;--color-trackergreen-900:#072103;--color-trackergreen-950:#031501;--color-green-50:#f0fdf4;--color-green-100:#dcfce7;--color-green-200:#b9f8cf;--color-green-300:#7bf1a8;--color-green-400:#05df72;--color-green-500:#00c950;--color-green-600:#00a63e;--color-green-700:#008236;--color-green-800:#016630;--color-green-900:#0d542b;--color-green-950:#032e15;--color-red-50:#fef2f2;--color-red-100:#ffe2e2;--color-red-200:#ffc9c9;--color-red-300:#ffa2a2;--color-red-400:#ff6467;--color-red-500:#fb2c36;--color-red-600:#e7000b;--color-red-700:#c10007;--color-red-800:#9f0712;--color-red-900:#82181a;--color-red-950:#460809;--color-black:#000000;--color-roveryellow-50:#fffd62;--color-roveryellow-100:#f4f203;--color-roveryellow-200:#e2e000;--color-roveryellow-300:#c3c100;--color-roveryellow-400:#a4a300;--color-roveryellow-500:#878500;--color-roveryellow-600:#6a6900;--color-roveryellow-700:#515000;--color-roveryellow-800:#373700;--color-roveryellow-900:#1f1f00;--color-roveryellow-950:#121200;--color-adventurerorange-50:#fff1ee;--color-adventurerorange-100:#fee2dd;--color-adventurerorange-200:#fec0b4;--color-adventurerorange-300:#fda18b;--color-adventurerorange-400:#fd7a4c;--color-adventurerorange-500:#e95f13;--color-adventurerorange-600:#b94a0d;--color-adventurerorange-700:#8e3708;--color-adventurerorange-800:#622303;--color-adventurerorange-900:#3c1301;--color-adventurerorange-950:#280a01;--fontsize-base:1rem;--fontfamily-sans:"Source Sans 3 Variable", sans-serif;--spacing-base:0.25rem;--color-text-caution-base:var(--color-orange-700);--color-text-caution-bold-base:var(--color-orange-50);--color-text-brand-base:var(--color-blue-700);--color-text-brand-inverse:var(--color-white);--color-text-danger-base:var(--color-red-700);--color-text-danger-bold-base:var(--color-red-50);--color-text-positive-bold-base:var(--color-green-50);--color-text-positive-base:var(--color-green-700);--color-text-base:var(--color-neutral-800);--color-background-danger-base:var(--color-red-100);--color-background-danger-bold-base:var(--color-red-700);--color-background-danger-bold-hovered:var(--color-red-800);--color-background-danger-bold-pressed:var(--color-red-900);--color-background-brand-subtle-hovered:var(--color-blue-50);--color-background-brand-subtle-pressed:var(--color-blue-100);--color-background-brand-subtle-base:var(--color-blue-700);--color-background-brand-hovered:var(--color-blue-800);--color-background-brand-pressed:var(--color-blue-900);--color-background-brand-base:var(--color-blue-700);--color-background-positive-base:var(--color-green-100);--color-background-positive-bold-base:var(--color-green-700);--color-background-positive-bold-hovered:var(--color-green-800);--color-background-positive-bold-pressed:var(--color-green-900);--color-background-caution-base:var(--color-orange-100);--color-background-caution-bold-base:var(--color-orange-700);--color-background-caution-bold-hovered:var(--color-orange-800);--color-background-caution-bold-pressed:var(--color-orange-900);--fontsize-lg:calc(var(--fontsize-base)*1.125);--fontsize-sm:calc(var(--fontsize-base)*0.875);--fontsize-xs:calc(var(--fontsize-base)*0.75);--fontsize-3xl:calc(var(--fontsize-base)*1.875);--fontsize-4xl:calc(var(--fontsize-base)*2.25);--fontsize-2xl:calc(var(--fontsize-base)*1.5);--fontsize-xl:calc(var(--fontsize-base)*1.25);--fontsize-6xl:calc(var(--fontsize-base)*3.75);--fontsize-5xl:calc(var(--fontsize-base)*3);--spacing-1:calc(var(--spacing-base)*1);--spacing-2:calc(var(--spacing-base)*2);--spacing-3:calc(var(--spacing-base)*3);--spacing-4:calc(var(--spacing-base)*4);--spacing-5:calc(var(--spacing-base)*5);--spacing-6:calc(var(--spacing-base)*6);--spacing-7:calc(var(--spacing-base)*7);--spacing-8:calc(var(--spacing-base)*8);--spacing-10:calc(var(--spacing-base)*10);--spacing-11:calc(var(--spacing-base)*11);--spacing-12:calc(var(--spacing-base)*12);--spacing-14:calc(var(--spacing-base)*14);--spacing-16:calc(var(--spacing-base)*16);--spacing-17:calc(var(--spacing-base)*17);--spacing-18:calc(var(--spacing-base)*18);--spacing-20:calc(var(--spacing-base)*20);--spacing-24:calc(var(--spacing-base)*24);--spacing-28:calc(var(--spacing-base)*28);--spacing-32:calc(var(--spacing-base)*32);--spacing-36:calc(var(--spacing-base)*36);--spacing-40:calc(var(--spacing-base)*40);--spacing-48:calc(var(--spacing-base)*48);--spacing-52:calc(var(--spacing-base)*52);--spacing-56:calc(var(--spacing-base)*56);--spacing-60:calc(var(--spacing-base)*60);--spacing-64:calc(var(--spacing-base)*64);--spacing-72:calc(var(--spacing-base)*72);--spacing-80:calc(var(--spacing-base)*80);--spacing-96:calc(var(--spacing-base)*96);--spacing-180:calc(var(--spacing-base)*180);--spacing-195:calc(var(--spacing-base)*195);--spacing-212:calc(var(--spacing-base)*212);--spacing-380:calc(var(--spacing-base)*380);--type-body-base:400 var(--fontsize-base)/1.5 var(--fontfamily-sans);--type-body-sm:400 var(--fontsize-sm)/1.5 var(--fontfamily-sans);--type-body-lg:400 var(--fontsize-lg)/1.5 var(--fontfamily-sans);--type-body-xl:400 var(--fontsize-xl)/1.5 var(--fontfamily-sans);--type-body-2xl:400 var(--fontsize-2xl)/1.5 var(--fontfamily-sans);--type-heading-xl:600 var(--fontsize-6xl)/1.2 var(--fontfamily-sans);--type-heading-lg:600 var(--fontsize-5xl)/1.2 var(--fontfamily-sans);--type-heading-base:600 var(--fontsize-4xl)/1.2 var(--fontfamily-sans);--type-heading-sm:600 var(--fontsize-3xl)/1.2 var(--fontfamily-sans);--type-heading-xs:600 var(--fontsize-2xl)/1.2 var(--fontfamily-sans);--type-label-base:400 var(--fontsize-base)/1.2 var(--fontfamily-sans);--type-label-2xl:400 var(--fontsize-2xl)/1.2 var(--fontfamily-sans);--type-label-lg:400 var(--fontsize-lg)/1.2 var(--fontfamily-sans);--type-label-sm:400 var(--fontsize-sm)/1.2 var(--fontfamily-sans);--type-label-xl:400 var(--fontsize-xl)/1.2 var(--fontfamily-sans)}/*! modern-normalize v3.0.1 | MIT License | https://github.com/sindresorhus/modern-normalize */*,::before,::after{box-sizing:border-box}html{font-family:system-ui,-apple-system,Segoe UI,Ubuntu,Cantarell,Noto Sans, "Segoe UI", Roboto, Helvetica, Arial, sans-serif,\n "Apple Color Emoji", "Segoe UI Emoji";line-height:1.15;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;}body{margin:0}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}table{border-color:currentcolor}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,[type="button"],[type="reset"],[type="submit"]{-webkit-appearance:button}legend{padding:0}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type="search"]{-webkit-appearance:textfield;outline-offset:-2px;}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}summary{display:list-item}.scout-type-body-base{font:400 1rem/1.5 "Source Sans 3 Variable", sans-serif;font:var(--type-body-base)}.scout-type-body-sm{font:400 calc(1rem*0.875)/1.5 "Source Sans 3 Variable", sans-serif;font:var(--type-body-sm)}.scout-type-body-lg{font:400 calc(1rem*1.125)/1.5 "Source Sans 3 Variable", sans-serif;font:var(--type-body-lg)}.scout-type-body-xl{font:400 calc(1rem*1.25)/1.5 "Source Sans 3 Variable", sans-serif;font:var(--type-body-xl)}.scout-type-body-2xl{font:400 calc(1rem*1.5)/1.5 "Source Sans 3 Variable", sans-serif;font:var(--type-body-2xl)}.scout-type-heading-xl{font:600 calc(1rem*3.75)/1.2 "Source Sans 3 Variable", sans-serif;font:var(--type-heading-xl)}.scout-type-heading-lg{font:600 calc(1rem*3)/1.2 "Source Sans 3 Variable", sans-serif;font:var(--type-heading-lg)}.scout-type-heading-base{font:600 calc(1rem*2.25)/1.2 "Source Sans 3 Variable", sans-serif;font:var(--type-heading-base)}.scout-type-heading-sm{font:600 calc(1rem*1.875)/1.2 "Source Sans 3 Variable", sans-serif;font:var(--type-heading-sm)}.scout-type-heading-xs{font:600 calc(1rem*1.5)/1.2 "Source Sans 3 Variable", sans-serif;font:var(--type-heading-xs)}.scout-type-label-base{font:400 1rem/1.2 "Source Sans 3 Variable", sans-serif;font:var(--type-label-base)}.scout-type-label-2xl{font:400 calc(1rem*1.5)/1.2 "Source Sans 3 Variable", sans-serif;font:var(--type-label-2xl)}.scout-type-label-lg{font:400 calc(1rem*1.125)/1.2 "Source Sans 3 Variable", sans-serif;font:var(--type-label-lg)}.scout-type-label-sm{font:400 calc(1rem*0.875)/1.2 "Source Sans 3 Variable", sans-serif;font:var(--type-label-sm)}.scout-type-label-xl{font:400 calc(1rem*1.25)/1.2 "Source Sans 3 Variable", sans-serif;font:var(--type-label-xl)}:root{font-family:"Source Sans 3 Variable", sans-serif;font-optical-sizing:auto;font-weight:400;font-style:normal}:host(.no-transition),:host(.no-transition) *,:host(.no-transition) ::slotted(*){transition:none !important}';var t,o,r,n,s,i,a,l,c,f,u,h,p,b,d,g,v,y,m,w=Object.create,S=Object.defineProperty,$=Object.getOwnPropertyDescriptor,k=Object.getOwnPropertyNames,x=Object.getPrototypeOf,z=Object.prototype.hasOwnProperty,O=e=>{throw TypeError(e)},j=(e,t)=>function(){return t||(0,e[k(e)[0]])((t={exports:{}}).exports,t),t.exports},M=(e,t,o)=>t.has(e)||O("Cannot "+o),E=(e,t,o)=>(M(e,t,"read from private field"),o?o.call(e):t.get(e)),N=(e,t,o)=>t.has(e)?O("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,o),R=(e,t,o)=>(M(e,t,"write to private field"),t.set(e,o),o),A=(e,t,o)=>(M(e,t,"access private method"),o),P=j({"node_modules/balanced-match/index.js"(e,t){function o(e,t,o){e instanceof RegExp&&(e=r(e,o)),t instanceof RegExp&&(t=r(t,o));var s=n(e,t,o);return s&&{start:s[0],end:s[1],pre:o.slice(0,s[0]),body:o.slice(s[0]+e.length,s[1]),post:o.slice(s[1]+t.length)}}function r(e,t){var o=t.match(e);return o?o[0]:null}function n(e,t,o){var r,n,s,i,a,l=o.indexOf(e),c=o.indexOf(t,l+1),f=l;if(l>=0&&c>0){if(e===t)return[l,c];for(r=[],s=o.length;f>=0&&!a;)f==l?(r.push(f),l=o.indexOf(e,f+1)):1==r.length?a=[r.pop(),c]:((n=r.pop())<s&&(s=n,i=c),c=o.indexOf(t,f+1)),f=l<c&&l>=0?l:c;r.length&&(a=[s,i])}return a}t.exports=o,o.range=n}}),W=j({"node_modules/brace-expansion/index.js"(e,t){var o=P();t.exports=function(e){return e?("{}"===e.substr(0,2)&&(e="\\{\\}"+e.substr(2)),d(function(e){return e.split("\\\\").join(r).split("\\{").join(n).split("\\}").join(s).split("\\,").join(i).split("\\.").join(a)}(e),!0).map(c)):[]};var r="\0SLASH"+Math.random()+"\0",n="\0OPEN"+Math.random()+"\0",s="\0CLOSE"+Math.random()+"\0",i="\0COMMA"+Math.random()+"\0",a="\0PERIOD"+Math.random()+"\0";function l(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function c(e){return e.split(r).join("\\").split(n).join("{").split(s).join("}").split(i).join(",").split(a).join(".")}function f(e){if(!e)return[""];var t=[],r=o("{","}",e);if(!r)return e.split(",");var n=r.body,s=r.post,i=r.pre.split(",");i[i.length-1]+="{"+n+"}";var a=f(s);return s.length&&(i[i.length-1]+=a.shift(),i.push.apply(i,a)),t.push.apply(t,i),t}function u(e){return"{"+e+"}"}function h(e){return/^-?0\d/.test(e)}function p(e,t){return e<=t}function b(e,t){return e>=t}function d(e,t){var r=[],n=o("{","}",e);if(!n)return[e];var i=n.pre,a=n.post.length?d(n.post,!1):[""];if(/\$$/.test(n.pre))for(var c=0;c<a.length;c++)r.push(P=i+"{"+n.body+"}"+a[c]);else{var g,v,y=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(n.body),m=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(n.body),w=y||m,S=n.body.indexOf(",")>=0;if(!w&&!S)return n.post.match(/,(?!,).*\}/)?d(e=n.pre+"{"+n.body+s+n.post):[e];if(w)g=n.body.split(/\.\./);else if(1===(g=f(n.body)).length&&1===(g=d(g[0],!1).map(u)).length)return a.map((function(e){return n.pre+g[0]+e}));if(w){var $=l(g[0]),k=l(g[1]),x=Math.max(g[0].length,g[1].length),z=3==g.length?Math.abs(l(g[2])):1,O=p;k<$&&(z*=-1,O=b);var j=g.some(h);v=[];for(var M=$;O(M,k);M+=z){var E;if(m)"\\"===(E=String.fromCharCode(M))&&(E="");else if(E=String(M),j){var N=x-E.length;if(N>0){var R=new Array(N+1).join("0");E=M<0?"-"+R+E.slice(1):R+E}}v.push(E)}}else{v=[];for(var A=0;A<g.length;A++)v.push.apply(v,d(g[A],!1))}for(A=0;A<v.length;A++)for(c=0;c<a.length;c++){var P=i+v[A]+a[c];(!t||w||P)&&r.push(P)}}return r}}}),C=(e,t)=>{var o;Object.entries(null!=(o=t.o.t)?o:{}).map((([o,[r]])=>{if(31&r||32&r){const r=e[o],n=function(e,t){for(;e;){const o=Object.getOwnPropertyDescriptor(e,t);if(null==o?void 0:o.get)return o;e=Object.getPrototypeOf(e)}}(Object.getPrototypeOf(e),o)||Object.getOwnPropertyDescriptor(e,o);n&&Object.defineProperty(e,o,{get(){return n.get.call(this)},set(e){n.set.call(this,e)},configurable:!0,enumerable:!0}),e[o]=t.i.has(o)?t.i.get(o):r}}))},L=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},V=(e,t)=>t in e,T=(e,t)=>(0,console.error)(e,t),_=new Map,F="http://www.w3.org/1999/xlink",I="undefined"!=typeof window?window:{},U=I.HTMLElement||class{},D={l:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,o,r)=>e.addEventListener(t,o,r),rel:(e,t,o,r)=>e.removeEventListener(t,o,r),ce:(e,t)=>new CustomEvent(e,t)},B=(()=>{var e;let t=!1;try{null==(e=I.document)||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch(e){}return t})(),G=(()=>{try{return!!I.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(e){}return!1})(),H=!!G&&(()=>!!I.document&&Object.getOwnPropertyDescriptor(I.document.adoptedStyleSheets,"length").writable)(),Z=!1,q=[],Y=[],J=(e,t)=>o=>{e.push(o),Z||(Z=!0,t&&4&D.l?X(Q):D.raf(Q))},K=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){T(e)}e.length=0},Q=()=>{K(q),K(Y),(Z=q.length>0)&&D.raf(Q)},X=e=>Promise.resolve(undefined).then(e),ee=J(Y,!0),te=e=>{const t=new URL(e,D.u);return t.origin!==I.location.origin?t.href:t.pathname},oe=e=>D.u=e,re=e=>"object"==(e=typeof e)||"function"===e,ne=(o=null!=(t=W())?w(x(t)):{},((e,t,o,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of k(t))z.call(e,o)||undefined===o||S(e,o,{get:()=>t[o],enumerable:!(r=$(t,o))||r.enumerable});return e})(S(o,"default",{value:t,enumerable:!0}),t)),se=e=>{if("string"!=typeof e)throw new TypeError("invalid pattern");if(e.length>65536)throw new TypeError("pattern is too long")},ie={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},ae=e=>e.replace(/[[\]\\-]/g,"\\$&"),le=e=>e.join(""),ce=(e,t)=>{const o=t;if("["!==e.charAt(o))throw new Error("not in a brace expression");const r=[],n=[];let s=o+1,i=!1,a=!1,l=!1,c=!1,f=o,u="";e:for(;s<e.length;){const t=e.charAt(s);if("!"!==t&&"^"!==t||s!==o+1){if("]"===t&&i&&!l){f=s+1;break}if(i=!0,"\\"!==t||l){if("["===t&&!l)for(const[t,[i,l,c]]of Object.entries(ie))if(e.startsWith(t,s)){if(u)return["$.",!1,e.length-o,!0];s+=t.length,c?n.push(i):r.push(i),a=a||l;continue e}l=!1,u?(t>u?r.push(ae(u)+"-"+ae(t)):t===u&&r.push(ae(t)),u="",s++):e.startsWith("-]",s+1)?(r.push(ae(t+"-")),s+=2):e.startsWith("-",s+1)?(u=t,s+=2):(r.push(ae(t)),s++)}else l=!0,s++}else c=!0,s++}if(f<s)return["",!1,0,!1];if(!r.length&&!n.length)return["$.",!1,e.length-o,!0];if(0===n.length&&1===r.length&&/^\\?.$/.test(r[0])&&!c){return[(h=2===r[0].length?r[0].slice(-1):r[0],h.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")),!1,f-o,!1]}var h;const p="["+(c?"^":"")+le(r)+"]",b="["+(c?"":"^")+le(n)+"]";return[r.length&&n.length?"("+p+"|"+b+")":r.length?p:b,a,f-o,!0]},fe=(e,{windowsPathsNoEscape:t=!1}={})=>t?e.replace(/\[([^\/\\])\]/g,"$1"):e.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1"),ue=new Set(["!","?","+","*","@"]),he=e=>ue.has(e),pe="(?!\\.)",be=new Set(["[","."]),de=new Set(["..","."]),ge=new Set("().*{}+?[]^$\\!"),ve="[^/]",ye=ve+"*?",me=ve+"+?",we=class e{constructor(e,t,o={}){var d;N(this,b),((e,t,o)=>{t in e?S(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o})(this,"type"+"",d),N(this,r),N(this,n),N(this,s,!1),N(this,i,[]),N(this,a),N(this,l),N(this,c),N(this,f,!1),N(this,u),N(this,h),N(this,p,!1),this.type=e,e&&R(this,n,!0),R(this,a,t),R(this,r,E(this,a)?E(E(this,a),r):this),R(this,u,E(this,r)===this?o:E(E(this,r),u)),R(this,c,E(this,r)===this?[]:E(E(this,r),c)),"!"!==e||E(E(this,r),f)||E(this,c).push(this),R(this,l,E(this,a)?E(E(this,a),i).length:0)}get hasMagic(){if(void 0!==E(this,n))return E(this,n);for(const e of E(this,i))if("string"!=typeof e&&(e.type||e.hasMagic))return R(this,n,!0);return E(this,n)}toString(){return void 0!==E(this,h)?E(this,h):R(this,h,this.type?this.type+"("+E(this,i).map((e=>String(e))).join("|")+")":E(this,i).map((e=>String(e))).join(""))}push(...t){for(const o of t)if(""!==o){if("string"!=typeof o&&!(o instanceof e&&E(o,a)===this))throw new Error("invalid part: "+o);E(this,i).push(o)}}toJSON(){var e;const t=null===this.type?E(this,i).slice().map((e=>"string"==typeof e?e:e.toJSON())):[this.type,...E(this,i).map((e=>e.toJSON()))];return this.isStart()&&!this.type&&t.unshift([]),this.isEnd()&&(this===E(this,r)||E(E(this,r),f)&&"!"===(null==(e=E(this,a))?void 0:e.type))&&t.push({}),t}isStart(){var t;if(E(this,r)===this)return!0;if(!(null==(t=E(this,a))?void 0:t.isStart()))return!1;if(0===E(this,l))return!0;const o=E(this,a);for(let t=0;t<E(this,l);t++){const r=E(o,i)[t];if(!(r instanceof e&&"!"===r.type))return!1}return!0}isEnd(){var e,t,o;if(E(this,r)===this)return!0;if("!"===(null==(e=E(this,a))?void 0:e.type))return!0;if(!(null==(t=E(this,a))?void 0:t.isEnd()))return!1;if(!this.type)return null==(o=E(this,a))?void 0:o.isEnd();const n=E(this,a)?E(E(this,a),i).length:0;return E(this,l)===n-1}copyIn(e){this.push("string"==typeof e?e:e.clone(this))}clone(t){const o=new e(this.type,t);for(const e of E(this,i))o.copyIn(e);return o}static fromGlob(t,o={}){var r;const n=new e(null,void 0,o);return A(r=e,g,v).call(r,t,n,0,o),n}toMMPattern(){if(this!==E(this,r))return E(this,r).toMMPattern();const e=this.toString(),[t,o,s,i]=this.toRegExpSource();if(!(s||E(this,n)||E(this,u).nocase&&!E(this,u).nocaseMagicOnly&&e.toUpperCase()!==e.toLowerCase()))return o;const a=(E(this,u).nocase?"i":"")+(i?"u":"");return Object.assign(new RegExp(`^${t}$`,a),{_src:t,_glob:e})}get options(){return E(this,u)}toRegExpSource(t){var o;const l=null!=t?t:!!E(this,u).dot;if(E(this,r)===this&&A(this,b,d).call(this),!this.type){const c=this.isStart()&&this.isEnd(),u=E(this,i).map((o=>{var r;const[i,a,l,f]="string"==typeof o?A(r=e,g,m).call(r,o,E(this,n),c):o.toRegExpSource(t);return R(this,n,E(this,n)||l),R(this,s,E(this,s)||f),i})).join("");let h="";if(this.isStart()&&"string"==typeof E(this,i)[0]&&(1!==E(this,i).length||!de.has(E(this,i)[0]))){const e=be,o=l&&e.has(u.charAt(0))||u.startsWith("\\.")&&e.has(u.charAt(2))||u.startsWith("\\.\\.")&&e.has(u.charAt(4)),r=!l&&!t&&e.has(u.charAt(0));h=o?"(?!(?:^|/)\\.\\.?(?:$|/))":r?pe:""}let p="";return this.isEnd()&&E(E(this,r),f)&&"!"===(null==(o=E(this,a))?void 0:o.type)&&(p="(?:$|\\/)"),[h+u+p,fe(u),R(this,n,!!E(this,n)),E(this,s)]}const c="*"===this.type||"+"===this.type,h="!"===this.type?"(?:(?!(?:":"(?:";let v=A(this,b,y).call(this,l);if(this.isStart()&&this.isEnd()&&!v&&"!"!==this.type){const e=this.toString();return R(this,i,[e]),this.type=null,R(this,n,void 0),[e,fe(this.toString()),!1,!1]}let w=!c||t||l?"":A(this,b,y).call(this,!0);w===v&&(w=""),w&&(v=`(?:${v})(?:${w})*?`);let S="";return S="!"===this.type&&E(this,p)?(this.isStart()&&!l?pe:"")+me:h+v+("!"===this.type?"))"+(!this.isStart()||l||t?"":pe)+ye+")":"@"===this.type?")":"?"===this.type?")?":"+"===this.type&&w?")":"*"===this.type&&w?")?":`)${this.type}`),[S,fe(v),R(this,n,!!E(this,n)),E(this,s)]}};r=new WeakMap,n=new WeakMap,s=new WeakMap,i=new WeakMap,a=new WeakMap,l=new WeakMap,c=new WeakMap,f=new WeakMap,u=new WeakMap,h=new WeakMap,p=new WeakMap,b=new WeakSet,d=function(){if(this!==E(this,r))throw new Error("should only call on root");if(E(this,f))return this;let e;for(this.toString(),R(this,f,!0);e=E(this,c).pop();){if("!"!==e.type)continue;let t=e,o=E(t,a);for(;o;){for(let r=E(t,l)+1;!o.type&&r<E(o,i).length;r++)for(const t of E(e,i)){if("string"==typeof t)throw new Error("string part in extglob AST??");t.copyIn(E(o,i)[r])}t=o,o=E(t,a)}}return this},g=new WeakSet,v=function(e,t,o,r){var s,a;let l=!1,c=!1,f=-1,u=!1;if(null===t.type){let n=o,i="";for(;n<e.length;){const o=e.charAt(n++);if(l||"\\"===o)l=!l,i+=o;else if(c)n===f+1?"^"!==o&&"!"!==o||(u=!0):"]"!==o||n===f+2&&u||(c=!1),i+=o;else if("["!==o)if(r.noext||!he(o)||"("!==e.charAt(n))i+=o;else{t.push(i),i="";const a=new we(o,t);n=A(s=we,g,v).call(s,e,a,n,r),t.push(a)}else c=!0,f=n,u=!1,i+=o}return t.push(i),n}let h=o+1,b=new we(null,t);const d=[];let y="";for(;h<e.length;){const o=e.charAt(h++);if(l||"\\"===o)l=!l,y+=o;else if(c)h===f+1?"^"!==o&&"!"!==o||(u=!0):"]"!==o||h===f+2&&u||(c=!1),y+=o;else if("["!==o)if(he(o)&&"("===e.charAt(h)){b.push(y),y="";const t=new we(o,b);b.push(t),h=A(a=we,g,v).call(a,e,t,h,r)}else if("|"!==o){if(")"===o)return""===y&&0===E(t,i).length&&R(t,p,!0),b.push(y),y="",t.push(...d,b),h;y+=o}else b.push(y),y="",d.push(b),b=new we(null,t);else c=!0,f=h,u=!1,y+=o}return t.type=null,R(t,n,void 0),R(t,i,[e.substring(o-1)]),h},y=function(e){return E(this,i).map((t=>{if("string"==typeof t)throw new Error("string type in extglob ast??");const[o,r,n,i]=t.toRegExpSource(e);return R(this,s,E(this,s)||i),o})).filter((e=>!(this.isStart()&&this.isEnd()&&!e))).join("|")},m=function(e,t,o=!1){let r=!1,n="",s=!1;for(let i=0;i<e.length;i++){const a=e.charAt(i);if(r)r=!1,n+=(ge.has(a)?"\\":"")+a;else if("\\"!==a){if("["===a){const[o,r,a,l]=ce(e,i);if(a){n+=o,s=s||r,i+=a-1,t=t||l;continue}}"*"!==a?"?"!==a?n+=a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):(n+=ve,t=!0):(n+=o&&"*"===e?me:ye,t=!0)}else i===e.length-1?n+="\\\\":r=!0}return[n,fe(e),!!t,s]},N(we,g);var Se=we,$e=(e,t,o={})=>(se(t),!(!o.nocomment&&"#"===t.charAt(0))&&new qe(t,o).match(e)),ke=/^\*+([^+@!?\*\[\(]*)$/,xe=e=>t=>!t.startsWith(".")&&t.endsWith(e),ze=e=>t=>t.endsWith(e),Oe=e=>(e=e.toLowerCase(),t=>!t.startsWith(".")&&t.toLowerCase().endsWith(e)),je=e=>(e=e.toLowerCase(),t=>t.toLowerCase().endsWith(e)),Me=/^\*+\.\*+$/,Ee=e=>!e.startsWith(".")&&e.includes("."),Ne=e=>"."!==e&&".."!==e&&e.includes("."),Re=/^\.\*+$/,Ae=e=>"."!==e&&".."!==e&&e.startsWith("."),Pe=/^\*+$/,We=e=>0!==e.length&&!e.startsWith("."),Ce=e=>0!==e.length&&"."!==e&&".."!==e,Le=/^\?+([^+@!?\*\[\(]*)?$/,Ve=([e,t=""])=>{const o=Ie([e]);return t?(t=t.toLowerCase(),e=>o(e)&&e.toLowerCase().endsWith(t)):o},Te=([e,t=""])=>{const o=Ue([e]);return t?(t=t.toLowerCase(),e=>o(e)&&e.toLowerCase().endsWith(t)):o},_e=([e,t=""])=>{const o=Ue([e]);return t?e=>o(e)&&e.endsWith(t):o},Fe=([e,t=""])=>{const o=Ie([e]);return t?e=>o(e)&&e.endsWith(t):o},Ie=([e])=>{const t=e.length;return e=>e.length===t&&!e.startsWith(".")},Ue=([e])=>{const t=e.length;return e=>e.length===t&&"."!==e&&".."!==e},De="object"==typeof process&&process?"object"==typeof process.env&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix";$e.sep="win32"===De?"\\":"/";var Be=Symbol("globstar **");$e.GLOBSTAR=Be,$e.filter=(e,t={})=>o=>$e(o,e,t);var Ge=(e,t={})=>Object.assign({},e,t);$e.defaults=e=>{if(!e||"object"!=typeof e||!Object.keys(e).length)return $e;const t=$e;return Object.assign(((o,r,n={})=>t(o,r,Ge(e,n))),{Minimatch:class extends t.Minimatch{constructor(t,o={}){super(t,Ge(e,o))}static defaults(o){return t.defaults(Ge(e,o)).Minimatch}},AST:class extends t.AST{constructor(t,o,r={}){super(t,o,Ge(e,r))}static fromGlob(o,r={}){return t.AST.fromGlob(o,Ge(e,r))}},unescape:(o,r={})=>t.unescape(o,Ge(e,r)),escape:(o,r={})=>t.escape(o,Ge(e,r)),filter:(o,r={})=>t.filter(o,Ge(e,r)),defaults:o=>t.defaults(Ge(e,o)),makeRe:(o,r={})=>t.makeRe(o,Ge(e,r)),braceExpand:(o,r={})=>t.braceExpand(o,Ge(e,r)),match:(o,r,n={})=>t.match(o,r,Ge(e,n)),sep:t.sep,GLOBSTAR:Be})};var He=(e,t={})=>(se(e),t.nobrace||!/\{(?:(?!\{).)*\}/.test(e)?[e]:(0,ne.default)(e));$e.braceExpand=He,$e.makeRe=(e,t={})=>new qe(e,t).makeRe(),$e.match=(e,t,o={})=>{const r=new qe(t,o);return e=e.filter((e=>r.match(e))),r.options.nonull&&!e.length&&e.push(t),e};var Ze=/[?*]|[+@!]\(.*?\)|\[|\]/,qe=class{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(e,t={}){se(e),this.options=t=t||{},this.pattern=e,this.platform=t.platform||De,this.isWindows="win32"===this.platform,this.windowsPathsNoEscape=!!t.windowsPathsNoEscape||!1===t.allowWindowsEscape,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!t.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!t.nonegate,this.comment=!1,this.empty=!1,this.partial=!!t.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=void 0!==t.windowsNoMagicRoot?t.windowsNoMagicRoot:!(!this.isWindows||!this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(const e of this.set)for(const t of e)if("string"!=typeof t)return!0;return!1}debug(...e){}make(){const e=this.pattern,t=this.options;if(!t.nocomment&&"#"===e.charAt(0))return void(this.comment=!0);if(!e)return void(this.empty=!0);this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],t.debug&&(this.debug=(...e)=>console.error(...e)),this.debug(this.pattern,this.globSet);const o=this.globSet.map((e=>this.slashSplit(e)));this.globParts=this.preprocess(o),this.debug(this.pattern,this.globParts);let r=this.globParts.map((e=>{if(this.isWindows&&this.windowsNoMagicRoot){const t=!(""!==e[0]||""!==e[1]||"?"!==e[2]&&Ze.test(e[2])||Ze.test(e[3])),o=/^[a-z]:/i.test(e[0]);if(t)return[...e.slice(0,4),...e.slice(4).map((e=>this.parse(e)))];if(o)return[e[0],...e.slice(1).map((e=>this.parse(e)))]}return e.map((e=>this.parse(e)))}));if(this.debug(this.pattern,r),this.set=r.filter((e=>-1===e.indexOf(!1))),this.isWindows)for(let e=0;e<this.set.length;e++){const t=this.set[e];""===t[0]&&""===t[1]&&"?"===this.globParts[e][2]&&"string"==typeof t[3]&&/^[a-z]:$/i.test(t[3])&&(t[2]="?")}this.debug(this.pattern,this.set)}preprocess(e){if(this.options.noglobstar)for(let t=0;t<e.length;t++)for(let o=0;o<e[t].length;o++)"**"===e[t][o]&&(e[t][o]="*");const{optimizationLevel:t=1}=this.options;return t>=2?(e=this.firstPhasePreProcess(e),e=this.secondPhasePreProcess(e)):e=t>=1?this.levelOneOptimize(e):this.adjascentGlobstarOptimize(e),e}adjascentGlobstarOptimize(e){return e.map((e=>{let t=-1;for(;-1!==(t=e.indexOf("**",t+1));){let o=t;for(;"**"===e[o+1];)o++;o!==t&&e.splice(t,o-t)}return e}))}levelOneOptimize(e){return e.map((e=>0===(e=e.reduce(((e,t)=>{const o=e[e.length-1];return"**"===t&&"**"===o?e:".."===t&&o&&".."!==o&&"."!==o&&"**"!==o?(e.pop(),e):(e.push(t),e)}),[])).length?[""]:e))}levelTwoFileOptimize(e){Array.isArray(e)||(e=this.slashSplit(e));let t=!1;do{if(t=!1,!this.preserveMultipleSlashes){for(let o=1;o<e.length-1;o++){const r=e[o];1===o&&""===r&&""===e[0]||"."!==r&&""!==r||(t=!0,e.splice(o,1),o--)}"."!==e[0]||2!==e.length||"."!==e[1]&&""!==e[1]||(t=!0,e.pop())}let o=0;for(;-1!==(o=e.indexOf("..",o+1));){const r=e[o-1];r&&"."!==r&&".."!==r&&"**"!==r&&(t=!0,e.splice(o-1,2),o-=2)}}while(t);return 0===e.length?[""]:e}firstPhasePreProcess(e){let t=!1;do{t=!1;for(let o of e){let r=-1;for(;-1!==(r=o.indexOf("**",r+1));){let n=r;for(;"**"===o[n+1];)n++;n>r&&o.splice(r+1,n-r);const s=o[r+2],i=o[r+3];if(".."!==o[r+1])continue;if(!s||"."===s||".."===s||!i||"."===i||".."===i)continue;t=!0,o.splice(r,1);const a=o.slice(0);a[r]="**",e.push(a),r--}if(!this.preserveMultipleSlashes){for(let e=1;e<o.length-1;e++){const r=o[e];1===e&&""===r&&""===o[0]||"."!==r&&""!==r||(t=!0,o.splice(e,1),e--)}"."!==o[0]||2!==o.length||"."!==o[1]&&""!==o[1]||(t=!0,o.pop())}let n=0;for(;-1!==(n=o.indexOf("..",n+1));){const e=o[n-1];e&&"."!==e&&".."!==e&&"**"!==e&&(t=!0,o.splice(n-1,2,...1===n&&"**"===o[n+1]?["."]:[]),0===o.length&&o.push(""),n-=2)}}}while(t);return e}secondPhasePreProcess(e){for(let t=0;t<e.length-1;t++)for(let o=t+1;o<e.length;o++){const r=this.partsMatch(e[t],e[o],!this.preserveMultipleSlashes);r&&(e[t]=r,e[o]=[])}return e.filter((e=>e.length))}partsMatch(e,t,o=!1){let r=0,n=0,s=[],i="";for(;r<e.length&&n<t.length;)if(e[r]===t[n])s.push("b"===i?t[n]:e[r]),r++,n++;else if(o&&"**"===e[r]&&t[n]===e[r+1])s.push(e[r]),r++;else if(o&&"**"===t[n]&&e[r]===t[n+1])s.push(t[n]),n++;else if("*"!==e[r]||!t[n]||!this.options.dot&&t[n].startsWith(".")||"**"===t[n]){if("*"!==t[n]||!e[r]||!this.options.dot&&e[r].startsWith(".")||"**"===e[r])return!1;if("a"===i)return!1;i="b",s.push(t[n]),r++,n++}else{if("b"===i)return!1;i="a",s.push(e[r]),r++,n++}return e.length===t.length&&s}parseNegate(){if(this.nonegate)return;const e=this.pattern;let t=!1,o=0;for(let r=0;r<e.length&&"!"===e.charAt(r);r++)t=!t,o++;o&&(this.pattern=e.slice(o)),this.negate=t}matchOne(e,t,o=!1){const r=this.options;if(this.isWindows){const o="string"==typeof e[0]&&/^[a-z]:$/i.test(e[0]),r=!o&&""===e[0]&&""===e[1]&&"?"===e[2]&&/^[a-z]:$/i.test(e[3]),n="string"==typeof t[0]&&/^[a-z]:$/i.test(t[0]),s=r?3:o?0:void 0,i=!n&&""===t[0]&&""===t[1]&&"?"===t[2]&&"string"==typeof t[3]&&/^[a-z]:$/i.test(t[3])?3:n?0:void 0;if("number"==typeof s&&"number"==typeof i){const[o,r]=[e[s],t[i]];o.toLowerCase()===r.toLowerCase()&&(t[i]=o,i>s?t=t.slice(i):s>i&&(e=e.slice(s)))}}const{optimizationLevel:n=1}=this.options;n>=2&&(e=this.levelTwoFileOptimize(e)),this.debug("matchOne",this,{file:e,pattern:t}),this.debug("matchOne",e.length,t.length);for(var s=0,i=0,a=e.length,l=t.length;s<a&&i<l;s++,i++){this.debug("matchOne loop");var c=t[i],f=e[s];if(this.debug(t,c,f),!1===c)return!1;if(c===Be){this.debug("GLOBSTAR",[t,c,f]);var u=s,h=i+1;if(h===l){for(this.debug("** at the end");s<a;s++)if("."===e[s]||".."===e[s]||!r.dot&&"."===e[s].charAt(0))return!1;return!0}for(;u<a;){var p=e[u];if(this.debug("\nglobstar while",e,u,t,h,p),this.matchOne(e.slice(u),t.slice(h),o))return this.debug("globstar found match!",u,a,p),!0;if("."===p||".."===p||!r.dot&&"."===p.charAt(0)){this.debug("dot detected!",e,u,t,h);break}this.debug("globstar swallow a segment, and continue"),u++}return!(!o||(this.debug("\n>>> no match, partial?",e,u,t,h),u!==a))}let n;if("string"==typeof c?(n=f===c,this.debug("string match",c,f,n)):(n=c.test(f),this.debug("pattern match",c,f,n)),!n)return!1}if(s===a&&i===l)return!0;if(s===a)return o;if(i===l)return s===a-1&&""===e[s];throw new Error("wtf?")}braceExpand(){return He(this.pattern,this.options)}parse(e){se(e);const t=this.options;if("**"===e)return Be;if(""===e)return"";let o,r=null;(o=e.match(Pe))?r=t.dot?Ce:We:(o=e.match(ke))?r=(t.nocase?t.dot?je:Oe:t.dot?ze:xe)(o[1]):(o=e.match(Le))?r=(t.nocase?t.dot?Te:Ve:t.dot?_e:Fe)(o):(o=e.match(Me))?r=t.dot?Ne:Ee:(o=e.match(Re))&&(r=Ae);const n=Se.fromGlob(e,this.options).toMMPattern();return r&&"object"==typeof n&&Reflect.defineProperty(n,"test",{value:r}),n}makeRe(){if(this.regexp||!1===this.regexp)return this.regexp;const e=this.set;if(!e.length)return this.regexp=!1,this.regexp;const t=this.options,o=t.noglobstar?"[^/]*?":t.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",r=new Set(t.nocase?["i"]:[]);let n=e.map((e=>{const t=e.map((e=>{if(e instanceof RegExp)for(const t of e.flags.split(""))r.add(t);return"string"==typeof e?e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):e===Be?Be:e._src}));return t.forEach(((e,r)=>{const n=t[r+1],s=t[r-1];e===Be&&s!==Be&&(void 0===s?void 0!==n&&n!==Be?t[r+1]="(?:\\/|"+o+"\\/)?"+n:t[r]=o:void 0===n?t[r-1]=s+"(?:\\/|"+o+")?":n!==Be&&(t[r-1]=s+"(?:\\/|\\/"+o+"\\/)"+n,t[r+1]=Be))})),t.filter((e=>e!==Be)).join("/")})).join("|");const[s,i]=e.length>1?["(?:",")"]:["",""];n="^"+s+n+i+"$",this.negate&&(n="^(?!"+n+").+$");try{this.regexp=new RegExp(n,[...r].join(""))}catch(e){this.regexp=!1}return this.regexp}slashSplit(e){return this.preserveMultipleSlashes?e.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(e)?["",...e.split(/\/+/)]:e.split(/\/+/)}match(e,t=this.partial){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return""===e;if("/"===e&&t)return!0;const o=this.options;this.isWindows&&(e=e.split("\\").join("/"));const r=this.slashSplit(e);this.debug(this.pattern,"split",r);const n=this.set;this.debug(this.pattern,"set",n);let s=r[r.length-1];if(!s)for(let e=r.length-2;!s&&e>=0;e--)s=r[e];for(let e=0;e<n.length;e++){const i=n[e];let a=r;if(o.matchBase&&1===i.length&&(a=[s]),this.matchOne(a,i,t))return!!o.flipNegate||!this.negate}return!o.flipNegate&&this.negate}static defaults(e){return $e.defaults(e).Minimatch}};$e.AST=Se,$e.Minimatch=qe,$e.escape=(e,{windowsPathsNoEscape:t=!1}={})=>t?e.replace(/[?*()[\]]/g,"[$&]"):e.replace(/[?*()[\]\\]/g,"\\$&"),$e.unescape=fe,((e,t)=>{for(var o in t)S(e,o,{get:t[o],enumerable:!0})})({},{err:()=>Je,map:()=>Ke,ok:()=>Ye,unwrap:()=>Xe,unwrapErr:()=>et});var Ye=e=>({isOk:!0,isErr:!1,value:e}),Je=e=>({isOk:!1,isErr:!0,value:e});function Ke(e,t){if(e.isOk){const o=t(e.value);return o instanceof Promise?o.then((e=>Ye(e))):Ye(o)}if(e.isErr)return Je(e.value);throw"should never get here"}var Qe,Xe=e=>{if(e.isOk)return e.value;throw e.value},et=e=>{if(e.isErr)return e.value;throw e.value};function tt(t){var o;const r={mode:"open"};r.delegatesFocus=!!(16&t.l);const n=this.attachShadow(r);if(void 0===Qe&&(Qe=null!=(o=function(e){if(!G)return;const t=new CSSStyleSheet;return t.replaceSync(e),t}(e))?o:null),Qe)H?n.adoptedStyleSheets.push(Qe):n.adoptedStyleSheets=[...n.adoptedStyleSheets,Qe];else if(!G){const t=document.createElement("style");t.innerHTML=e,n.prepend(t)}}var ot=e=>{const t=at(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&"SLOT-FB"!==e.tagName&&rt(t,e.tagName).forEach((e=>{1===e.nodeType&&"SLOT-FB"===e.tagName&&(e.hidden=!!nt(e,it(e),!1).length)}));let o=0;for(o=0;o<t.length;o++){const e=t[o];1===e.nodeType&&at(e,"childNodes").length&&ot(e)}};function rt(e,t,o){let r,n=0,s=[];for(;n<e.length;n++){if(r=e[n],r["s-sr"]&&(!t||r["s-hn"]===t)&&(void 0===o||it(r)===o)&&(s.push(r),void 0!==o))return s;s=[...s,...rt(r.childNodes,t,o)]}return s}var nt=(e,t,o=!0)=>{const r=[];(o&&e["s-sr"]||!e["s-sr"])&&r.push(e);let n=e;for(;n=n.nextSibling;)it(n)!==t||!o&&n["s-sr"]||r.push(n);return r},st=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,it=e=>"string"==typeof e["s-sn"]?e["s-sn"]:1===e.nodeType&&e.getAttribute("slot")||void 0;function at(e,t){if("__"+t in e){const o=e["__"+t];return"function"!=typeof o?o:o.bind(e)}return"function"!=typeof e[t]?e[t]:e[t].bind(e)}var lt=new WeakMap,ct=e=>"sc-"+e.h,ft=(e,t,...o)=>{let r=null,n=null,s=null,i=!1,a=!1;const l=[],c=t=>{for(let o=0;o<t.length;o++)r=t[o],Array.isArray(r)?c(r):null!=r&&"boolean"!=typeof r&&((i="function"!=typeof e&&!re(r))&&(r=String(r)),i&&a?l[l.length-1].p+=r:l.push(i?ut(null,r):r),a=i)};if(c(o),t){t.key&&(n=t.key),t.name&&(s=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,l,pt);const f=ut(e,null);return f.v=t,l.length>0&&(f.m=l),f.S=n,f.$=s,f},ut=(e,t)=>({l:0,k:e,p:t,O:null,m:null,v:null,S:null,$:null}),ht={},pt={forEach:(e,t)=>e.map(bt).forEach(t),map:(e,t)=>e.map(bt).map(t).map(dt)},bt=e=>({vattrs:e.v,vchildren:e.m,vkey:e.S,vname:e.$,vtag:e.k,vtext:e.p}),dt=e=>{if("function"==typeof e.vtag){const t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),ft(e.vtag,t,...e.vchildren||[])}const t=ut(e.vtag,e.vtext);return t.v=e.vattrs,t.m=e.vchildren,t.S=e.vkey,t.$=e.vname,t},gt=e=>{const t=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return new RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${t}))(${t}\\b)`,"g")};gt("::slotted"),gt(":host"),gt(":host-context");var vt,yt,mt,wt=(e,t)=>null==e||re(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?"string"==typeof e?parseFloat(e):"number"==typeof e?e:NaN:1&t?String(e):e,St=(e,t)=>{const o=e;return{emit:e=>$t(o,t,{bubbles:!0,composed:!0,cancelable:!0,detail:e})}},$t=(e,t,o)=>{const r=D.ce(t,o);return e.dispatchEvent(r),r},kt=(e,t,o,r,n,s)=>{if(o===r)return;let i=V(e,t),a=t.toLowerCase();if("class"===t){const t=e.classList,n=zt(o);let s=zt(r);t.remove(...n.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!n.includes(e))))}else if("style"===t){for(const t in o)r&&null!=r[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in r)o&&r[t]===o[t]||(t.includes("-")?e.style.setProperty(t,r[t]):e.style[t]=r[t])}else if("key"===t);else if("ref"===t)r&&r(e);else if(e.__lookupSetter__(t)||"o"!==t[0]||"n"!==t[1]){const l=re(r);if((i||l&&null!==r)&&!n)try{if(e.tagName.includes("-"))e[t]!==r&&(e[t]=r);else{const n=null==r?"":r;"list"===t?i=!1:null!=o&&e[t]==n||("function"==typeof e.__lookupSetter__(t)?e[t]=n:e.setAttribute(t,n))}}catch(e){}let c=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,c=!0),null==r||!1===r?!1===r&&""!==e.getAttribute(t)||(c?e.removeAttributeNS(F,t):e.removeAttribute(t)):(!i||4&s||n)&&!l&&1===e.nodeType&&(r=!0===r?"":r,c?e.setAttributeNS(F,t,r):e.setAttribute(t,r))}else if(t="-"===t[2]?t.slice(3):V(I,a)?a.slice(2):a[2]+t.slice(3),o||r){const n=t.endsWith(Ot);t=t.replace(jt,""),o&&D.rel(e,t,o,n),r&&D.ael(e,t,r,n)}},xt=/\s/,zt=e=>("object"==typeof e&&e&&"baseVal"in e&&(e=e.baseVal),e&&"string"==typeof e?e.split(xt):[]),Ot="Capture",jt=new RegExp(Ot+"$"),Mt=(e,t,o)=>{const r=11===t.O.nodeType&&t.O.host?t.O.host:t.O,n=e&&e.v||{},s=t.v||{};for(const e of Et(Object.keys(n)))e in s||kt(r,e,n[e],void 0,o,t.l);for(const e of Et(Object.keys(s)))kt(r,e,n[e],s[e],o,t.l)};function Et(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var Nt=!1,Rt=!1,At=!1,Pt=!1,Wt=(e,t,o)=>{var r;const n=t.m[o];let s,i,a,l=0;if(Nt||(At=!0,"slot"===n.k&&(n.l|=n.m?2:1)),null!==n.p)s=n.O=I.document.createTextNode(n.p);else if(1&n.l)s=n.O=I.document.createTextNode(""),Mt(null,n,Pt);else{if(Pt||(Pt="svg"===n.k),!I.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(s=n.O=I.document.createElementNS(Pt?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!Nt&&2&n.l?"slot-fb":n.k),Pt&&"foreignObject"===n.k&&(Pt=!1),Mt(null,n,Pt),null!=(c=vt)&&void 0!==c&&s["s-si"]!==vt&&s.classList.add(s["s-si"]=vt),n.m){const t="template"===n.k?s.content:s;for(l=0;l<n.m.length;++l)i=Wt(e,n,l),i&&t.appendChild(i)}"svg"===n.k?Pt=!1:"foreignObject"===s.tagName&&(Pt=!0)}var c;return s["s-hn"]=mt,3&n.l&&(s["s-sr"]=!0,s["s-cr"]=yt,s["s-sn"]=n.$||"",s["s-rf"]=null==(r=n.v)?void 0:r.ref,function(e){if(e.assignedElements||e.assignedNodes||!e["s-sr"])return;const t=t=>function(e){const o=[],r=this["s-sn"];(null==e?void 0:e.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const n=this["s-cr"].parentElement;return(n.__childNodes?n.childNodes:(e=>{const t=[];for(let o=0;o<e.length;o++){const r=e[o]["s-nr"]||void 0;r&&r.isConnected&&t.push(r)}return t})(n.childNodes)).forEach((e=>{r===it(e)&&o.push(e)})),t?o.filter((e=>1===e.nodeType)):o}.bind(e);e.assignedElements=t(!0),e.assignedNodes=t(!1)}(s),a=e&&e.m&&e.m[o],a&&a.k===n.k&&e.O&&Ct(e.O),Ht(yt,s,t.O,null==e?void 0:e.O)),s},Ct=e=>{D.l|=1;const t=e.closest(mt.toLowerCase());if(null!=t){const o=Array.from(t.__childNodes||t.childNodes).find((e=>e["s-cr"])),r=Array.from(e.__childNodes||e.childNodes);for(const e of o?r.reverse():r)null!=e["s-sh"]&&(Gt(t,e,null!=o?o:null),e["s-sh"]=void 0,At=!0)}D.l&=-2},Lt=(e,t)=>{D.l|=1;const o=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let t=e;for(;t=t.nextSibling;)t&&t["s-sn"]===e["s-sn"]&&t["s-sh"]===mt&&o.push(t)}for(let e=o.length-1;e>=0;e--){const r=o[e];r["s-hn"]!==mt&&r["s-ol"]&&(Gt(Ft(r).parentNode,r,Ft(r)),r["s-ol"].remove(),r["s-ol"]=void 0,r["s-sh"]=void 0,At=!0),t&&Lt(r,t)}D.l&=-2},Vt=(e,t,o,r,n,s)=>{let i,a=e["s-cr"]&&e["s-cr"].parentNode||e;for(a.shadowRoot&&a.tagName===mt&&(a=a.shadowRoot),"template"===o.k&&(a=a.content);n<=s;++n)r[n]&&(i=Wt(null,o,n),i&&(r[n].O=i,Gt(a,i,Ft(t))))},Tt=(e,t,o)=>{for(let r=t;r<=o;++r){const t=e[r];if(t){const e=t.O;Bt(t),e&&(Rt=!0,e["s-ol"]?e["s-ol"].remove():Lt(e,!0),e.remove())}}},_t=(e,t,o=!1)=>e.k===t.k&&("slot"===e.k?e.$===t.$:o?(o&&!e.S&&t.S&&(e.S=t.S),!0):e.S===t.S),Ft=e=>e&&e["s-ol"]||e,It=(e,t,o=!1)=>{const r=t.O=e.O,n=e.m,s=t.m,i=t.k,a=t.p;let l;null===a?(Pt="svg"===i||"foreignObject"!==i&&Pt,"slot"!==i||Nt||e.$!==t.$&&(t.O["s-sn"]=t.$||"",Ct(t.O.parentElement)),Mt(e,t,Pt),null!==n&&null!==s?((e,t,o,r,n=!1)=>{let s,i,a=0,l=0,c=0,f=0,u=t.length-1,h=t[0],p=t[u],b=r.length-1,d=r[0],g=r[b];const v="template"===o.k?e.content:e;for(;a<=u&&l<=b;)if(null==h)h=t[++a];else if(null==p)p=t[--u];else if(null==d)d=r[++l];else if(null==g)g=r[--b];else if(_t(h,d,n))It(h,d,n),h=t[++a],d=r[++l];else if(_t(p,g,n))It(p,g,n),p=t[--u],g=r[--b];else if(_t(h,g,n))"slot"!==h.k&&"slot"!==g.k||Lt(h.O.parentNode,!1),It(h,g,n),Gt(v,h.O,p.O.nextSibling),h=t[++a],g=r[--b];else if(_t(p,d,n))"slot"!==h.k&&"slot"!==g.k||Lt(p.O.parentNode,!1),It(p,d,n),Gt(v,p.O,h.O),p=t[--u],d=r[++l];else{for(c=-1,f=a;f<=u;++f)if(t[f]&&null!==t[f].S&&t[f].S===d.S){c=f;break}c>=0?(i=t[c],i.k!==d.k?s=Wt(t&&t[l],o,c):(It(i,d,n),t[c]=void 0,s=i.O),d=r[++l]):(s=Wt(t&&t[l],o,l),d=r[++l]),s&&Gt(Ft(h.O).parentNode,s,Ft(h.O))}a>u?Vt(e,null==r[b+1]?null:r[b+1].O,o,r,l,b):l>b&&Tt(t,a,u)})(r,n,t,s,o):null!==s?(null!==e.p&&(r.textContent=""),Vt(r,null,t,s,0,s.length-1)):!o&&null!==n&&Tt(n,0,n.length-1),Pt&&"svg"===i&&(Pt=!1)):(l=r["s-cr"])?l.parentNode.textContent=a:e.p!==a&&(r.data=a)},Ut=[],Dt=e=>{let t,o,r;const n=e.__childNodes||e.childNodes;for(const e of n){if(e["s-sr"]&&(t=e["s-cr"])&&t.parentNode){o=t.parentNode.__childNodes||t.parentNode.childNodes;const n=e["s-sn"];for(r=o.length-1;r>=0;r--)if(t=o[r],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===e["s-hn"]||t["s-sh"]&&t["s-sh"]===e["s-hn"]))if(st(t,n)){let o=Ut.find((e=>e.j===t));Rt=!0,t["s-sn"]=t["s-sn"]||n,o?(o.j["s-sh"]=e["s-hn"],o.M=e):(t["s-sh"]=e["s-hn"],Ut.push({M:e,j:t})),t["s-sr"]&&Ut.map((e=>{st(e.j,t["s-sn"])&&(o=Ut.find((e=>e.j===t)),o&&!e.M&&(e.M=o.M))}))}else Ut.some((e=>e.j===t))||Ut.push({j:t})}1===e.nodeType&&Dt(e)}},Bt=e=>{e.v&&e.v.ref&&e.v.ref(null),e.m&&e.m.map(Bt)},Gt=(e,t,o,r)=>{if("string"==typeof t["s-sn"]&&t["s-sr"]&&t["s-cr"])Ht(t["s-cr"],t,e,t.parentElement);else if("string"==typeof t["s-sn"]){e.insertBefore(t,o);const{slotNode:n}=function(e,t){var o;if(!(t=t||(null==(o=e["s-ol"])?void 0:o.parentElement)))return{slotNode:null,slotName:""};const r=e["s-sn"]=it(e)||"";return{slotNode:rt(at(t,"childNodes"),t.tagName,r)[0],slotName:r}}(t);return n&&!r&&n.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,o):null==e?void 0:e.insertBefore(t,o)};function Ht(e,t,o,r){var n,s;let i;if(e&&"string"==typeof t["s-sn"]&&t["s-sr"]&&e.parentNode&&e.parentNode["s-sc"]&&(i=t["s-si"]||e.parentNode["s-sc"])){const e=t["s-sn"],a=t["s-hn"];if(null==(n=o.classList)||n.add(i+"-s"),r&&(null==(s=r.classList)?void 0:s.contains(i+"-s"))){let t=(r.__childNodes||r.childNodes)[0],o=!1;for(;t;){if(t["s-sn"]!==e&&t["s-hn"]===a&&t["s-sr"]){o=!0;break}t=t.nextSibling}o||r.classList.remove(i+"-s")}}}var Zt=(e,t,o=!1)=>{var r,n,s,i,a;const l=e.$hostElement$,c=e.o,f=e.N||ut(null,null);var u;const h=(u=t)&&u.k===ht?t:ft(null,null,t);if(mt=l.tagName,o&&h.v)for(const e of Object.keys(h.v))l.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(h.v[e]=l[e]);if(h.k=null,h.l|=4,e.N=h,h.O=f.O=l.shadowRoot||l,vt=l["s-sc"],Nt=!(!(1&c.l)||128&c.l),yt=l["s-cr"],Rt=!1,It(f,h,o),D.l|=1,At){Dt(h.O);for(const e of Ut){const t=e.j;if(!t["s-ol"]&&I.document){const e=I.document.createTextNode("");e["s-nr"]=t,Gt(t.parentNode,t["s-ol"]=e,t,o)}}for(const e of Ut){const t=e.j,a=e.M;if(1===t.nodeType&&o&&(t["s-ih"]=null!=(r=t.hidden)&&r),a){const e=a.parentNode;let r=a.nextSibling;if(r&&1===r.nodeType){let o=null==(n=t["s-ol"])?void 0:n.previousSibling;for(;o;){let n=null!=(s=o["s-nr"])?s:null;if(n&&n["s-sn"]===t["s-sn"]&&e===(n.__parentNode||n.parentNode)){for(n=n.nextSibling;n===t||(null==n?void 0:n["s-sr"]);)n=null==n?void 0:n.nextSibling;if(!n||!n["s-nr"]){r=n;break}}o=o.previousSibling}}if((!r&&e!==(t.__parentNode||t.parentNode)||(t.__nextSibling||t.nextSibling)!==r)&&t!==r){if(Gt(e,t,r,o),8===t.nodeType&&t.nodeValue.startsWith("s-nt-")){const e=I.document.createTextNode(t.nodeValue.replace(/^s-nt-/,""));e["s-hn"]=t["s-hn"],e["s-sn"]=t["s-sn"],e["s-sh"]=t["s-sh"],e["s-sr"]=t["s-sr"],e["s-ol"]=t["s-ol"],e["s-ol"]["s-nr"]=e,Gt(t.parentNode,e,t,o),t.parentNode.removeChild(t)}1===t.nodeType&&"SLOT-FB"!==t.tagName&&(t.hidden=null!=(i=t["s-ih"])&&i)}t&&"function"==typeof a["s-rf"]&&a["s-rf"](a)}else 1===t.nodeType&&(t.hidden=!0)}}if(Rt&&ot(h.O),D.l&=-2,Ut.length=0,!Nt&&!(1&c.l)&&l["s-cr"]){const e=h.O.__childNodes||h.O.childNodes;for(const t of e)if(t["s-hn"]!==mt&&!t["s-sh"])if(o&&null==t["s-ih"]&&(t["s-ih"]=null!=(a=t.hidden)&&a),1===t.nodeType)t.hidden=!0;else if(3===t.nodeType&&t.nodeValue.trim()){const e=I.document.createComment("s-nt-"+t.nodeValue);e["s-sn"]=t["s-sn"],Gt(t.parentNode,e,t,o),t.parentNode.removeChild(t)}}yt=void 0},qt=(e,t)=>{if(t&&!e.R&&t["s-p"]){const o=t["s-p"].push(new Promise((r=>e.R=()=>{t["s-p"].splice(o-1,1),r()})))}},Yt=(e,t)=>{if(e.l|=16,4&e.l)return void(e.l|=512);qt(e,e.A);const o=()=>Jt(e,t);if(!t)return ee(o);queueMicrotask((()=>{o()}))},Jt=(e,t)=>{const o=e.$hostElement$,r=o;if(!r)throw new Error(`Can't render component <${o.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let n;return n=ro(r,t?"componentWillLoad":"componentWillUpdate",void 0,o),n=Kt(n,(()=>ro(r,"componentWillRender",void 0,o))),Kt(n,(()=>Xt(e,r,t)))},Kt=(e,t)=>Qt(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),Qt=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,Xt=async(e,t,o)=>{var r;const n=e.$hostElement$,s=n["s-rc"];o&&(e=>{const t=e.o,o=e.$hostElement$,r=t.l,n=((e,t)=>{var o,r,n;const s=ct(t),i=_.get(s);if(!I.document)return s;if(e=11===e.nodeType?e:I.document,i)if("string"==typeof i){let n,a=lt.get(e=e.head||e);if(a||lt.set(e,a=new Set),!a.has(s)){n=I.document.createElement("style"),n.innerHTML=i;const l=null!=(o=D.P)?o:function(){var e,t,o;return null!=(o=null==(t=null==(e=I.document.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:t.getAttribute("content"))?o:void 0}();if(null!=l&&n.setAttribute("nonce",l),!(1&t.l))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),o=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(n,(null==o?void 0:o.parentNode)===e?o:null)}else if("host"in e)if(G){const t=new(null!=(r=e.defaultView)?r:e.ownerDocument.defaultView).CSSStyleSheet;t.replaceSync(i),H?e.adoptedStyleSheets.unshift(t):e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.innerHTML=i+t.innerHTML:e.prepend(n)}else e.append(n);1&t.l&&e.insertBefore(n,null),4&t.l&&(n.innerHTML+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),a&&a.add(s)}}else{let t=lt.get(e);if(t||lt.set(e,t=new Set),!t.has(s)){const o=null!=(n=e.defaultView)?n:e.ownerDocument.defaultView;let r;if(i.constructor===o.CSSStyleSheet)r=i;else{r=new o.CSSStyleSheet;for(let e=0;e<i.cssRules.length;e++)r.insertRule(i.cssRules[e].cssText,e)}H?e.adoptedStyleSheets.push(r):e.adoptedStyleSheets=[...e.adoptedStyleSheets,r],t.add(s)}}return s})(o.shadowRoot?o.shadowRoot:o.getRootNode(),t);10&r&&(o["s-sc"]=n,o.classList.add(n+"-h"))})(e);eo(e,t,n,o),s&&(s.map((e=>e())),n["s-rc"]=void 0);{const t=null!=(r=n["s-p"])?r:[],o=()=>to(e);0===t.length?o():(Promise.all(t).then(o),e.l|=4,t.length=0)}},eo=(e,t,o,r)=>{try{t=t.render(),e.l&=-17,e.l|=2,Zt(e,t,r)}catch(t){T(t,e.$hostElement$)}return null},to=e=>{const t=e.$hostElement$,o=t,r=e.A;ro(o,"componentDidRender",void 0,t),64&e.l?ro(o,"componentDidUpdate",void 0,t):(e.l|=64,no(t),ro(o,"componentDidLoad",void 0,t),e.W(t),r||oo()),e.R&&(e.R(),e.R=void 0),512&e.l&&X((()=>Yt(e,!1))),e.l&=-517},oo=()=>{X((()=>$t(I,"appload",{detail:{namespace:"ui-webc"}})))},ro=(e,t,o,r)=>{if(e&&e[t])try{return e[t](o)}catch(e){T(e,r)}},no=e=>e.classList.add("hydrated"),so=(e,t,o,r)=>{const n=L(e);if(!n)return;const s=e,i=n.i.get(t),a=n.l,l=s;o=wt(o,r.t[t][0]);const c=Number.isNaN(i)&&Number.isNaN(o);if(o!==i&&!c){if(n.i.set(t,o),r.C){const e=r.C[t];e&&e.map((e=>{try{const[[r,s]]=Object.entries(e);(128&a||1&s)&&(l?l[r](o,i,t):n.L.push((()=>{n.V[r](o,i,t)})))}catch(e){T(e,s)}}))}if(2==(18&a)){if(l.componentShouldUpdate&&!1===l.componentShouldUpdate(o,i,t))return;Yt(n,!1)}}},io=(e,t)=>{var o,r;const n=e.prototype;{e.watchers&&!t.C&&(t.C=e.watchers),e.deserializers&&!t.T&&(t.T=e.deserializers),e.serializers&&!t._&&(t._=e.serializers);const s=Object.entries(null!=(o=t.t)?o:{});s.map((([e,[o]])=>{if(31&o||32&o){const{get:r,set:s}=Object.getOwnPropertyDescriptor(n,e)||{};r&&(t.t[e][0]|=2048),s&&(t.t[e][0]|=4096),Object.defineProperty(n,e,{get(){return r?r.apply(this):(t=e,L(this).i.get(t));var t},configurable:!0,enumerable:!0}),Object.defineProperty(n,e,{set(r){const n=L(this);if(n){if(s)return void 0===(32&o?this[e]:n.$hostElement$[e])&&n.i.get(e)&&(r=n.i.get(e)),s.apply(this,[wt(r,o)]),void so(this,e,r=32&o?this[e]:n.$hostElement$[e],t);so(this,e,r,t)}}})}}));{const o=new Map;n.attributeChangedCallback=function(e,r,i){D.jmp((()=>{var a;const l=o.get(e),c=L(this);if(this.hasOwnProperty(l),n.hasOwnProperty(l)&&"number"==typeof this[l]&&this[l]==i)return;if(null==l){const o=null==c?void 0:c.l;if(c&&o&&!(8&o)&&i!==r){const n=this,s=null==(a=t.C)?void 0:a[e];null==s||s.forEach((t=>{const[[s,a]]=Object.entries(t);null!=n[s]&&(128&o||1&a)&&n[s].call(n,i,r,e)}))}return}const f=s.find((([e])=>e===l));f&&4&f[1][0]&&(i=null!==i&&"false"!==i);const u=Object.getOwnPropertyDescriptor(n,l);i==this[l]||u.get&&!u.set||(this[l]=i)}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(r=t.C)?r:{}),...s.filter((([e,t])=>31&t[0])).map((([e,t])=>{const r=t[1]||e;return o.set(r,e),r}))]))}}return e},ao=(e,t)=>{const o={l:t[0],h:t[1]};o.t=t[2],o.F=t[3],o.C=e.C,o.T=e.T,o._=e._;const r=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((e,t)=>{const o={l:0,$hostElement$:e,o:t,i:new Map,I:new Map};o.U=new Promise((e=>o.W=e)),e["s-p"]=[],e["s-rc"]=[];const r=o;e.__stencil__getHostRef=()=>r,512&t.l&&C(e,o)})(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const e=L(this);if(!e)return;lo(this,e,o.F),this.__hasHostListenerAttached=!0}(e=>{if(!(1&D.l)){const t=L(e);if(!t)return;const o=t.o,r=()=>{};if(1&t.l)lo(e,t,o.F),(null==t?void 0:t.V)||(null==t?void 0:t.U)&&t.U.then((()=>{}));else{t.l|=1,12&o.l&&(e=>{if(!I.document)return;const t=e["s-cr"]=I.document.createComment("");t["s-cn"]=!0,Gt(e,t,e.firstChild)})(e);{let o=e;for(;o=o.parentNode||o.host;)if(o["s-p"]){qt(t,t.A=o);break}}o.t&&Object.entries(o.t).map((([t,[o]])=>{if(31&o&&t in e&&e[t]!==Object.prototype[t]){const o=e[t];delete e[t],e[t]=o}})),(async(e,t,o)=>{let r;if(!(32&t.l)&&(t.l|=32,r=e.constructor,customElements.whenDefined(e.localName).then((()=>t.l|=128)),r&&r.style)){let e;"string"==typeof r.style&&(e=r.style);const t=ct(o);if(!_.has(t)){const r=()=>{};((e,t,o)=>{let r=_.get(e);G&&o?(r=r||new CSSStyleSheet,"string"==typeof r?r=t:r.replaceSync(t)):r=t,_.set(e,r)})(t,e,!!(1&o.l)),r()}}const n=t.A,s=()=>Yt(t,!0);n&&n["s-rc"]?n["s-rc"].push(s):s()})(e,t,o)}r()}})(this),r&&r.call(this)},disconnectedCallback(){(async e=>{if(!(1&D.l)){const t=L(e);(null==t?void 0:t.D)&&(t.D.map((e=>e())),t.D=void 0)}lt.has(e)&<.delete(e),e.shadowRoot&<.has(e.shadowRoot)&<.delete(e.shadowRoot)})(this),n&&n.call(this)},__attachShadow(){if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${o.h}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else tt.call(this,o)}}),e.is=o.h,io(e,o)},lo=(e,t,o)=>{o&&I.document&&o.map((([o,r,n])=>{const s=e,i=co(t,n),a=fo(o);D.ael(s,r,i,a),(t.D=t.D||[]).push((()=>D.rel(s,r,i,a)))}))},co=(e,t)=>o=>{try{e.$hostElement$[t](o)}catch(t){T(t,e.$hostElement$)}},fo=e=>B?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e),uo=globalThis.HTMLElement||class{};function ho(...e){return e.reduceRight(((e,t)=>t(e)),uo)}var po=e=>D.P=e,bo=e=>Object.assign(D,e);function go(e,t){Zt({o:{l:0,h:t.tagName},$hostElement$:t},e)}function vo(e){return e}export{U as H,ho as M,po as a,bo as b,St as c,ht as d,te as g,ft as h,ao as p,go as r,oe as s,vo as t}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,M as o,c as a,h as c,t}from"./p-
|
|
1
|
+
import{p as e,M as o,c as a,h as c,t}from"./p-DLiFilsh.js";import{i as r}from"./p-7UFtpiQE.js";const s=e(class extends(o(r)){constructor(e){super(!1),!1!==e&&this.__registerHost(),this.scoutInputChange=a(this,"scoutInputChange"),this.scoutBlur=a(this,"scoutBlur"),this.scoutValidate=a(this,"scoutValidate"),this._scoutValidityChanged=a(this,"_scoutValidityChanged"),this._scoutInvalid=a(this,"_scoutInvalid"),this._scoutFieldId=a(this,"_scoutFieldId"),this.scoutChecked=a(this,"scoutChecked")}checked=!1;disabled=!1;ariaLabelledby;label;value;name;scoutChecked;onChange(e){const o=e.target;this.scoutChecked.emit({checked:o.checked,element:o})}render(){return c(this.label?.length?"label":"div",{key:"67b42b2b686fffecf891da832236fde663b740dc"},c("input",{key:"81821918d102e1ca809915c14a20aa0847f46e30",ref:e=>this.setInputRef(e),id:this.ariaId,type:"checkbox",value:this.value,name:this.name,class:"checkbox",style:{"--icon-checkbox":"url(data:image/svg+xml;base64,PHN2ZwogIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICB3aWR0aD0iMjQiCiAgaGVpZ2h0PSIyNCIKICB2aWV3Qm94PSIwIDAgMjQgMjQiCiAgZmlsbD0ibm9uZSIKICBzdHJva2U9ImN1cnJlbnRDb2xvciIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCiAgY2xhc3M9Imljb24gaWNvbi10YWJsZXIgaWNvbnMtdGFibGVyLW91dGxpbmUgaWNvbi10YWJsZXItY2hlY2siCj4KICA8cGF0aCBzdHJva2U9Im5vbmUiIGQ9Ik0wIDBoMjR2MjRIMHoiIGZpbGw9Im5vbmUiLz4KICA8cGF0aCBkPSJNNSAxMmw1IDVsMTAgLTEwIiAvPgo8L3N2Zz4=)"},"aria-labelledby":this.ariaLabelledby,"aria-disabled":this.disabled,disabled:this.disabled,checked:this.checked,onChange:e=>{this.onInput(),this.onChange(e)},onBlur:()=>this.onBlur(),onInvalid:()=>this.onInvalid()}),this.label)}static get watchers(){return{validity:[{runValidation:0}]}}static get style(){return'.checkbox.sc-scout-checkbox{width:var(--spacing-6);height:var(--spacing-6);-moz-appearance:none;appearance:none;-webkit-appearance:none;display:flex;align-content:center;justify-content:center;border-radius:3px;background-color:var(--color-text-brand-inverse);border:2px solid var(--color-gray-300);position:relative}@media (hover: hover){.checkbox.sc-scout-checkbox:hover{border:2px solid var(--color-gray-400);box-shadow:inset 0px 0px 5px 5px var(--color-background-brand-subtle-hovered);cursor:pointer}}.checkbox.sc-scout-checkbox:active{background-color:var(--color-background-brand-subtle-pressed)}@media (hover: hover){.checkbox.sc-scout-checkbox:checked:hover{background-color:var(--color-background-brand-hovered);border-color:var(--color-background-brand-hovered);box-shadow:none}}.checkbox.sc-scout-checkbox:checked{background-color:var(--color-background-brand-base);border-color:var(--color-background-brand-base)}.checkbox.sc-scout-checkbox::after{content:"";position:absolute;width:var(--spacing-10);height:var(--spacing-10);top:50%;left:50%;transform:translate(-50%, -50%)}.checkbox.sc-scout-checkbox:checked::before{content:"";background-color:var(--color-text-brand-inverse);width:var(--spacing-6);height:var(--spacing-6);position:absolute;top:50%;left:50%;right:0;bottom:0;transform:translate(-50%, -50%);-webkit-mask-image:var(--icon-checkbox);mask-image:var(--icon-checkbox);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.checkbox.sc-scout-checkbox:disabled{pointer-events:none;background-color:var(--color-gray-100);border-color:var(--color-gray-100)}label.sc-scout-checkbox{display:flex;align-items:center;gap:var(--spacing-2);font:var(--type-label-base);color:var(--color-text-base)}'}},[514,"scout-checkbox",{validity:[1],checked:[4],disabled:[4],ariaLabelledby:[1,"aria-labelledby"],label:[1],value:[1],name:[1],ariaId:[32]},void 0,{validity:[{runValidation:0}]}]);function i(){"undefined"!=typeof customElements&&["scout-checkbox"].forEach((e=>{"scout-checkbox"===e&&(customElements.get(t(e))||customElements.define(t(e),s))}))}export{s as S,i as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,H as t,h as a,t as s}from"./p-
|
|
1
|
+
import{p as e,H as t,h as a,t as s}from"./p-DLiFilsh.js";const o=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}titleText;render(){return a("header",{key:"32779c0aa2d189ea43d2ad14dd920e6b7c4b3e17",class:"container"},a("slot",{key:"0e6b6e66c1f129cb9833335e87298b7c99a6f35c",name:"prefix"}),a("div",{key:"9f1e2ac9696717a2defe268dd85eb35b641918f9",class:"title"},this.titleText),a("slot",{key:"b6b0405705921bfd0bdd17ca76bfee97f9bc6105",name:"suffix"}))}static get delegatesFocus(){return!0}static get style(){return":host{display:flex;width:100%}::slotted(scout-button){height:100% !important}.container{display:flex;flex:1;height:var(--spacing-14);background-color:var(--color-white);border-bottom:1px solid var(--color-gray-100);color:var(--color-text-brand-base);padding:var(--spacing-1);box-shadow:0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)}.title{flex:1;display:flex;align-items:center;font:var(--type-body-lg);font-weight:500;padding:0 var(--spacing-2)}"}},[785,"scout-app-bar",{titleText:[1,"title-text"]}]),r=o,c=function(){"undefined"!=typeof customElements&&["scout-app-bar"].forEach((e=>{"scout-app-bar"===e&&(customElements.get(s(e))||customElements.define(s(e),o))}))};export{r as ScoutAppBar,c as defineCustomElement}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface ScoutAvatar extends Components.ScoutAvatar, HTMLElement {}
|
|
4
|
+
export const ScoutAvatar: {
|
|
5
|
+
prototype: ScoutAvatar;
|
|
6
|
+
new (): ScoutAvatar;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as t,H as s,h as e,g as r,t as a}from"./p-DLiFilsh.js";const o=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}imageSrc="";alt="";render(){return e("img",{src:(()=>{if(this.imageSrc)return this.imageSrc;try{return r("assets/fallbackImage.png")}catch(t){return console.info("In storybook, rendering from storybook asset"),"fallbackImage.png"}})(),alt:this.alt})}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}static get style(){return":host{display:flex;aspect-ratio:1 / 1}img{border-radius:50%}"}},[529,"scout-avatar",{imageSrc:[1,"image-src"],alt:[1]}]),c=o,i=function(){"undefined"!=typeof customElements&&["scout-avatar"].forEach((t=>{"scout-avatar"===t&&(customElements.get(a(t))||customElements.define(a(t),o))}))};export{c as ScoutAvatar,i as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as e,c as o,h as r,t as n}from"./p-
|
|
1
|
+
import{p as t,H as e,c as o,h as r,t as n}from"./p-DLiFilsh.js";function a(t){var e,o,r="";if("string"==typeof t||"number"==typeof t)r+=t;else if("object"==typeof t)if(Array.isArray(t)){var n=t.length;for(e=0;e<n;e++)t[e]&&(o=a(t[e]))&&(r&&(r+=" "),r+=o)}else for(o in t)t[o]&&(r&&(r+=" "),r+=o);return r}function i(){for(var t,e,o=0,r="",n=arguments.length;o<n;o++)(t=arguments[o])&&(e=a(t))&&(r&&(r+=" "),r+=e);return r}const s=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.scoutClick=o(this,"scoutClick")}type="button";href;target;rel;icon;label;active;scoutClick;render(){const t="link"===this.type?{href:this.href,target:this.target,rel:this.rel??("_blank"===this.target?"noopener noreferrer":void 0)}:{};return r("link"===this.type?"a":"button",{key:"96f414836614c63073d7d4250e5d51e9b4f0fe18",class:i("button",this.active&&"active"),onClick:()=>this.scoutClick.emit(),...t},r("span",{key:"9a6715eb90b616aa62bd4120ff49aeb687d43d27",class:"icon",innerHTML:this.icon}),r("span",{key:"b66e620d12e0da541e4b6366a2eb373383dff4b8",class:"label"},this.label))}static get delegatesFocus(){return!0}static get style(){return':host{display:flex;flex:1}.button{position:relative;display:flex;flex-direction:column;flex:1;justify-content:center;align-items:center;background-color:transparent;border:none;color:var(--color-text-base);cursor:pointer;z-index:0}@media (hover: hover){.button:hover::after{background-color:var(--color-neutral-50)}}.button.active{color:var(--color-blue-500)}.button.active::after{content:"";position:absolute;top:var(--spacing-2);bottom:var(--spacing-2);right:var(--spacing-2);left:var(--spacing-2);background-color:var(--color-blue-50);border-radius:var(--spacing-4);z-index:-1}.button .icon{width:var(--spacing-6);height:var(--spacing-6)}.button .label{font:var(--type-label-sm)}a{-webkit-text-decoration:none;text-decoration:none}'}},[529,"scout-bottom-bar-item",{type:[1],href:[1],target:[1],rel:[1],icon:[1],label:[1],active:[4]}]),c=s,l=function(){"undefined"!=typeof customElements&&["scout-bottom-bar-item"].forEach((t=>{"scout-bottom-bar-item"===t&&(customElements.get(n(t))||customElements.define(n(t),s))}))};export{c as ScoutBottomBarItem,l as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as e,h as
|
|
1
|
+
import{p as t,H as e,h as o,t as s}from"./p-DLiFilsh.js";const r=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}render(){return o("nav",{key:"5f2fb6d34977a9a83fb2c2e254562b129fe40535",class:"container"},o("slot",{key:"6833b584719bf53edfa90875d8798707a7fccbe4"}))}static get delegatesFocus(){return!0}static get style(){return":host{display:flex;width:100%}.container{display:flex;flex:1;height:var(--spacing-18);border-top:1px solid var(--color-gray-100);background-color:var(--color-white);box-shadow:0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)}"}},[273,"scout-bottom-bar"]),a=r,c=function(){"undefined"!=typeof customElements&&["scout-bottom-bar"].forEach((t=>{"scout-bottom-bar"===t&&(customElements.get(s(t))||customElements.define(s(t),r))}))};export{a as ScoutBottomBar,c as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as o,H as t,c as r,h as n,d as a,t as e}from"./p-
|
|
1
|
+
import{p as o,H as t,c as r,h as n,d as a,t as e}from"./p-DLiFilsh.js";const c=o(class extends t{constructor(o){super(),!1!==o&&this.__registerHost(),this.scoutClick=r(this,"scoutClick")}type="button";href;target;rel;size="medium";variant="outlined";icon;iconPosition="after";iconOnly=!1;scoutClick;render(){const o="link"===this.type?"a":"button",t="link"===this.type?{href:this.href,target:this.target,rel:this.rel??("_blank"===this.target?"noopener noreferrer":void 0)}:{type:this.type},r=this.icon&&n("span",{key:"9a16653774acda8b34ff428fbe21cca1e481c9e4",class:"icon",innerHTML:this.icon});return n(a,{key:"05da4122d7e1b6e80c5230b43c42de366c2a570a","data-size":this.size,"data-icon-only":this.iconOnly},n(o,{key:"d95abeb01118b1c00439aa66b308302bcded9871",class:"button "+this.variant,onClick:()=>this.scoutClick.emit(),...t},"before"===this.iconPosition&&r,n("span",{key:"623acd0ca7b801027515f52e5ff984769ccee5d8",class:"content"},n("slot",{key:"17ba121fdc0522f7a7857d7d8abd937fe51d105b"})),"after"===this.iconPosition&&r))}static get style(){return'scout-button{display:inline-block;height:var(--spacing-10);font:var(--type-body-base)}scout-button[data-size="large"]{height:var(--spacing-12);font:var(--type-body-lg)}scout-button .button{flex:1;display:inline-flex;width:100%;height:100%;align-items:center;justify-content:center;gap:var(--spacing-3);padding:0 var(--spacing-4);border-radius:var(--spacing-2);border:1px solid transparent;cursor:pointer;-webkit-text-decoration:none;text-decoration:none;box-sizing:border-box}scout-button[data-size="large"] .button{padding:0 var(--spacing-5)}scout-button .icon{width:var(--spacing-5);height:var(--spacing-5);margin:0 calc(var(--spacing-1) * -1)}scout-button .icon svg{width:100%;height:100%}scout-button[data-icon-only] .button{aspect-ratio:1 / 1;justify-content:center;padding:0}scout-button[data-icon-only] .icon{margin:0}scout-button[data-icon-only] .content{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}scout-button .button.primary{background-color:var(--color-background-brand-base);color:var(--color-text-brand-inverse)}@media (hover: hover){scout-button .button.primary:hover{background-color:var(--color-background-brand-hovered)}}scout-button .button.primary:active{background-color:var(--color-background-brand-pressed)}scout-button .button.outlined{background-color:transparent;border-color:var(--color-background-brand-subtle-base);color:var(--color-text-brand-base)}@media (hover: hover){scout-button .button.outlined:hover{background-color:var(--color-background-brand-subtle-hovered)}}scout-button .button.outlined:active{background-color:var(--color-background-brand-subtle-pressed)}scout-button .button.text{background-color:transparent;border-color:transparent;color:var(--color-text-brand-base)}@media (hover: hover){scout-button .button.text:hover{background-color:var(--color-background-brand-subtle-hovered)}}scout-button .button.text:active{background-color:var(--color-background-brand-subtle-pressed)}scout-button .button.caution{background-color:var(--color-background-caution-bold-base);color:var(--color-text-caution-bold-base)}@media (hover: hover){scout-button .button.caution:hover{background-color:var(--color-background-caution-bold-hovered)}}scout-button .button.caution:active{background-color:var(--color-background-caution-bold-pressed)}scout-button .button.danger{background-color:var(--color-background-danger-bold-base);color:var(--color-text-danger-bold-base)}@media (hover: hover){scout-button .button.danger:hover{background-color:var(--color-background-danger-bold-hovered)}}scout-button .button.danger:active{background-color:var(--color-background-danger-bold-pressed)}'}},[772,"scout-button",{type:[1],href:[1],target:[1],rel:[1],size:[1],variant:[1],icon:[1],iconPosition:[1,"icon-position"],iconOnly:[4,"icon-only"]}]),s=c,b=function(){"undefined"!=typeof customElements&&["scout-button"].forEach((o=>{"scout-button"===o&&(customElements.get(e(o))||customElements.define(e(o),c))}))};export{s as ScoutButton,b as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as s,H as e,h as
|
|
1
|
+
import{p as s,H as e,h as t,t as a}from"./p-DLiFilsh.js";const c=s(class extends e{constructor(s){super(),!1!==s&&this.__registerHost(),this.__attachShadow()}render(){return t("div",{key:"1ea5b0a2ea2a8f342e0153d9e90565cc69e2f336",class:"card"},t("slot",{key:"328519393a7ad17aa158dea8835f16ebdc0cc7bc"}))}static get delegatesFocus(){return!0}static get style(){return":host{display:contents}.card{display:block;border-radius:var(--spacing-2);border:1px solid var(--color-gray-100);padding:var(--spacing-2);box-shadow:0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)}"}},[273,"scout-card"]),r=c,o=function(){"undefined"!=typeof customElements&&["scout-card"].forEach((s=>{"scout-card"===s&&(customElements.get(a(s))||customElements.define(a(s),c))}))};export{r as ScoutCard,o as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{S as o,d as
|
|
1
|
+
import{S as o,d as p}from"./p-DYpc8Wxz.js";const s=o,r=p;export{s as ScoutCheckbox,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as e,h as s,d as o,t as r}from"./p-
|
|
1
|
+
import{p as t,H as e,h as s,d as o,t as r}from"./p-DLiFilsh.js";const c=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}render(){return s(o,{key:"6a4d3d0bed1689875ec867b16f0c77f391662fc8"})}static get delegatesFocus(){return!0}static get style(){return":host{display:block;height:1px;background-color:var(--color-gray-200)}"}},[17,"scout-divider"]),d=c,i=function(){"undefined"!=typeof customElements&&["scout-divider"].forEach((t=>{"scout-divider"===t&&(customElements.get(r(t))||customElements.define(r(t),c))}))};export{d as ScoutDivider,i as defineCustomElement}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface ScoutDrawer extends Components.ScoutDrawer, HTMLElement {}
|
|
4
|
+
export const ScoutDrawer: {
|
|
5
|
+
prototype: ScoutDrawer;
|
|
6
|
+
new (): ScoutDrawer;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as n,H as t,c as r,h as e,t as o}from"./p-DLiFilsh.js";var i="data-focus-lock",a=function(n){for(var t=Array(n.length),r=0;r<n.length;++r)t[r]=n[r];return t},u=function(n){return Array.isArray(n)?n:[n]},c=function(n){return Array.isArray(n)?n[0]:n},s=function(n){return n.parentNode&&n.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?n.parentNode.host:n.parentNode},d=function(n){return n===document||n&&n.nodeType===Node.DOCUMENT_NODE},f=function(n,t){var r=n.get(t);if(void 0!==r)return r;var e=function(n,t){return!n||d(n)||!function(n){if(n.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(n,null);return!(!t||!t.getPropertyValue||"none"!==t.getPropertyValue("display")&&"hidden"!==t.getPropertyValue("visibility"))}(n)&&t(s(n))}(t,f.bind(void 0,n));return n.set(t,e),e},l=function(n,t){var r=n.get(t);if(void 0!==r)return r;var e=function(n,t){return!(n&&!d(n))||!!b(n)&&t(s(n))}(t,l.bind(void 0,n));return n.set(t,e),e},h=function(n){return n.dataset},p=function(n){return"INPUT"===n.tagName},v=function(n){return p(n)&&"radio"===n.type},b=function(n){var t=n.getAttribute("data-no-autofocus");return![!0,"true",""].includes(t)},w=function(n){var t;return!(!n||!(null===(t=h(n))||void 0===t?void 0:t.focusGuard))},m=function(n){return!w(n)},g=function(n){return!!n},k=function(n,t){var r=n.tabIndex-t.tabIndex;if(r){if(!n.tabIndex)return 1;if(!t.tabIndex)return-1}return r||n.index-t.index},x=function(n,t){return a(n).map((function(n,t){return{node:n,index:t,tabIndex:n.tabIndex}})).filter((function(n){return!t||n.tabIndex>=0})).sort(k)},y="button:enabled,select:enabled,textarea:enabled,input:enabled,a[href],area[href],summary,iframe,object,embed,audio[controls],video[controls],[tabindex],[contenteditable],[autofocus]",B=function(n){return a((n.shadowRoot||n).children).reduce((function(n,t){return n.concat(t.matches(y)?[t]:[],B(t))}),[])},C=function(n){return n.reduce((function(n,t){var r,e=B(t),o=(r=[]).concat.apply(r,e.map((function(n){return function(n){var t;return n instanceof HTMLIFrameElement&&(null===(t=n.contentDocument)||void 0===t?void 0:t.body)?C([n.contentDocument.body]):[n]}(n)})));return n.concat(o,t.parentNode?a(t.parentNode.querySelectorAll(y)).filter((function(n){return n===t})):[])}),[])},M=function(n,t){return a(n).filter((function(n){return f(t,n)})).filter((function(n){return function(n){return!((p(n)||function(n){return"BUTTON"===n.tagName}(n))&&("hidden"===n.type||n.disabled))}(n)}))},L=function(n,t){return void 0===t&&(t=new Map),a(n).filter((function(n){return l(t,n)}))},E=function(n,t){return x(M(C(n),t),!1)},O=function(n,t){return n.shadowRoot?O(n.shadowRoot,t):!(void 0===Object.getPrototypeOf(n).contains||!Object.getPrototypeOf(n).contains.call(n,t))||a(n.children).some((function(n){var r;if(n instanceof HTMLIFrameElement){var e=null===(r=n.contentDocument)||void 0===r?void 0:r.body;return!!e&&O(e,t)}return O(n,t)}))},N=function(n){return n.parentNode?N(n.parentNode):n},S=function(n){return u(n).filter(Boolean).reduce((function(n,t){var r=t.getAttribute(i);return n.push.apply(n,r?function(n){for(var t=new Set,r=n.length,e=0;e<r;e+=1)for(var o=e+1;o<r;o+=1){var i=n[e].compareDocumentPosition(n[o]);(i&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(o),(i&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(e)}return n.filter((function(n,r){return!t.has(r)}))}(a(N(t).querySelectorAll("[".concat(i,'="').concat(r,'"]:not([').concat("data-focus-lock-disabled",'="disabled"])')))):[t]),n}),[])},T=function(n){if(void 0===n&&(n=document),n&&n.activeElement){var t=n.activeElement;return t.shadowRoot?T(t.shadowRoot):t instanceof HTMLIFrameElement&&function(){try{return t.contentWindow.document}catch(n){return}}()?T(t.contentWindow.document):t}},j=function(n,t){return v(n)&&n.name?function(n,t){return t.filter(v).filter((function(t){return t.name===n.name})).filter((function(n){return n.checked}))[0]||n}(n,t):n},F=function(n,t){return n.length>1?n.indexOf(j(n[t],n)):t},H="NEW_FOCUS",z=function(n,t,r){var e=n.map((function(n){return n.node})),o=L(e.filter(function(n){return function(t){var r,e=null===(r=h(t))||void 0===r?void 0:r.autofocus;return t.autofocus||void 0!==e&&"false"!==e||n.indexOf(t)>=0}}(r)));return function(n){return n[0]&&n.length>1?j(n[0],n):n[0]}(o&&o.length?o:L(t))},D=function(n,t){return void 0===t&&(t=[]),t.push(n),n.parentNode&&D(n.parentNode.host||n.parentNode,t),t},I=function(n,t){for(var r=D(n),e=D(t),o=0;o<r.length;o+=1){var i=r[o];if(e.indexOf(i)>=0)return i}return!1},X=function(n,t){var r=T(u(n).length>0?document:c(n).ownerDocument),e=S(n).filter(m),o=function(n,t,r){var e=u(n),o=u(t),i=e[0],a=!1;return o.filter(Boolean).forEach((function(n){a=I(a||n,n)||a,r.filter(Boolean).forEach((function(n){var t=I(i,n);t&&(a=!a||O(t,a)?t:I(t,a))}))})),a}(r||n,n,e),i=new Map,s=E(e,i),d=function(n,t){return x(M(C(n),t),!0)}(e,i).filter((function(n){return m(n.node)}));if(d[0]||(d=s)[0]){var f=E([o],i).map((function(n){return n.node})),l=function(n,t){var r=new Map;return t.forEach((function(n){return r.set(n.node,n)})),n.map((function(n){return r.get(n)})).filter(g)}(f,d),h=l.map((function(n){return n.node})),p=function(n,t,r,e){var o=n.length,i=n[0],a=n[o-1],u=w(r);if(!(r&&n.indexOf(r)>=0)){var c=void 0!==r?t.indexOf(r):-1,s=e?t.indexOf(e):c,d=e?n.indexOf(e):-1,f=c-s,l=t.indexOf(i),h=t.indexOf(a),p=function(n){var t=new Set;return n.forEach((function(r){return t.add(j(r,n))})),n.filter((function(n){return t.has(n)}))}(t),v=(void 0!==r?p.indexOf(r):-1)-(e?p.indexOf(e):c),b=F(n,0),m=F(n,o-1);return-1===c||-1===d?H:!f&&d>=0?d:c<=l&&u&&Math.abs(f)>1?m:c>=h&&u&&Math.abs(f)>1?b:f&&Math.abs(v)>1?d:c<=l?m:c>h?b:f?Math.abs(f)>1?d:(o+d+f)%o:void 0}}(h,f,r,t);if(p===H){var v=z(s,h,function(n,t){return n.reduce((function(n,r){return n.concat(function(n,t){return M(function(n){var t=n.querySelectorAll("[data-autofocus-inside]");return a(t).map((function(n){return C([n])})).reduce((function(n,t){return n.concat(t)}),[])}(n),t)}(r,t))}),[])}(e,i));return v?{node:v}:void console.warn("focus-lock: cannot find any node to move focus into")}return void 0===p?p:l[p]}},Y=0,A=!1,P=0,U=null,W=function(){var n=!1;if(P){var t=P;document&&document.activeElement===document.body||function(n){void 0===n&&(n=document);var t=T(n);return!!t&&a(n.querySelectorAll("[data-no-focus-lock]")).some((function(n){return O(n,t)}))}()||(t&&!function(n,t){return void 0===t&&(t=T(c(n).ownerDocument)),!(!t||t.dataset&&t.dataset.focusGuard)&&S(n).some((function(n){return O(n,t)||function(n,t){return!!a(n.querySelectorAll("iframe")).some((function(n){return function(n,t){return n===t}(n,t)}))}(n,t)}))}(t)&&(n=function(n,t,r){void 0===r&&(r={});var e=X(n,U);if(!A&&e){if(Y>2)return console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),A=!0,void setTimeout((function(){A=!1}),1);Y++,function(n,t){"focus"in n&&n.focus(t),"contentWindow"in n&&n.contentWindow&&n.contentWindow.focus()}(e.node,r.focusOptions),Y--}}(t)),U=document.activeElement)}return n},K=[],_=function(n){return!!function(n){P=n,n&&W()}(K.filter((function(n){return n})).slice(-1)[0])&&(n&&n.preventDefault(),!0)};const q=n(class extends t{constructor(n){super(),!1!==n&&this.__registerHost(),this.__attachShadow(),this.backButtonClicked=r(this,"backButtonClicked"),this.exitButtonClicked=r(this,"exitButtonClicked")}get rootElement(){return this}open=!1;heading="";showBackButton=!1;backButtonLabel="";showExitButton=!1;exitButtonLabel="";disableBackdrop=!1;disableContentPadding=!1;drawerState="closed";focusedNode=null;componentWillLoad(){this.focusedNode=document.activeElement}componentDidLoad(){this.open&&this.setDrawerOpenState(!0)}disconnectedCallback(){}backButtonClicked;exitButtonClicked;onBackButtonClick(){this.backButtonClicked.emit()}onExitButtonClick(){this.exitButtonClicked.emit()}setDrawerOpenState(n){const t=this.rootElement.shadowRoot.querySelector(".drawer--container");t||(this.drawerState=n?"opening":"closing"),n?(this.drawerState="opening",function(n){0===K.length&&document.addEventListener("focusin",_),K.indexOf(n)<0&&(K.push(n),_())}(t)):(function(n){K=K.filter((function(t){return t!==n})),_(),0===K.length&&document.removeEventListener("focusin",_)}(t),this.drawerState="closing")}render(){const n=this.heading||this.showBackButton||this.showExitButton;return e("div",{class:"drawer"},!this.disableBackdrop&&e("div",{onClick:()=>{this.onExitButtonClick()},class:"backdrop "+("closed"!==this.drawerState?"backdrop-visible":"backdrop-hidden")}),e("div",{class:"drawer--container "+(()=>{switch(this.drawerState){case"opening":case"open":return"open";case"closing":return"close"}})(),onAnimationEnd:()=>{this.drawerState=this.open?"open":"closed"}},n&&e("div",{class:"header--wrapper"},this.showBackButton&&e("button",{type:"button",class:"back-button",onClick:()=>this.onBackButtonClick()},e("span",{class:"icon",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-arrow-left"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M5 12l14 0" /><path d="M5 12l6 6" /><path d="M5 12l6 -6" /></svg>'}),e("span",{class:"visually-hidden"},this.backButtonLabel)),this.showExitButton&&e("button",{type:"button",class:"exit-button",onClick:()=>this.onExitButtonClick()},e("span",{class:"icon",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-x"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 6l-12 12" /><path d="M6 6l12 12" /></svg>'}),e("span",{class:"visually-hidden"},this.exitButtonLabel)),this.heading&&e("h3",{class:"heading"},this.heading)),e("div",{class:!this.disableContentPadding&&"content--wrapper"},e("slot",null))))}static get delegatesFocus(){return!0}static get watchers(){return{open:[{setDrawerOpenState:0}]}}static get style(){return".drawer{width:100%}.drawer--container{position:fixed;bottom:0;right:0;left:0;height:90%;width:100%;transform:translateY(100%);background-color:#fefefe;box-shadow:0 0 20px 3px var(--color-gray-200);border-top-left-radius:var(--spacing-5);border-top-right-radius:var(--spacing-5);overflow:hidden;margin:0;z-index:101}@keyframes drawerOpen{from{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes drawerClose{from{transform:translateY(0)}to{transform:translateY(100%)}}.open{animation:drawerOpen 0.3s ease-in-out forwards}.close{animation:drawerClose 0.3s ease-in-out forwards}@media screen and (min-width: 901px){@keyframes drawerOpen{from{transform:translateX(100%)}to{transform:translateX(0)}}@keyframes drawerClose{from{transform:translateX(0)}to{transform:translateX(100%)}}.drawer--container{top:0;bottom:0;right:0;left:auto;left:initial;height:100%;max-height:100%;max-width:90%;min-height:600px;width:430px;transform:translateX(100%);border-top-left-radius:var(--spacing-5);border-bottom-left-radius:var(--spacing-5);border-top-right-radius:0}.open{animation:drawerOpen 0.3s ease-in-out forwards}.close{animation:drawerClose 0.3s ease-in-out forwards}}.backdrop{position:fixed;top:0;bottom:0;left:0;right:0;transition:opacity 0.2s;z-index:100}.backdrop-hidden{opacity:0}.backdrop-visible{opacity:0.6;pointer-events:all;background-color:var(--color-gray-200)}.header--wrapper{display:flex;position:relative;width:100%;height:var(--spacing-20);flex-direction:row;justify-content:center;align-items:center}.heading{font:var(--type-body-lg);font-weight:600;color:var(--color-text-base)}.content--wrapper{padding:0 var(--spacing-7)}button{z-index:2;pointer-events:all;cursor:pointer;background:none;box-shadow:none;position:absolute;border:none;width:24px;height:24px;padding:24px;display:flex;align-items:center;justify-content:center}.exit-button{right:var(--spacing-3)}.back-button{left:var(--spacing-3)}.visually-hidden{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}"}},[785,"scout-drawer",{open:[4],heading:[1],showBackButton:[4,"show-back-button"],backButtonLabel:[1,"back-button-label"],showExitButton:[4,"show-exit-button"],exitButtonLabel:[1,"exit-button-label"],disableBackdrop:[4,"disable-backdrop"],disableContentPadding:[4,"disable-content-padding"],drawerState:[32],focusedNode:[32]},void 0,{open:[{setDrawerOpenState:0}]}]),G=q,J=function(){"undefined"!=typeof customElements&&["scout-drawer"].forEach((n=>{"scout-drawer"===n&&(customElements.get(o(n))||customElements.define(o(n),q))}))};export{G as ScoutDrawer,J as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,H as t,h as l,t as s}from"./p-
|
|
1
|
+
import{p as e,H as t,h as l,t as s}from"./p-DLiFilsh.js";const r=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost()}label;helpText;inputId;errorText=null;errorHidden=!1;get hostElement(){return this}catchFieldId(e){e.stopPropagation(),this.inputId=e.detail}handleValidation(e){const{element:t}=e.detail;this.errorHidden=!0,this.errorText=t.validity.valid?null:t.validationMessage}showError(){this.errorHidden=!1}render(){return l("div",{key:"b2b20acd9c1e41294bfbb8ce7e450e23142c5606",class:"field"},l("label",{key:"7b375df7d5a5e4bbe44ae963775c58a6c27b5479",htmlFor:this.inputId,class:"label"},this.label),l("slot",{key:"c5783c044aa82977cd21a56df4f838af95bc0bf3"}),l("p",{key:"38df5a4f28432e046bb95fed66d6c1972e1d7adc",class:"error-text","aria-live":"polite"},!this.errorHidden&&this.errorText),this.helpText&&l("p",{key:"1f84da3fad92b45ac1cf3b8d1fad75276b7f8359",class:"help-text"},this.helpText))}static get style(){return".field.sc-scout-field{display:flex;flex-direction:column}.label.sc-scout-field{font:var(--type-label-sm);font-weight:600;color:var(--color-text-base)}.error-text.sc-scout-field{font:var(--type-label-sm);color:var(--color-text-danger-base);margin:var(--spacing-1) 0 0 0}.error-text.sc-scout-field:empty{margin:0}.help-text.sc-scout-field{font:var(--type-label-sm);color:var(--color-gray-600);margin:var(--spacing-1) 0 0 0}"}},[774,"scout-field",{label:[1],helpText:[1,"help-text"],inputId:[32],errorText:[32],errorHidden:[32]},[[0,"_scoutFieldId","catchFieldId"],[0,"_scoutValidityChanged","handleValidation"],[0,"scoutBlur","showError"],[0,"_scoutInvalid","showError"]]]),a=r,o=function(){"undefined"!=typeof customElements&&["scout-field"].forEach((e=>{"scout-field"===e&&(customElements.get(s(e))||customElements.define(s(e),r))}))};export{a as ScoutField,o as defineCustomElement}
|