@covalent/components 6.2.0 → 6.2.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/action-ribbon.js +6 -6
- package/action-ribbon.mjs +30 -35
- package/alert.js +6 -6
- package/alert.mjs +14 -19
- package/app-shell/app-shell.d.ts +2 -0
- package/app-shell/app-shell.d.ts.map +1 -1
- package/app-shell.js +8 -8
- package/app-shell.mjs +44 -42
- package/button.js +9 -9
- package/button.mjs +16 -25
- package/card.js +8 -8
- package/card.mjs +15 -17
- package/check-list-item.js +9 -9
- package/check-list-item.mjs +17 -26
- package/checkbox.js +2 -2
- package/checkbox.mjs +20 -29
- package/circular-progress.js +29 -29
- package/circular-progress.mjs +10 -14
- package/code-snippet.js +9 -9
- package/code-snippet.mjs +7 -10
- package/dialog.js +1 -1
- package/dialog.mjs +162 -14
- package/{dialog-85c21333.mjs → dialog2.mjs} +50 -56
- package/directive-helpers.mjs +5 -0
- package/drawer.js +3 -3
- package/drawer.mjs +9 -15
- package/empty-state.js +5 -5
- package/empty-state.mjs +4 -6
- package/{form-element-d4e7bcdb.js → form-element.mjs} +2 -2
- package/{foundation-3f55a9dc.js → foundation.mjs} +3 -3
- package/icon-button.js +8 -8
- package/icon-button.mjs +16 -25
- package/icon-check-toggle.js +9 -9
- package/icon-check-toggle.mjs +11 -20
- package/icon-radio/icon-radio-toggle.d.ts +2 -3
- package/icon-radio/icon-radio-toggle.d.ts.map +1 -1
- package/icon-radio-toggle.js +8 -14
- package/icon-radio-toggle.mjs +37 -64
- package/icon.js +2 -2
- package/icon.mjs +8 -9
- package/if-defined.mjs +5 -0
- package/index.js +1 -1
- package/index.mjs +114 -124
- package/linear-progress.js +12 -12
- package/linear-progress.mjs +17 -23
- package/list/list-expansion.d.ts +3 -2
- package/list/list-expansion.d.ts.map +1 -1
- package/list/list-item.d.ts.map +1 -1
- package/list/list.d.ts +5 -0
- package/list/list.d.ts.map +1 -1
- package/list-expansion.js +8 -8
- package/list-expansion.mjs +37 -41
- package/list-item.js +1 -1
- package/list-item.mjs +9 -18
- package/list-item2.mjs +43 -0
- package/list.js +1 -1
- package/list.mjs +5 -20
- package/{list-28b77a61.mjs → list2.mjs} +35 -16
- package/menu.js +2 -2
- package/menu.mjs +20 -29
- package/{mwc-checkbox-base-435c1f1d.js → mwc-checkbox-base.mjs} +6 -6
- package/mwc-checkbox.css.mjs +5 -0
- package/{mwc-drawer-base-f44fcf34.js → mwc-drawer-base.mjs} +11 -11
- package/mwc-icon.mjs +9 -0
- package/{mwc-line-ripple-directive-a97ce725.js → mwc-line-ripple-directive.mjs} +16 -16
- package/mwc-list-base.mjs +111 -0
- package/mwc-list-item-base.mjs +28 -0
- package/mwc-list-item.css.mjs +9 -0
- package/{mwc-menu-base-ac49fe54.js → mwc-menu-base.mjs} +20 -20
- package/{mwc-radio-base-442d495a.js → mwc-radio-base.mjs} +11 -11
- package/mwc-radio.css.mjs +5 -0
- package/mwc-ripple.mjs +175 -0
- package/{mwc-slider.css-48f02f1e.js → mwc-slider.css.mjs} +20 -20
- package/{mwc-tab-base-1a19b299.js → mwc-tab-base.mjs} +22 -22
- package/{mwc-top-app-bar-base-14e0a018.js → mwc-top-app-bar-base.mjs} +10 -10
- package/nav-list-item.js +10 -10
- package/nav-list-item.mjs +28 -36
- package/{observer-a096ab43.js → observer.mjs} +1 -1
- package/package.json +1 -1
- package/radio-list-item.js +10 -10
- package/radio-list-item.mjs +24 -33
- package/radio.js +2 -2
- package/radio.mjs +19 -28
- package/ripple-handlers.mjs +5 -0
- package/select.js +28 -28
- package/select.mjs +21 -31
- package/side-sheet.js +4 -4
- package/side-sheet.mjs +8 -14
- package/slider-range.js +7 -7
- package/slider-range.mjs +64 -72
- package/slider.js +3 -3
- package/slider.mjs +21 -29
- package/snackbar.js +15 -15
- package/snackbar.mjs +21 -27
- package/status-header-item.js +4 -4
- package/status-header-item.mjs +13 -14
- package/status-header.js +6 -6
- package/status-header.mjs +7 -9
- package/style.css +1 -1
- package/switch.js +18 -18
- package/switch.mjs +22 -31
- package/tab-bar.js +21 -21
- package/tab-bar.mjs +14 -23
- package/tab.js +3 -3
- package/tab.mjs +6 -15
- package/text-lockup.js +5 -5
- package/text-lockup.mjs +6 -8
- package/textarea.js +14 -14
- package/textarea.mjs +20 -28
- package/textfield.js +3 -3
- package/textfield.mjs +132 -41
- package/{textfield-276b0ded.mjs → textfield2.mjs} +21 -28
- package/toolbar.js +3 -3
- package/toolbar.mjs +4 -10
- package/tooltip.js +12 -12
- package/tooltip.mjs +9 -13
- package/top-app-bar-fixed.js +5 -5
- package/top-app-bar-fixed.mjs +23 -29
- package/top-app-bar.js +3 -3
- package/top-app-bar.mjs +6 -30
- package/{top-app-bar-a236c3bc.mjs → top-app-bar2.mjs} +1 -1
- package/tree-list-item.js +8 -8
- package/tree-list-item.mjs +3 -5
- package/tree-list.js +3 -3
- package/tree-list.mjs +4 -4
- package/typography.js +4 -4
- package/typography.mjs +11 -12
- package/aria-property-fa2717fe.mjs +0 -41
- package/base-element-c3dc926e.mjs +0 -28
- package/base-element-d5abe37a.js +0 -5
- package/class-map-08c84aeb.mjs +0 -62
- package/class-map-50b8edb4.js +0 -9
- package/dialog-8ee07177.js +0 -162
- package/directive-helpers-725a181d.mjs +0 -11
- package/directive-helpers-fce8cf91.js +0 -5
- package/event-options-3937d997.mjs +0 -14
- package/event-options-7bc382d8.js +0 -5
- package/form-element-6dbd7afa.mjs +0 -50
- package/foundation-2334d146.mjs +0 -60
- package/foundation-c580100a.mjs +0 -152
- package/if-defined-639ed018.mjs +0 -10
- package/if-defined-cb12d481.js +0 -5
- package/inert.esm-359d4581.mjs +0 -640
- package/list-170cca53.js +0 -5
- package/list-item-26ddcc43.js +0 -8
- package/list-item-c1e72538.mjs +0 -43
- package/mwc-checkbox-base-10e977f2.mjs +0 -198
- package/mwc-checkbox.css-956e3d6c.js +0 -5
- package/mwc-checkbox.css-b7abc7fd.mjs +0 -10
- package/mwc-drawer-base-b2b772c3.mjs +0 -335
- package/mwc-icon-b96fb867.js +0 -9
- package/mwc-icon-c7013880.mjs +0 -26
- package/mwc-line-ripple-directive-c3e1f04a.mjs +0 -653
- package/mwc-list-base-7d5f7278.js +0 -111
- package/mwc-list-base-c0f8af1c.mjs +0 -840
- package/mwc-list-item-base-803b9771.js +0 -28
- package/mwc-list-item-base-acef0223.mjs +0 -202
- package/mwc-list-item.css-401e2407.js +0 -9
- package/mwc-list-item.css-b5481d96.mjs +0 -17
- package/mwc-menu-base-8970b43d.mjs +0 -1145
- package/mwc-radio-base-c29e6f42.mjs +0 -528
- package/mwc-radio.css-388ad26d.js +0 -5
- package/mwc-radio.css-4694aa9c.mjs +0 -10
- package/mwc-slider.css-336f809b.mjs +0 -956
- package/mwc-tab-base-7fb3d339.mjs +0 -694
- package/mwc-top-app-bar-base-79c87e69.mjs +0 -380
- package/observer-be7b92e2.mjs +0 -32
- package/property-074570d1.js +0 -5
- package/property-ca27685b.mjs +0 -20
- package/query-1e7846ea.mjs +0 -25
- package/query-2ba749b7.js +0 -5
- package/query-assigned-elements-07e38f46.js +0 -33
- package/query-assigned-elements-514e5265.mjs +0 -615
- package/query-assigned-nodes-9ec0fa5f.js +0 -5
- package/query-assigned-nodes-bea12e0c.mjs +0 -17
- package/ripple-handlers-2176f137.js +0 -107
- package/ripple-handlers-227497d3.mjs +0 -761
- package/state-6f7e570d.mjs +0 -12
- package/state-949232e6.js +0 -5
- package/style-map-2cb0fb63.mjs +0 -40
- package/style-map-3056a771.js +0 -5
- package/textfield-507c6a06.js +0 -133
- package/top-app-bar-34e85527.js +0 -6
- package/tslib.es6-6b53b818.js +0 -1
- package/tslib.es6-b5e819a6.mjs +0 -82
- package/utils-a8190a39.js +0 -5
- package/utils-dc65fdc9.mjs +0 -52
- /package/{aria-property-849c8816.js → aria-property.mjs} +0 -0
- /package/{foundation-e830bd94.js → foundation2.mjs} +0 -0
- /package/{inert.esm-2cee6f2e.js → inert.esm.mjs} +0 -0
@@ -1,380 +0,0 @@
|
|
1
|
-
import { a as f, b as u, _ as i } from "./tslib.es6-b5e819a6.mjs";
|
2
|
-
import { e as p } from "./property-ca27685b.mjs";
|
3
|
-
import { y as c } from "./query-assigned-elements-514e5265.mjs";
|
4
|
-
import { B as _ } from "./base-element-c3dc926e.mjs";
|
5
|
-
import { a as A, s as S } from "./utils-dc65fdc9.mjs";
|
6
|
-
import { i as g } from "./query-1e7846ea.mjs";
|
7
|
-
import { o as h } from "./class-map-08c84aeb.mjs";
|
8
|
-
/**
|
9
|
-
* @license
|
10
|
-
* Copyright 2018 Google Inc.
|
11
|
-
*
|
12
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
13
|
-
* of this software and associated documentation files (the "Software"), to deal
|
14
|
-
* in the Software without restriction, including without limitation the rights
|
15
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
16
|
-
* copies of the Software, and to permit persons to whom the Software is
|
17
|
-
* furnished to do so, subject to the following conditions:
|
18
|
-
*
|
19
|
-
* The above copyright notice and this permission notice shall be included in
|
20
|
-
* all copies or substantial portions of the Software.
|
21
|
-
*
|
22
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
23
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
24
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
25
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
26
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
27
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
28
|
-
* THE SOFTWARE.
|
29
|
-
*/
|
30
|
-
var v = {
|
31
|
-
FIXED_CLASS: "mdc-top-app-bar--fixed",
|
32
|
-
FIXED_SCROLLED_CLASS: "mdc-top-app-bar--fixed-scrolled",
|
33
|
-
SHORT_CLASS: "mdc-top-app-bar--short",
|
34
|
-
SHORT_COLLAPSED_CLASS: "mdc-top-app-bar--short-collapsed",
|
35
|
-
SHORT_HAS_ACTION_ITEM_CLASS: "mdc-top-app-bar--short-has-action-item"
|
36
|
-
}, a = {
|
37
|
-
DEBOUNCE_THROTTLE_RESIZE_TIME_MS: 100,
|
38
|
-
MAX_TOP_APP_BAR_HEIGHT: 128
|
39
|
-
}, T = {
|
40
|
-
ACTION_ITEM_SELECTOR: ".mdc-top-app-bar__action-item",
|
41
|
-
NAVIGATION_EVENT: "MDCTopAppBar:nav",
|
42
|
-
NAVIGATION_ICON_SELECTOR: ".mdc-top-app-bar__navigation-icon",
|
43
|
-
ROOT_SELECTOR: ".mdc-top-app-bar",
|
44
|
-
TITLE_SELECTOR: ".mdc-top-app-bar__title"
|
45
|
-
};
|
46
|
-
/**
|
47
|
-
* @license
|
48
|
-
* Copyright 2016 Google Inc.
|
49
|
-
*
|
50
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
51
|
-
* of this software and associated documentation files (the "Software"), to deal
|
52
|
-
* in the Software without restriction, including without limitation the rights
|
53
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
54
|
-
* copies of the Software, and to permit persons to whom the Software is
|
55
|
-
* furnished to do so, subject to the following conditions:
|
56
|
-
*
|
57
|
-
* The above copyright notice and this permission notice shall be included in
|
58
|
-
* all copies or substantial portions of the Software.
|
59
|
-
*
|
60
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
61
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
62
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
63
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
64
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
65
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
66
|
-
* THE SOFTWARE.
|
67
|
-
*/
|
68
|
-
var y = (
|
69
|
-
/** @class */
|
70
|
-
function() {
|
71
|
-
function r(e) {
|
72
|
-
e === void 0 && (e = {}), this.adapter = e;
|
73
|
-
}
|
74
|
-
return Object.defineProperty(r, "cssClasses", {
|
75
|
-
get: function() {
|
76
|
-
return {};
|
77
|
-
},
|
78
|
-
enumerable: !1,
|
79
|
-
configurable: !0
|
80
|
-
}), Object.defineProperty(r, "strings", {
|
81
|
-
get: function() {
|
82
|
-
return {};
|
83
|
-
},
|
84
|
-
enumerable: !1,
|
85
|
-
configurable: !0
|
86
|
-
}), Object.defineProperty(r, "numbers", {
|
87
|
-
get: function() {
|
88
|
-
return {};
|
89
|
-
},
|
90
|
-
enumerable: !1,
|
91
|
-
configurable: !0
|
92
|
-
}), Object.defineProperty(r, "defaultAdapter", {
|
93
|
-
get: function() {
|
94
|
-
return {};
|
95
|
-
},
|
96
|
-
enumerable: !1,
|
97
|
-
configurable: !0
|
98
|
-
}), r.prototype.init = function() {
|
99
|
-
}, r.prototype.destroy = function() {
|
100
|
-
}, r;
|
101
|
-
}()
|
102
|
-
);
|
103
|
-
/**
|
104
|
-
* @license
|
105
|
-
* Copyright 2018 Google Inc.
|
106
|
-
*
|
107
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
108
|
-
* of this software and associated documentation files (the "Software"), to deal
|
109
|
-
* in the Software without restriction, including without limitation the rights
|
110
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
111
|
-
* copies of the Software, and to permit persons to whom the Software is
|
112
|
-
* furnished to do so, subject to the following conditions:
|
113
|
-
*
|
114
|
-
* The above copyright notice and this permission notice shall be included in
|
115
|
-
* all copies or substantial portions of the Software.
|
116
|
-
*
|
117
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
118
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
119
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
120
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
121
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
122
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
123
|
-
* THE SOFTWARE.
|
124
|
-
*/
|
125
|
-
var B = (
|
126
|
-
/** @class */
|
127
|
-
function(r) {
|
128
|
-
f(e, r);
|
129
|
-
function e(t) {
|
130
|
-
return r.call(this, u(u({}, e.defaultAdapter), t)) || this;
|
131
|
-
}
|
132
|
-
return Object.defineProperty(e, "strings", {
|
133
|
-
get: function() {
|
134
|
-
return T;
|
135
|
-
},
|
136
|
-
enumerable: !1,
|
137
|
-
configurable: !0
|
138
|
-
}), Object.defineProperty(e, "cssClasses", {
|
139
|
-
get: function() {
|
140
|
-
return v;
|
141
|
-
},
|
142
|
-
enumerable: !1,
|
143
|
-
configurable: !0
|
144
|
-
}), Object.defineProperty(e, "numbers", {
|
145
|
-
get: function() {
|
146
|
-
return a;
|
147
|
-
},
|
148
|
-
enumerable: !1,
|
149
|
-
configurable: !0
|
150
|
-
}), Object.defineProperty(e, "defaultAdapter", {
|
151
|
-
/**
|
152
|
-
* See {@link MDCTopAppBarAdapter} for typing information on parameters and return types.
|
153
|
-
*/
|
154
|
-
get: function() {
|
155
|
-
return {
|
156
|
-
addClass: function() {
|
157
|
-
},
|
158
|
-
removeClass: function() {
|
159
|
-
},
|
160
|
-
hasClass: function() {
|
161
|
-
return !1;
|
162
|
-
},
|
163
|
-
setStyle: function() {
|
164
|
-
},
|
165
|
-
getTopAppBarHeight: function() {
|
166
|
-
return 0;
|
167
|
-
},
|
168
|
-
notifyNavigationIconClicked: function() {
|
169
|
-
},
|
170
|
-
getViewportScrollY: function() {
|
171
|
-
return 0;
|
172
|
-
},
|
173
|
-
getTotalActionItems: function() {
|
174
|
-
return 0;
|
175
|
-
}
|
176
|
-
};
|
177
|
-
},
|
178
|
-
enumerable: !1,
|
179
|
-
configurable: !0
|
180
|
-
}), e.prototype.handleTargetScroll = function() {
|
181
|
-
}, e.prototype.handleWindowResize = function() {
|
182
|
-
}, e.prototype.handleNavigationClick = function() {
|
183
|
-
this.adapter.notifyNavigationIconClicked();
|
184
|
-
}, e;
|
185
|
-
}(y)
|
186
|
-
);
|
187
|
-
/**
|
188
|
-
* @license
|
189
|
-
* Copyright 2018 Google Inc.
|
190
|
-
*
|
191
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
192
|
-
* of this software and associated documentation files (the "Software"), to deal
|
193
|
-
* in the Software without restriction, including without limitation the rights
|
194
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
195
|
-
* copies of the Software, and to permit persons to whom the Software is
|
196
|
-
* furnished to do so, subject to the following conditions:
|
197
|
-
*
|
198
|
-
* The above copyright notice and this permission notice shall be included in
|
199
|
-
* all copies or substantial portions of the Software.
|
200
|
-
*
|
201
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
202
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
203
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
204
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
205
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
206
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
207
|
-
* THE SOFTWARE.
|
208
|
-
*/
|
209
|
-
var n = 0, C = (
|
210
|
-
/** @class */
|
211
|
-
function(r) {
|
212
|
-
f(e, r);
|
213
|
-
function e(t) {
|
214
|
-
var s = r.call(this, t) || this;
|
215
|
-
return s.wasDocked = !0, s.isDockedShowing = !0, s.currentAppBarOffsetTop = 0, s.isCurrentlyBeingResized = !1, s.resizeThrottleId = n, s.resizeDebounceId = n, s.lastScrollPosition = s.adapter.getViewportScrollY(), s.topAppBarHeight = s.adapter.getTopAppBarHeight(), s;
|
216
|
-
}
|
217
|
-
return e.prototype.destroy = function() {
|
218
|
-
r.prototype.destroy.call(this), this.adapter.setStyle("top", "");
|
219
|
-
}, e.prototype.handleTargetScroll = function() {
|
220
|
-
var t = Math.max(this.adapter.getViewportScrollY(), 0), s = t - this.lastScrollPosition;
|
221
|
-
this.lastScrollPosition = t, this.isCurrentlyBeingResized || (this.currentAppBarOffsetTop -= s, this.currentAppBarOffsetTop > 0 ? this.currentAppBarOffsetTop = 0 : Math.abs(this.currentAppBarOffsetTop) > this.topAppBarHeight && (this.currentAppBarOffsetTop = -this.topAppBarHeight), this.moveTopAppBar());
|
222
|
-
}, e.prototype.handleWindowResize = function() {
|
223
|
-
var t = this;
|
224
|
-
this.resizeThrottleId || (this.resizeThrottleId = setTimeout(function() {
|
225
|
-
t.resizeThrottleId = n, t.throttledResizeHandler();
|
226
|
-
}, a.DEBOUNCE_THROTTLE_RESIZE_TIME_MS)), this.isCurrentlyBeingResized = !0, this.resizeDebounceId && clearTimeout(this.resizeDebounceId), this.resizeDebounceId = setTimeout(function() {
|
227
|
-
t.handleTargetScroll(), t.isCurrentlyBeingResized = !1, t.resizeDebounceId = n;
|
228
|
-
}, a.DEBOUNCE_THROTTLE_RESIZE_TIME_MS);
|
229
|
-
}, e.prototype.checkForUpdate = function() {
|
230
|
-
var t = -this.topAppBarHeight, s = this.currentAppBarOffsetTop < 0, l = this.currentAppBarOffsetTop > t, d = s && l;
|
231
|
-
if (d)
|
232
|
-
this.wasDocked = !1;
|
233
|
-
else if (this.wasDocked) {
|
234
|
-
if (this.isDockedShowing !== l)
|
235
|
-
return this.isDockedShowing = l, !0;
|
236
|
-
} else
|
237
|
-
return this.wasDocked = !0, !0;
|
238
|
-
return d;
|
239
|
-
}, e.prototype.moveTopAppBar = function() {
|
240
|
-
if (this.checkForUpdate()) {
|
241
|
-
var t = this.currentAppBarOffsetTop;
|
242
|
-
Math.abs(t) >= this.topAppBarHeight && (t = -a.MAX_TOP_APP_BAR_HEIGHT), this.adapter.setStyle("top", t + "px");
|
243
|
-
}
|
244
|
-
}, e.prototype.throttledResizeHandler = function() {
|
245
|
-
var t = this.adapter.getTopAppBarHeight();
|
246
|
-
this.topAppBarHeight !== t && (this.wasDocked = !1, this.currentAppBarOffsetTop -= this.topAppBarHeight - t, this.topAppBarHeight = t), this.handleTargetScroll();
|
247
|
-
}, e;
|
248
|
-
}(B)
|
249
|
-
);
|
250
|
-
const O = C;
|
251
|
-
/**
|
252
|
-
* @license
|
253
|
-
* Copyright 2019 Google LLC
|
254
|
-
* SPDX-License-Identifier: Apache-2.0
|
255
|
-
*/
|
256
|
-
const m = S ? { passive: !0 } : void 0;
|
257
|
-
class o extends _ {
|
258
|
-
constructor() {
|
259
|
-
super(...arguments), this.centerTitle = !1, this.handleTargetScroll = () => {
|
260
|
-
this.mdcFoundation.handleTargetScroll();
|
261
|
-
}, this.handleNavigationClick = () => {
|
262
|
-
this.mdcFoundation.handleNavigationClick();
|
263
|
-
};
|
264
|
-
}
|
265
|
-
get scrollTarget() {
|
266
|
-
return this._scrollTarget || window;
|
267
|
-
}
|
268
|
-
set scrollTarget(e) {
|
269
|
-
this.unregisterScrollListener();
|
270
|
-
const t = this.scrollTarget;
|
271
|
-
this._scrollTarget = e, this.updateRootPosition(), this.requestUpdate("scrollTarget", t), this.registerScrollListener();
|
272
|
-
}
|
273
|
-
updateRootPosition() {
|
274
|
-
if (this.mdcRoot) {
|
275
|
-
const e = this.scrollTarget === window;
|
276
|
-
this.mdcRoot.style.position = e ? "" : "absolute";
|
277
|
-
}
|
278
|
-
}
|
279
|
-
render() {
|
280
|
-
let e = c`<span class="mdc-top-app-bar__title"><slot name="title"></slot></span>`;
|
281
|
-
return this.centerTitle && (e = c`<section class="mdc-top-app-bar__section mdc-top-app-bar__section--align-center">${e}</section>`), c`
|
282
|
-
<header class="mdc-top-app-bar ${h(this.barClasses())}">
|
283
|
-
<div class="mdc-top-app-bar__row">
|
284
|
-
<section class="mdc-top-app-bar__section mdc-top-app-bar__section--align-start" id="navigation">
|
285
|
-
<slot name="navigationIcon"
|
286
|
-
@click=${this.handleNavigationClick}></slot>
|
287
|
-
${this.centerTitle ? null : e}
|
288
|
-
</section>
|
289
|
-
${this.centerTitle ? e : null}
|
290
|
-
<section class="mdc-top-app-bar__section mdc-top-app-bar__section--align-end" id="actions" role="toolbar">
|
291
|
-
<slot name="actionItems"></slot>
|
292
|
-
</section>
|
293
|
-
</div>
|
294
|
-
</header>
|
295
|
-
<div class="${h(this.contentClasses())}">
|
296
|
-
<slot></slot>
|
297
|
-
</div>
|
298
|
-
`;
|
299
|
-
}
|
300
|
-
createAdapter() {
|
301
|
-
return Object.assign(Object.assign({}, A(this.mdcRoot)), { setStyle: (e, t) => this.mdcRoot.style.setProperty(e, t), getTopAppBarHeight: () => this.mdcRoot.clientHeight, notifyNavigationIconClicked: () => {
|
302
|
-
this.dispatchEvent(new Event(T.NAVIGATION_EVENT, { bubbles: !0, cancelable: !0 }));
|
303
|
-
}, getViewportScrollY: () => this.scrollTarget instanceof Window ? this.scrollTarget.pageYOffset : this.scrollTarget.scrollTop, getTotalActionItems: () => this._actionItemsSlot.assignedNodes({ flatten: !0 }).length });
|
304
|
-
}
|
305
|
-
registerListeners() {
|
306
|
-
this.registerScrollListener();
|
307
|
-
}
|
308
|
-
unregisterListeners() {
|
309
|
-
this.unregisterScrollListener();
|
310
|
-
}
|
311
|
-
registerScrollListener() {
|
312
|
-
this.scrollTarget.addEventListener("scroll", this.handleTargetScroll, m);
|
313
|
-
}
|
314
|
-
unregisterScrollListener() {
|
315
|
-
this.scrollTarget.removeEventListener("scroll", this.handleTargetScroll);
|
316
|
-
}
|
317
|
-
firstUpdated() {
|
318
|
-
super.firstUpdated(), this.updateRootPosition(), this.registerListeners();
|
319
|
-
}
|
320
|
-
disconnectedCallback() {
|
321
|
-
super.disconnectedCallback(), this.unregisterListeners();
|
322
|
-
}
|
323
|
-
}
|
324
|
-
i([
|
325
|
-
g(".mdc-top-app-bar")
|
326
|
-
], o.prototype, "mdcRoot", void 0);
|
327
|
-
i([
|
328
|
-
g('slot[name="actionItems"]')
|
329
|
-
], o.prototype, "_actionItemsSlot", void 0);
|
330
|
-
i([
|
331
|
-
p({ type: Boolean })
|
332
|
-
], o.prototype, "centerTitle", void 0);
|
333
|
-
i([
|
334
|
-
p({ type: Object })
|
335
|
-
], o.prototype, "scrollTarget", null);
|
336
|
-
/**
|
337
|
-
* @license
|
338
|
-
* Copyright 2018 Google LLC
|
339
|
-
* SPDX-License-Identifier: Apache-2.0
|
340
|
-
*/
|
341
|
-
class b extends o {
|
342
|
-
constructor() {
|
343
|
-
super(...arguments), this.mdcFoundationClass = O, this.prominent = !1, this.dense = !1, this.handleResize = () => {
|
344
|
-
this.mdcFoundation.handleWindowResize();
|
345
|
-
};
|
346
|
-
}
|
347
|
-
barClasses() {
|
348
|
-
return {
|
349
|
-
"mdc-top-app-bar--dense": this.dense,
|
350
|
-
"mdc-top-app-bar--prominent": this.prominent,
|
351
|
-
"center-title": this.centerTitle
|
352
|
-
};
|
353
|
-
}
|
354
|
-
contentClasses() {
|
355
|
-
return {
|
356
|
-
"mdc-top-app-bar--fixed-adjust": !this.dense && !this.prominent,
|
357
|
-
"mdc-top-app-bar--dense-fixed-adjust": this.dense && !this.prominent,
|
358
|
-
"mdc-top-app-bar--prominent-fixed-adjust": !this.dense && this.prominent,
|
359
|
-
"mdc-top-app-bar--dense-prominent-fixed-adjust": this.dense && this.prominent
|
360
|
-
};
|
361
|
-
}
|
362
|
-
registerListeners() {
|
363
|
-
super.registerListeners(), window.addEventListener("resize", this.handleResize, m);
|
364
|
-
}
|
365
|
-
unregisterListeners() {
|
366
|
-
super.unregisterListeners(), window.removeEventListener("resize", this.handleResize);
|
367
|
-
}
|
368
|
-
}
|
369
|
-
i([
|
370
|
-
p({ type: Boolean, reflect: !0 })
|
371
|
-
], b.prototype, "prominent", void 0);
|
372
|
-
i([
|
373
|
-
p({ type: Boolean, reflect: !0 })
|
374
|
-
], b.prototype, "dense", void 0);
|
375
|
-
export {
|
376
|
-
C as M,
|
377
|
-
b as T,
|
378
|
-
v as c,
|
379
|
-
m as p
|
380
|
-
};
|
package/observer-be7b92e2.mjs
DELETED
@@ -1,32 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license
|
3
|
-
* Copyright 2018 Google LLC
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
5
|
-
*/
|
6
|
-
const v = (n) => (
|
7
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
8
|
-
(s, b) => {
|
9
|
-
if (s.constructor._observers) {
|
10
|
-
if (!s.constructor.hasOwnProperty("_observers")) {
|
11
|
-
const r = s.constructor._observers;
|
12
|
-
s.constructor._observers = /* @__PURE__ */ new Map(), r.forEach(
|
13
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
14
|
-
(e, c) => s.constructor._observers.set(c, e)
|
15
|
-
);
|
16
|
-
}
|
17
|
-
} else {
|
18
|
-
s.constructor._observers = /* @__PURE__ */ new Map();
|
19
|
-
const r = s.updated;
|
20
|
-
s.updated = function(e) {
|
21
|
-
r.call(this, e), e.forEach((c, t) => {
|
22
|
-
const o = this.constructor._observers.get(t);
|
23
|
-
o !== void 0 && o.call(this, this[t], c);
|
24
|
-
});
|
25
|
-
};
|
26
|
-
}
|
27
|
-
s.constructor._observers.set(b, n);
|
28
|
-
}
|
29
|
-
);
|
30
|
-
export {
|
31
|
-
v as o
|
32
|
-
};
|
package/property-074570d1.js
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
"use strict";/**
|
2
|
-
* @license
|
3
|
-
* Copyright 2017 Google LLC
|
4
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
5
|
-
*/const c=(t,i)=>i.kind==="method"&&i.descriptor&&!("value"in i.descriptor)?{...i,finisher(r){r.createProperty(i.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:i.key,initializer(){typeof i.initializer=="function"&&(this[i.key]=i.initializer.call(this))},finisher(r){r.createProperty(i.key,t)}};function s(t){return(i,r)=>r!==void 0?((e,n,o)=>{n.constructor.createProperty(o,e)})(t,i,r):c(t,i)}exports.e=s;
|
package/property-ca27685b.mjs
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license
|
3
|
-
* Copyright 2017 Google LLC
|
4
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
5
|
-
*/
|
6
|
-
const c = (t, i) => i.kind === "method" && i.descriptor && !("value" in i.descriptor) ? { ...i, finisher(r) {
|
7
|
-
r.createProperty(i.key, t);
|
8
|
-
} } : { kind: "field", key: Symbol(), placement: "own", descriptor: {}, originalKey: i.key, initializer() {
|
9
|
-
typeof i.initializer == "function" && (this[i.key] = i.initializer.call(this));
|
10
|
-
}, finisher(r) {
|
11
|
-
r.createProperty(i.key, t);
|
12
|
-
} };
|
13
|
-
function y(t) {
|
14
|
-
return (i, r) => r !== void 0 ? ((e, o, n) => {
|
15
|
-
o.constructor.createProperty(n, e);
|
16
|
-
})(t, i, r) : c(t, i);
|
17
|
-
}
|
18
|
-
export {
|
19
|
-
y as e
|
20
|
-
};
|
package/query-1e7846ea.mjs
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
import { o as u } from "./query-assigned-elements-514e5265.mjs";
|
2
|
-
/**
|
3
|
-
* @license
|
4
|
-
* Copyright 2017 Google LLC
|
5
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
6
|
-
*/
|
7
|
-
function s(e, l) {
|
8
|
-
return u({ descriptor: (n) => {
|
9
|
-
const i = { get() {
|
10
|
-
var o, r;
|
11
|
-
return (r = (o = this.renderRoot) === null || o === void 0 ? void 0 : o.querySelector(e)) !== null && r !== void 0 ? r : null;
|
12
|
-
}, enumerable: !0, configurable: !0 };
|
13
|
-
if (l) {
|
14
|
-
const o = typeof n == "symbol" ? Symbol() : "__" + n;
|
15
|
-
i.get = function() {
|
16
|
-
var r, t;
|
17
|
-
return this[o] === void 0 && (this[o] = (t = (r = this.renderRoot) === null || r === void 0 ? void 0 : r.querySelector(e)) !== null && t !== void 0 ? t : null), this[o];
|
18
|
-
};
|
19
|
-
}
|
20
|
-
return i;
|
21
|
-
} });
|
22
|
-
}
|
23
|
-
export {
|
24
|
-
s as i
|
25
|
-
};
|
package/query-2ba749b7.js
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
"use strict";const u=require("./query-assigned-elements-07e38f46.js");/**
|
2
|
-
* @license
|
3
|
-
* Copyright 2017 Google LLC
|
4
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
5
|
-
*/function s(n,l){return u.o({descriptor:o=>{const i={get(){var e,t;return(t=(e=this.renderRoot)===null||e===void 0?void 0:e.querySelector(n))!==null&&t!==void 0?t:null},enumerable:!0,configurable:!0};if(l){const e=typeof o=="symbol"?Symbol():"__"+o;i.get=function(){var t,r;return this[e]===void 0&&(this[e]=(r=(t=this.renderRoot)===null||t===void 0?void 0:t.querySelector(n))!==null&&r!==void 0?r:null),this[e]}}return i}})}exports.i=s;
|
@@ -1,33 +0,0 @@
|
|
1
|
-
"use strict";/**
|
2
|
-
* @license
|
3
|
-
* Copyright 2019 Google LLC
|
4
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
5
|
-
*/const O=window,I=O.ShadowRoot&&(O.ShadyCSS===void 0||O.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,V=Symbol(),W=new WeakMap;let st=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==V)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(I&&t===void 0){const s=e!==void 0&&e.length===1;s&&(t=W.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&W.set(e,t))}return t}toString(){return this.cssText}};const it=n=>new st(typeof n=="string"?n:n+"",void 0,V),dt=(n,...t)=>{const e=n.length===1?n[0]:t.reduce((s,i,r)=>s+(o=>{if(o._$cssResult$===!0)return o.cssText;if(typeof o=="number")return o;throw Error("Value passed to 'css' function must be a 'css' function result: "+o+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+n[r+1],n[0]);return new st(e,n,V)},ct=(n,t)=>{I?n.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet):t.forEach(e=>{const s=document.createElement("style"),i=O.litNonce;i!==void 0&&s.setAttribute("nonce",i),s.textContent=e.cssText,n.appendChild(s)})},q=I?n=>n:n=>n instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return it(e)})(n):n;/**
|
6
|
-
* @license
|
7
|
-
* Copyright 2017 Google LLC
|
8
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
9
|
-
*/var k;const T=window,Z=T.trustedTypes,ut=Z?Z.emptyScript:"",K=T.reactiveElementPolyfillSupport,D={toAttribute(n,t){switch(t){case Boolean:n=n?ut:null;break;case Object:case Array:n=n==null?n:JSON.stringify(n)}return n},fromAttribute(n,t){let e=n;switch(t){case Boolean:e=n!==null;break;case Number:e=n===null?null:Number(n);break;case Object:case Array:try{e=JSON.parse(n)}catch{e=null}}return e}},nt=(n,t)=>t!==n&&(t==t||n==n),M={attribute:!0,type:String,converter:D,reflect:!1,hasChanged:nt};let A=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;this.finalize(),((e=this.h)!==null&&e!==void 0?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach((e,s)=>{const i=this._$Ep(s,e);i!==void 0&&(this._$Ev.set(i,s),t.push(i))}),t}static createProperty(t,e=M){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const s=typeof t=="symbol"?Symbol():"__"+t,i=this.getPropertyDescriptor(t,s,e);i!==void 0&&Object.defineProperty(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){return{get(){return this[e]},set(i){const r=this[t];this[e]=i,this.requestUpdate(t,r,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||M}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),t.h!==void 0&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const e=this.properties,s=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(const i of s)this.createProperty(i,e[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const i of s)e.unshift(q(i))}else t!==void 0&&e.push(q(t));return e}static _$Ep(t,e){const s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(t=this.constructor.h)===null||t===void 0||t.forEach(e=>e(this))}addController(t){var e,s;((e=this._$ES)!==null&&e!==void 0?e:this._$ES=[]).push(t),this.renderRoot!==void 0&&this.isConnected&&((s=t.hostConnected)===null||s===void 0||s.call(t))}removeController(t){var e;(e=this._$ES)===null||e===void 0||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])})}createRenderRoot(){var t;const e=(t=this.shadowRoot)!==null&&t!==void 0?t:this.attachShadow(this.constructor.shadowRootOptions);return ct(e,this.constructor.elementStyles),e}connectedCallback(){var t;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$ES)===null||t===void 0||t.forEach(e=>{var s;return(s=e.hostConnected)===null||s===void 0?void 0:s.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$ES)===null||t===void 0||t.forEach(e=>{var s;return(s=e.hostDisconnected)===null||s===void 0?void 0:s.call(e)})}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EO(t,e,s=M){var i;const r=this.constructor._$Ep(t,s);if(r!==void 0&&s.reflect===!0){const o=(((i=s.converter)===null||i===void 0?void 0:i.toAttribute)!==void 0?s.converter:D).toAttribute(e,s.type);this._$El=t,o==null?this.removeAttribute(r):this.setAttribute(r,o),this._$El=null}}_$AK(t,e){var s;const i=this.constructor,r=i._$Ev.get(t);if(r!==void 0&&this._$El!==r){const o=i.getPropertyOptions(r),d=typeof o.converter=="function"?{fromAttribute:o.converter}:((s=o.converter)===null||s===void 0?void 0:s.fromAttribute)!==void 0?o.converter:D;this._$El=r,this[r]=d.fromAttribute(e,o.type),this._$El=null}}requestUpdate(t,e,s){let i=!0;t!==void 0&&(((s=s||this.constructor.getPropertyOptions(t)).hasChanged||nt)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),s.reflect===!0&&this._$El!==t&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(t,s))):i=!1),!this.isUpdatePending&&i&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((i,r)=>this[r]=i),this._$Ei=void 0);let e=!1;const s=this._$AL;try{e=this.shouldUpdate(s),e?(this.willUpdate(s),(t=this._$ES)===null||t===void 0||t.forEach(i=>{var r;return(r=i.hostUpdate)===null||r===void 0?void 0:r.call(i)}),this.update(s)):this._$Ek()}catch(i){throw e=!1,this._$Ek(),i}e&&this._$AE(s)}willUpdate(t){}_$AE(t){var e;(e=this._$ES)===null||e===void 0||e.forEach(s=>{var i;return(i=s.hostUpdated)===null||i===void 0?void 0:i.call(s)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){this._$EC!==void 0&&(this._$EC.forEach((e,s)=>this._$EO(s,this[s],e)),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};A.finalized=!0,A.elementProperties=new Map,A.elementStyles=[],A.shadowRootOptions={mode:"open"},K==null||K({ReactiveElement:A}),((k=T.reactiveElementVersions)!==null&&k!==void 0?k:T.reactiveElementVersions=[]).push("1.5.0");/**
|
10
|
-
* @license
|
11
|
-
* Copyright 2017 Google LLC
|
12
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
13
|
-
*/var L;const N=window,y=N.trustedTypes,J=y?y.createPolicy("lit-html",{createHTML:n=>n}):void 0,v=`lit$${(Math.random()+"").slice(9)}$`,ot="?"+v,pt=`<${ot}>`,g=document,C=(n="")=>g.createComment(n),w=n=>n===null||typeof n!="object"&&typeof n!="function",rt=Array.isArray,$t=n=>rt(n)||typeof(n==null?void 0:n[Symbol.iterator])=="function",S=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,F=/-->/g,G=/>/g,_=RegExp(`>|[
|
14
|
-
\f\r](?:([^\\s"'>=/]+)([
|
15
|
-
\f\r]*=[
|
16
|
-
\f\r]*(?:[^
|
17
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Q=/'/g,X=/"/g,lt=/^(?:script|style|textarea|title)$/i,vt=n=>(t,...e)=>({_$litType$:n,strings:t,values:e}),_t=vt(1),f=Symbol.for("lit-noChange"),u=Symbol.for("lit-nothing"),Y=new WeakMap,m=g.createTreeWalker(g,129,null,!1),ft=(n,t)=>{const e=n.length-1,s=[];let i,r=t===2?"<svg>":"",o=S;for(let l=0;l<e;l++){const h=n[l];let $,a,c=-1,p=0;for(;p<h.length&&(o.lastIndex=p,a=o.exec(h),a!==null);)p=o.lastIndex,o===S?a[1]==="!--"?o=F:a[1]!==void 0?o=G:a[2]!==void 0?(lt.test(a[2])&&(i=RegExp("</"+a[2],"g")),o=_):a[3]!==void 0&&(o=_):o===_?a[0]===">"?(o=i??S,c=-1):a[1]===void 0?c=-2:(c=o.lastIndex-a[2].length,$=a[1],o=a[3]===void 0?_:a[3]==='"'?X:Q):o===X||o===Q?o=_:o===F||o===G?o=S:(o=_,i=void 0);const U=o===_&&n[l+1].startsWith("/>")?" ":"";r+=o===S?h+pt:c>=0?(s.push($),h.slice(0,c)+"$lit$"+h.slice(c)+v+U):h+v+(c===-2?(s.push(void 0),l):U)}const d=r+(n[e]||"<?>")+(t===2?"</svg>":"");if(!Array.isArray(n)||!n.hasOwnProperty("raw"))throw Error("invalid template strings array");return[J!==void 0?J.createHTML(d):d,s]};class x{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let r=0,o=0;const d=t.length-1,l=this.parts,[h,$]=ft(t,e);if(this.el=x.createElement(h,s),m.currentNode=this.el.content,e===2){const a=this.el.content,c=a.firstChild;c.remove(),a.append(...c.childNodes)}for(;(i=m.nextNode())!==null&&l.length<d;){if(i.nodeType===1){if(i.hasAttributes()){const a=[];for(const c of i.getAttributeNames())if(c.endsWith("$lit$")||c.startsWith(v)){const p=$[o++];if(a.push(c),p!==void 0){const U=i.getAttribute(p.toLowerCase()+"$lit$").split(v),H=/([.?@])?(.*)/.exec(p);l.push({type:1,index:r,name:H[2],strings:U,ctor:H[1]==="."?mt:H[1]==="?"?gt:H[1]==="@"?Et:R})}else l.push({type:6,index:r})}for(const c of a)i.removeAttribute(c)}if(lt.test(i.tagName)){const a=i.textContent.split(v),c=a.length-1;if(c>0){i.textContent=y?y.emptyScript:"";for(let p=0;p<c;p++)i.append(a[p],C()),m.nextNode(),l.push({type:2,index:++r});i.append(a[c],C())}}}else if(i.nodeType===8)if(i.data===ot)l.push({type:2,index:r});else{let a=-1;for(;(a=i.data.indexOf(v,a+1))!==-1;)l.push({type:7,index:r}),a+=v.length-1}r++}}static createElement(t,e){const s=g.createElement("template");return s.innerHTML=t,s}}function E(n,t,e=n,s){var i,r,o,d;if(t===f)return t;let l=s!==void 0?(i=e._$Co)===null||i===void 0?void 0:i[s]:e._$Cl;const h=w(t)?void 0:t._$litDirective$;return(l==null?void 0:l.constructor)!==h&&((r=l==null?void 0:l._$AO)===null||r===void 0||r.call(l,!1),h===void 0?l=void 0:(l=new h(n),l._$AT(n,e,s)),s!==void 0?((o=(d=e)._$Co)!==null&&o!==void 0?o:d._$Co=[])[s]=l:e._$Cl=l),l!==void 0&&(t=E(n,l._$AS(n,t.values),l,s)),t}class At{constructor(t,e){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var e;const{el:{content:s},parts:i}=this._$AD,r=((e=t==null?void 0:t.creationScope)!==null&&e!==void 0?e:g).importNode(s,!0);m.currentNode=r;let o=m.nextNode(),d=0,l=0,h=i[0];for(;h!==void 0;){if(d===h.index){let $;h.type===2?$=new P(o,o.nextSibling,this,t):h.type===1?$=new h.ctor(o,h.name,h.strings,this,t):h.type===6&&($=new St(o,this,t)),this.u.push($),h=i[++l]}d!==(h==null?void 0:h.index)&&(o=m.nextNode(),d++)}return r}p(t){let e=0;for(const s of this.u)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class P{constructor(t,e,s,i){var r;this.type=2,this._$AH=u,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this._$Cm=(r=i==null?void 0:i.isConnected)===null||r===void 0||r}get _$AU(){var t,e;return(e=(t=this._$AM)===null||t===void 0?void 0:t._$AU)!==null&&e!==void 0?e:this._$Cm}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&t.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=E(this,t,e),w(t)?t===u||t==null||t===""?(this._$AH!==u&&this._$AR(),this._$AH=u):t!==this._$AH&&t!==f&&this.g(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):$t(t)?this.k(t):this.g(t)}O(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==u&&w(this._$AH)?this._$AA.nextSibling.data=t:this.T(g.createTextNode(t)),this._$AH=t}$(t){var e;const{values:s,_$litType$:i}=t,r=typeof i=="number"?this._$AC(t):(i.el===void 0&&(i.el=x.createElement(i.h,this.options)),i);if(((e=this._$AH)===null||e===void 0?void 0:e._$AD)===r)this._$AH.p(s);else{const o=new At(r,this),d=o.v(this.options);o.p(s),this.T(d),this._$AH=o}}_$AC(t){let e=Y.get(t.strings);return e===void 0&&Y.set(t.strings,e=new x(t)),e}k(t){rt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,i=0;for(const r of t)i===e.length?e.push(s=new P(this.O(C()),this.O(C()),this,this.options)):s=e[i],s._$AI(r),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){var s;for((s=this._$AP)===null||s===void 0||s.call(this,!1,!0,e);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var e;this._$AM===void 0&&(this._$Cm=t,(e=this._$AP)===null||e===void 0||e.call(this,t))}}class R{constructor(t,e,s,i,r){this.type=1,this._$AH=u,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=u}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,s,i){const r=this.strings;let o=!1;if(r===void 0)t=E(this,t,e,0),o=!w(t)||t!==this._$AH&&t!==f,o&&(this._$AH=t);else{const d=t;let l,h;for(t=r[0],l=0;l<r.length-1;l++)h=E(this,d[s+l],e,l),h===f&&(h=this._$AH[l]),o||(o=!w(h)||h!==this._$AH[l]),h===u?t=u:t!==u&&(t+=(h??"")+r[l+1]),this._$AH[l]=h}o&&!i&&this.j(t)}j(t){t===u?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class mt extends R{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===u?void 0:t}}const yt=y?y.emptyScript:"";class gt extends R{constructor(){super(...arguments),this.type=4}j(t){t&&t!==u?this.element.setAttribute(this.name,yt):this.element.removeAttribute(this.name)}}class Et extends R{constructor(t,e,s,i,r){super(t,e,s,i,r),this.type=5}_$AI(t,e=this){var s;if((t=(s=E(this,t,e,0))!==null&&s!==void 0?s:u)===f)return;const i=this._$AH,r=t===u&&i!==u||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,o=t!==u&&(i===u||r);r&&this.element.removeEventListener(this.name,this,i),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,s;typeof this._$AH=="function"?this._$AH.call((s=(e=this.options)===null||e===void 0?void 0:e.host)!==null&&s!==void 0?s:this.element,t):this._$AH.handleEvent(t)}}class St{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){E(this,t)}}const tt=N.litHtmlPolyfillSupport;tt==null||tt(x,P),((L=N.litHtmlVersions)!==null&&L!==void 0?L:N.litHtmlVersions=[]).push("2.5.0");const ht=(n,t,e)=>{var s,i;const r=(s=e==null?void 0:e.renderBefore)!==null&&s!==void 0?s:t;let o=r._$litPart$;if(o===void 0){const d=(i=e==null?void 0:e.renderBefore)!==null&&i!==void 0?i:null;r._$litPart$=o=new P(t.insertBefore(C(),d),d,void 0,e??{})}return o._$AI(n),o};/**
|
18
|
-
* @license
|
19
|
-
* Copyright 2017 Google LLC
|
20
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
21
|
-
*/var j,z;class b extends A{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const s=super.createRenderRoot();return(t=(e=this.renderOptions).renderBefore)!==null&&t!==void 0||(e.renderBefore=s.firstChild),s}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=ht(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!1)}render(){return f}}b.finalized=!0,b._$litElement$=!0,(j=globalThis.litElementHydrateSupport)===null||j===void 0||j.call(globalThis,{LitElement:b});const et=globalThis.litElementPolyfillSupport;et==null||et({LitElement:b});((z=globalThis.litElementVersions)!==null&&z!==void 0?z:globalThis.litElementVersions=[]).push("3.2.2");/**
|
22
|
-
* @license
|
23
|
-
* Copyright 2017 Google LLC
|
24
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
25
|
-
*/const bt=n=>t=>typeof t=="function"?((e,s)=>(customElements.define(e,s),s))(n,t):((e,s)=>{const{kind:i,elements:r}=s;return{kind:i,elements:r,finisher(o){customElements.define(e,o)}}})(n,t);/**
|
26
|
-
* @license
|
27
|
-
* Copyright 2017 Google LLC
|
28
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
29
|
-
*/const at=({finisher:n,descriptor:t})=>(e,s)=>{var i;if(s===void 0){const r=(i=e.originalKey)!==null&&i!==void 0?i:e.key,o=t!=null?{kind:"method",placement:"prototype",key:r,descriptor:t(e.key)}:{...e,key:r};return n!=null&&(o.finisher=function(d){n(d,r)}),o}{const r=e.constructor;t!==void 0&&Object.defineProperty(e,s,t(s)),n==null||n(r,s)}};/**
|
30
|
-
* @license
|
31
|
-
* Copyright 2021 Google LLC
|
32
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
33
|
-
*/var B;const Ct=((B=window.HTMLSlotElement)===null||B===void 0?void 0:B.prototype.assignedElements)!=null?(n,t)=>n.assignedElements(t):(n,t)=>n.assignedNodes(t).filter(e=>e.nodeType===Node.ELEMENT_NODE);function wt(n){const{slot:t,selector:e}=n??{};return at({descriptor:s=>({get(){var i;const r="slot"+(t?`[name=${t}]`:":not([name])"),o=(i=this.renderRoot)===null||i===void 0?void 0:i.querySelector(r),d=o!=null?Ct(o,n):[];return e?d.filter(l=>l.matches(e)):d},enumerable:!0,configurable:!0})})}exports.Z=ht;exports.b=u;exports.e=bt;exports.i=dt;exports.l=wt;exports.o=at;exports.r=it;exports.s=b;exports.x=f;exports.y=_t;
|