@limetech/lime-elements 34.1.0-next.6 → 34.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/dist/cjs/{_arrayIncludesWith-d69e30af.js → _arrayIncludesWith-36a6fafb.js} +7 -6
  2. package/dist/cjs/{_assignValue-493aac17.js → _assignValue-c9fc3712.js} +2 -2
  3. package/dist/cjs/{_defineProperty-c081d04c.js → _defineProperty-8351e789.js} +4 -3
  4. package/dist/cjs/{checkbox.template-d4423721.js → checkbox.template-312308d8.js} +9 -1
  5. package/dist/cjs/eq-9a943b00.js +75 -0
  6. package/dist/cjs/{isArrayLike-2bebb99c.js → isArrayLike-ac53bdac.js} +1 -30
  7. package/dist/cjs/{isEqual-1ce0c121.js → isEqual-e3b9c27c.js} +21 -19
  8. package/dist/cjs/{eq-3b43a5ca.js → isObject-e28b7997.js} +0 -71
  9. package/dist/cjs/isObjectLike-3e3f0cba.js +31 -0
  10. package/dist/cjs/{isSymbol-4666002c.js → isSymbol-d22b2798.js} +3 -3
  11. package/dist/cjs/lime-elements.cjs.js +1 -1
  12. package/dist/cjs/limel-checkbox.cjs.entry.js +3 -3
  13. package/dist/cjs/limel-chip-set.cjs.entry.js +50 -28
  14. package/dist/cjs/limel-code-editor.cjs.entry.js +1 -1
  15. package/dist/cjs/limel-color-picker-palette_2.cjs.entry.js +188 -0
  16. package/dist/cjs/limel-color-picker.cjs.entry.js +51 -0
  17. package/dist/cjs/limel-file.cjs.entry.js +1 -1
  18. package/dist/cjs/{limel-flatpickr-adapter_2.cjs.entry.js → limel-flatpickr-adapter.cjs.entry.js} +8 -801
  19. package/dist/cjs/limel-form.cjs.entry.js +59 -26
  20. package/dist/cjs/limel-grid.cjs.entry.js +1 -1
  21. package/dist/cjs/limel-input-field.cjs.entry.js +713 -0
  22. package/dist/cjs/limel-list_3.cjs.entry.js +2431 -0
  23. package/dist/cjs/limel-menu-list.cjs.entry.js +1 -1
  24. package/dist/cjs/limel-menu.cjs.entry.js +5 -4
  25. package/dist/cjs/limel-picker.cjs.entry.js +1 -1
  26. package/dist/cjs/limel-progress-flow-item.cjs.entry.js +1 -1
  27. package/dist/cjs/limel-slider.cjs.entry.js +69 -13
  28. package/dist/cjs/limel-tab-bar.cjs.entry.js +7 -5
  29. package/dist/cjs/limel-table.cjs.entry.js +9 -7
  30. package/dist/cjs/{limel-tooltip.cjs.entry.js → limel-tooltip_2.cjs.entry.js} +16 -0
  31. package/dist/cjs/loader.cjs.js +1 -1
  32. package/dist/cjs/{pickBy-64252559.js → pickBy-88b0430a.js} +10 -10
  33. package/dist/cjs/toNumber-062ea29c.js +99 -0
  34. package/dist/cjs/{zipObject-2f430e94.js → zipObject-4050a45f.js} +1 -1
  35. package/dist/collection/collection-manifest.json +2 -0
  36. package/dist/collection/components/checkbox/checkbox.css +96 -0
  37. package/dist/collection/components/checkbox/checkbox.js +19 -1
  38. package/dist/collection/components/checkbox/checkbox.template.js +9 -1
  39. package/dist/collection/components/chip-set/chip-set.css +14 -0
  40. package/dist/collection/components/chip-set/chip-set.js +75 -35
  41. package/dist/collection/components/code-editor/code-editor.css +7 -0
  42. package/dist/collection/components/color-picker/color-picker-palette.css +1239 -0
  43. package/dist/collection/components/color-picker/color-picker-palette.js +135 -0
  44. package/dist/collection/components/color-picker/color-picker.css +108 -0
  45. package/dist/collection/components/color-picker/color-picker.js +189 -0
  46. package/dist/collection/components/color-picker/swatches.js +29 -0
  47. package/dist/collection/components/file/file.js +1 -1
  48. package/dist/collection/components/form/adapters/widget-adapter.js +4 -1
  49. package/dist/collection/components/form/form.js +50 -0
  50. package/dist/collection/components/form/templates/array-field-collapsible-item.js +8 -8
  51. package/dist/collection/components/form/templates/common.js +1 -1
  52. package/dist/collection/components/form/widgets/select.js +3 -4
  53. package/dist/collection/components/grid/grid.css +1 -1
  54. package/dist/collection/components/input-field/input-field.css +13 -0
  55. package/dist/collection/components/list/list-renderer.js +17 -0
  56. package/dist/collection/components/list/list.css +423 -3
  57. package/dist/collection/components/list/list.js +1 -0
  58. package/dist/collection/components/menu-list/menu-list.css +1408 -60
  59. package/dist/collection/components/picker/picker.js +18 -1
  60. package/dist/collection/components/progress-flow/progress-flow-item/progress-flow-item.css +1 -2
  61. package/dist/collection/components/slider/slider.js +69 -13
  62. package/dist/esm/{_arrayIncludesWith-3f5ce249.js → _arrayIncludesWith-b5d3fd9e.js} +5 -4
  63. package/dist/esm/{_assignValue-94fb6adc.js → _assignValue-08fe10bc.js} +2 -2
  64. package/dist/esm/{_defineProperty-cbf98a2a.js → _defineProperty-8c869077.js} +2 -1
  65. package/dist/esm/{checkbox.template-dbdd27c8.js → checkbox.template-4be69ce6.js} +9 -1
  66. package/dist/esm/eq-c1c7f528.js +72 -0
  67. package/dist/esm/{isArrayLike-14db8f02.js → isArrayLike-dd37ba9a.js} +2 -30
  68. package/dist/esm/{isEqual-4d982635.js → isEqual-4f22635f.js} +5 -3
  69. package/dist/esm/{eq-f40dd1d6.js → isObject-c74e273c.js} +1 -70
  70. package/dist/esm/isObjectLike-38996507.js +29 -0
  71. package/dist/esm/{isSymbol-84252d8e.js → isSymbol-5bf20921.js} +2 -2
  72. package/dist/esm/lime-elements.js +1 -1
  73. package/dist/esm/limel-checkbox.entry.js +3 -3
  74. package/dist/esm/limel-chip-set.entry.js +50 -28
  75. package/dist/esm/limel-code-editor.entry.js +1 -1
  76. package/dist/esm/limel-color-picker-palette_2.entry.js +183 -0
  77. package/dist/esm/limel-color-picker.entry.js +47 -0
  78. package/dist/esm/limel-file.entry.js +1 -1
  79. package/dist/esm/{limel-flatpickr-adapter_2.entry.js → limel-flatpickr-adapter.entry.js} +8 -800
  80. package/dist/esm/limel-form.entry.js +55 -22
  81. package/dist/esm/limel-grid.entry.js +1 -1
  82. package/dist/esm/limel-input-field.entry.js +709 -0
  83. package/dist/esm/limel-list_3.entry.js +2425 -0
  84. package/dist/esm/limel-menu-list.entry.js +1 -1
  85. package/dist/esm/limel-menu.entry.js +5 -4
  86. package/dist/esm/limel-picker.entry.js +1 -1
  87. package/dist/esm/limel-progress-flow-item.entry.js +1 -1
  88. package/dist/esm/limel-slider.entry.js +69 -13
  89. package/dist/esm/limel-tab-bar.entry.js +7 -5
  90. package/dist/esm/limel-table.entry.js +9 -7
  91. package/dist/esm/{limel-tooltip.entry.js → limel-tooltip_2.entry.js} +16 -1
  92. package/dist/esm/loader.js +1 -1
  93. package/dist/esm/{pickBy-c485c1b5.js → pickBy-8a849e46.js} +5 -5
  94. package/dist/esm/toNumber-a6ed64f0.js +97 -0
  95. package/dist/esm/{zipObject-53fcafb3.js → zipObject-22e88ce9.js} +1 -1
  96. package/dist/lime-elements/lime-elements.esm.js +1 -1
  97. package/dist/lime-elements/{p-fc691234.entry.js → p-03aa01b5.entry.js} +2 -2
  98. package/dist/lime-elements/p-090bc949.js +1 -0
  99. package/dist/lime-elements/p-0c121e2f.js +1 -0
  100. package/dist/lime-elements/{p-c6b97214.entry.js → p-0ce9165f.entry.js} +1 -1
  101. package/dist/lime-elements/p-13f0e4f4.entry.js +1 -0
  102. package/dist/lime-elements/p-1876a96a.entry.js +1 -0
  103. package/dist/lime-elements/{p-425a0596.js → p-1a64b531.js} +1 -1
  104. package/dist/lime-elements/p-365098fe.js +1 -0
  105. package/dist/lime-elements/p-379955f4.js +1 -0
  106. package/dist/lime-elements/p-426d11b4.js +1 -0
  107. package/dist/lime-elements/p-440084ea.js +1 -0
  108. package/dist/lime-elements/p-468e940e.entry.js +16 -0
  109. package/dist/lime-elements/p-46af5a60.entry.js +82 -0
  110. package/dist/lime-elements/p-4bc5d3fc.entry.js +1 -0
  111. package/dist/lime-elements/p-511d71e0.entry.js +1 -0
  112. package/dist/lime-elements/{p-11d5a71a.entry.js → p-5170a62c.entry.js} +1 -1
  113. package/dist/lime-elements/{p-ab049a50.entry.js → p-58cbe99d.entry.js} +1 -1
  114. package/dist/lime-elements/p-5a9ecd77.entry.js +73 -0
  115. package/dist/lime-elements/p-6003f817.entry.js +1 -0
  116. package/dist/lime-elements/p-622be09b.entry.js +126 -0
  117. package/dist/lime-elements/p-7f43b0c4.js +1 -0
  118. package/dist/lime-elements/p-858c6b82.js +1 -0
  119. package/dist/lime-elements/p-8a2c1038.entry.js +16 -0
  120. package/dist/lime-elements/{p-a1153d2a.entry.js → p-8ad5e143.entry.js} +1 -1
  121. package/dist/lime-elements/{p-b386bfeb.entry.js → p-a2cf74c1.entry.js} +1 -1
  122. package/dist/lime-elements/p-a77cbb08.entry.js +1 -0
  123. package/dist/lime-elements/p-c93050d6.js +1 -0
  124. package/dist/lime-elements/p-d529bb7d.js +1 -0
  125. package/dist/lime-elements/p-eda23c05.js +1 -0
  126. package/dist/lime-elements/{p-ff0217b3.entry.js → p-f2c706b8.entry.js} +1 -1
  127. package/dist/lime-elements/p-f83213b8.js +1 -0
  128. package/dist/lime-elements/{p-23d59a30.entry.js → p-fbe6100e.entry.js} +1 -1
  129. package/dist/types/components/checkbox/checkbox.d.ts +5 -0
  130. package/dist/types/components/checkbox/checkbox.template.d.ts +1 -0
  131. package/dist/types/components/chip-set/chip-set.d.ts +12 -0
  132. package/dist/types/components/color-picker/color-picker-palette.d.ts +32 -0
  133. package/dist/types/components/color-picker/color-picker.d.ts +54 -0
  134. package/dist/types/components/color-picker/swatches.d.ts +4 -0
  135. package/dist/types/components/form/form.d.ts +7 -1
  136. package/dist/types/components/list/list-item.types.d.ts +14 -0
  137. package/dist/types/components/list/list-renderer.d.ts +2 -0
  138. package/dist/types/components/list/list.d.ts +1 -0
  139. package/dist/types/components/picker/picker.d.ts +4 -0
  140. package/dist/types/components/slider/slider.d.ts +8 -0
  141. package/dist/types/components.d.ts +147 -1
  142. package/package.json +1 -1
  143. package/dist/cjs/limel-list_2.cjs.entry.js +0 -485
  144. package/dist/cjs/limel-popover.cjs.entry.js +0 -116
  145. package/dist/cjs/limel-portal.cjs.entry.js +0 -1935
  146. package/dist/cjs/limel-tooltip-content.cjs.entry.js +0 -22
  147. package/dist/esm/limel-list_2.entry.js +0 -480
  148. package/dist/esm/limel-popover.entry.js +0 -112
  149. package/dist/esm/limel-portal.entry.js +0 -1931
  150. package/dist/esm/limel-tooltip-content.entry.js +0 -18
  151. package/dist/lime-elements/p-1cf833c8.entry.js +0 -16
  152. package/dist/lime-elements/p-227d2c5a.entry.js +0 -1
  153. package/dist/lime-elements/p-3ce2d46a.js +0 -1
  154. package/dist/lime-elements/p-77afe6dd.entry.js +0 -1
  155. package/dist/lime-elements/p-7c4d91f5.js +0 -1
  156. package/dist/lime-elements/p-845e645a.entry.js +0 -1
  157. package/dist/lime-elements/p-89b5a983.js +0 -1
  158. package/dist/lime-elements/p-8bbe3720.js +0 -1
  159. package/dist/lime-elements/p-8d8bd2ab.entry.js +0 -73
  160. package/dist/lime-elements/p-8e4ff107.js +0 -1
  161. package/dist/lime-elements/p-acfbf7ac.js +0 -1
  162. package/dist/lime-elements/p-b5d6abc3.entry.js +0 -126
  163. package/dist/lime-elements/p-bbc1bb01.entry.js +0 -1
  164. package/dist/lime-elements/p-c0765c9b.js +0 -1
  165. package/dist/lime-elements/p-df55ee67.entry.js +0 -82
  166. package/dist/lime-elements/p-e28a4246.entry.js +0 -1
  167. package/dist/lime-elements/p-ee7355e7.js +0 -1
  168. package/dist/lime-elements/p-f4495f59.entry.js +0 -1
  169. package/dist/lime-elements/p-fbe32287.entry.js +0 -16
  170. package/dist/lime-elements/p-fc610f15.js +0 -1
@@ -0,0 +1,2425 @@
1
+ import { h, r as registerInstance, c as createEvent, g as getElement, H as Host } from './index-2316f345.js';
2
+ import { d as MDCList, s as strings, b as MDCMenuSurface, C as Corner } from './component-2eb4e07b.js';
3
+ import { C as CheckboxTemplate } from './checkbox.template-4be69ce6.js';
4
+ import { M as MDCRipple } from './component-429e92ee.js';
5
+ import { i as isDescendant } from './dom-0f79cbe7.js';
6
+ import { b as ESCAPE, d as ESCAPE_KEY_CODE, T as TAB, c as TAB_KEY_CODE } from './keycodes-9f971b46.js';
7
+ import './component-d682c974.js';
8
+ import './ponyfill-30263d5e.js';
9
+ import './keyboard-4b9e12e3.js';
10
+ import './util-71a23335.js';
11
+
12
+ const RadioButtonTemplate = (props) => {
13
+ return (h("div", { class: "mdc-form-field" },
14
+ h("div", { class: `
15
+ mdc-radio
16
+ ${props.disabled ? 'mdc-radio--disabled' : ''}
17
+ ` },
18
+ h("input", { class: "mdc-radio__native-control", type: "radio", id: props.id, checked: props.checked, disabled: props.disabled, onChange: props.onChange }),
19
+ h("div", { class: "mdc-radio__background" },
20
+ h("div", { class: "mdc-radio__outer-circle" }),
21
+ h("div", { class: "mdc-radio__inner-circle" }))),
22
+ h("label", { class: `${props.disabled ? 'disabled' : ''}`, htmlFor: props.id }, props.label)));
23
+ };
24
+
25
+ class ListRenderer {
26
+ constructor() {
27
+ this.defaultConfig = {
28
+ isOpen: true,
29
+ badgeIcons: false,
30
+ };
31
+ /**
32
+ * Determine which ListItem should have the `tab-index` attribute set,
33
+ * and return the index at which that ListItem is located in `items`.
34
+ * Returns `undefined` if no item should have the attribute set.
35
+ * See https://github.com/material-components/material-components-web/tree/e66a43a75fef4f9179e24856649518e15e279a04/packages/mdc-list#accessibility
36
+ *
37
+ * @param {Array<ListItem | ListSeparator>} items the items of the list, including any `ListSeparator`:s
38
+ * @returns {number} the index as per the description
39
+ */
40
+ this.getIndexForWhichToApplyTabIndex = (items) => {
41
+ let result;
42
+ for (let i = 0, max = items.length; i < max; i += 1) {
43
+ if ('separator' in items[i]) ;
44
+ else {
45
+ const item = items[i];
46
+ if (item.selected) {
47
+ result = i;
48
+ break;
49
+ }
50
+ if (result === undefined && !item.disabled) {
51
+ result = i;
52
+ // Do NOT break, as any later item with
53
+ // `selected=true` should get the tab-index instead!
54
+ }
55
+ }
56
+ }
57
+ return result;
58
+ };
59
+ /**
60
+ * Render a single list item
61
+ *
62
+ * @param {ListItem | ListSeparator} item the item to render
63
+ * @param {number} index the index the item had in the `items` array
64
+ * @returns {HTMLElement} the list item
65
+ */
66
+ this.renderListItem = (item, index) => {
67
+ if ('separator' in item) {
68
+ return h("li", { class: "mdc-deprecated-list-divider", role: "separator" });
69
+ }
70
+ if (['radio', 'checkbox'].includes(this.config.type)) {
71
+ return this.renderVariantListItem(this.config, item, index);
72
+ }
73
+ const classNames = {
74
+ 'mdc-deprecated-list-item': true,
75
+ 'mdc-deprecated-list-item--disabled': item.disabled,
76
+ 'mdc-deprecated-list-item--selected': item.selected,
77
+ 'has-primary-component': this.hasPrimaryComponent(item),
78
+ };
79
+ const attributes = {};
80
+ if (index === this.applyTabIndexToItemAtIndex) {
81
+ attributes.tabindex = '0';
82
+ }
83
+ return (h("li", Object.assign({ class: classNames, "aria-disabled": item.disabled ? 'true' : 'false', "aria-selected": item.selected ? 'true' : 'false', "data-index": index }, attributes),
84
+ item.icon ? this.renderIcon(this.config, item) : null,
85
+ this.getPrimaryComponent(item),
86
+ this.renderText(item),
87
+ this.twoLines && this.avatarList ? this.renderDivider() : null,
88
+ this.renderActionMenu(item.actions)));
89
+ };
90
+ this.hasPrimaryComponent = (item) => {
91
+ var _a;
92
+ return !!((_a = item === null || item === void 0 ? void 0 : item.primaryComponent) === null || _a === void 0 ? void 0 : _a.name);
93
+ };
94
+ /**
95
+ * Render the text of the list item
96
+ *
97
+ * @param {ListItem} item the list item
98
+ * @returns {HTMLElement | string} the text for the list item
99
+ */
100
+ this.renderText = (item) => {
101
+ if (this.isSimpleItem(item)) {
102
+ return (h("span", { class: "mdc-deprecated-list-item__text" }, item.text));
103
+ }
104
+ return (h("div", { class: "mdc-deprecated-list-item__text" },
105
+ h("div", { class: "mdc-deprecated-list-item__primary-command-text" },
106
+ h("div", { class: "mdc-deprecated-list-item__primary-text" }, item.text)),
107
+ h("div", { class: "mdc-deprecated-list-item__secondary-text" }, item.secondaryText)));
108
+ };
109
+ this.isSimpleItem = (item) => {
110
+ if ('secondaryText' in item) {
111
+ return false;
112
+ }
113
+ return true;
114
+ };
115
+ /**
116
+ * Render an icon for a list item
117
+ *
118
+ * @param {ListRendererConfig} config the config object, passed on from the `renderListItem` function
119
+ * @param {ListItem} item the list item
120
+ * @returns {HTMLElement} the icon element
121
+ */
122
+ this.renderIcon = (config, item) => {
123
+ const style = {};
124
+ if (item.iconColor) {
125
+ if (config.badgeIcons) {
126
+ style['--icon-background-color'] = item.iconColor;
127
+ }
128
+ else {
129
+ style.color = item.iconColor;
130
+ }
131
+ }
132
+ return (h("limel-icon", { badge: config.badgeIcons, class: "mdc-deprecated-list-item__graphic", name: item.icon, style: style, size: config.iconSize }));
133
+ };
134
+ this.renderDivider = () => {
135
+ const classes = {
136
+ 'mdc-deprecated-list-divider': true,
137
+ 'mdc-deprecated-list-divider--inset': true,
138
+ };
139
+ if (this.config.iconSize) {
140
+ classes[this.config.iconSize] = true;
141
+ }
142
+ return h("hr", { class: classes });
143
+ };
144
+ this.renderActionMenu = (actions) => {
145
+ if (!actions || actions.length === 0) {
146
+ return;
147
+ }
148
+ return (h("limel-menu", { class: "mdc-deprecated-list-item__meta", items: actions, openDirection: "left" },
149
+ h("limel-icon", { slot: "trigger", name: "menu_2", size: "small" })));
150
+ };
151
+ this.renderVariantListItem = (config, item, index) => {
152
+ let itemTemplate;
153
+ if (config.type === 'radio') {
154
+ itemTemplate = (h(RadioButtonTemplate, { id: `c_${index}`, checked: item.selected, disabled: item.disabled }));
155
+ }
156
+ else if (config.type === 'checkbox') {
157
+ itemTemplate = (h(CheckboxTemplate, { id: `c_${index}`, checked: item.selected, disabled: item.disabled }));
158
+ }
159
+ const classNames = {
160
+ 'mdc-deprecated-list-item': true,
161
+ 'mdc-deprecated-list-item--disabled': item.disabled,
162
+ 'mdc-deprecated-list-item__text': !item.secondaryText,
163
+ 'has-primary-component': this.hasPrimaryComponent(item),
164
+ };
165
+ const attributes = {};
166
+ if (index === this.applyTabIndexToItemAtIndex) {
167
+ attributes.tabindex = '0';
168
+ }
169
+ return (h("li", Object.assign({ class: classNames, role: config.type, "aria-checked": item.selected ? 'true' : 'false', "aria-disabled": item.disabled ? 'true' : 'false', "data-index": index }, attributes), this.renderVariantListItemContent(config, item, itemTemplate)));
170
+ };
171
+ this.renderVariantListItemContent = (config, item, itemTemplate) => {
172
+ if (this.hasIcons) {
173
+ return [
174
+ item.icon ? this.renderIcon(config, item) : null,
175
+ this.getPrimaryComponent(item),
176
+ this.renderText(item),
177
+ h("div", { class: "mdc-deprecated-list-item__meta" }, itemTemplate),
178
+ ];
179
+ }
180
+ return [
181
+ h("div", { class: "mdc-deprecated-list-item__graphic" }, itemTemplate),
182
+ this.getPrimaryComponent(item),
183
+ this.renderText(item),
184
+ ];
185
+ };
186
+ }
187
+ render(items, config = {}) {
188
+ items = items || [];
189
+ this.config = Object.assign(Object.assign({}, this.defaultConfig), config);
190
+ this.twoLines = items.some((item) => {
191
+ return 'secondaryText' in item && !!item.secondaryText;
192
+ });
193
+ this.hasIcons = items.some((item) => {
194
+ return 'icon' in item && !!item.icon;
195
+ });
196
+ this.avatarList = this.config.badgeIcons && this.hasIcons;
197
+ const selectableListTypes = ['selectable', 'radio', 'checkbox'];
198
+ let role;
199
+ switch (this.config.type) {
200
+ case 'checkbox':
201
+ role = 'group';
202
+ break;
203
+ case 'radio':
204
+ role = 'radiogroup';
205
+ break;
206
+ default:
207
+ role = 'listbox';
208
+ }
209
+ this.applyTabIndexToItemAtIndex =
210
+ this.getIndexForWhichToApplyTabIndex(items);
211
+ const classNames = {
212
+ 'mdc-deprecated-list': true,
213
+ 'mdc-deprecated-list--two-line': this.twoLines,
214
+ selectable: selectableListTypes.includes(this.config.type),
215
+ 'mdc-deprecated-list--avatar-list': this.avatarList,
216
+ 'list--compact': this.twoLines &&
217
+ this.commandKey &&
218
+ ['small', 'x-small'].includes(this.config.iconSize),
219
+ };
220
+ return (h("ul", { class: classNames, role: role, "aria-orientation": "vertical" }, items.map(this.renderListItem)));
221
+ }
222
+ getPrimaryComponent(item) {
223
+ if (!this.hasPrimaryComponent(item)) {
224
+ return;
225
+ }
226
+ const PrimaryComponent = item.primaryComponent.name;
227
+ const props = item.primaryComponent.props;
228
+ return h(PrimaryComponent, Object.assign({}, props));
229
+ }
230
+ }
231
+
232
+ const listCss = ":host{--mdc-theme-primary:var(\n --lime-primary-color,\n rgb(var(--color-teal-default))\n );--mdc-theme-secondary:var(\n --lime-secondary-color,\n rgb(var(--contrast-1100))\n );--mdc-theme-on-primary:var(\n --lime-on-primary-color,\n rgb(var(--contrast-100))\n );--mdc-theme-on-secondary:var(\n --lime-on-secondary-color,\n rgb(var(--contrast-100))\n );--mdc-theme-text-disabled-on-background:var(\n --lime-text-disabled-on-background-color,\n rgba(var(--contrast-1700), 0.38)\n );--mdc-theme-text-primary-on-background:var(\n --lime-text-primary-on-background-color,\n rgba(var(--contrast-1700), 0.87)\n );--mdc-theme-text-secondary-on-background:var(\n --lime-text-secondary-on-background-color,\n rgba(var(--contrast-1700), 0.54)\n );--lime-error-text-color:rgb(var(--color-red-darker));--mdc-theme-surface:var(\n --lime-surface-background-color,\n rgb(var(--contrast-100))\n );--mdc-theme-on-surface:var(\n --lime-on-surface-color,\n var(--lime-text-primary-on-background-color)\n )}:host(limel-list){display:block}:host([hidden]){display:none}.mdc-deprecated-list{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-subtitle1-font-size, 0.875rem);line-height:1.125rem;line-height:var(--mdc-typography-subtitle1-line-height, 1.125rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);line-height:1.5rem;margin:0;padding:8px 0;list-style-type:none;color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87))}.mdc-deprecated-list:focus{outline:none}.mdc-deprecated-list-item{height:48px}.mdc-deprecated-list-item__secondary-text{color:rgba(0, 0, 0, 0.54);color:var(--mdc-theme-text-secondary-on-background, rgba(0, 0, 0, 0.54))}.mdc-deprecated-list-item__graphic{background-color:transparent}.mdc-deprecated-list-item__graphic{color:rgba(0, 0, 0, 0.38);color:var(--mdc-theme-text-icon-on-background, rgba(0, 0, 0, 0.38))}.mdc-deprecated-list-item__meta{color:rgba(0, 0, 0, 0.38);color:var(--mdc-theme-text-hint-on-background, rgba(0, 0, 0, 0.38))}.mdc-deprecated-list-group__subheader{color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87))}.mdc-deprecated-list-item--disabled .mdc-deprecated-list-item__text{opacity:0.38}.mdc-deprecated-list-item--disabled .mdc-deprecated-list-item__text,.mdc-deprecated-list-item--disabled .mdc-deprecated-list-item__primary-text,.mdc-deprecated-list-item--disabled .mdc-deprecated-list-item__secondary-text{color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-deprecated-list-item--selected,.mdc-deprecated-list-item--activated{color:#26a69a;color:var(--mdc-theme-primary, #26a69a)}.mdc-deprecated-list-item--selected .mdc-deprecated-list-item__graphic,.mdc-deprecated-list-item--activated .mdc-deprecated-list-item__graphic{color:#26a69a;color:var(--mdc-theme-primary, #26a69a)}.mdc-deprecated-list--dense{padding-top:4px;padding-bottom:4px;font-size:0.812rem}.mdc-deprecated-list-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;height:48px}.mdc-deprecated-list-item:focus{outline:none}.mdc-deprecated-list-item:not(.mdc-deprecated-list-item--selected):focus::before,.mdc-deprecated-list-item.mdc-ripple-upgraded--background-focused::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid transparent;border-radius:inherit;content:\"\";pointer-events:none}.mdc-deprecated-list-item.mdc-deprecated-list-item--selected::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px double transparent;border-radius:inherit;content:\"\";pointer-events:none}[dir=rtl] .mdc-deprecated-list-item,.mdc-deprecated-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-deprecated-list--icon-list .mdc-deprecated-list-item{padding-left:16px;padding-right:16px;height:56px}[dir=rtl] .mdc-deprecated-list--icon-list .mdc-deprecated-list-item,.mdc-deprecated-list--icon-list .mdc-deprecated-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-deprecated-list--avatar-list .mdc-deprecated-list-item{padding-left:16px;padding-right:16px;height:56px}[dir=rtl] .mdc-deprecated-list--avatar-list .mdc-deprecated-list-item,.mdc-deprecated-list--avatar-list .mdc-deprecated-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-item{padding-left:16px;padding-right:16px;height:56px}[dir=rtl] .mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-item,.mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-deprecated-list--image-list .mdc-deprecated-list-item{padding-left:16px;padding-right:16px;height:72px}[dir=rtl] .mdc-deprecated-list--image-list .mdc-deprecated-list-item,.mdc-deprecated-list--image-list .mdc-deprecated-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-deprecated-list--video-list .mdc-deprecated-list-item{padding-left:0px;padding-right:16px;height:72px}[dir=rtl] .mdc-deprecated-list--video-list .mdc-deprecated-list-item,.mdc-deprecated-list--video-list .mdc-deprecated-list-item[dir=rtl]{padding-left:16px;padding-right:0px}.mdc-deprecated-list--dense .mdc-deprecated-list-item__graphic{margin-left:0;margin-right:16px;width:20px;height:20px}[dir=rtl] .mdc-deprecated-list--dense .mdc-deprecated-list-item__graphic,.mdc-deprecated-list--dense .mdc-deprecated-list-item__graphic[dir=rtl]{margin-left:16px;margin-right:0}.mdc-deprecated-list-item__graphic{flex-shrink:0;align-items:center;justify-content:center;fill:currentColor;object-fit:cover;margin-left:0;margin-right:32px;width:24px;height:24px}[dir=rtl] .mdc-deprecated-list-item__graphic,.mdc-deprecated-list-item__graphic[dir=rtl]{margin-left:32px;margin-right:0}.mdc-deprecated-list--icon-list .mdc-deprecated-list-item__graphic{margin-left:0;margin-right:32px;width:24px;height:24px}[dir=rtl] .mdc-deprecated-list--icon-list .mdc-deprecated-list-item__graphic,.mdc-deprecated-list--icon-list .mdc-deprecated-list-item__graphic[dir=rtl]{margin-left:32px;margin-right:0}.mdc-deprecated-list--avatar-list .mdc-deprecated-list-item__graphic{margin-left:0;margin-right:16px;width:40px;height:40px;border-radius:50%}[dir=rtl] .mdc-deprecated-list--avatar-list .mdc-deprecated-list-item__graphic,.mdc-deprecated-list--avatar-list .mdc-deprecated-list-item__graphic[dir=rtl]{margin-left:16px;margin-right:0}.mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-item__graphic{margin-left:0;margin-right:16px;width:40px;height:40px}[dir=rtl] .mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-item__graphic,.mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-item__graphic[dir=rtl]{margin-left:16px;margin-right:0}.mdc-deprecated-list--image-list .mdc-deprecated-list-item__graphic{margin-left:0;margin-right:16px;width:56px;height:56px}[dir=rtl] .mdc-deprecated-list--image-list .mdc-deprecated-list-item__graphic,.mdc-deprecated-list--image-list .mdc-deprecated-list-item__graphic[dir=rtl]{margin-left:16px;margin-right:0}.mdc-deprecated-list--video-list .mdc-deprecated-list-item__graphic{margin-left:0;margin-right:16px;width:100px;height:56px}[dir=rtl] .mdc-deprecated-list--video-list .mdc-deprecated-list-item__graphic,.mdc-deprecated-list--video-list .mdc-deprecated-list-item__graphic[dir=rtl]{margin-left:16px;margin-right:0}.mdc-deprecated-list .mdc-deprecated-list-item__graphic{display:inline-flex}.mdc-deprecated-list-item__meta{margin-left:auto;margin-right:0}.mdc-deprecated-list-item__meta:not(.material-icons){-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.6875rem;font-size:var(--mdc-typography-caption-font-size, 0.6875rem);line-height:0.875rem;line-height:var(--mdc-typography-caption-line-height, 0.875rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:0.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, 0.0333333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform, inherit)}.mdc-deprecated-list-item[dir=rtl] .mdc-deprecated-list-item__meta,[dir=rtl] .mdc-deprecated-list-item .mdc-deprecated-list-item__meta{margin-left:0;margin-right:auto}.mdc-deprecated-list-item__text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-deprecated-list-item__text[for]{pointer-events:none}.mdc-deprecated-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-deprecated-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:\"\";vertical-align:0}.mdc-deprecated-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\"\";vertical-align:-20px}.mdc-deprecated-list--video-list .mdc-deprecated-list-item__primary-text,.mdc-deprecated-list--image-list .mdc-deprecated-list-item__primary-text,.mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-item__primary-text,.mdc-deprecated-list--avatar-list .mdc-deprecated-list-item__primary-text,.mdc-deprecated-list--icon-list .mdc-deprecated-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-deprecated-list--video-list .mdc-deprecated-list-item__primary-text::before,.mdc-deprecated-list--image-list .mdc-deprecated-list-item__primary-text::before,.mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-item__primary-text::before,.mdc-deprecated-list--avatar-list .mdc-deprecated-list-item__primary-text::before,.mdc-deprecated-list--icon-list .mdc-deprecated-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\"\";vertical-align:0}.mdc-deprecated-list--video-list .mdc-deprecated-list-item__primary-text::after,.mdc-deprecated-list--image-list .mdc-deprecated-list-item__primary-text::after,.mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-item__primary-text::after,.mdc-deprecated-list--avatar-list .mdc-deprecated-list-item__primary-text::after,.mdc-deprecated-list--icon-list .mdc-deprecated-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\"\";vertical-align:-20px}.mdc-deprecated-list--dense .mdc-deprecated-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-deprecated-list--dense .mdc-deprecated-list-item__primary-text::before{display:inline-block;width:0;height:24px;content:\"\";vertical-align:0}.mdc-deprecated-list--dense .mdc-deprecated-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\"\";vertical-align:-20px}.mdc-deprecated-list-item__secondary-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.8125rem;font-size:var(--mdc-typography-body2-font-size, 0.8125rem);line-height:1.625rem;line-height:var(--mdc-typography-body2-line-height, 1.625rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal}.mdc-deprecated-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:\"\";vertical-align:0}.mdc-deprecated-list--dense .mdc-deprecated-list-item__secondary-text{font-size:inherit}.mdc-deprecated-list--dense .mdc-deprecated-list-item{height:40px}.mdc-deprecated-list--two-line .mdc-deprecated-list-item__text{align-self:flex-start}.mdc-deprecated-list--two-line .mdc-deprecated-list-item{height:64px}.mdc-deprecated-list--two-line.mdc-deprecated-list--video-list .mdc-deprecated-list-item,.mdc-deprecated-list--two-line.mdc-deprecated-list--image-list .mdc-deprecated-list-item,.mdc-deprecated-list--two-line.mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-item,.mdc-deprecated-list--two-line.mdc-deprecated-list--avatar-list .mdc-deprecated-list-item,.mdc-deprecated-list--two-line.mdc-deprecated-list--icon-list .mdc-deprecated-list-item{height:72px}.mdc-deprecated-list--two-line.mdc-deprecated-list--icon-list .mdc-deprecated-list-item__graphic{align-self:flex-start;margin-top:16px}.mdc-deprecated-list--two-line.mdc-deprecated-list--dense .mdc-deprecated-list-item,.mdc-deprecated-list--avatar-list.mdc-deprecated-list--dense .mdc-deprecated-list-item{height:60px}.mdc-deprecated-list--avatar-list.mdc-deprecated-list--dense .mdc-deprecated-list-item__graphic{margin-left:0;margin-right:16px;width:36px;height:36px}[dir=rtl] .mdc-deprecated-list--avatar-list.mdc-deprecated-list--dense .mdc-deprecated-list-item__graphic,.mdc-deprecated-list--avatar-list.mdc-deprecated-list--dense .mdc-deprecated-list-item__graphic[dir=rtl]{margin-left:16px;margin-right:0}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item{cursor:pointer}a.mdc-deprecated-list-item{color:inherit;text-decoration:none}.mdc-deprecated-list-divider{height:0;margin:0;border:none;border-bottom-width:1px;border-bottom-style:solid}.mdc-deprecated-list-divider{border-bottom-color:rgba(0, 0, 0, 0.12)}.mdc-deprecated-list-divider--padded{margin-left:16px;margin-right:0;width:calc(100% - 32px)}[dir=rtl] .mdc-deprecated-list-divider--padded,.mdc-deprecated-list-divider--padded[dir=rtl]{margin-left:0;margin-right:16px}.mdc-deprecated-list-divider--inset{margin-left:72px;margin-right:0;width:calc(100% - 72px)}[dir=rtl] .mdc-deprecated-list-divider--inset,.mdc-deprecated-list-divider--inset[dir=rtl]{margin-left:0;margin-right:72px}.mdc-deprecated-list-divider--inset.mdc-deprecated-list-divider--padded{margin-left:72px;margin-right:0;width:calc(100% - 88px)}[dir=rtl] .mdc-deprecated-list-divider--inset.mdc-deprecated-list-divider--padded,.mdc-deprecated-list-divider--inset.mdc-deprecated-list-divider--padded[dir=rtl]{margin-left:0;margin-right:72px}.mdc-deprecated-list .mdc-deprecated-list-divider--inset-leading{margin-left:16px;margin-right:0;width:calc(100% - 16px)}[dir=rtl] .mdc-deprecated-list .mdc-deprecated-list-divider--inset-leading,.mdc-deprecated-list .mdc-deprecated-list-divider--inset-leading[dir=rtl]{margin-left:0;margin-right:16px}.mdc-deprecated-list .mdc-deprecated-list-divider--inset-trailing{width:calc(100% - 16px)}.mdc-deprecated-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing{margin-left:16px;margin-right:0;width:calc(100% - 32px)}[dir=rtl] .mdc-deprecated-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing,.mdc-deprecated-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing[dir=rtl]{margin-left:0;margin-right:16px}.mdc-deprecated-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--padding{margin-left:16px;margin-right:0;width:calc(100% - 16px)}[dir=rtl] .mdc-deprecated-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--padding,.mdc-deprecated-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--padding[dir=rtl]{margin-left:0;margin-right:16px}.mdc-deprecated-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing.mdc-deprecated-list-divider--inset-padding{margin-left:16px;margin-right:0;width:calc(100% - 32px)}[dir=rtl] .mdc-deprecated-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing.mdc-deprecated-list-divider--inset-padding,.mdc-deprecated-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing.mdc-deprecated-list-divider--inset-padding[dir=rtl]{margin-left:0;margin-right:16px}.mdc-deprecated-list--icon-list .mdc-deprecated-list-divider--inset-leading{margin-left:72px;margin-right:0;width:calc(100% - 72px)}[dir=rtl] .mdc-deprecated-list--icon-list .mdc-deprecated-list-divider--inset-leading,.mdc-deprecated-list--icon-list .mdc-deprecated-list-divider--inset-leading[dir=rtl]{margin-left:0;margin-right:72px}.mdc-deprecated-list--icon-list .mdc-deprecated-list-divider--inset-trailing{width:calc(100% - 16px)}.mdc-deprecated-list--icon-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing{margin-left:72px;margin-right:0;width:calc(100% - 88px)}[dir=rtl] .mdc-deprecated-list--icon-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing,.mdc-deprecated-list--icon-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing[dir=rtl]{margin-left:0;margin-right:72px}.mdc-deprecated-list--icon-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--padding{margin-left:16px;margin-right:0;width:calc(100% - 16px)}[dir=rtl] .mdc-deprecated-list--icon-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--padding,.mdc-deprecated-list--icon-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--padding[dir=rtl]{margin-left:0;margin-right:16px}.mdc-deprecated-list--icon-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing.mdc-deprecated-list-divider--inset-padding{margin-left:16px;margin-right:0;width:calc(100% - 32px)}[dir=rtl] .mdc-deprecated-list--icon-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing.mdc-deprecated-list-divider--inset-padding,.mdc-deprecated-list--icon-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing.mdc-deprecated-list-divider--inset-padding[dir=rtl]{margin-left:0;margin-right:16px}.mdc-deprecated-list--avatar-list .mdc-deprecated-list-divider--inset-leading{margin-left:72px;margin-right:0;width:calc(100% - 72px)}[dir=rtl] .mdc-deprecated-list--avatar-list .mdc-deprecated-list-divider--inset-leading,.mdc-deprecated-list--avatar-list .mdc-deprecated-list-divider--inset-leading[dir=rtl]{margin-left:0;margin-right:72px}.mdc-deprecated-list--avatar-list .mdc-deprecated-list-divider--inset-trailing{width:calc(100% - 16px)}.mdc-deprecated-list--avatar-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing{margin-left:72px;margin-right:0;width:calc(100% - 88px)}[dir=rtl] .mdc-deprecated-list--avatar-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing,.mdc-deprecated-list--avatar-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing[dir=rtl]{margin-left:0;margin-right:72px}.mdc-deprecated-list--avatar-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--padding{margin-left:16px;margin-right:0;width:calc(100% - 16px)}[dir=rtl] .mdc-deprecated-list--avatar-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--padding,.mdc-deprecated-list--avatar-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--padding[dir=rtl]{margin-left:0;margin-right:16px}.mdc-deprecated-list--avatar-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing.mdc-deprecated-list-divider--inset-padding{margin-left:16px;margin-right:0;width:calc(100% - 32px)}[dir=rtl] .mdc-deprecated-list--avatar-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing.mdc-deprecated-list-divider--inset-padding,.mdc-deprecated-list--avatar-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing.mdc-deprecated-list-divider--inset-padding[dir=rtl]{margin-left:0;margin-right:16px}.mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-divider--inset-leading{margin-left:72px;margin-right:0;width:calc(100% - 72px)}[dir=rtl] .mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-divider--inset-leading,.mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-divider--inset-leading[dir=rtl]{margin-left:0;margin-right:72px}.mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-divider--inset-trailing{width:calc(100% - 16px)}.mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing{margin-left:72px;margin-right:0;width:calc(100% - 88px)}[dir=rtl] .mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing,.mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing[dir=rtl]{margin-left:0;margin-right:72px}.mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--padding{margin-left:16px;margin-right:0;width:calc(100% - 16px)}[dir=rtl] .mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--padding,.mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--padding[dir=rtl]{margin-left:0;margin-right:16px}.mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing.mdc-deprecated-list-divider--inset-padding{margin-left:16px;margin-right:0;width:calc(100% - 32px)}[dir=rtl] .mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing.mdc-deprecated-list-divider--inset-padding,.mdc-deprecated-list--thumbnail-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing.mdc-deprecated-list-divider--inset-padding[dir=rtl]{margin-left:0;margin-right:16px}.mdc-deprecated-list--image-list .mdc-deprecated-list-divider--inset-leading{margin-left:88px;margin-right:0;width:calc(100% - 88px)}[dir=rtl] .mdc-deprecated-list--image-list .mdc-deprecated-list-divider--inset-leading,.mdc-deprecated-list--image-list .mdc-deprecated-list-divider--inset-leading[dir=rtl]{margin-left:0;margin-right:88px}.mdc-deprecated-list--image-list .mdc-deprecated-list-divider--inset-trailing{width:calc(100% - 16px)}.mdc-deprecated-list--image-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing{margin-left:88px;margin-right:0;width:calc(100% - 104px)}[dir=rtl] .mdc-deprecated-list--image-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing,.mdc-deprecated-list--image-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing[dir=rtl]{margin-left:0;margin-right:88px}.mdc-deprecated-list--image-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--padding{margin-left:16px;margin-right:0;width:calc(100% - 16px)}[dir=rtl] .mdc-deprecated-list--image-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--padding,.mdc-deprecated-list--image-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--padding[dir=rtl]{margin-left:0;margin-right:16px}.mdc-deprecated-list--image-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing.mdc-deprecated-list-divider--inset-padding{margin-left:16px;margin-right:0;width:calc(100% - 32px)}[dir=rtl] .mdc-deprecated-list--image-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing.mdc-deprecated-list-divider--inset-padding,.mdc-deprecated-list--image-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing.mdc-deprecated-list-divider--inset-padding[dir=rtl]{margin-left:0;margin-right:16px}.mdc-deprecated-list--video-list .mdc-deprecated-list-divider--inset-leading{margin-left:116px;margin-right:0;width:calc(100% - 116px)}[dir=rtl] .mdc-deprecated-list--video-list .mdc-deprecated-list-divider--inset-leading,.mdc-deprecated-list--video-list .mdc-deprecated-list-divider--inset-leading[dir=rtl]{margin-left:0;margin-right:116px}.mdc-deprecated-list--video-list .mdc-deprecated-list-divider--inset-trailing{width:calc(100% - 16px)}.mdc-deprecated-list--video-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing{margin-left:116px;margin-right:0;width:calc(100% - 132px)}[dir=rtl] .mdc-deprecated-list--video-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing,.mdc-deprecated-list--video-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing[dir=rtl]{margin-left:0;margin-right:116px}.mdc-deprecated-list--video-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--padding{margin-left:0px;margin-right:0;width:calc(100% - 0px)}[dir=rtl] .mdc-deprecated-list--video-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--padding,.mdc-deprecated-list--video-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--padding[dir=rtl]{margin-left:0;margin-right:0px}.mdc-deprecated-list--video-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing.mdc-deprecated-list-divider--inset-padding{margin-left:0px;margin-right:0;width:calc(100% - 16px)}[dir=rtl] .mdc-deprecated-list--video-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing.mdc-deprecated-list-divider--inset-padding,.mdc-deprecated-list--video-list .mdc-deprecated-list-divider--inset-leading.mdc-deprecated-list-divider--inset-trailing.mdc-deprecated-list-divider--inset-padding[dir=rtl]{margin-left:0;margin-right:0px}.mdc-deprecated-list-group .mdc-deprecated-list{padding:0}.mdc-deprecated-list-group__subheader{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-subtitle1-font-size, 0.875rem);line-height:1.125rem;line-height:var(--mdc-typography-subtitle1-line-height, 1.125rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);margin:calc( (3rem - 1.5rem) / 2 ) 16px}.mdc-list-item__primary-text{color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87))}.mdc-list-item__secondary-text{color:rgba(0, 0, 0, 0.54);color:var(--mdc-theme-text-secondary-on-background, rgba(0, 0, 0, 0.54))}.mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-trailing-icon .mdc-list-item__end{background-color:transparent}.mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:rgba(0, 0, 0, 0.38);color:var(--mdc-theme-text-icon-on-background, rgba(0, 0, 0, 0.38))}.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:rgba(0, 0, 0, 0.38);color:var(--mdc-theme-text-hint-on-background, rgba(0, 0, 0, 0.38))}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:0.38}.mdc-list-item--disabled .mdc-list-item__primary-text{color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-list-item--disabled .mdc-list-item__secondary-text{color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-list-item--disabled.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-list-item--selected .mdc-list-item__primary-text,.mdc-list-item--activated .mdc-list-item__primary-text{color:#26a69a;color:var(--mdc-theme-primary, #26a69a)}.mdc-list-item--selected.mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--activated.mdc-list-item--with-leading-icon .mdc-list-item__start{color:#26a69a;color:var(--mdc-theme-primary, #26a69a)}.mdc-deprecated-list-group__subheader{color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87))}@media screen and (-ms-high-contrast: active){.mdc-list-divider::after{content:\"\";display:block;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:white}}.mdc-list{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-subtitle1-font-size, 0.875rem);line-height:1.125rem;line-height:var(--mdc-typography-subtitle1-line-height, 1.125rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);line-height:1.5rem;margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;align-items:stretch;cursor:pointer}.mdc-list-item:focus{outline:none}[dir=rtl] .mdc-list-item,.mdc-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-list-item.mdc-list-item--with-one-line{height:48px}.mdc-list-item.mdc-list-item--with-two-lines{height:64px}.mdc-list-item.mdc-list-item--with-three-lines{height:88px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--disabled,.mdc-list-item.mdc-list-item--non-interactive{cursor:auto}.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid transparent;border-radius:inherit;content:\"\";pointer-events:none}.mdc-list-item.mdc-list-item--selected::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px double transparent;border-radius:inherit;content:\"\";pointer-events:none}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__content[for]{pointer-events:none}.mdc-list-item__primary-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-subtitle1-font-size, 0.875rem);line-height:1.125rem;line-height:var(--mdc-typography-subtitle1-line-height, 1.125rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:\"\";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\"\";vertical-align:-20px}.mdc-list-item__secondary-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.8125rem;font-size:var(--mdc-typography-body2-font-size, 0.8125rem);line-height:1.625rem;line-height:var(--mdc-typography-body2-line-height, 1.625rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:\"\";vertical-align:0}.mdc-list-item__overline-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__overline-text,.mdc-list-item--with-three-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before,.mdc-list-item--with-three-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:24px;content:\"\";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after,.mdc-list-item--with-three-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:\"\";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start,.mdc-list-item--with-leading-avatar .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:40px;height:40px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\"\";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\"\";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\"\";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-avatar .mdc-list-item__start{border-radius:50%}.mdc-list-item--with-leading-icon .mdc-list-item__start{width:24px;height:24px}.mdc-list-item--with-leading-icon.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-leading-icon .mdc-list-item__start[dir=rtl]{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\"\";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\"\";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\"\";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-thumbnail.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-thumbnail.mdc-list-item,.mdc-list-item--with-leading-thumbnail.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-thumbnail .mdc-list-item__start,.mdc-list-item--with-leading-thumbnail .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{width:40px;height:40px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\"\";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\"\";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\"\";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-image.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-image.mdc-list-item,.mdc-list-item--with-leading-image.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-image .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-image .mdc-list-item__start,.mdc-list-item--with-leading-image .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-image .mdc-list-item__start{width:56px;height:56px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\"\";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\"\";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\"\";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-video.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-video.mdc-list-item,.mdc-list-item--with-leading-video.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-video .mdc-list-item__start{margin-left:0;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-video .mdc-list-item__start,.mdc-list-item--with-leading-video .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:0}.mdc-list-item--with-leading-video .mdc-list-item__start{width:100px;height:56px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\"\";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\"\";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\"\";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-checkbox.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{width:40px;height:40px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\"\";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\"\";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\"\";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-radio.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-radio.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-radio .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-radio .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio .mdc-list-item__start{width:40px;height:40px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\"\";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\"\";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\"\";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-switch.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-switch.mdc-list-item,.mdc-list-item--with-leading-switch.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-switch .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-switch .mdc-list-item__start,.mdc-list-item--with-leading-switch .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-switch .mdc-list-item__start{width:36px;height:20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:\"\";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:\"\";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:\"\";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item,.mdc-list-item--with-trailing-icon.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-icon .mdc-list-item__end,.mdc-list-item--with-trailing-icon .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-icon .mdc-list-item__end{width:24px;height:24px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item,.mdc-list-item--with-trailing-meta.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-trailing-meta .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:\"\";vertical-align:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:\"\";vertical-align:0}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.6875rem;font-size:var(--mdc-typography-caption-font-size, 0.6875rem);line-height:0.875rem;line-height:var(--mdc-typography-caption-line-height, 0.875rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:0.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, 0.0333333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform, inherit)}.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{width:40px;height:40px}.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-radio.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-radio .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-radio .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio .mdc-list-item__end{width:40px;height:40px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-switch.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-switch.mdc-list-item,.mdc-list-item--with-trailing-switch.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-switch .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-switch .mdc-list-item__end,.mdc-list-item--with-trailing-switch .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-switch .mdc-list-item__end{width:36px;height:20px}.mdc-list-item--with-trailing-switch.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-group .mdc-deprecated-list{padding:0}.mdc-list-group__subheader{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-subtitle1-font-size, 0.875rem);line-height:1.125rem;line-height:var(--mdc-typography-subtitle1-line-height, 1.125rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);margin:calc( (3rem - 1.5rem) / 2 ) 16px}.mdc-list-divider{background-color:rgba(0, 0, 0, 0.12)}.mdc-list-divider{height:1px;padding:0;background-clip:content-box}.mdc-list-divider.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset{padding-left:16px;padding-right:auto}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-leading-inset,.mdc-list-divider.mdc-list-divider--with-leading-inset[dir=rtl],[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset[dir=rtl],[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset[dir=rtl],[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset[dir=rtl],[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset[dir=rtl],[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset[dir=rtl],[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset[dir=rtl],[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset[dir=rtl],[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:16px}.mdc-list-divider.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset{padding-left:auto;padding-right:16px}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-trailing-inset,.mdc-list-divider.mdc-list-divider--with-trailing-inset[dir=rtl],[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset[dir=rtl],[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset[dir=rtl],[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset[dir=rtl],[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset[dir=rtl],[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset[dir=rtl],[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset[dir=rtl],[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset[dir=rtl],[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset[dir=rtl]{padding-left:16px;padding-right:auto}.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset{padding-left:0px;padding-right:auto}[dir=rtl] .mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:0px}[dir=rtl] .mdc-list-divider,.mdc-list-divider[dir=rtl]{padding:0}@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);will-change:transform, opacity;--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);will-change:transform, opacity}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item .mdc-deprecated-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item .mdc-deprecated-list-item__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:\"\"}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item .mdc-deprecated-list-item__ripple::before{transition:opacity 15ms linear, background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item .mdc-deprecated-list-item__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item.mdc-ripple-upgraded .mdc-deprecated-list-item__ripple::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item.mdc-ripple-upgraded .mdc-deprecated-list-item__ripple::after{top:0;left:0;transform:scale(0);transform-origin:center center}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item.mdc-ripple-upgraded--unbounded .mdc-deprecated-list-item__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item.mdc-ripple-upgraded--foreground-activation .mdc-deprecated-list-item__ripple::after{animation:mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item.mdc-ripple-upgraded--foreground-deactivation .mdc-deprecated-list-item__ripple::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item .mdc-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item .mdc-list-item__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:\"\"}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item .mdc-list-item__ripple::before{transition:opacity 15ms linear, background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item .mdc-list-item__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item.mdc-ripple-upgraded .mdc-list-item__ripple::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item.mdc-ripple-upgraded .mdc-list-item__ripple::after{top:0;left:0;transform:scale(0);transform-origin:center center}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item.mdc-ripple-upgraded--unbounded .mdc-list-item__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item.mdc-ripple-upgraded--foreground-activation .mdc-list-item__ripple::after{animation:mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item.mdc-ripple-upgraded--foreground-deactivation .mdc-list-item__ripple::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item .mdc-deprecated-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item .mdc-deprecated-list-item__ripple::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item.mdc-ripple-upgraded .mdc-deprecated-list-item__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item .mdc-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item .mdc-list-item__ripple::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item.mdc-ripple-upgraded .mdc-list-item__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item .mdc-deprecated-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item .mdc-deprecated-list-item__ripple::after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item:hover .mdc-deprecated-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item.mdc-ripple-surface--hover .mdc-deprecated-list-item__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item.mdc-ripple-upgraded--background-focused .mdc-deprecated-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item:not(.mdc-ripple-upgraded):focus .mdc-deprecated-list-item__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item:not(.mdc-ripple-upgraded) .mdc-deprecated-list-item__ripple::after{transition:opacity 150ms linear}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item:not(.mdc-ripple-upgraded):active .mdc-deprecated-list-item__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item .mdc-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item .mdc-list-item__ripple::after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item:hover .mdc-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item.mdc-ripple-surface--hover .mdc-list-item__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item.mdc-ripple-upgraded--background-focused .mdc-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item:not(.mdc-ripple-upgraded):focus .mdc-list-item__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item:not(.mdc-ripple-upgraded) .mdc-list-item__ripple::after{transition:opacity 150ms linear}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item:not(.mdc-ripple-upgraded):active .mdc-list-item__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--activated .mdc-deprecated-list-item__ripple::before{opacity:0.24;opacity:var(--mdc-ripple-activated-opacity, 0.24)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--activated .mdc-deprecated-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--activated .mdc-deprecated-list-item__ripple::after{background-color:#26a69a;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #26a69a))}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--activated:hover .mdc-deprecated-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--activated.mdc-ripple-surface--hover .mdc-deprecated-list-item__ripple::before{opacity:0.32;opacity:var(--mdc-ripple-hover-opacity, 0.32)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--activated.mdc-ripple-upgraded--background-focused .mdc-deprecated-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--activated:not(.mdc-ripple-upgraded):focus .mdc-deprecated-list-item__ripple::before{transition-duration:75ms;opacity:0.48;opacity:var(--mdc-ripple-focus-opacity, 0.48)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--activated:not(.mdc-ripple-upgraded) .mdc-deprecated-list-item__ripple::after{transition:opacity 150ms linear}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--activated:not(.mdc-ripple-upgraded):active .mdc-deprecated-list-item__ripple::after{transition-duration:75ms;opacity:0.48;opacity:var(--mdc-ripple-press-opacity, 0.48)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--activated.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.48)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--activated .mdc-list-item__ripple::before{opacity:0.24;opacity:var(--mdc-ripple-activated-opacity, 0.24)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--activated .mdc-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--activated .mdc-list-item__ripple::after{background-color:#26a69a;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #26a69a))}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--activated:hover .mdc-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--activated.mdc-ripple-surface--hover .mdc-list-item__ripple::before{opacity:0.32;opacity:var(--mdc-ripple-hover-opacity, 0.32)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--activated.mdc-ripple-upgraded--background-focused .mdc-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--activated:not(.mdc-ripple-upgraded):focus .mdc-list-item__ripple::before{transition-duration:75ms;opacity:0.48;opacity:var(--mdc-ripple-focus-opacity, 0.48)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--activated:not(.mdc-ripple-upgraded) .mdc-list-item__ripple::after{transition:opacity 150ms linear}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--activated:not(.mdc-ripple-upgraded):active .mdc-list-item__ripple::after{transition-duration:75ms;opacity:0.48;opacity:var(--mdc-ripple-press-opacity, 0.48)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--activated.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.48)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--selected .mdc-deprecated-list-item__ripple::before{opacity:0.16;opacity:var(--mdc-ripple-selected-opacity, 0.16)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--selected .mdc-deprecated-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--selected .mdc-deprecated-list-item__ripple::after{background-color:#26a69a;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #26a69a))}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--selected:hover .mdc-deprecated-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--selected.mdc-ripple-surface--hover .mdc-deprecated-list-item__ripple::before{opacity:0.24;opacity:var(--mdc-ripple-hover-opacity, 0.24)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--selected.mdc-ripple-upgraded--background-focused .mdc-deprecated-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--selected:not(.mdc-ripple-upgraded):focus .mdc-deprecated-list-item__ripple::before{transition-duration:75ms;opacity:0.4;opacity:var(--mdc-ripple-focus-opacity, 0.4)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--selected:not(.mdc-ripple-upgraded) .mdc-deprecated-list-item__ripple::after{transition:opacity 150ms linear}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--selected:not(.mdc-ripple-upgraded):active .mdc-deprecated-list-item__ripple::after{transition-duration:75ms;opacity:0.4;opacity:var(--mdc-ripple-press-opacity, 0.4)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.4)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--selected .mdc-list-item__ripple::before{opacity:0.16;opacity:var(--mdc-ripple-selected-opacity, 0.16)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--selected .mdc-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--selected .mdc-list-item__ripple::after{background-color:#26a69a;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #26a69a))}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--selected:hover .mdc-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--selected.mdc-ripple-surface--hover .mdc-list-item__ripple::before{opacity:0.24;opacity:var(--mdc-ripple-hover-opacity, 0.24)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--selected.mdc-ripple-upgraded--background-focused .mdc-list-item__ripple::before,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--selected:not(.mdc-ripple-upgraded):focus .mdc-list-item__ripple::before{transition-duration:75ms;opacity:0.4;opacity:var(--mdc-ripple-focus-opacity, 0.4)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--selected:not(.mdc-ripple-upgraded) .mdc-list-item__ripple::after{transition:opacity 150ms linear}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--selected:not(.mdc-ripple-upgraded):active .mdc-list-item__ripple::after{transition-duration:75ms;opacity:0.4;opacity:var(--mdc-ripple-press-opacity, 0.4)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.4)}:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item .mdc-deprecated-list-item__ripple,:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item .mdc-list-item__ripple{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.mdc-deprecated-list-item--disabled{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);will-change:transform, opacity;--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);will-change:transform, opacity}.mdc-deprecated-list-item--disabled .mdc-deprecated-list-item__ripple::before,.mdc-deprecated-list-item--disabled .mdc-deprecated-list-item__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:\"\"}.mdc-deprecated-list-item--disabled .mdc-deprecated-list-item__ripple::before{transition:opacity 15ms linear, background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-deprecated-list-item--disabled .mdc-deprecated-list-item__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-deprecated-list-item--disabled.mdc-ripple-upgraded .mdc-deprecated-list-item__ripple::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-deprecated-list-item--disabled.mdc-ripple-upgraded .mdc-deprecated-list-item__ripple::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-deprecated-list-item--disabled.mdc-ripple-upgraded--unbounded .mdc-deprecated-list-item__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-deprecated-list-item--disabled.mdc-ripple-upgraded--foreground-activation .mdc-deprecated-list-item__ripple::after{animation:mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards}.mdc-deprecated-list-item--disabled.mdc-ripple-upgraded--foreground-deactivation .mdc-deprecated-list-item__ripple::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-deprecated-list-item--disabled .mdc-list-item__ripple::before,.mdc-deprecated-list-item--disabled .mdc-list-item__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:\"\"}.mdc-deprecated-list-item--disabled .mdc-list-item__ripple::before{transition:opacity 15ms linear, background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-deprecated-list-item--disabled .mdc-list-item__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-deprecated-list-item--disabled.mdc-ripple-upgraded .mdc-list-item__ripple::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-deprecated-list-item--disabled.mdc-ripple-upgraded .mdc-list-item__ripple::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-deprecated-list-item--disabled.mdc-ripple-upgraded--unbounded .mdc-list-item__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-deprecated-list-item--disabled.mdc-ripple-upgraded--foreground-activation .mdc-list-item__ripple::after{animation:mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards}.mdc-deprecated-list-item--disabled.mdc-ripple-upgraded--foreground-deactivation .mdc-list-item__ripple::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-deprecated-list-item--disabled .mdc-deprecated-list-item__ripple::before,.mdc-deprecated-list-item--disabled .mdc-deprecated-list-item__ripple::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-deprecated-list-item--disabled.mdc-ripple-upgraded .mdc-deprecated-list-item__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-deprecated-list-item--disabled .mdc-list-item__ripple::before,.mdc-deprecated-list-item--disabled .mdc-list-item__ripple::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-deprecated-list-item--disabled.mdc-ripple-upgraded .mdc-list-item__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-deprecated-list-item--disabled .mdc-deprecated-list-item__ripple::before,.mdc-deprecated-list-item--disabled .mdc-deprecated-list-item__ripple::after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}.mdc-deprecated-list-item--disabled .mdc-list-item__ripple::before,.mdc-deprecated-list-item--disabled .mdc-list-item__ripple::after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}.mdc-deprecated-list-item--disabled.mdc-ripple-upgraded--background-focused .mdc-deprecated-list-item__ripple::before,.mdc-deprecated-list-item--disabled:not(.mdc-ripple-upgraded):focus .mdc-deprecated-list-item__ripple::before{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-focus-opacity, 0.24)}.mdc-deprecated-list-item--disabled.mdc-ripple-upgraded--background-focused .mdc-list-item__ripple::before,.mdc-deprecated-list-item--disabled:not(.mdc-ripple-upgraded):focus .mdc-list-item__ripple::before{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-focus-opacity, 0.24)}.mdc-deprecated-list-item--disabled .mdc-deprecated-list-item__ripple,.mdc-deprecated-list-item--disabled .mdc-list-item__ripple{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}:not(.mdc-list-item--disabled).mdc-list-item{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);will-change:transform, opacity}:not(.mdc-list-item--disabled).mdc-list-item .mdc-list-item__ripple::before,:not(.mdc-list-item--disabled).mdc-list-item .mdc-list-item__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:\"\"}:not(.mdc-list-item--disabled).mdc-list-item .mdc-list-item__ripple::before{transition:opacity 15ms linear, background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}:not(.mdc-list-item--disabled).mdc-list-item .mdc-list-item__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}:not(.mdc-list-item--disabled).mdc-list-item.mdc-ripple-upgraded .mdc-list-item__ripple::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}:not(.mdc-list-item--disabled).mdc-list-item.mdc-ripple-upgraded .mdc-list-item__ripple::after{top:0;left:0;transform:scale(0);transform-origin:center center}:not(.mdc-list-item--disabled).mdc-list-item.mdc-ripple-upgraded--unbounded .mdc-list-item__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}:not(.mdc-list-item--disabled).mdc-list-item.mdc-ripple-upgraded--foreground-activation .mdc-list-item__ripple::after{animation:mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards}:not(.mdc-list-item--disabled).mdc-list-item.mdc-ripple-upgraded--foreground-deactivation .mdc-list-item__ripple::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}:not(.mdc-list-item--disabled).mdc-list-item .mdc-list-item__ripple::before,:not(.mdc-list-item--disabled).mdc-list-item .mdc-list-item__ripple::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}:not(.mdc-list-item--disabled).mdc-list-item.mdc-ripple-upgraded .mdc-list-item__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}:not(.mdc-list-item--disabled).mdc-list-item .mdc-list-item__ripple::before,:not(.mdc-list-item--disabled).mdc-list-item .mdc-list-item__ripple::after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}:not(.mdc-list-item--disabled).mdc-list-item:hover .mdc-list-item__ripple::before,:not(.mdc-list-item--disabled).mdc-list-item.mdc-ripple-surface--hover .mdc-list-item__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}:not(.mdc-list-item--disabled).mdc-list-item.mdc-ripple-upgraded--background-focused .mdc-list-item__ripple::before,:not(.mdc-list-item--disabled).mdc-list-item:not(.mdc-ripple-upgraded):focus .mdc-list-item__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}:not(.mdc-list-item--disabled).mdc-list-item:not(.mdc-ripple-upgraded) .mdc-list-item__ripple::after{transition:opacity 150ms linear}:not(.mdc-list-item--disabled).mdc-list-item:not(.mdc-ripple-upgraded):active .mdc-list-item__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}:not(.mdc-list-item--disabled).mdc-list-item.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}:not(.mdc-list-item--disabled).mdc-list-item--activated .mdc-list-item__ripple::before{opacity:0.24;opacity:var(--mdc-ripple-activated-opacity, 0.24)}:not(.mdc-list-item--disabled).mdc-list-item--activated .mdc-list-item__ripple::before,:not(.mdc-list-item--disabled).mdc-list-item--activated .mdc-list-item__ripple::after{background-color:#26a69a;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #26a69a))}:not(.mdc-list-item--disabled).mdc-list-item--activated:hover .mdc-list-item__ripple::before,:not(.mdc-list-item--disabled).mdc-list-item--activated.mdc-ripple-surface--hover .mdc-list-item__ripple::before{opacity:0.32;opacity:var(--mdc-ripple-hover-opacity, 0.32)}:not(.mdc-list-item--disabled).mdc-list-item--activated.mdc-ripple-upgraded--background-focused .mdc-list-item__ripple::before,:not(.mdc-list-item--disabled).mdc-list-item--activated:not(.mdc-ripple-upgraded):focus .mdc-list-item__ripple::before{transition-duration:75ms;opacity:0.48;opacity:var(--mdc-ripple-focus-opacity, 0.48)}:not(.mdc-list-item--disabled).mdc-list-item--activated:not(.mdc-ripple-upgraded) .mdc-list-item__ripple::after{transition:opacity 150ms linear}:not(.mdc-list-item--disabled).mdc-list-item--activated:not(.mdc-ripple-upgraded):active .mdc-list-item__ripple::after{transition-duration:75ms;opacity:0.48;opacity:var(--mdc-ripple-press-opacity, 0.48)}:not(.mdc-list-item--disabled).mdc-list-item--activated.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.48)}:not(.mdc-list-item--disabled).mdc-list-item--selected .mdc-list-item__ripple::before{opacity:0.16;opacity:var(--mdc-ripple-selected-opacity, 0.16)}:not(.mdc-list-item--disabled).mdc-list-item--selected .mdc-list-item__ripple::before,:not(.mdc-list-item--disabled).mdc-list-item--selected .mdc-list-item__ripple::after{background-color:#26a69a;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #26a69a))}:not(.mdc-list-item--disabled).mdc-list-item--selected:hover .mdc-list-item__ripple::before,:not(.mdc-list-item--disabled).mdc-list-item--selected.mdc-ripple-surface--hover .mdc-list-item__ripple::before{opacity:0.24;opacity:var(--mdc-ripple-hover-opacity, 0.24)}:not(.mdc-list-item--disabled).mdc-list-item--selected.mdc-ripple-upgraded--background-focused .mdc-list-item__ripple::before,:not(.mdc-list-item--disabled).mdc-list-item--selected:not(.mdc-ripple-upgraded):focus .mdc-list-item__ripple::before{transition-duration:75ms;opacity:0.4;opacity:var(--mdc-ripple-focus-opacity, 0.4)}:not(.mdc-list-item--disabled).mdc-list-item--selected:not(.mdc-ripple-upgraded) .mdc-list-item__ripple::after{transition:opacity 150ms linear}:not(.mdc-list-item--disabled).mdc-list-item--selected:not(.mdc-ripple-upgraded):active .mdc-list-item__ripple::after{transition-duration:75ms;opacity:0.4;opacity:var(--mdc-ripple-press-opacity, 0.4)}:not(.mdc-list-item--disabled).mdc-list-item--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.4)}:not(.mdc-list-item--disabled).mdc-list-item .mdc-list-item__ripple{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.mdc-list-item--disabled{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);will-change:transform, opacity}.mdc-list-item--disabled .mdc-list-item__ripple::before,.mdc-list-item--disabled .mdc-list-item__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:\"\"}.mdc-list-item--disabled .mdc-list-item__ripple::before{transition:opacity 15ms linear, background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-list-item--disabled .mdc-list-item__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-list-item--disabled.mdc-ripple-upgraded .mdc-list-item__ripple::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-list-item--disabled.mdc-ripple-upgraded .mdc-list-item__ripple::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-list-item--disabled.mdc-ripple-upgraded--unbounded .mdc-list-item__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-list-item--disabled.mdc-ripple-upgraded--foreground-activation .mdc-list-item__ripple::after{animation:mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards}.mdc-list-item--disabled.mdc-ripple-upgraded--foreground-deactivation .mdc-list-item__ripple::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-list-item--disabled .mdc-list-item__ripple::before,.mdc-list-item--disabled .mdc-list-item__ripple::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-list-item--disabled.mdc-ripple-upgraded .mdc-list-item__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-list-item--disabled .mdc-list-item__ripple::before,.mdc-list-item--disabled .mdc-list-item__ripple::after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}.mdc-list-item--disabled.mdc-ripple-upgraded--background-focused .mdc-list-item__ripple::before,.mdc-list-item--disabled:not(.mdc-ripple-upgraded):focus .mdc-list-item__ripple::before{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-focus-opacity, 0.24)}.mdc-list-item--disabled .mdc-list-item__ripple{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.mdc-deprecated-list{--mdc-theme-text-icon-on-background:var(\n --icon-color,\n rgb(var(--contrast-900))\n );padding:0;border-radius:0.375rem}.mdc-deprecated-list .mdc-deprecated-list-item{box-sizing:border-box;z-index:0}.mdc-deprecated-list .mdc-deprecated-list-item.mdc-deprecated-list-item--disabled{cursor:not-allowed}.mdc-deprecated-list .mdc-deprecated-list-item.mdc-deprecated-list-item--disabled limel-icon{opacity:0.38}.mdc-deprecated-list .mdc-deprecated-list-item:first-child{border-top-left-radius:0.375rem;border-top-right-radius:0.375rem}.mdc-deprecated-list .mdc-deprecated-list-item:last-child{border-bottom-right-radius:0.375rem;border-bottom-left-radius:0.375rem}.mdc-deprecated-list.selectable .mdc-deprecated-list-item:not(.mdc-deprecated-list-item--disabled){cursor:pointer}.mdc-deprecated-list .mdc-deprecated-list-item__meta{line-height:100%;margin-right:-0.5rem}.mdc-deprecated-list .mdc-deprecated-list-item__graphic{margin-right:0.5rem}.mdc-deprecated-list.mdc-deprecated-list--avatar-list{position:relative}.mdc-deprecated-list.mdc-deprecated-list--avatar-list limel-icon.mdc-deprecated-list-item__graphic{background-color:var(--icon-background-color, rgb(var(--contrast-900)));color:var(--icon-color, rgba(var(--color-white), 0.88));margin-right:0.75rem;margin-left:-0.25rem}.mdc-deprecated-list.mdc-deprecated-list--avatar-list hr.mdc-deprecated-list-divider{position:absolute;bottom:0}.mdc-deprecated-list.mdc-deprecated-list--avatar-list hr.mdc-deprecated-list-divider.mdc-deprecated-list-divider--inset{--icon-width:2.5625rem;--icon-right-padding:1rem;--list-right-padding:1rem;margin-left:calc( var(--icon-width) + var(--icon-right-padding) );width:calc( 100% - var(--icon-width) - var(--icon-right-padding) - var(--list-right-padding) )}.mdc-deprecated-list.mdc-deprecated-list--avatar-list hr.mdc-deprecated-list-divider.mdc-deprecated-list-divider--inset.x-small{--icon-width:1.4375rem}.mdc-deprecated-list.mdc-deprecated-list--avatar-list hr.mdc-deprecated-list-divider.mdc-deprecated-list-divider--inset.small{--icon-width:1.875rem}.mdc-deprecated-list.mdc-deprecated-list--avatar-list hr.mdc-deprecated-list-divider.mdc-deprecated-list-divider--inset.medium{--icon-width:2.5rem}.mdc-deprecated-list.mdc-deprecated-list--avatar-list hr.mdc-deprecated-list-divider.mdc-deprecated-list-divider--inset.large{--icon-width:2.875rem}.mdc-deprecated-list.mdc-deprecated-list--avatar-list .mdc-deprecated-list-item:last-child hr.mdc-deprecated-list-divider{display:none}.mdc-deprecated-list.mdc-deprecated-list--two-line .mdc-deprecated-list-item__text{padding-top:0.5rem;padding-bottom:0.5rem}.mdc-deprecated-list.mdc-deprecated-list--two-line .mdc-deprecated-list-item__primary-text{margin-bottom:0.25rem}.mdc-deprecated-list .mdc-deprecated-list-item__secondary-text,.mdc-deprecated-list .mdc-deprecated-list-item__primary-text,.mdc-deprecated-list .mdc-deprecated-list-item__command-text{margin:0}.mdc-deprecated-list .mdc-deprecated-list-item__secondary-text:before,.mdc-deprecated-list .mdc-deprecated-list-item__secondary-text:after,.mdc-deprecated-list .mdc-deprecated-list-item__primary-text:before,.mdc-deprecated-list .mdc-deprecated-list-item__primary-text:after,.mdc-deprecated-list .mdc-deprecated-list-item__command-text:before,.mdc-deprecated-list .mdc-deprecated-list-item__command-text:after{display:none}.mdc-deprecated-list .mdc-deprecated-list-item__command-text{color:rgb(var(--contrast-800));margin-left:0.7rem}.mdc-deprecated-list .mdc-deprecated-list-item__text{align-self:center;width:100%}.mdc-deprecated-list .has-primary-component .mdc-deprecated-list-item__text{margin-left:0.5rem}.mdc-deprecated-list .mdc-deprecated-list-item__primary-command-text{display:flex;flex-direction:row;justify-content:space-between;align-items:baseline}.mdc-deprecated-list limel-icon.mdc-deprecated-list-item__graphic{display:block}.mdc-deprecated-list:not(.mdc-deprecated-list--avatar-list) limel-icon.mdc-deprecated-list-item__graphic[size=x-small]{margin-right:0.25rem}.mdc-deprecated-list:not(.mdc-deprecated-list--avatar-list) limel-icon.mdc-deprecated-list-item__graphic[size=small]{margin-right:0.5rem}.mdc-deprecated-list:not(.mdc-deprecated-list--avatar-list) limel-icon.mdc-deprecated-list-item__graphic[size=medium]{margin-right:0.5rem}.mdc-deprecated-list:not(.mdc-deprecated-list--avatar-list) limel-icon.mdc-deprecated-list-item__graphic[size=large]{margin-right:0.75rem}.mdc-deprecated-list-item.mdc-ripple-upgraded{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);will-change:transform, opacity}.mdc-deprecated-list-item.mdc-ripple-upgraded::before,.mdc-deprecated-list-item.mdc-ripple-upgraded::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:\"\"}.mdc-deprecated-list-item.mdc-ripple-upgraded::before{transition:opacity 15ms linear, background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-deprecated-list-item.mdc-ripple-upgraded::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-deprecated-list-item.mdc-ripple-upgraded.mdc-ripple-upgraded::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-deprecated-list-item.mdc-ripple-upgraded.mdc-ripple-upgraded::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-deprecated-list-item.mdc-ripple-upgraded.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-deprecated-list-item.mdc-ripple-upgraded.mdc-ripple-upgraded--foreground-activation::after{animation:mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards}.mdc-deprecated-list-item.mdc-ripple-upgraded.mdc-ripple-upgraded--foreground-deactivation::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-deprecated-list-item.mdc-ripple-upgraded::before,.mdc-deprecated-list-item.mdc-ripple-upgraded::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-deprecated-list-item.mdc-ripple-upgraded.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-deprecated-list-item.mdc-ripple-upgraded::before,.mdc-deprecated-list-item.mdc-ripple-upgraded::after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}.mdc-deprecated-list-item.mdc-ripple-upgraded:hover::before,.mdc-deprecated-list-item.mdc-ripple-upgraded.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-deprecated-list-item.mdc-ripple-upgraded.mdc-ripple-upgraded--background-focused::before,.mdc-deprecated-list-item.mdc-ripple-upgraded:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-deprecated-list-item.mdc-ripple-upgraded:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-deprecated-list-item.mdc-ripple-upgraded:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-deprecated-list-item.mdc-ripple-upgraded.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}@keyframes fade-out-focus-style{0%{opacity:0.12}100%{opacity:0}}:not(.mdc-deprecated-list--non-interactive)>:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item.mdc-ripple-upgraded--background-focused::before,:not(.mdc-deprecated-list--non-interactive)>:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item:not(.mdc-ripple-upgraded):focus::before{animation:fade-out-focus-style 1s ease forwards}:not(.mdc-deprecated-list--non-interactive)>:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item:focus-visible{box-shadow:var(--shadow-depth-8-focused);border-radius:0.375rem;z-index:1}:not(.mdc-deprecated-list--non-interactive)>:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item:focus-visible:before{animation-duration:0s !important}:not(.mdc-deprecated-list--non-interactive)>:not(.mdc-deprecated-list-item--disabled).mdc-deprecated-list-item:before{transition:opacity, background-color;transition-duration:0.2s;transition-timing-function:ease}:host{--mdc-theme-primary:var(\n --lime-primary-color,\n rgb(var(--color-teal-default))\n );--mdc-theme-secondary:var(\n --lime-secondary-color,\n rgb(var(--contrast-1100))\n );--mdc-theme-on-primary:var(\n --lime-on-primary-color,\n rgb(var(--contrast-100))\n );--mdc-theme-on-secondary:var(\n --lime-on-secondary-color,\n rgb(var(--contrast-100))\n );--mdc-theme-text-disabled-on-background:var(\n --lime-text-disabled-on-background-color,\n rgba(var(--contrast-1700), 0.38)\n );--mdc-theme-text-primary-on-background:var(\n --lime-text-primary-on-background-color,\n rgba(var(--contrast-1700), 0.87)\n );--mdc-theme-text-secondary-on-background:var(\n --lime-text-secondary-on-background-color,\n rgba(var(--contrast-1700), 0.54)\n );--lime-error-text-color:rgb(var(--color-red-darker));--mdc-theme-surface:var(\n --lime-surface-background-color,\n rgb(var(--contrast-100))\n );--mdc-theme-on-surface:var(\n --lime-on-surface-color,\n var(--lime-text-primary-on-background-color)\n )}:host{--mdc-checkbox-checked-color:var(--mdc-theme-primary)}.mdc-checkbox{padding:calc((40px - 18px) / 2);padding:calc((var(--mdc-checkbox-ripple-size, 40px) - 18px) / 2);margin:calc((40px - 40px) / 2);margin:calc((var(--mdc-checkbox-ripple-size, 40px) - var(--mdc-checkbox-ripple-size, 40px)) / 2)}.mdc-checkbox .mdc-checkbox__ripple::before,.mdc-checkbox .mdc-checkbox__ripple::after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}.mdc-checkbox:hover .mdc-checkbox__ripple::before,.mdc-checkbox.mdc-ripple-surface--hover .mdc-checkbox__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__ripple::before,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-checkbox:not(.mdc-ripple-upgraded) .mdc-checkbox__ripple::after{transition:opacity 150ms linear}.mdc-checkbox:not(.mdc-ripple-upgraded):active .mdc-checkbox__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-checkbox.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-checkbox.mdc-checkbox--selected .mdc-checkbox__ripple::before,.mdc-checkbox.mdc-checkbox--selected .mdc-checkbox__ripple::after{background-color:#575756;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #575756))}.mdc-checkbox.mdc-checkbox--selected:hover .mdc-checkbox__ripple::before,.mdc-checkbox.mdc-checkbox--selected.mdc-ripple-surface--hover .mdc-checkbox__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-checkbox.mdc-checkbox--selected.mdc-ripple-upgraded--background-focused .mdc-checkbox__ripple::before,.mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded):focus .mdc-checkbox__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded) .mdc-checkbox__ripple::after{transition:opacity 150ms linear}.mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded):active .mdc-checkbox__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-checkbox.mdc-checkbox--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--selected .mdc-checkbox__ripple::before,.mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--selected .mdc-checkbox__ripple::after{background-color:#575756;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #575756))}.mdc-checkbox .mdc-checkbox__background{top:calc((40px - 18px) / 2);top:calc((var(--mdc-checkbox-ripple-size, 40px) - 18px) / 2);left:calc((40px - 18px) / 2);left:calc((var(--mdc-checkbox-ripple-size, 40px) - 18px) / 2)}.mdc-checkbox .mdc-checkbox__native-control{top:calc((40px - 40px) / 2);top:calc((var(--mdc-checkbox-ripple-size, 40px) - var(--mdc-checkbox-ripple-size, 40px)) / 2);right:calc((40px - 40px) / 2);right:calc((var(--mdc-checkbox-ripple-size, 40px) - var(--mdc-checkbox-ripple-size, 40px)) / 2);left:calc((40px - 40px) / 2);left:calc((var(--mdc-checkbox-ripple-size, 40px) - var(--mdc-checkbox-ripple-size, 40px)) / 2);width:40px;width:var(--mdc-checkbox-ripple-size, 40px);height:40px;height:var(--mdc-checkbox-ripple-size, 40px)}.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unchecked-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:#575756;border-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #575756));background-color:#575756;background-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #575756))}@keyframes mdc-checkbox-fade-in-background-8A000000FF57575600000000FF575756{0%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unchecked-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:#575756;border-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #575756));background-color:#575756;background-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #575756))}}@keyframes mdc-checkbox-fade-out-background-8A000000FF57575600000000FF575756{0%,80%{border-color:#575756;border-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #575756));background-color:#575756;background-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #575756))}100%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unchecked-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FF57575600000000FF575756}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FF57575600000000FF575756}.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.38);border-color:var(--mdc-checkbox-disabled-color, rgba(0, 0, 0, 0.38));background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:rgba(0, 0, 0, 0.38);background-color:var(--mdc-checkbox-disabled-color, rgba(0, 0, 0, 0.38))}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:#fff;color:var(--mdc-checkbox-ink-color, #fff)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:#fff;border-color:var(--mdc-checkbox-ink-color, #fff)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:#fff;color:var(--mdc-checkbox-ink-color, #fff)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:#fff;border-color:var(--mdc-checkbox-ink-color, #fff)}.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}@media screen and (-ms-high-contrast: active){.mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:GrayText;border-color:var(--mdc-checkbox-disabled-color, GrayText);background-color:transparent}.mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:GrayText;background-color:transparent;background-color:var(--mdc-checkbox-disabled-color, transparent)}.mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:GrayText;color:var(--mdc-checkbox-ink-color, GrayText)}.mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:GrayText;border-color:var(--mdc-checkbox-ink-color, GrayText)}.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:transparent;pointer-events:none;will-change:background-color, border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1), border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1), transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1), background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((48px - 40px) / 2);margin:calc((var(--mdc-checkbox-touch-target-size, 48px) - var(--mdc-checkbox-ripple-size, 40px)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((40px - 48px) / 2);top:calc((var(--mdc-checkbox-ripple-size, 40px) - var(--mdc-checkbox-touch-target-size, 48px)) / 2);right:calc((40px - 48px) / 2);right:calc((var(--mdc-checkbox-ripple-size, 40px) - var(--mdc-checkbox-touch-target-size, 48px)) / 2);left:calc((40px - 48px) / 2);left:calc((var(--mdc-checkbox-ripple-size, 40px) - var(--mdc-checkbox-touch-target-size, 48px)) / 2);width:48px;width:var(--mdc-checkbox-touch-target-size, 48px);height:48px;height:var(--mdc-checkbox-touch-target-size, 48px)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1), transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1), transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-checkbox{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);will-change:transform, opacity}.mdc-checkbox .mdc-checkbox__ripple::before,.mdc-checkbox .mdc-checkbox__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:\"\"}.mdc-checkbox .mdc-checkbox__ripple::before{transition:opacity 15ms linear, background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-checkbox .mdc-checkbox__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-checkbox.mdc-ripple-upgraded .mdc-checkbox__ripple::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-checkbox.mdc-ripple-upgraded .mdc-checkbox__ripple::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-checkbox.mdc-ripple-upgraded--unbounded .mdc-checkbox__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-checkbox.mdc-ripple-upgraded--foreground-activation .mdc-checkbox__ripple::after{animation:mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards}.mdc-checkbox.mdc-ripple-upgraded--foreground-deactivation .mdc-checkbox__ripple::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-checkbox .mdc-checkbox__ripple::before,.mdc-checkbox .mdc-checkbox__ripple::after{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-checkbox.mdc-ripple-upgraded .mdc-checkbox__ripple::before,.mdc-checkbox.mdc-ripple-upgraded .mdc-checkbox__ripple::after{top:var(--mdc-ripple-top, calc(50% - 50%));left:var(--mdc-ripple-left, calc(50% - 50%));width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-checkbox.mdc-ripple-upgraded .mdc-checkbox__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-checkbox{z-index:0}.mdc-checkbox .mdc-checkbox__ripple::before,.mdc-checkbox .mdc-checkbox__ripple::after{z-index:-1;z-index:var(--mdc-ripple-z-index, -1)}.mdc-checkbox__ripple{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.8125rem;font-size:var(--mdc-typography-body2-font-size, 0.8125rem);line-height:1.625rem;line-height:var(--mdc-typography-body2-line-height, 1.625rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87));display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-form-field{display:flex;flex-wrap:wrap}.mdc-form-field .mdc-checkbox.mdc-checkbox--invalid .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:var(--lime-error-text-color)}.mdc-form-field .mdc-checkbox.mdc-ripple-upgraded .mdc-checkbox__native-control:focus-visible+.mdc-checkbox__background:after{content:\"\";display:block;position:absolute;top:-0.75rem;right:-0.75rem;bottom:-0.75rem;left:-0.75rem;border-radius:50%;box-shadow:var(--shadow-depth-8-focused)}.mdc-form-field label{cursor:pointer;line-height:normal;padding-left:0}.mdc-form-field label.mdc-checkbox--disabled{opacity:0.37}.mdc-form-field label.mdc-checkbox--required::after{margin-left:0.0625rem;content:\"*\"}.mdc-form-field label.mdc-checkbox--invalid{color:var(--lime-error-text-color)}.mdc-form-field .mdc-checkbox.mdc-ripple-upgraded .mdc-checkbox__ripple:before{animation:fade-out-focus-style 1s ease forwards}@keyframes fade-out-focus-style{0%{opacity:0.12}100%{opacity:0}}:host{--mdc-theme-primary:var(\n --lime-primary-color,\n rgb(var(--color-teal-default))\n );--mdc-theme-secondary:var(\n --lime-secondary-color,\n rgb(var(--contrast-1100))\n );--mdc-theme-on-primary:var(\n --lime-on-primary-color,\n rgb(var(--contrast-100))\n );--mdc-theme-on-secondary:var(\n --lime-on-secondary-color,\n rgb(var(--contrast-100))\n );--mdc-theme-text-disabled-on-background:var(\n --lime-text-disabled-on-background-color,\n rgba(var(--contrast-1700), 0.38)\n );--mdc-theme-text-primary-on-background:var(\n --lime-text-primary-on-background-color,\n rgba(var(--contrast-1700), 0.87)\n );--mdc-theme-text-secondary-on-background:var(\n --lime-text-secondary-on-background-color,\n rgba(var(--contrast-1700), 0.54)\n );--lime-error-text-color:rgb(var(--color-red-darker));--mdc-theme-surface:var(\n --lime-surface-background-color,\n rgb(var(--contrast-100))\n );--mdc-theme-on-surface:var(\n --lime-on-surface-color,\n var(--lime-text-primary-on-background-color)\n )}.limel-checkbox-helper-line{flex-basis:100%;padding-right:1rem;padding-left:1rem}.limel-checkbox-helper-text{font-family:Roboto, sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:0.6875rem;font-weight:400;letter-spacing:0.0333333333em;text-decoration:inherit;text-transform:inherit;display:block;margin-top:0;line-height:normal;margin:0;transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0;color:rgba(var(--contrast-1200), 1)}.mdc-form-field:hover .limel-checkbox-helper-text,.mdc-form-field:focus .limel-checkbox-helper-text,.mdc-form-field:focus-visible .limel-checkbox-helper-text,.mdc-form-field:focus-within .limel-checkbox-helper-text{opacity:1}@media (pointer: coarse){.limel-checkbox-helper-text{opacity:1}}.mdc-radio{padding:10px;display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity, transform, border-color, color}.mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:rgba(0, 0, 0, 0.54)}.mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#575756;border-color:var(--mdc-theme-secondary, #575756)}.mdc-radio .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#575756;border-color:var(--mdc-theme-secondary, #575756)}.mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:rgba(0, 0, 0, 0.38)}.mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:rgba(0, 0, 0, 0.38)}.mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:rgba(0, 0, 0, 0.38)}.mdc-radio .mdc-radio__background::before{background-color:#575756;background-color:var(--mdc-theme-secondary, #575756)}.mdc-radio .mdc-radio__background::before{top:-10px;left:-10px;width:40px;height:40px}.mdc-radio .mdc-radio__native-control{top:0px;right:0px;left:0px;width:40px;height:40px}@media screen and (-ms-high-contrast: active){.mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:GrayText}.mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:GrayText}.mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:GrayText}}.mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:\"\";transition:opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1), transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%;transition:transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1), border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1}.mdc-radio--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-radio--touch .mdc-radio__native-control{top:-4px;right:-4px;left:-4px;width:48px;height:48px}.mdc-radio__native-control:checked+.mdc-radio__background,.mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1), transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1), border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio--disabled{cursor:default;pointer-events:none}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5);transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1), border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:disabled+.mdc-radio__background,[aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background{cursor:default}.mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:0.12;transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1), transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);will-change:transform, opacity}.mdc-radio .mdc-radio__ripple::before,.mdc-radio .mdc-radio__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:\"\"}.mdc-radio .mdc-radio__ripple::before{transition:opacity 15ms linear, background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-radio .mdc-radio__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-radio.mdc-ripple-upgraded .mdc-radio__ripple::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-radio.mdc-ripple-upgraded .mdc-radio__ripple::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-radio.mdc-ripple-upgraded--unbounded .mdc-radio__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-radio.mdc-ripple-upgraded--foreground-activation .mdc-radio__ripple::after{animation:mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards}.mdc-radio.mdc-ripple-upgraded--foreground-deactivation .mdc-radio__ripple::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-radio .mdc-radio__ripple::before,.mdc-radio .mdc-radio__ripple::after{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-radio.mdc-ripple-upgraded .mdc-radio__ripple::before,.mdc-radio.mdc-ripple-upgraded .mdc-radio__ripple::after{top:var(--mdc-ripple-top, calc(50% - 50%));left:var(--mdc-ripple-left, calc(50% - 50%));width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-radio.mdc-ripple-upgraded .mdc-radio__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-radio .mdc-radio__ripple::before,.mdc-radio .mdc-radio__ripple::after{background-color:#575756;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #575756))}.mdc-radio:hover .mdc-radio__ripple::before,.mdc-radio.mdc-ripple-surface--hover .mdc-radio__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__ripple::before,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-radio:not(.mdc-ripple-upgraded) .mdc-radio__ripple::after{transition:opacity 150ms linear}.mdc-radio:not(.mdc-ripple-upgraded):active .mdc-radio__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-radio.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-radio.mdc-ripple-upgraded .mdc-radio__background::before,.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__background::before{content:none}.mdc-radio__ripple{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.8125rem;font-size:var(--mdc-typography-body2-font-size, 0.8125rem);line-height:1.625rem;line-height:var(--mdc-typography-body2-line-height, 1.625rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87));display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-form-field{display:flex}.mdc-form-field .mdc-radio .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#26a69a;border-color:var(--mdc-theme-primary, #26a69a)}:host(.has-striped-rows) .mdc-deprecated-list{border:1px solid rgb(var(--contrast-400))}:host(.has-striped-rows) .mdc-deprecated-list-item:nth-child(even){background-color:rgb(var(--contrast-200))}:host(.has-striped-rows) .mdc-deprecated-list-item:nth-child(odd){background-color:rgb(var(--contrast-100))}:host(.has-interactive-items) .mdc-deprecated-list-item:not(.mdc-deprecated-list-item--disabled){transition:background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease-out}:host(.has-interactive-items) .mdc-deprecated-list-item:not(.mdc-deprecated-list-item--disabled):hover{box-shadow:var(--button-shadow-hovered)}:host(.has-interactive-items) .mdc-deprecated-list-item:not(.mdc-deprecated-list-item--disabled):active{box-shadow:var(--button-shadow-pressed);transform:translate3d(0, 0.08rem, 0)}:host(.has-interactive-items) .mdc-deprecated-list-item:not(.mdc-deprecated-list-item--disabled):hover{z-index:1;background-color:rgb(var(--contrast-100))}:host(.has-interactive-items) .mdc-deprecated-list-item:not(.mdc-deprecated-list-item--disabled):hover:before{background-color:rgb(var(--contrast-100))}:host{--line-height-of-secondary-text:1.2rem}.mdc-deprecated-list-item{height:auto !important;min-height:3rem}.mdc-deprecated-list-item .mdc-deprecated-list-item__secondary-text{line-height:var(--line-height-of-secondary-text);white-space:normal;display:-webkit-box;-webkit-line-clamp:var(--maxLinesSecondaryText);-webkit-box-orient:vertical}:host(.has-grid-layout){--gap:var(--list-grid-gap, 0.75rem);padding:var(--gap);}:host(.has-grid-layout) .mdc-deprecated-list{display:grid;gap:var(--gap);grid-template-columns:repeat(auto-fit, minmax(min(100%, max(calc(var(--list-grid-item-max-width, 10rem) - var(--gap)), var(--list-grid-item-min-width, 7.5rem))), 1fr));max-width:var(--list-grid-max-width, 100%)}:host(.has-grid-layout) .mdc-deprecated-list-divider{grid-column:1/-1}:host(.has-grid-layout) .mdc-deprecated-list-item{border-radius:0.25rem;background-color:rgb(var(--contrast-100))}:host(.has-grid-layout) .mdc-deprecated-list--avatar-list limel-icon{margin-right:0.25rem;margin-left:-0.5rem}:host(.static-actions-list){z-index:1;background-color:var(--mdc-theme-surface)}:host(.has-position-sticky){position:sticky;box-shadow:0 0 0.75rem 0.5rem var(--mdc-theme-surface)}:host(.has-position-sticky.is-on-top){top:0}:host(.has-position-sticky.is-at-bottom){bottom:0}:host(.is-on-top){border-bottom:1px solid rgb(var(--contrast-400));margin-bottom:0.5rem;padding-bottom:0.25rem}:host(.is-at-bottom){border-top:1px solid rgb(var(--contrast-400));margin-top:0.5rem;padding-top:0.25rem}";
233
+
234
+ const { ACTION_EVENT } = strings;
235
+ let List = class {
236
+ constructor(hostRef) {
237
+ registerInstance(this, hostRef);
238
+ this.change = createEvent(this, "change", 7);
239
+ this.select = createEvent(this, "select", 7);
240
+ /**
241
+ * Size of the icons in the list
242
+ */
243
+ this.iconSize = 'small';
244
+ /**
245
+ * By default, lists will display 3 lines of text, and then truncate the rest.
246
+ * Consumers can increase or decrease this number by specifying
247
+ * `maxLinesSecondaryText`. If consumer enters zero or negative
248
+ * numbers we default to 1; and if they type decimals we round up.
249
+ */
250
+ // eslint-disable-next-line no-magic-numbers
251
+ this.maxLinesSecondaryText = 3;
252
+ this.listRenderer = new ListRenderer();
253
+ this.setup = () => {
254
+ this.setupList();
255
+ this.setupListeners();
256
+ };
257
+ this.setupList = () => {
258
+ const element = this.element.shadowRoot.querySelector('.mdc-deprecated-list');
259
+ if (!element) {
260
+ return;
261
+ }
262
+ this.mdcList = new MDCList(element);
263
+ this.mdcList.hasTypeahead = true;
264
+ this.mdcList.listElements.forEach((item) => new MDCRipple(item));
265
+ };
266
+ this.setupListeners = () => {
267
+ if (!this.mdcList) {
268
+ return;
269
+ }
270
+ this.mdcList.unlisten(ACTION_EVENT, this.handleAction);
271
+ this.selectable = ['selectable', 'radio', 'checkbox'].includes(this.type);
272
+ this.multiple = this.type === 'checkbox';
273
+ if (!this.selectable) {
274
+ return;
275
+ }
276
+ this.mdcList.listen(ACTION_EVENT, this.handleAction);
277
+ this.mdcList.singleSelection = !this.multiple;
278
+ };
279
+ this.teardown = () => {
280
+ var _a, _b;
281
+ (_a = this.mdcList) === null || _a === void 0 ? void 0 : _a.unlisten(ACTION_EVENT, this.handleAction);
282
+ (_b = this.mdcList) === null || _b === void 0 ? void 0 : _b.destroy();
283
+ };
284
+ this.handleAction = (event) => {
285
+ if (!this.multiple) {
286
+ this.handleSingleSelect(event.detail.index);
287
+ return;
288
+ }
289
+ this.handleMultiSelect(event.detail.index);
290
+ };
291
+ this.handleSingleSelect = (index) => {
292
+ const listItems = this.items.filter(this.isListItem);
293
+ if (listItems[index].disabled) {
294
+ return;
295
+ }
296
+ const selectedItem = listItems.find((item) => {
297
+ return !!item.selected;
298
+ });
299
+ if (selectedItem) {
300
+ this.change.emit(Object.assign(Object.assign({}, selectedItem), { selected: false }));
301
+ }
302
+ if (listItems[index] !== selectedItem) {
303
+ this.change.emit(Object.assign(Object.assign({}, listItems[index]), { selected: true }));
304
+ }
305
+ };
306
+ this.handleMultiSelect = (index) => {
307
+ const listItems = this.items.filter(this.isListItem);
308
+ if (listItems[index].disabled) {
309
+ return;
310
+ }
311
+ const selectedItems = listItems
312
+ .filter((item, listIndex) => {
313
+ if (listIndex === index) {
314
+ // This is the item that was selected or deselected,
315
+ // so we negate its previous selection status.
316
+ return !item.selected;
317
+ }
318
+ // This is an item that didn't change, so we keep its selection status.
319
+ return item.selected;
320
+ })
321
+ .map((item) => {
322
+ return Object.assign(Object.assign({}, item), { selected: true });
323
+ });
324
+ this.change.emit(selectedItems);
325
+ };
326
+ this.isListItem = (item) => {
327
+ return !('separator' in item);
328
+ };
329
+ }
330
+ connectedCallback() {
331
+ this.setup();
332
+ }
333
+ disconnectedCallback() {
334
+ this.teardown();
335
+ }
336
+ componentDidLoad() {
337
+ this.setup();
338
+ }
339
+ render() {
340
+ var _a;
341
+ this.config = {
342
+ badgeIcons: this.badgeIcons,
343
+ type: this.type,
344
+ iconSize: this.iconSize,
345
+ };
346
+ let maxLinesSecondaryText = +((_a = this.maxLinesSecondaryText) === null || _a === void 0 ? void 0 : _a.toFixed());
347
+ if (this.maxLinesSecondaryText < 1) {
348
+ maxLinesSecondaryText = 1;
349
+ }
350
+ const html = this.listRenderer.render(this.items, this.config);
351
+ return (h(Host, { style: {
352
+ '--maxLinesSecondaryText': `${maxLinesSecondaryText}`,
353
+ } }, html));
354
+ }
355
+ handleType() {
356
+ this.setupListeners();
357
+ }
358
+ itemsChanged() {
359
+ if (!this.mdcList) {
360
+ return;
361
+ }
362
+ const listItems = this.items.filter(this.isListItem);
363
+ if (!this.multiple) {
364
+ this.mdcList.selectedIndex = listItems.findIndex((item) => item.selected);
365
+ return;
366
+ }
367
+ this.mdcList.selectedIndex = listItems
368
+ .filter((item) => item.selected)
369
+ .map((item) => listItems.indexOf(item));
370
+ }
371
+ get element() { return getElement(this); }
372
+ static get watchers() { return {
373
+ "type": ["handleType"],
374
+ "items": ["itemsChanged"]
375
+ }; }
376
+ };
377
+ List.style = listCss;
378
+
379
+ const menuSurfaceCss = ":host{display:block}.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform, opacity;z-index:8;transition:opacity 0.03s linear, transform 0.12s cubic-bezier(0, 0, 0.2, 1), height 250ms cubic-bezier(0, 0, 0.2, 1);box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);background-color:#fff;background-color:var(--mdc-theme-surface, #fff);color:#000;color:var(--mdc-theme-on-surface, #000);border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0;transition:opacity 0.075s linear}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:0;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:#fff;background-color:var(--mdc-elevation-overlay-color, #fff)}.mdc-menu{min-width:112px;min-width:var(--mdc-menu-min-width, 112px)}.mdc-menu .mdc-deprecated-list-item__meta{color:rgba(0, 0, 0, 0.87)}.mdc-menu .mdc-deprecated-list-item__graphic{color:rgba(0, 0, 0, 0.87)}.mdc-menu .mdc-deprecated-list{color:rgba(0, 0, 0, 0.87);position:relative}.mdc-menu .mdc-deprecated-list .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-menu .mdc-deprecated-list-divider{margin:8px 0}.mdc-menu .mdc-deprecated-list-item{user-select:none}.mdc-menu .mdc-deprecated-list-item--disabled{cursor:auto}.mdc-menu a.mdc-deprecated-list-item .mdc-deprecated-list-item__text,.mdc-menu a.mdc-deprecated-list-item .mdc-deprecated-list-item__graphic{pointer-events:none}.mdc-menu__selection-group{padding:0;fill:currentColor}.mdc-menu__selection-group .mdc-deprecated-list-item{padding-left:56px;padding-right:16px}[dir=rtl] .mdc-menu__selection-group .mdc-deprecated-list-item,.mdc-menu__selection-group .mdc-deprecated-list-item[dir=rtl]{padding-left:16px;padding-right:56px}.mdc-menu__selection-group .mdc-menu__selection-group-icon{left:16px;right:initial;display:none;position:absolute;top:50%;transform:translateY(-50%)}[dir=rtl] .mdc-menu__selection-group .mdc-menu__selection-group-icon,.mdc-menu__selection-group .mdc-menu__selection-group-icon[dir=rtl]{left:initial;right:16px}.mdc-menu-item--selected .mdc-menu__selection-group-icon{display:inline}.mdc-menu-surface{width:var(--menu-surface-width, auto);max-height:100%;position:relative}";
380
+
381
+ let MenuSurface = class {
382
+ constructor(hostRef) {
383
+ registerInstance(this, hostRef);
384
+ this.dismiss = createEvent(this, "dismiss", 7);
385
+ /**
386
+ * True if the menu surface is open, false otherwise
387
+ */
388
+ this.open = false;
389
+ this.setup = () => {
390
+ const menuElement = this.host.shadowRoot.querySelector('.mdc-menu-surface');
391
+ if (!menuElement) {
392
+ return;
393
+ }
394
+ this.menuSurface = new MDCMenuSurface(menuElement);
395
+ this.menuSurface.setAnchorCorner(Corner.TOP_START);
396
+ document.addEventListener('mousedown', this.handleDocumentClick, {
397
+ capture: true,
398
+ });
399
+ this.host.addEventListener('keydown', this.handleKeyDown);
400
+ window.addEventListener('resize', this.handleResize, {
401
+ passive: true,
402
+ });
403
+ };
404
+ this.teardown = () => {
405
+ var _a;
406
+ (_a = this.menuSurface) === null || _a === void 0 ? void 0 : _a.destroy();
407
+ document.removeEventListener('mousedown', this.handleDocumentClick, {
408
+ capture: true,
409
+ });
410
+ this.host.removeEventListener('keydown', this.handleKeyDown);
411
+ window.removeEventListener('resize', this.handleResize);
412
+ };
413
+ this.handleDocumentClick = (event) => {
414
+ const elementPath = event.path || [];
415
+ if (!this.open) {
416
+ return;
417
+ }
418
+ if (isDescendant(event.target, this.host)) {
419
+ return;
420
+ }
421
+ if (this.allowClicksElement) {
422
+ const clickedInAllowedElement = elementPath.includes(this.allowClicksElement);
423
+ if (clickedInAllowedElement) {
424
+ return;
425
+ }
426
+ }
427
+ this.dismiss.emit();
428
+ this.preventClickEventPropagation();
429
+ };
430
+ this.handleResize = () => {
431
+ if (this.open) {
432
+ this.dismiss.emit();
433
+ }
434
+ };
435
+ this.preventClickEventPropagation = () => {
436
+ // When the menu surface is open, we want to stop the `click` event from propagating
437
+ // when clicking outside the surface itself. This is to prevent any dialog that might
438
+ // be open from closing, etc. However, when dragging a scrollbar no `click` event is emitted,
439
+ // only mousedown and mouseup. So we listen for `mousedown` and attach a one-time listener
440
+ // for `click`, so we can capture and "kill" it.
441
+ document.addEventListener('click', this.stopEvent, {
442
+ capture: true,
443
+ once: true,
444
+ });
445
+ // We also capture and "kill" the next `mouseup` event.
446
+ document.addEventListener('mouseup', this.stopEvent, {
447
+ capture: true,
448
+ once: true,
449
+ });
450
+ // If the user dragged the scrollbar, no `click` event happens. So when we get the
451
+ // `mouseup` event, remove the handler for `click` if it's still there.
452
+ // Otherwise, we would catch the next click even though the menu is no longer open.
453
+ document.addEventListener('mouseup', () => {
454
+ document.removeEventListener('click', this.stopEvent, {
455
+ capture: true,
456
+ });
457
+ }, {
458
+ once: true,
459
+ });
460
+ };
461
+ this.stopEvent = (event) => {
462
+ event.stopPropagation();
463
+ event.preventDefault();
464
+ };
465
+ this.handleKeyDown = (event) => {
466
+ const isEscape = event.key === ESCAPE || event.keyCode === ESCAPE_KEY_CODE;
467
+ const isTab = event.key === TAB || event.keyCode === TAB_KEY_CODE;
468
+ if (this.open && (isEscape || isTab)) {
469
+ event.stopPropagation();
470
+ this.dismiss.emit();
471
+ }
472
+ };
473
+ }
474
+ connectedCallback() {
475
+ this.setup();
476
+ }
477
+ disconnectedCallback() {
478
+ this.teardown();
479
+ }
480
+ componentDidLoad() {
481
+ this.setup();
482
+ }
483
+ render() {
484
+ const classList = {
485
+ 'mdc-menu': true,
486
+ 'mdc-menu-surface': true,
487
+ 'mdc-menu-surface--open': this.open,
488
+ 'mdc-elevation-transition': true,
489
+ 'mdc-elevation--z4': true,
490
+ };
491
+ return (h("div", { class: classList, tabindex: "-1" }, h("slot", null)));
492
+ }
493
+ get host() { return getElement(this); }
494
+ };
495
+ MenuSurface.style = menuSurfaceCss;
496
+
497
+ var top = 'top';
498
+ var bottom = 'bottom';
499
+ var right = 'right';
500
+ var left = 'left';
501
+ var auto = 'auto';
502
+ var basePlacements = [top, bottom, right, left];
503
+ var start = 'start';
504
+ var end = 'end';
505
+ var clippingParents = 'clippingParents';
506
+ var viewport = 'viewport';
507
+ var popper = 'popper';
508
+ var reference = 'reference';
509
+ var variationPlacements = /*#__PURE__*/basePlacements.reduce(function (acc, placement) {
510
+ return acc.concat([placement + "-" + start, placement + "-" + end]);
511
+ }, []);
512
+ var placements = /*#__PURE__*/[].concat(basePlacements, [auto]).reduce(function (acc, placement) {
513
+ return acc.concat([placement, placement + "-" + start, placement + "-" + end]);
514
+ }, []); // modifiers that need to read the DOM
515
+
516
+ var beforeRead = 'beforeRead';
517
+ var read = 'read';
518
+ var afterRead = 'afterRead'; // pure-logic modifiers
519
+
520
+ var beforeMain = 'beforeMain';
521
+ var main = 'main';
522
+ var afterMain = 'afterMain'; // modifier with the purpose to write to the DOM (or write into a framework state)
523
+
524
+ var beforeWrite = 'beforeWrite';
525
+ var write = 'write';
526
+ var afterWrite = 'afterWrite';
527
+ var modifierPhases = [beforeRead, read, afterRead, beforeMain, main, afterMain, beforeWrite, write, afterWrite];
528
+
529
+ function getNodeName(element) {
530
+ return element ? (element.nodeName || '').toLowerCase() : null;
531
+ }
532
+
533
+ function getWindow(node) {
534
+ if (node == null) {
535
+ return window;
536
+ }
537
+
538
+ if (node.toString() !== '[object Window]') {
539
+ var ownerDocument = node.ownerDocument;
540
+ return ownerDocument ? ownerDocument.defaultView || window : window;
541
+ }
542
+
543
+ return node;
544
+ }
545
+
546
+ function isElement(node) {
547
+ var OwnElement = getWindow(node).Element;
548
+ return node instanceof OwnElement || node instanceof Element;
549
+ }
550
+
551
+ function isHTMLElement(node) {
552
+ var OwnElement = getWindow(node).HTMLElement;
553
+ return node instanceof OwnElement || node instanceof HTMLElement;
554
+ }
555
+
556
+ function isShadowRoot(node) {
557
+ // IE 11 has no ShadowRoot
558
+ if (typeof ShadowRoot === 'undefined') {
559
+ return false;
560
+ }
561
+
562
+ var OwnElement = getWindow(node).ShadowRoot;
563
+ return node instanceof OwnElement || node instanceof ShadowRoot;
564
+ }
565
+
566
+ // and applies them to the HTMLElements such as popper and arrow
567
+
568
+ function applyStyles(_ref) {
569
+ var state = _ref.state;
570
+ Object.keys(state.elements).forEach(function (name) {
571
+ var style = state.styles[name] || {};
572
+ var attributes = state.attributes[name] || {};
573
+ var element = state.elements[name]; // arrow is optional + virtual elements
574
+
575
+ if (!isHTMLElement(element) || !getNodeName(element)) {
576
+ return;
577
+ } // Flow doesn't support to extend this property, but it's the most
578
+ // effective way to apply styles to an HTMLElement
579
+ // $FlowFixMe[cannot-write]
580
+
581
+
582
+ Object.assign(element.style, style);
583
+ Object.keys(attributes).forEach(function (name) {
584
+ var value = attributes[name];
585
+
586
+ if (value === false) {
587
+ element.removeAttribute(name);
588
+ } else {
589
+ element.setAttribute(name, value === true ? '' : value);
590
+ }
591
+ });
592
+ });
593
+ }
594
+
595
+ function effect$2(_ref2) {
596
+ var state = _ref2.state;
597
+ var initialStyles = {
598
+ popper: {
599
+ position: state.options.strategy,
600
+ left: '0',
601
+ top: '0',
602
+ margin: '0'
603
+ },
604
+ arrow: {
605
+ position: 'absolute'
606
+ },
607
+ reference: {}
608
+ };
609
+ Object.assign(state.elements.popper.style, initialStyles.popper);
610
+ state.styles = initialStyles;
611
+
612
+ if (state.elements.arrow) {
613
+ Object.assign(state.elements.arrow.style, initialStyles.arrow);
614
+ }
615
+
616
+ return function () {
617
+ Object.keys(state.elements).forEach(function (name) {
618
+ var element = state.elements[name];
619
+ var attributes = state.attributes[name] || {};
620
+ var styleProperties = Object.keys(state.styles.hasOwnProperty(name) ? state.styles[name] : initialStyles[name]); // Set all values to an empty string to unset them
621
+
622
+ var style = styleProperties.reduce(function (style, property) {
623
+ style[property] = '';
624
+ return style;
625
+ }, {}); // arrow is optional + virtual elements
626
+
627
+ if (!isHTMLElement(element) || !getNodeName(element)) {
628
+ return;
629
+ }
630
+
631
+ Object.assign(element.style, style);
632
+ Object.keys(attributes).forEach(function (attribute) {
633
+ element.removeAttribute(attribute);
634
+ });
635
+ });
636
+ };
637
+ } // eslint-disable-next-line import/no-unused-modules
638
+
639
+
640
+ const applyStyles$1 = {
641
+ name: 'applyStyles',
642
+ enabled: true,
643
+ phase: 'write',
644
+ fn: applyStyles,
645
+ effect: effect$2,
646
+ requires: ['computeStyles']
647
+ };
648
+
649
+ function getBasePlacement(placement) {
650
+ return placement.split('-')[0];
651
+ }
652
+
653
+ var round$1 = Math.round;
654
+ function getBoundingClientRect(element, includeScale) {
655
+ if (includeScale === void 0) {
656
+ includeScale = false;
657
+ }
658
+
659
+ var rect = element.getBoundingClientRect();
660
+ var scaleX = 1;
661
+ var scaleY = 1;
662
+
663
+ if (isHTMLElement(element) && includeScale) {
664
+ // Fallback to 1 in case both values are `0`
665
+ scaleX = rect.width / element.offsetWidth || 1;
666
+ scaleY = rect.height / element.offsetHeight || 1;
667
+ }
668
+
669
+ return {
670
+ width: round$1(rect.width / scaleX),
671
+ height: round$1(rect.height / scaleY),
672
+ top: round$1(rect.top / scaleY),
673
+ right: round$1(rect.right / scaleX),
674
+ bottom: round$1(rect.bottom / scaleY),
675
+ left: round$1(rect.left / scaleX),
676
+ x: round$1(rect.left / scaleX),
677
+ y: round$1(rect.top / scaleY)
678
+ };
679
+ }
680
+
681
+ // means it doesn't take into account transforms.
682
+
683
+ function getLayoutRect(element) {
684
+ var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed.
685
+ // Fixes https://github.com/popperjs/popper-core/issues/1223
686
+
687
+ var width = element.offsetWidth;
688
+ var height = element.offsetHeight;
689
+
690
+ if (Math.abs(clientRect.width - width) <= 1) {
691
+ width = clientRect.width;
692
+ }
693
+
694
+ if (Math.abs(clientRect.height - height) <= 1) {
695
+ height = clientRect.height;
696
+ }
697
+
698
+ return {
699
+ x: element.offsetLeft,
700
+ y: element.offsetTop,
701
+ width: width,
702
+ height: height
703
+ };
704
+ }
705
+
706
+ function contains(parent, child) {
707
+ var rootNode = child.getRootNode && child.getRootNode(); // First, attempt with faster native method
708
+
709
+ if (parent.contains(child)) {
710
+ return true;
711
+ } // then fallback to custom implementation with Shadow DOM support
712
+ else if (rootNode && isShadowRoot(rootNode)) {
713
+ var next = child;
714
+
715
+ do {
716
+ if (next && parent.isSameNode(next)) {
717
+ return true;
718
+ } // $FlowFixMe[prop-missing]: need a better way to handle this...
719
+
720
+
721
+ next = next.parentNode || next.host;
722
+ } while (next);
723
+ } // Give up, the result is false
724
+
725
+
726
+ return false;
727
+ }
728
+
729
+ function getComputedStyle(element) {
730
+ return getWindow(element).getComputedStyle(element);
731
+ }
732
+
733
+ function isTableElement(element) {
734
+ return ['table', 'td', 'th'].indexOf(getNodeName(element)) >= 0;
735
+ }
736
+
737
+ function getDocumentElement(element) {
738
+ // $FlowFixMe[incompatible-return]: assume body is always available
739
+ return ((isElement(element) ? element.ownerDocument : // $FlowFixMe[prop-missing]
740
+ element.document) || window.document).documentElement;
741
+ }
742
+
743
+ function getParentNode(element) {
744
+ if (getNodeName(element) === 'html') {
745
+ return element;
746
+ }
747
+
748
+ return (// this is a quicker (but less type safe) way to save quite some bytes from the bundle
749
+ // $FlowFixMe[incompatible-return]
750
+ // $FlowFixMe[prop-missing]
751
+ element.assignedSlot || // step into the shadow DOM of the parent of a slotted node
752
+ element.parentNode || ( // DOM Element detected
753
+ isShadowRoot(element) ? element.host : null) || // ShadowRoot detected
754
+ // $FlowFixMe[incompatible-call]: HTMLElement is a Node
755
+ getDocumentElement(element) // fallback
756
+
757
+ );
758
+ }
759
+
760
+ function getTrueOffsetParent(element) {
761
+ if (!isHTMLElement(element) || // https://github.com/popperjs/popper-core/issues/837
762
+ getComputedStyle(element).position === 'fixed') {
763
+ return null;
764
+ }
765
+
766
+ return element.offsetParent;
767
+ } // `.offsetParent` reports `null` for fixed elements, while absolute elements
768
+ // return the containing block
769
+
770
+
771
+ function getContainingBlock(element) {
772
+ var isFirefox = navigator.userAgent.toLowerCase().indexOf('firefox') !== -1;
773
+ var isIE = navigator.userAgent.indexOf('Trident') !== -1;
774
+
775
+ if (isIE && isHTMLElement(element)) {
776
+ // In IE 9, 10 and 11 fixed elements containing block is always established by the viewport
777
+ var elementCss = getComputedStyle(element);
778
+
779
+ if (elementCss.position === 'fixed') {
780
+ return null;
781
+ }
782
+ }
783
+
784
+ var currentNode = getParentNode(element);
785
+
786
+ while (isHTMLElement(currentNode) && ['html', 'body'].indexOf(getNodeName(currentNode)) < 0) {
787
+ var css = getComputedStyle(currentNode); // This is non-exhaustive but covers the most common CSS properties that
788
+ // create a containing block.
789
+ // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
790
+
791
+ if (css.transform !== 'none' || css.perspective !== 'none' || css.contain === 'paint' || ['transform', 'perspective'].indexOf(css.willChange) !== -1 || isFirefox && css.willChange === 'filter' || isFirefox && css.filter && css.filter !== 'none') {
792
+ return currentNode;
793
+ } else {
794
+ currentNode = currentNode.parentNode;
795
+ }
796
+ }
797
+
798
+ return null;
799
+ } // Gets the closest ancestor positioned element. Handles some edge cases,
800
+ // such as table ancestors and cross browser bugs.
801
+
802
+
803
+ function getOffsetParent(element) {
804
+ var window = getWindow(element);
805
+ var offsetParent = getTrueOffsetParent(element);
806
+
807
+ while (offsetParent && isTableElement(offsetParent) && getComputedStyle(offsetParent).position === 'static') {
808
+ offsetParent = getTrueOffsetParent(offsetParent);
809
+ }
810
+
811
+ if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle(offsetParent).position === 'static')) {
812
+ return window;
813
+ }
814
+
815
+ return offsetParent || getContainingBlock(element) || window;
816
+ }
817
+
818
+ function getMainAxisFromPlacement(placement) {
819
+ return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y';
820
+ }
821
+
822
+ var max = Math.max;
823
+ var min = Math.min;
824
+ var round = Math.round;
825
+
826
+ function within(min$1, value, max$1) {
827
+ return max(min$1, min(value, max$1));
828
+ }
829
+
830
+ function getFreshSideObject() {
831
+ return {
832
+ top: 0,
833
+ right: 0,
834
+ bottom: 0,
835
+ left: 0
836
+ };
837
+ }
838
+
839
+ function mergePaddingObject(paddingObject) {
840
+ return Object.assign({}, getFreshSideObject(), paddingObject);
841
+ }
842
+
843
+ function expandToHashMap(value, keys) {
844
+ return keys.reduce(function (hashMap, key) {
845
+ hashMap[key] = value;
846
+ return hashMap;
847
+ }, {});
848
+ }
849
+
850
+ var toPaddingObject = function toPaddingObject(padding, state) {
851
+ padding = typeof padding === 'function' ? padding(Object.assign({}, state.rects, {
852
+ placement: state.placement
853
+ })) : padding;
854
+ return mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));
855
+ };
856
+
857
+ function arrow(_ref) {
858
+ var _state$modifiersData$;
859
+
860
+ var state = _ref.state,
861
+ name = _ref.name,
862
+ options = _ref.options;
863
+ var arrowElement = state.elements.arrow;
864
+ var popperOffsets = state.modifiersData.popperOffsets;
865
+ var basePlacement = getBasePlacement(state.placement);
866
+ var axis = getMainAxisFromPlacement(basePlacement);
867
+ var isVertical = [left, right].indexOf(basePlacement) >= 0;
868
+ var len = isVertical ? 'height' : 'width';
869
+
870
+ if (!arrowElement || !popperOffsets) {
871
+ return;
872
+ }
873
+
874
+ var paddingObject = toPaddingObject(options.padding, state);
875
+ var arrowRect = getLayoutRect(arrowElement);
876
+ var minProp = axis === 'y' ? top : left;
877
+ var maxProp = axis === 'y' ? bottom : right;
878
+ var endDiff = state.rects.reference[len] + state.rects.reference[axis] - popperOffsets[axis] - state.rects.popper[len];
879
+ var startDiff = popperOffsets[axis] - state.rects.reference[axis];
880
+ var arrowOffsetParent = getOffsetParent(arrowElement);
881
+ var clientSize = arrowOffsetParent ? axis === 'y' ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0;
882
+ var centerToReference = endDiff / 2 - startDiff / 2; // Make sure the arrow doesn't overflow the popper if the center point is
883
+ // outside of the popper bounds
884
+
885
+ var min = paddingObject[minProp];
886
+ var max = clientSize - arrowRect[len] - paddingObject[maxProp];
887
+ var center = clientSize / 2 - arrowRect[len] / 2 + centerToReference;
888
+ var offset = within(min, center, max); // Prevents breaking syntax highlighting...
889
+
890
+ var axisProp = axis;
891
+ state.modifiersData[name] = (_state$modifiersData$ = {}, _state$modifiersData$[axisProp] = offset, _state$modifiersData$.centerOffset = offset - center, _state$modifiersData$);
892
+ }
893
+
894
+ function effect$1(_ref2) {
895
+ var state = _ref2.state,
896
+ options = _ref2.options;
897
+ var _options$element = options.element,
898
+ arrowElement = _options$element === void 0 ? '[data-popper-arrow]' : _options$element;
899
+
900
+ if (arrowElement == null) {
901
+ return;
902
+ } // CSS selector
903
+
904
+
905
+ if (typeof arrowElement === 'string') {
906
+ arrowElement = state.elements.popper.querySelector(arrowElement);
907
+
908
+ if (!arrowElement) {
909
+ return;
910
+ }
911
+ }
912
+
913
+ if (!contains(state.elements.popper, arrowElement)) {
914
+
915
+ return;
916
+ }
917
+
918
+ state.elements.arrow = arrowElement;
919
+ } // eslint-disable-next-line import/no-unused-modules
920
+
921
+
922
+ const arrow$1 = {
923
+ name: 'arrow',
924
+ enabled: true,
925
+ phase: 'main',
926
+ fn: arrow,
927
+ effect: effect$1,
928
+ requires: ['popperOffsets'],
929
+ requiresIfExists: ['preventOverflow']
930
+ };
931
+
932
+ var unsetSides = {
933
+ top: 'auto',
934
+ right: 'auto',
935
+ bottom: 'auto',
936
+ left: 'auto'
937
+ }; // Round the offsets to the nearest suitable subpixel based on the DPR.
938
+ // Zooming can change the DPR, but it seems to report a value that will
939
+ // cleanly divide the values into the appropriate subpixels.
940
+
941
+ function roundOffsetsByDPR(_ref) {
942
+ var x = _ref.x,
943
+ y = _ref.y;
944
+ var win = window;
945
+ var dpr = win.devicePixelRatio || 1;
946
+ return {
947
+ x: round(round(x * dpr) / dpr) || 0,
948
+ y: round(round(y * dpr) / dpr) || 0
949
+ };
950
+ }
951
+
952
+ function mapToStyles(_ref2) {
953
+ var _Object$assign2;
954
+
955
+ var popper = _ref2.popper,
956
+ popperRect = _ref2.popperRect,
957
+ placement = _ref2.placement,
958
+ offsets = _ref2.offsets,
959
+ position = _ref2.position,
960
+ gpuAcceleration = _ref2.gpuAcceleration,
961
+ adaptive = _ref2.adaptive,
962
+ roundOffsets = _ref2.roundOffsets;
963
+
964
+ var _ref3 = roundOffsets === true ? roundOffsetsByDPR(offsets) : typeof roundOffsets === 'function' ? roundOffsets(offsets) : offsets,
965
+ _ref3$x = _ref3.x,
966
+ x = _ref3$x === void 0 ? 0 : _ref3$x,
967
+ _ref3$y = _ref3.y,
968
+ y = _ref3$y === void 0 ? 0 : _ref3$y;
969
+
970
+ var hasX = offsets.hasOwnProperty('x');
971
+ var hasY = offsets.hasOwnProperty('y');
972
+ var sideX = left;
973
+ var sideY = top;
974
+ var win = window;
975
+
976
+ if (adaptive) {
977
+ var offsetParent = getOffsetParent(popper);
978
+ var heightProp = 'clientHeight';
979
+ var widthProp = 'clientWidth';
980
+
981
+ if (offsetParent === getWindow(popper)) {
982
+ offsetParent = getDocumentElement(popper);
983
+
984
+ if (getComputedStyle(offsetParent).position !== 'static') {
985
+ heightProp = 'scrollHeight';
986
+ widthProp = 'scrollWidth';
987
+ }
988
+ } // $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it
989
+
990
+
991
+ offsetParent = offsetParent;
992
+
993
+ if (placement === top) {
994
+ sideY = bottom; // $FlowFixMe[prop-missing]
995
+
996
+ y -= offsetParent[heightProp] - popperRect.height;
997
+ y *= gpuAcceleration ? 1 : -1;
998
+ }
999
+
1000
+ if (placement === left) {
1001
+ sideX = right; // $FlowFixMe[prop-missing]
1002
+
1003
+ x -= offsetParent[widthProp] - popperRect.width;
1004
+ x *= gpuAcceleration ? 1 : -1;
1005
+ }
1006
+ }
1007
+
1008
+ var commonStyles = Object.assign({
1009
+ position: position
1010
+ }, adaptive && unsetSides);
1011
+
1012
+ if (gpuAcceleration) {
1013
+ var _Object$assign;
1014
+
1015
+ return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) < 2 ? "translate(" + x + "px, " + y + "px)" : "translate3d(" + x + "px, " + y + "px, 0)", _Object$assign));
1016
+ }
1017
+
1018
+ return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + "px" : '', _Object$assign2[sideX] = hasX ? x + "px" : '', _Object$assign2.transform = '', _Object$assign2));
1019
+ }
1020
+
1021
+ function computeStyles(_ref4) {
1022
+ var state = _ref4.state,
1023
+ options = _ref4.options;
1024
+ var _options$gpuAccelerat = options.gpuAcceleration,
1025
+ gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat,
1026
+ _options$adaptive = options.adaptive,
1027
+ adaptive = _options$adaptive === void 0 ? true : _options$adaptive,
1028
+ _options$roundOffsets = options.roundOffsets,
1029
+ roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets;
1030
+
1031
+ var commonStyles = {
1032
+ placement: getBasePlacement(state.placement),
1033
+ popper: state.elements.popper,
1034
+ popperRect: state.rects.popper,
1035
+ gpuAcceleration: gpuAcceleration
1036
+ };
1037
+
1038
+ if (state.modifiersData.popperOffsets != null) {
1039
+ state.styles.popper = Object.assign({}, state.styles.popper, mapToStyles(Object.assign({}, commonStyles, {
1040
+ offsets: state.modifiersData.popperOffsets,
1041
+ position: state.options.strategy,
1042
+ adaptive: adaptive,
1043
+ roundOffsets: roundOffsets
1044
+ })));
1045
+ }
1046
+
1047
+ if (state.modifiersData.arrow != null) {
1048
+ state.styles.arrow = Object.assign({}, state.styles.arrow, mapToStyles(Object.assign({}, commonStyles, {
1049
+ offsets: state.modifiersData.arrow,
1050
+ position: 'absolute',
1051
+ adaptive: false,
1052
+ roundOffsets: roundOffsets
1053
+ })));
1054
+ }
1055
+
1056
+ state.attributes.popper = Object.assign({}, state.attributes.popper, {
1057
+ 'data-popper-placement': state.placement
1058
+ });
1059
+ } // eslint-disable-next-line import/no-unused-modules
1060
+
1061
+
1062
+ const computeStyles$1 = {
1063
+ name: 'computeStyles',
1064
+ enabled: true,
1065
+ phase: 'beforeWrite',
1066
+ fn: computeStyles,
1067
+ data: {}
1068
+ };
1069
+
1070
+ var passive = {
1071
+ passive: true
1072
+ };
1073
+
1074
+ function effect(_ref) {
1075
+ var state = _ref.state,
1076
+ instance = _ref.instance,
1077
+ options = _ref.options;
1078
+ var _options$scroll = options.scroll,
1079
+ scroll = _options$scroll === void 0 ? true : _options$scroll,
1080
+ _options$resize = options.resize,
1081
+ resize = _options$resize === void 0 ? true : _options$resize;
1082
+ var window = getWindow(state.elements.popper);
1083
+ var scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper);
1084
+
1085
+ if (scroll) {
1086
+ scrollParents.forEach(function (scrollParent) {
1087
+ scrollParent.addEventListener('scroll', instance.update, passive);
1088
+ });
1089
+ }
1090
+
1091
+ if (resize) {
1092
+ window.addEventListener('resize', instance.update, passive);
1093
+ }
1094
+
1095
+ return function () {
1096
+ if (scroll) {
1097
+ scrollParents.forEach(function (scrollParent) {
1098
+ scrollParent.removeEventListener('scroll', instance.update, passive);
1099
+ });
1100
+ }
1101
+
1102
+ if (resize) {
1103
+ window.removeEventListener('resize', instance.update, passive);
1104
+ }
1105
+ };
1106
+ } // eslint-disable-next-line import/no-unused-modules
1107
+
1108
+
1109
+ const eventListeners = {
1110
+ name: 'eventListeners',
1111
+ enabled: true,
1112
+ phase: 'write',
1113
+ fn: function fn() {},
1114
+ effect: effect,
1115
+ data: {}
1116
+ };
1117
+
1118
+ var hash$1 = {
1119
+ left: 'right',
1120
+ right: 'left',
1121
+ bottom: 'top',
1122
+ top: 'bottom'
1123
+ };
1124
+ function getOppositePlacement(placement) {
1125
+ return placement.replace(/left|right|bottom|top/g, function (matched) {
1126
+ return hash$1[matched];
1127
+ });
1128
+ }
1129
+
1130
+ var hash = {
1131
+ start: 'end',
1132
+ end: 'start'
1133
+ };
1134
+ function getOppositeVariationPlacement(placement) {
1135
+ return placement.replace(/start|end/g, function (matched) {
1136
+ return hash[matched];
1137
+ });
1138
+ }
1139
+
1140
+ function getWindowScroll(node) {
1141
+ var win = getWindow(node);
1142
+ var scrollLeft = win.pageXOffset;
1143
+ var scrollTop = win.pageYOffset;
1144
+ return {
1145
+ scrollLeft: scrollLeft,
1146
+ scrollTop: scrollTop
1147
+ };
1148
+ }
1149
+
1150
+ function getWindowScrollBarX(element) {
1151
+ // If <html> has a CSS width greater than the viewport, then this will be
1152
+ // incorrect for RTL.
1153
+ // Popper 1 is broken in this case and never had a bug report so let's assume
1154
+ // it's not an issue. I don't think anyone ever specifies width on <html>
1155
+ // anyway.
1156
+ // Browsers where the left scrollbar doesn't cause an issue report `0` for
1157
+ // this (e.g. Edge 2019, IE11, Safari)
1158
+ return getBoundingClientRect(getDocumentElement(element)).left + getWindowScroll(element).scrollLeft;
1159
+ }
1160
+
1161
+ function getViewportRect(element) {
1162
+ var win = getWindow(element);
1163
+ var html = getDocumentElement(element);
1164
+ var visualViewport = win.visualViewport;
1165
+ var width = html.clientWidth;
1166
+ var height = html.clientHeight;
1167
+ var x = 0;
1168
+ var y = 0; // NB: This isn't supported on iOS <= 12. If the keyboard is open, the popper
1169
+ // can be obscured underneath it.
1170
+ // Also, `html.clientHeight` adds the bottom bar height in Safari iOS, even
1171
+ // if it isn't open, so if this isn't available, the popper will be detected
1172
+ // to overflow the bottom of the screen too early.
1173
+
1174
+ if (visualViewport) {
1175
+ width = visualViewport.width;
1176
+ height = visualViewport.height; // Uses Layout Viewport (like Chrome; Safari does not currently)
1177
+ // In Chrome, it returns a value very close to 0 (+/-) but contains rounding
1178
+ // errors due to floating point numbers, so we need to check precision.
1179
+ // Safari returns a number <= 0, usually < -1 when pinch-zoomed
1180
+ // Feature detection fails in mobile emulation mode in Chrome.
1181
+ // Math.abs(win.innerWidth / visualViewport.scale - visualViewport.width) <
1182
+ // 0.001
1183
+ // Fallback here: "Not Safari" userAgent
1184
+
1185
+ if (!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)) {
1186
+ x = visualViewport.offsetLeft;
1187
+ y = visualViewport.offsetTop;
1188
+ }
1189
+ }
1190
+
1191
+ return {
1192
+ width: width,
1193
+ height: height,
1194
+ x: x + getWindowScrollBarX(element),
1195
+ y: y
1196
+ };
1197
+ }
1198
+
1199
+ // of the `<html>` and `<body>` rect bounds if horizontally scrollable
1200
+
1201
+ function getDocumentRect(element) {
1202
+ var _element$ownerDocumen;
1203
+
1204
+ var html = getDocumentElement(element);
1205
+ var winScroll = getWindowScroll(element);
1206
+ var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;
1207
+ var width = max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);
1208
+ var height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
1209
+ var x = -winScroll.scrollLeft + getWindowScrollBarX(element);
1210
+ var y = -winScroll.scrollTop;
1211
+
1212
+ if (getComputedStyle(body || html).direction === 'rtl') {
1213
+ x += max(html.clientWidth, body ? body.clientWidth : 0) - width;
1214
+ }
1215
+
1216
+ return {
1217
+ width: width,
1218
+ height: height,
1219
+ x: x,
1220
+ y: y
1221
+ };
1222
+ }
1223
+
1224
+ function isScrollParent(element) {
1225
+ // Firefox wants us to check `-x` and `-y` variations as well
1226
+ var _getComputedStyle = getComputedStyle(element),
1227
+ overflow = _getComputedStyle.overflow,
1228
+ overflowX = _getComputedStyle.overflowX,
1229
+ overflowY = _getComputedStyle.overflowY;
1230
+
1231
+ return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);
1232
+ }
1233
+
1234
+ function getScrollParent(node) {
1235
+ if (['html', 'body', '#document'].indexOf(getNodeName(node)) >= 0) {
1236
+ // $FlowFixMe[incompatible-return]: assume body is always available
1237
+ return node.ownerDocument.body;
1238
+ }
1239
+
1240
+ if (isHTMLElement(node) && isScrollParent(node)) {
1241
+ return node;
1242
+ }
1243
+
1244
+ return getScrollParent(getParentNode(node));
1245
+ }
1246
+
1247
+ /*
1248
+ given a DOM element, return the list of all scroll parents, up the list of ancesors
1249
+ until we get to the top window object. This list is what we attach scroll listeners
1250
+ to, because if any of these parent elements scroll, we'll need to re-calculate the
1251
+ reference element's position.
1252
+ */
1253
+
1254
+ function listScrollParents(element, list) {
1255
+ var _element$ownerDocumen;
1256
+
1257
+ if (list === void 0) {
1258
+ list = [];
1259
+ }
1260
+
1261
+ var scrollParent = getScrollParent(element);
1262
+ var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body);
1263
+ var win = getWindow(scrollParent);
1264
+ var target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent;
1265
+ var updatedList = list.concat(target);
1266
+ return isBody ? updatedList : // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
1267
+ updatedList.concat(listScrollParents(getParentNode(target)));
1268
+ }
1269
+
1270
+ function rectToClientRect(rect) {
1271
+ return Object.assign({}, rect, {
1272
+ left: rect.x,
1273
+ top: rect.y,
1274
+ right: rect.x + rect.width,
1275
+ bottom: rect.y + rect.height
1276
+ });
1277
+ }
1278
+
1279
+ function getInnerBoundingClientRect(element) {
1280
+ var rect = getBoundingClientRect(element);
1281
+ rect.top = rect.top + element.clientTop;
1282
+ rect.left = rect.left + element.clientLeft;
1283
+ rect.bottom = rect.top + element.clientHeight;
1284
+ rect.right = rect.left + element.clientWidth;
1285
+ rect.width = element.clientWidth;
1286
+ rect.height = element.clientHeight;
1287
+ rect.x = rect.left;
1288
+ rect.y = rect.top;
1289
+ return rect;
1290
+ }
1291
+
1292
+ function getClientRectFromMixedType(element, clippingParent) {
1293
+ return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) : isHTMLElement(clippingParent) ? getInnerBoundingClientRect(clippingParent) : rectToClientRect(getDocumentRect(getDocumentElement(element)));
1294
+ } // A "clipping parent" is an overflowable container with the characteristic of
1295
+ // clipping (or hiding) overflowing elements with a position different from
1296
+ // `initial`
1297
+
1298
+
1299
+ function getClippingParents(element) {
1300
+ var clippingParents = listScrollParents(getParentNode(element));
1301
+ var canEscapeClipping = ['absolute', 'fixed'].indexOf(getComputedStyle(element).position) >= 0;
1302
+ var clipperElement = canEscapeClipping && isHTMLElement(element) ? getOffsetParent(element) : element;
1303
+
1304
+ if (!isElement(clipperElement)) {
1305
+ return [];
1306
+ } // $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414
1307
+
1308
+
1309
+ return clippingParents.filter(function (clippingParent) {
1310
+ return isElement(clippingParent) && contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body';
1311
+ });
1312
+ } // Gets the maximum area that the element is visible in due to any number of
1313
+ // clipping parents
1314
+
1315
+
1316
+ function getClippingRect(element, boundary, rootBoundary) {
1317
+ var mainClippingParents = boundary === 'clippingParents' ? getClippingParents(element) : [].concat(boundary);
1318
+ var clippingParents = [].concat(mainClippingParents, [rootBoundary]);
1319
+ var firstClippingParent = clippingParents[0];
1320
+ var clippingRect = clippingParents.reduce(function (accRect, clippingParent) {
1321
+ var rect = getClientRectFromMixedType(element, clippingParent);
1322
+ accRect.top = max(rect.top, accRect.top);
1323
+ accRect.right = min(rect.right, accRect.right);
1324
+ accRect.bottom = min(rect.bottom, accRect.bottom);
1325
+ accRect.left = max(rect.left, accRect.left);
1326
+ return accRect;
1327
+ }, getClientRectFromMixedType(element, firstClippingParent));
1328
+ clippingRect.width = clippingRect.right - clippingRect.left;
1329
+ clippingRect.height = clippingRect.bottom - clippingRect.top;
1330
+ clippingRect.x = clippingRect.left;
1331
+ clippingRect.y = clippingRect.top;
1332
+ return clippingRect;
1333
+ }
1334
+
1335
+ function getVariation(placement) {
1336
+ return placement.split('-')[1];
1337
+ }
1338
+
1339
+ function computeOffsets(_ref) {
1340
+ var reference = _ref.reference,
1341
+ element = _ref.element,
1342
+ placement = _ref.placement;
1343
+ var basePlacement = placement ? getBasePlacement(placement) : null;
1344
+ var variation = placement ? getVariation(placement) : null;
1345
+ var commonX = reference.x + reference.width / 2 - element.width / 2;
1346
+ var commonY = reference.y + reference.height / 2 - element.height / 2;
1347
+ var offsets;
1348
+
1349
+ switch (basePlacement) {
1350
+ case top:
1351
+ offsets = {
1352
+ x: commonX,
1353
+ y: reference.y - element.height
1354
+ };
1355
+ break;
1356
+
1357
+ case bottom:
1358
+ offsets = {
1359
+ x: commonX,
1360
+ y: reference.y + reference.height
1361
+ };
1362
+ break;
1363
+
1364
+ case right:
1365
+ offsets = {
1366
+ x: reference.x + reference.width,
1367
+ y: commonY
1368
+ };
1369
+ break;
1370
+
1371
+ case left:
1372
+ offsets = {
1373
+ x: reference.x - element.width,
1374
+ y: commonY
1375
+ };
1376
+ break;
1377
+
1378
+ default:
1379
+ offsets = {
1380
+ x: reference.x,
1381
+ y: reference.y
1382
+ };
1383
+ }
1384
+
1385
+ var mainAxis = basePlacement ? getMainAxisFromPlacement(basePlacement) : null;
1386
+
1387
+ if (mainAxis != null) {
1388
+ var len = mainAxis === 'y' ? 'height' : 'width';
1389
+
1390
+ switch (variation) {
1391
+ case start:
1392
+ offsets[mainAxis] = offsets[mainAxis] - (reference[len] / 2 - element[len] / 2);
1393
+ break;
1394
+
1395
+ case end:
1396
+ offsets[mainAxis] = offsets[mainAxis] + (reference[len] / 2 - element[len] / 2);
1397
+ break;
1398
+ }
1399
+ }
1400
+
1401
+ return offsets;
1402
+ }
1403
+
1404
+ function detectOverflow(state, options) {
1405
+ if (options === void 0) {
1406
+ options = {};
1407
+ }
1408
+
1409
+ var _options = options,
1410
+ _options$placement = _options.placement,
1411
+ placement = _options$placement === void 0 ? state.placement : _options$placement,
1412
+ _options$boundary = _options.boundary,
1413
+ boundary = _options$boundary === void 0 ? clippingParents : _options$boundary,
1414
+ _options$rootBoundary = _options.rootBoundary,
1415
+ rootBoundary = _options$rootBoundary === void 0 ? viewport : _options$rootBoundary,
1416
+ _options$elementConte = _options.elementContext,
1417
+ elementContext = _options$elementConte === void 0 ? popper : _options$elementConte,
1418
+ _options$altBoundary = _options.altBoundary,
1419
+ altBoundary = _options$altBoundary === void 0 ? false : _options$altBoundary,
1420
+ _options$padding = _options.padding,
1421
+ padding = _options$padding === void 0 ? 0 : _options$padding;
1422
+ var paddingObject = mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));
1423
+ var altContext = elementContext === popper ? reference : popper;
1424
+ var referenceElement = state.elements.reference;
1425
+ var popperRect = state.rects.popper;
1426
+ var element = state.elements[altBoundary ? altContext : elementContext];
1427
+ var clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary);
1428
+ var referenceClientRect = getBoundingClientRect(referenceElement);
1429
+ var popperOffsets = computeOffsets({
1430
+ reference: referenceClientRect,
1431
+ element: popperRect,
1432
+ strategy: 'absolute',
1433
+ placement: placement
1434
+ });
1435
+ var popperClientRect = rectToClientRect(Object.assign({}, popperRect, popperOffsets));
1436
+ var elementClientRect = elementContext === popper ? popperClientRect : referenceClientRect; // positive = overflowing the clipping rect
1437
+ // 0 or negative = within the clipping rect
1438
+
1439
+ var overflowOffsets = {
1440
+ top: clippingClientRect.top - elementClientRect.top + paddingObject.top,
1441
+ bottom: elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom,
1442
+ left: clippingClientRect.left - elementClientRect.left + paddingObject.left,
1443
+ right: elementClientRect.right - clippingClientRect.right + paddingObject.right
1444
+ };
1445
+ var offsetData = state.modifiersData.offset; // Offsets can be applied only to the popper element
1446
+
1447
+ if (elementContext === popper && offsetData) {
1448
+ var offset = offsetData[placement];
1449
+ Object.keys(overflowOffsets).forEach(function (key) {
1450
+ var multiply = [right, bottom].indexOf(key) >= 0 ? 1 : -1;
1451
+ var axis = [top, bottom].indexOf(key) >= 0 ? 'y' : 'x';
1452
+ overflowOffsets[key] += offset[axis] * multiply;
1453
+ });
1454
+ }
1455
+
1456
+ return overflowOffsets;
1457
+ }
1458
+
1459
+ function computeAutoPlacement(state, options) {
1460
+ if (options === void 0) {
1461
+ options = {};
1462
+ }
1463
+
1464
+ var _options = options,
1465
+ placement = _options.placement,
1466
+ boundary = _options.boundary,
1467
+ rootBoundary = _options.rootBoundary,
1468
+ padding = _options.padding,
1469
+ flipVariations = _options.flipVariations,
1470
+ _options$allowedAutoP = _options.allowedAutoPlacements,
1471
+ allowedAutoPlacements = _options$allowedAutoP === void 0 ? placements : _options$allowedAutoP;
1472
+ var variation = getVariation(placement);
1473
+ var placements$1 = variation ? flipVariations ? variationPlacements : variationPlacements.filter(function (placement) {
1474
+ return getVariation(placement) === variation;
1475
+ }) : basePlacements;
1476
+ var allowedPlacements = placements$1.filter(function (placement) {
1477
+ return allowedAutoPlacements.indexOf(placement) >= 0;
1478
+ });
1479
+
1480
+ if (allowedPlacements.length === 0) {
1481
+ allowedPlacements = placements$1;
1482
+ } // $FlowFixMe[incompatible-type]: Flow seems to have problems with two array unions...
1483
+
1484
+
1485
+ var overflows = allowedPlacements.reduce(function (acc, placement) {
1486
+ acc[placement] = detectOverflow(state, {
1487
+ placement: placement,
1488
+ boundary: boundary,
1489
+ rootBoundary: rootBoundary,
1490
+ padding: padding
1491
+ })[getBasePlacement(placement)];
1492
+ return acc;
1493
+ }, {});
1494
+ return Object.keys(overflows).sort(function (a, b) {
1495
+ return overflows[a] - overflows[b];
1496
+ });
1497
+ }
1498
+
1499
+ function getExpandedFallbackPlacements(placement) {
1500
+ if (getBasePlacement(placement) === auto) {
1501
+ return [];
1502
+ }
1503
+
1504
+ var oppositePlacement = getOppositePlacement(placement);
1505
+ return [getOppositeVariationPlacement(placement), oppositePlacement, getOppositeVariationPlacement(oppositePlacement)];
1506
+ }
1507
+
1508
+ function flip(_ref) {
1509
+ var state = _ref.state,
1510
+ options = _ref.options,
1511
+ name = _ref.name;
1512
+
1513
+ if (state.modifiersData[name]._skip) {
1514
+ return;
1515
+ }
1516
+
1517
+ var _options$mainAxis = options.mainAxis,
1518
+ checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,
1519
+ _options$altAxis = options.altAxis,
1520
+ checkAltAxis = _options$altAxis === void 0 ? true : _options$altAxis,
1521
+ specifiedFallbackPlacements = options.fallbackPlacements,
1522
+ padding = options.padding,
1523
+ boundary = options.boundary,
1524
+ rootBoundary = options.rootBoundary,
1525
+ altBoundary = options.altBoundary,
1526
+ _options$flipVariatio = options.flipVariations,
1527
+ flipVariations = _options$flipVariatio === void 0 ? true : _options$flipVariatio,
1528
+ allowedAutoPlacements = options.allowedAutoPlacements;
1529
+ var preferredPlacement = state.options.placement;
1530
+ var basePlacement = getBasePlacement(preferredPlacement);
1531
+ var isBasePlacement = basePlacement === preferredPlacement;
1532
+ var fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipVariations ? [getOppositePlacement(preferredPlacement)] : getExpandedFallbackPlacements(preferredPlacement));
1533
+ var placements = [preferredPlacement].concat(fallbackPlacements).reduce(function (acc, placement) {
1534
+ return acc.concat(getBasePlacement(placement) === auto ? computeAutoPlacement(state, {
1535
+ placement: placement,
1536
+ boundary: boundary,
1537
+ rootBoundary: rootBoundary,
1538
+ padding: padding,
1539
+ flipVariations: flipVariations,
1540
+ allowedAutoPlacements: allowedAutoPlacements
1541
+ }) : placement);
1542
+ }, []);
1543
+ var referenceRect = state.rects.reference;
1544
+ var popperRect = state.rects.popper;
1545
+ var checksMap = new Map();
1546
+ var makeFallbackChecks = true;
1547
+ var firstFittingPlacement = placements[0];
1548
+
1549
+ for (var i = 0; i < placements.length; i++) {
1550
+ var placement = placements[i];
1551
+
1552
+ var _basePlacement = getBasePlacement(placement);
1553
+
1554
+ var isStartVariation = getVariation(placement) === start;
1555
+ var isVertical = [top, bottom].indexOf(_basePlacement) >= 0;
1556
+ var len = isVertical ? 'width' : 'height';
1557
+ var overflow = detectOverflow(state, {
1558
+ placement: placement,
1559
+ boundary: boundary,
1560
+ rootBoundary: rootBoundary,
1561
+ altBoundary: altBoundary,
1562
+ padding: padding
1563
+ });
1564
+ var mainVariationSide = isVertical ? isStartVariation ? right : left : isStartVariation ? bottom : top;
1565
+
1566
+ if (referenceRect[len] > popperRect[len]) {
1567
+ mainVariationSide = getOppositePlacement(mainVariationSide);
1568
+ }
1569
+
1570
+ var altVariationSide = getOppositePlacement(mainVariationSide);
1571
+ var checks = [];
1572
+
1573
+ if (checkMainAxis) {
1574
+ checks.push(overflow[_basePlacement] <= 0);
1575
+ }
1576
+
1577
+ if (checkAltAxis) {
1578
+ checks.push(overflow[mainVariationSide] <= 0, overflow[altVariationSide] <= 0);
1579
+ }
1580
+
1581
+ if (checks.every(function (check) {
1582
+ return check;
1583
+ })) {
1584
+ firstFittingPlacement = placement;
1585
+ makeFallbackChecks = false;
1586
+ break;
1587
+ }
1588
+
1589
+ checksMap.set(placement, checks);
1590
+ }
1591
+
1592
+ if (makeFallbackChecks) {
1593
+ // `2` may be desired in some cases – research later
1594
+ var numberOfChecks = flipVariations ? 3 : 1;
1595
+
1596
+ var _loop = function _loop(_i) {
1597
+ var fittingPlacement = placements.find(function (placement) {
1598
+ var checks = checksMap.get(placement);
1599
+
1600
+ if (checks) {
1601
+ return checks.slice(0, _i).every(function (check) {
1602
+ return check;
1603
+ });
1604
+ }
1605
+ });
1606
+
1607
+ if (fittingPlacement) {
1608
+ firstFittingPlacement = fittingPlacement;
1609
+ return "break";
1610
+ }
1611
+ };
1612
+
1613
+ for (var _i = numberOfChecks; _i > 0; _i--) {
1614
+ var _ret = _loop(_i);
1615
+
1616
+ if (_ret === "break") break;
1617
+ }
1618
+ }
1619
+
1620
+ if (state.placement !== firstFittingPlacement) {
1621
+ state.modifiersData[name]._skip = true;
1622
+ state.placement = firstFittingPlacement;
1623
+ state.reset = true;
1624
+ }
1625
+ } // eslint-disable-next-line import/no-unused-modules
1626
+
1627
+
1628
+ const flip$1 = {
1629
+ name: 'flip',
1630
+ enabled: true,
1631
+ phase: 'main',
1632
+ fn: flip,
1633
+ requiresIfExists: ['offset'],
1634
+ data: {
1635
+ _skip: false
1636
+ }
1637
+ };
1638
+
1639
+ function getSideOffsets(overflow, rect, preventedOffsets) {
1640
+ if (preventedOffsets === void 0) {
1641
+ preventedOffsets = {
1642
+ x: 0,
1643
+ y: 0
1644
+ };
1645
+ }
1646
+
1647
+ return {
1648
+ top: overflow.top - rect.height - preventedOffsets.y,
1649
+ right: overflow.right - rect.width + preventedOffsets.x,
1650
+ bottom: overflow.bottom - rect.height + preventedOffsets.y,
1651
+ left: overflow.left - rect.width - preventedOffsets.x
1652
+ };
1653
+ }
1654
+
1655
+ function isAnySideFullyClipped(overflow) {
1656
+ return [top, right, bottom, left].some(function (side) {
1657
+ return overflow[side] >= 0;
1658
+ });
1659
+ }
1660
+
1661
+ function hide(_ref) {
1662
+ var state = _ref.state,
1663
+ name = _ref.name;
1664
+ var referenceRect = state.rects.reference;
1665
+ var popperRect = state.rects.popper;
1666
+ var preventedOffsets = state.modifiersData.preventOverflow;
1667
+ var referenceOverflow = detectOverflow(state, {
1668
+ elementContext: 'reference'
1669
+ });
1670
+ var popperAltOverflow = detectOverflow(state, {
1671
+ altBoundary: true
1672
+ });
1673
+ var referenceClippingOffsets = getSideOffsets(referenceOverflow, referenceRect);
1674
+ var popperEscapeOffsets = getSideOffsets(popperAltOverflow, popperRect, preventedOffsets);
1675
+ var isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets);
1676
+ var hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets);
1677
+ state.modifiersData[name] = {
1678
+ referenceClippingOffsets: referenceClippingOffsets,
1679
+ popperEscapeOffsets: popperEscapeOffsets,
1680
+ isReferenceHidden: isReferenceHidden,
1681
+ hasPopperEscaped: hasPopperEscaped
1682
+ };
1683
+ state.attributes.popper = Object.assign({}, state.attributes.popper, {
1684
+ 'data-popper-reference-hidden': isReferenceHidden,
1685
+ 'data-popper-escaped': hasPopperEscaped
1686
+ });
1687
+ } // eslint-disable-next-line import/no-unused-modules
1688
+
1689
+
1690
+ const hide$1 = {
1691
+ name: 'hide',
1692
+ enabled: true,
1693
+ phase: 'main',
1694
+ requiresIfExists: ['preventOverflow'],
1695
+ fn: hide
1696
+ };
1697
+
1698
+ function distanceAndSkiddingToXY(placement, rects, offset) {
1699
+ var basePlacement = getBasePlacement(placement);
1700
+ var invertDistance = [left, top].indexOf(basePlacement) >= 0 ? -1 : 1;
1701
+
1702
+ var _ref = typeof offset === 'function' ? offset(Object.assign({}, rects, {
1703
+ placement: placement
1704
+ })) : offset,
1705
+ skidding = _ref[0],
1706
+ distance = _ref[1];
1707
+
1708
+ skidding = skidding || 0;
1709
+ distance = (distance || 0) * invertDistance;
1710
+ return [left, right].indexOf(basePlacement) >= 0 ? {
1711
+ x: distance,
1712
+ y: skidding
1713
+ } : {
1714
+ x: skidding,
1715
+ y: distance
1716
+ };
1717
+ }
1718
+
1719
+ function offset(_ref2) {
1720
+ var state = _ref2.state,
1721
+ options = _ref2.options,
1722
+ name = _ref2.name;
1723
+ var _options$offset = options.offset,
1724
+ offset = _options$offset === void 0 ? [0, 0] : _options$offset;
1725
+ var data = placements.reduce(function (acc, placement) {
1726
+ acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset);
1727
+ return acc;
1728
+ }, {});
1729
+ var _data$state$placement = data[state.placement],
1730
+ x = _data$state$placement.x,
1731
+ y = _data$state$placement.y;
1732
+
1733
+ if (state.modifiersData.popperOffsets != null) {
1734
+ state.modifiersData.popperOffsets.x += x;
1735
+ state.modifiersData.popperOffsets.y += y;
1736
+ }
1737
+
1738
+ state.modifiersData[name] = data;
1739
+ } // eslint-disable-next-line import/no-unused-modules
1740
+
1741
+
1742
+ const offset$1 = {
1743
+ name: 'offset',
1744
+ enabled: true,
1745
+ phase: 'main',
1746
+ requires: ['popperOffsets'],
1747
+ fn: offset
1748
+ };
1749
+
1750
+ function popperOffsets(_ref) {
1751
+ var state = _ref.state,
1752
+ name = _ref.name;
1753
+ // Offsets are the actual position the popper needs to have to be
1754
+ // properly positioned near its reference element
1755
+ // This is the most basic placement, and will be adjusted by
1756
+ // the modifiers in the next step
1757
+ state.modifiersData[name] = computeOffsets({
1758
+ reference: state.rects.reference,
1759
+ element: state.rects.popper,
1760
+ strategy: 'absolute',
1761
+ placement: state.placement
1762
+ });
1763
+ } // eslint-disable-next-line import/no-unused-modules
1764
+
1765
+
1766
+ const popperOffsets$1 = {
1767
+ name: 'popperOffsets',
1768
+ enabled: true,
1769
+ phase: 'read',
1770
+ fn: popperOffsets,
1771
+ data: {}
1772
+ };
1773
+
1774
+ function getAltAxis(axis) {
1775
+ return axis === 'x' ? 'y' : 'x';
1776
+ }
1777
+
1778
+ function preventOverflow(_ref) {
1779
+ var state = _ref.state,
1780
+ options = _ref.options,
1781
+ name = _ref.name;
1782
+ var _options$mainAxis = options.mainAxis,
1783
+ checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,
1784
+ _options$altAxis = options.altAxis,
1785
+ checkAltAxis = _options$altAxis === void 0 ? false : _options$altAxis,
1786
+ boundary = options.boundary,
1787
+ rootBoundary = options.rootBoundary,
1788
+ altBoundary = options.altBoundary,
1789
+ padding = options.padding,
1790
+ _options$tether = options.tether,
1791
+ tether = _options$tether === void 0 ? true : _options$tether,
1792
+ _options$tetherOffset = options.tetherOffset,
1793
+ tetherOffset = _options$tetherOffset === void 0 ? 0 : _options$tetherOffset;
1794
+ var overflow = detectOverflow(state, {
1795
+ boundary: boundary,
1796
+ rootBoundary: rootBoundary,
1797
+ padding: padding,
1798
+ altBoundary: altBoundary
1799
+ });
1800
+ var basePlacement = getBasePlacement(state.placement);
1801
+ var variation = getVariation(state.placement);
1802
+ var isBasePlacement = !variation;
1803
+ var mainAxis = getMainAxisFromPlacement(basePlacement);
1804
+ var altAxis = getAltAxis(mainAxis);
1805
+ var popperOffsets = state.modifiersData.popperOffsets;
1806
+ var referenceRect = state.rects.reference;
1807
+ var popperRect = state.rects.popper;
1808
+ var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, {
1809
+ placement: state.placement
1810
+ })) : tetherOffset;
1811
+ var data = {
1812
+ x: 0,
1813
+ y: 0
1814
+ };
1815
+
1816
+ if (!popperOffsets) {
1817
+ return;
1818
+ }
1819
+
1820
+ if (checkMainAxis || checkAltAxis) {
1821
+ var mainSide = mainAxis === 'y' ? top : left;
1822
+ var altSide = mainAxis === 'y' ? bottom : right;
1823
+ var len = mainAxis === 'y' ? 'height' : 'width';
1824
+ var offset = popperOffsets[mainAxis];
1825
+ var min$1 = popperOffsets[mainAxis] + overflow[mainSide];
1826
+ var max$1 = popperOffsets[mainAxis] - overflow[altSide];
1827
+ var additive = tether ? -popperRect[len] / 2 : 0;
1828
+ var minLen = variation === start ? referenceRect[len] : popperRect[len];
1829
+ var maxLen = variation === start ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go
1830
+ // outside the reference bounds
1831
+
1832
+ var arrowElement = state.elements.arrow;
1833
+ var arrowRect = tether && arrowElement ? getLayoutRect(arrowElement) : {
1834
+ width: 0,
1835
+ height: 0
1836
+ };
1837
+ var arrowPaddingObject = state.modifiersData['arrow#persistent'] ? state.modifiersData['arrow#persistent'].padding : getFreshSideObject();
1838
+ var arrowPaddingMin = arrowPaddingObject[mainSide];
1839
+ var arrowPaddingMax = arrowPaddingObject[altSide]; // If the reference length is smaller than the arrow length, we don't want
1840
+ // to include its full size in the calculation. If the reference is small
1841
+ // and near the edge of a boundary, the popper can overflow even if the
1842
+ // reference is not overflowing as well (e.g. virtual elements with no
1843
+ // width or height)
1844
+
1845
+ var arrowLen = within(0, referenceRect[len], arrowRect[len]);
1846
+ var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - tetherOffsetValue : minLen - arrowLen - arrowPaddingMin - tetherOffsetValue;
1847
+ var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + tetherOffsetValue : maxLen + arrowLen + arrowPaddingMax + tetherOffsetValue;
1848
+ var arrowOffsetParent = state.elements.arrow && getOffsetParent(state.elements.arrow);
1849
+ var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;
1850
+ var offsetModifierValue = state.modifiersData.offset ? state.modifiersData.offset[state.placement][mainAxis] : 0;
1851
+ var tetherMin = popperOffsets[mainAxis] + minOffset - offsetModifierValue - clientOffset;
1852
+ var tetherMax = popperOffsets[mainAxis] + maxOffset - offsetModifierValue;
1853
+
1854
+ if (checkMainAxis) {
1855
+ var preventedOffset = within(tether ? min(min$1, tetherMin) : min$1, offset, tether ? max(max$1, tetherMax) : max$1);
1856
+ popperOffsets[mainAxis] = preventedOffset;
1857
+ data[mainAxis] = preventedOffset - offset;
1858
+ }
1859
+
1860
+ if (checkAltAxis) {
1861
+ var _mainSide = mainAxis === 'x' ? top : left;
1862
+
1863
+ var _altSide = mainAxis === 'x' ? bottom : right;
1864
+
1865
+ var _offset = popperOffsets[altAxis];
1866
+
1867
+ var _min = _offset + overflow[_mainSide];
1868
+
1869
+ var _max = _offset - overflow[_altSide];
1870
+
1871
+ var _preventedOffset = within(tether ? min(_min, tetherMin) : _min, _offset, tether ? max(_max, tetherMax) : _max);
1872
+
1873
+ popperOffsets[altAxis] = _preventedOffset;
1874
+ data[altAxis] = _preventedOffset - _offset;
1875
+ }
1876
+ }
1877
+
1878
+ state.modifiersData[name] = data;
1879
+ } // eslint-disable-next-line import/no-unused-modules
1880
+
1881
+
1882
+ const preventOverflow$1 = {
1883
+ name: 'preventOverflow',
1884
+ enabled: true,
1885
+ phase: 'main',
1886
+ fn: preventOverflow,
1887
+ requiresIfExists: ['offset']
1888
+ };
1889
+
1890
+ function getHTMLElementScroll(element) {
1891
+ return {
1892
+ scrollLeft: element.scrollLeft,
1893
+ scrollTop: element.scrollTop
1894
+ };
1895
+ }
1896
+
1897
+ function getNodeScroll(node) {
1898
+ if (node === getWindow(node) || !isHTMLElement(node)) {
1899
+ return getWindowScroll(node);
1900
+ } else {
1901
+ return getHTMLElementScroll(node);
1902
+ }
1903
+ }
1904
+
1905
+ function isElementScaled(element) {
1906
+ var rect = element.getBoundingClientRect();
1907
+ var scaleX = rect.width / element.offsetWidth || 1;
1908
+ var scaleY = rect.height / element.offsetHeight || 1;
1909
+ return scaleX !== 1 || scaleY !== 1;
1910
+ } // Returns the composite rect of an element relative to its offsetParent.
1911
+ // Composite means it takes into account transforms as well as layout.
1912
+
1913
+
1914
+ function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
1915
+ if (isFixed === void 0) {
1916
+ isFixed = false;
1917
+ }
1918
+
1919
+ var isOffsetParentAnElement = isHTMLElement(offsetParent);
1920
+ var offsetParentIsScaled = isHTMLElement(offsetParent) && isElementScaled(offsetParent);
1921
+ var documentElement = getDocumentElement(offsetParent);
1922
+ var rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled);
1923
+ var scroll = {
1924
+ scrollLeft: 0,
1925
+ scrollTop: 0
1926
+ };
1927
+ var offsets = {
1928
+ x: 0,
1929
+ y: 0
1930
+ };
1931
+
1932
+ if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
1933
+ if (getNodeName(offsetParent) !== 'body' || // https://github.com/popperjs/popper-core/issues/1078
1934
+ isScrollParent(documentElement)) {
1935
+ scroll = getNodeScroll(offsetParent);
1936
+ }
1937
+
1938
+ if (isHTMLElement(offsetParent)) {
1939
+ offsets = getBoundingClientRect(offsetParent, true);
1940
+ offsets.x += offsetParent.clientLeft;
1941
+ offsets.y += offsetParent.clientTop;
1942
+ } else if (documentElement) {
1943
+ offsets.x = getWindowScrollBarX(documentElement);
1944
+ }
1945
+ }
1946
+
1947
+ return {
1948
+ x: rect.left + scroll.scrollLeft - offsets.x,
1949
+ y: rect.top + scroll.scrollTop - offsets.y,
1950
+ width: rect.width,
1951
+ height: rect.height
1952
+ };
1953
+ }
1954
+
1955
+ function order(modifiers) {
1956
+ var map = new Map();
1957
+ var visited = new Set();
1958
+ var result = [];
1959
+ modifiers.forEach(function (modifier) {
1960
+ map.set(modifier.name, modifier);
1961
+ }); // On visiting object, check for its dependencies and visit them recursively
1962
+
1963
+ function sort(modifier) {
1964
+ visited.add(modifier.name);
1965
+ var requires = [].concat(modifier.requires || [], modifier.requiresIfExists || []);
1966
+ requires.forEach(function (dep) {
1967
+ if (!visited.has(dep)) {
1968
+ var depModifier = map.get(dep);
1969
+
1970
+ if (depModifier) {
1971
+ sort(depModifier);
1972
+ }
1973
+ }
1974
+ });
1975
+ result.push(modifier);
1976
+ }
1977
+
1978
+ modifiers.forEach(function (modifier) {
1979
+ if (!visited.has(modifier.name)) {
1980
+ // check for visited object
1981
+ sort(modifier);
1982
+ }
1983
+ });
1984
+ return result;
1985
+ }
1986
+
1987
+ function orderModifiers(modifiers) {
1988
+ // order based on dependencies
1989
+ var orderedModifiers = order(modifiers); // order based on phase
1990
+
1991
+ return modifierPhases.reduce(function (acc, phase) {
1992
+ return acc.concat(orderedModifiers.filter(function (modifier) {
1993
+ return modifier.phase === phase;
1994
+ }));
1995
+ }, []);
1996
+ }
1997
+
1998
+ function debounce(fn) {
1999
+ var pending;
2000
+ return function () {
2001
+ if (!pending) {
2002
+ pending = new Promise(function (resolve) {
2003
+ Promise.resolve().then(function () {
2004
+ pending = undefined;
2005
+ resolve(fn());
2006
+ });
2007
+ });
2008
+ }
2009
+
2010
+ return pending;
2011
+ };
2012
+ }
2013
+
2014
+ function mergeByName(modifiers) {
2015
+ var merged = modifiers.reduce(function (merged, current) {
2016
+ var existing = merged[current.name];
2017
+ merged[current.name] = existing ? Object.assign({}, existing, current, {
2018
+ options: Object.assign({}, existing.options, current.options),
2019
+ data: Object.assign({}, existing.data, current.data)
2020
+ }) : current;
2021
+ return merged;
2022
+ }, {}); // IE11 does not support Object.values
2023
+
2024
+ return Object.keys(merged).map(function (key) {
2025
+ return merged[key];
2026
+ });
2027
+ }
2028
+
2029
+ var DEFAULT_OPTIONS = {
2030
+ placement: 'bottom',
2031
+ modifiers: [],
2032
+ strategy: 'absolute'
2033
+ };
2034
+
2035
+ function areValidElements() {
2036
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
2037
+ args[_key] = arguments[_key];
2038
+ }
2039
+
2040
+ return !args.some(function (element) {
2041
+ return !(element && typeof element.getBoundingClientRect === 'function');
2042
+ });
2043
+ }
2044
+
2045
+ function popperGenerator(generatorOptions) {
2046
+ if (generatorOptions === void 0) {
2047
+ generatorOptions = {};
2048
+ }
2049
+
2050
+ var _generatorOptions = generatorOptions,
2051
+ _generatorOptions$def = _generatorOptions.defaultModifiers,
2052
+ defaultModifiers = _generatorOptions$def === void 0 ? [] : _generatorOptions$def,
2053
+ _generatorOptions$def2 = _generatorOptions.defaultOptions,
2054
+ defaultOptions = _generatorOptions$def2 === void 0 ? DEFAULT_OPTIONS : _generatorOptions$def2;
2055
+ return function createPopper(reference, popper, options) {
2056
+ if (options === void 0) {
2057
+ options = defaultOptions;
2058
+ }
2059
+
2060
+ var state = {
2061
+ placement: 'bottom',
2062
+ orderedModifiers: [],
2063
+ options: Object.assign({}, DEFAULT_OPTIONS, defaultOptions),
2064
+ modifiersData: {},
2065
+ elements: {
2066
+ reference: reference,
2067
+ popper: popper
2068
+ },
2069
+ attributes: {},
2070
+ styles: {}
2071
+ };
2072
+ var effectCleanupFns = [];
2073
+ var isDestroyed = false;
2074
+ var instance = {
2075
+ state: state,
2076
+ setOptions: function setOptions(options) {
2077
+ cleanupModifierEffects();
2078
+ state.options = Object.assign({}, defaultOptions, state.options, options);
2079
+ state.scrollParents = {
2080
+ reference: isElement(reference) ? listScrollParents(reference) : reference.contextElement ? listScrollParents(reference.contextElement) : [],
2081
+ popper: listScrollParents(popper)
2082
+ }; // Orders the modifiers based on their dependencies and `phase`
2083
+ // properties
2084
+
2085
+ var orderedModifiers = orderModifiers(mergeByName([].concat(defaultModifiers, state.options.modifiers))); // Strip out disabled modifiers
2086
+
2087
+ state.orderedModifiers = orderedModifiers.filter(function (m) {
2088
+ return m.enabled;
2089
+ }); // Validate the provided modifiers so that the consumer will get warned
2090
+
2091
+ runModifierEffects();
2092
+ return instance.update();
2093
+ },
2094
+ // Sync update – it will always be executed, even if not necessary. This
2095
+ // is useful for low frequency updates where sync behavior simplifies the
2096
+ // logic.
2097
+ // For high frequency updates (e.g. `resize` and `scroll` events), always
2098
+ // prefer the async Popper#update method
2099
+ forceUpdate: function forceUpdate() {
2100
+ if (isDestroyed) {
2101
+ return;
2102
+ }
2103
+
2104
+ var _state$elements = state.elements,
2105
+ reference = _state$elements.reference,
2106
+ popper = _state$elements.popper; // Don't proceed if `reference` or `popper` are not valid elements
2107
+ // anymore
2108
+
2109
+ if (!areValidElements(reference, popper)) {
2110
+
2111
+ return;
2112
+ } // Store the reference and popper rects to be read by modifiers
2113
+
2114
+
2115
+ state.rects = {
2116
+ reference: getCompositeRect(reference, getOffsetParent(popper), state.options.strategy === 'fixed'),
2117
+ popper: getLayoutRect(popper)
2118
+ }; // Modifiers have the ability to reset the current update cycle. The
2119
+ // most common use case for this is the `flip` modifier changing the
2120
+ // placement, which then needs to re-run all the modifiers, because the
2121
+ // logic was previously ran for the previous placement and is therefore
2122
+ // stale/incorrect
2123
+
2124
+ state.reset = false;
2125
+ state.placement = state.options.placement; // On each update cycle, the `modifiersData` property for each modifier
2126
+ // is filled with the initial data specified by the modifier. This means
2127
+ // it doesn't persist and is fresh on each update.
2128
+ // To ensure persistent data, use `${name}#persistent`
2129
+
2130
+ state.orderedModifiers.forEach(function (modifier) {
2131
+ return state.modifiersData[modifier.name] = Object.assign({}, modifier.data);
2132
+ });
2133
+
2134
+ for (var index = 0; index < state.orderedModifiers.length; index++) {
2135
+
2136
+ if (state.reset === true) {
2137
+ state.reset = false;
2138
+ index = -1;
2139
+ continue;
2140
+ }
2141
+
2142
+ var _state$orderedModifie = state.orderedModifiers[index],
2143
+ fn = _state$orderedModifie.fn,
2144
+ _state$orderedModifie2 = _state$orderedModifie.options,
2145
+ _options = _state$orderedModifie2 === void 0 ? {} : _state$orderedModifie2,
2146
+ name = _state$orderedModifie.name;
2147
+
2148
+ if (typeof fn === 'function') {
2149
+ state = fn({
2150
+ state: state,
2151
+ options: _options,
2152
+ name: name,
2153
+ instance: instance
2154
+ }) || state;
2155
+ }
2156
+ }
2157
+ },
2158
+ // Async and optimistically optimized update – it will not be executed if
2159
+ // not necessary (debounced to run at most once-per-tick)
2160
+ update: debounce(function () {
2161
+ return new Promise(function (resolve) {
2162
+ instance.forceUpdate();
2163
+ resolve(state);
2164
+ });
2165
+ }),
2166
+ destroy: function destroy() {
2167
+ cleanupModifierEffects();
2168
+ isDestroyed = true;
2169
+ }
2170
+ };
2171
+
2172
+ if (!areValidElements(reference, popper)) {
2173
+
2174
+ return instance;
2175
+ }
2176
+
2177
+ instance.setOptions(options).then(function (state) {
2178
+ if (!isDestroyed && options.onFirstUpdate) {
2179
+ options.onFirstUpdate(state);
2180
+ }
2181
+ }); // Modifiers have the ability to execute arbitrary code before the first
2182
+ // update cycle runs. They will be executed in the same order as the update
2183
+ // cycle. This is useful when a modifier adds some persistent data that
2184
+ // other modifiers need to use, but the modifier is run after the dependent
2185
+ // one.
2186
+
2187
+ function runModifierEffects() {
2188
+ state.orderedModifiers.forEach(function (_ref3) {
2189
+ var name = _ref3.name,
2190
+ _ref3$options = _ref3.options,
2191
+ options = _ref3$options === void 0 ? {} : _ref3$options,
2192
+ effect = _ref3.effect;
2193
+
2194
+ if (typeof effect === 'function') {
2195
+ var cleanupFn = effect({
2196
+ state: state,
2197
+ name: name,
2198
+ instance: instance,
2199
+ options: options
2200
+ });
2201
+
2202
+ var noopFn = function noopFn() {};
2203
+
2204
+ effectCleanupFns.push(cleanupFn || noopFn);
2205
+ }
2206
+ });
2207
+ }
2208
+
2209
+ function cleanupModifierEffects() {
2210
+ effectCleanupFns.forEach(function (fn) {
2211
+ return fn();
2212
+ });
2213
+ effectCleanupFns = [];
2214
+ }
2215
+
2216
+ return instance;
2217
+ };
2218
+ }
2219
+
2220
+ var defaultModifiers = [eventListeners, popperOffsets$1, computeStyles$1, applyStyles$1, offset$1, flip$1, preventOverflow$1, arrow$1, hide$1];
2221
+ var createPopper = /*#__PURE__*/popperGenerator({
2222
+ defaultModifiers: defaultModifiers
2223
+ }); // eslint-disable-next-line import/no-unused-modules
2224
+
2225
+ const portalCss = ":host(limel-portal){display:block;position:absolute;top:0;bottom:0;width:100%;pointer-events:none}:host([hidden]){display:none}";
2226
+
2227
+ let Portal = class {
2228
+ constructor(hostRef) {
2229
+ registerInstance(this, hostRef);
2230
+ /**
2231
+ * Decides which direction the portal content should open.
2232
+ */
2233
+ this.openDirection = 'right';
2234
+ /**
2235
+ * Position of the content.
2236
+ */
2237
+ this.position = 'absolute';
2238
+ /**
2239
+ * Dynamic styling that can be applied to the container holding the content.
2240
+ */
2241
+ this.containerStyle = {};
2242
+ /**
2243
+ * Parent element to move the content to.
2244
+ */
2245
+ this.parent = document.body;
2246
+ /**
2247
+ * Used to make a dropdown have the same width as the trigger, for example
2248
+ * in `limel-picker`.
2249
+ */
2250
+ this.inheritParentWidth = false;
2251
+ /**
2252
+ * True if the content within the portal should be visible.
2253
+ *
2254
+ * If the content is from within a dialog for instance, this can be set to
2255
+ * true from false when the dialog opens to position the content properly.
2256
+ */
2257
+ this.visible = false;
2258
+ this.loaded = false;
2259
+ this.parents = new WeakMap();
2260
+ }
2261
+ onVisible() {
2262
+ if (!this.visible) {
2263
+ this.hideContainer();
2264
+ this.styleContainer();
2265
+ this.destroyPopper();
2266
+ return;
2267
+ }
2268
+ this.styleContainer();
2269
+ this.createPopper();
2270
+ requestAnimationFrame(() => {
2271
+ this.showContainer();
2272
+ });
2273
+ }
2274
+ disconnectedCallback() {
2275
+ this.removeContainer();
2276
+ this.destroyPopper();
2277
+ if (this.observer) {
2278
+ this.observer.unobserve(this.container);
2279
+ }
2280
+ }
2281
+ connectedCallback() {
2282
+ if (!this.loaded) {
2283
+ return;
2284
+ }
2285
+ this.createContainer();
2286
+ this.hideContainer();
2287
+ this.attachContainer();
2288
+ this.styleContainer();
2289
+ if (this.visible) {
2290
+ this.createPopper();
2291
+ this.showContainer();
2292
+ }
2293
+ if ('ResizeObserver' in window) {
2294
+ const observer = new ResizeObserver(() => {
2295
+ if (this.popperInstance) {
2296
+ this.styleContainer();
2297
+ this.popperInstance.update();
2298
+ }
2299
+ });
2300
+ observer.observe(this.container);
2301
+ }
2302
+ }
2303
+ componentDidLoad() {
2304
+ this.loaded = true;
2305
+ this.connectedCallback();
2306
+ }
2307
+ render() {
2308
+ return h("slot", null);
2309
+ }
2310
+ createContainer() {
2311
+ const slot = this.host.shadowRoot.querySelector('slot');
2312
+ const content = (slot.assignedElements && slot.assignedElements()) || [];
2313
+ this.container = document.createElement('div');
2314
+ this.container.setAttribute('id', this.containerId);
2315
+ this.container.setAttribute('class', 'limel-portal--container');
2316
+ Object.assign(this.container, {
2317
+ portalSource: this.host,
2318
+ });
2319
+ content.forEach((element) => {
2320
+ this.parents.set(element, element.parentElement);
2321
+ this.container.appendChild(element);
2322
+ });
2323
+ }
2324
+ attachContainer() {
2325
+ this.parent.appendChild(this.container);
2326
+ }
2327
+ removeContainer() {
2328
+ if (!this.container) {
2329
+ return;
2330
+ }
2331
+ Array.from(this.container.children).forEach((element) => {
2332
+ const parent = this.parents.get(element);
2333
+ if (!parent) {
2334
+ return;
2335
+ }
2336
+ parent.appendChild(element);
2337
+ });
2338
+ this.hideContainer();
2339
+ this.container.parentElement.removeChild(this.container);
2340
+ }
2341
+ hideContainer() {
2342
+ this.container.style.opacity = '0';
2343
+ }
2344
+ showContainer() {
2345
+ this.container.style.opacity = '1';
2346
+ }
2347
+ styleContainer() {
2348
+ const hostWidth = this.host.getBoundingClientRect().width;
2349
+ if (this.visible) {
2350
+ this.container.style.display = 'block';
2351
+ }
2352
+ else {
2353
+ this.container.style.display = 'none';
2354
+ }
2355
+ if (this.inheritParentWidth) {
2356
+ const containerWidth = this.getContentWidth(this.container);
2357
+ let width = containerWidth;
2358
+ if (hostWidth > 0) {
2359
+ width = hostWidth;
2360
+ }
2361
+ this.container.style.width = `${width}px`;
2362
+ }
2363
+ this.ensureContainerFitsInViewPort();
2364
+ Object.keys(this.containerStyle).forEach((property) => {
2365
+ this.container.style[property] = this.containerStyle[property];
2366
+ });
2367
+ }
2368
+ getContentWidth(element) {
2369
+ if (!element) {
2370
+ return null;
2371
+ }
2372
+ const width = element.getBoundingClientRect().width;
2373
+ if (width !== 0) {
2374
+ return width;
2375
+ }
2376
+ const elementContent = element.querySelector('*');
2377
+ return this.getContentWidth(elementContent);
2378
+ }
2379
+ createPopper() {
2380
+ const config = this.createPopperConfig();
2381
+ this.popperInstance = createPopper(this.host, this.container, config);
2382
+ }
2383
+ destroyPopper() {
2384
+ var _a;
2385
+ (_a = this.popperInstance) === null || _a === void 0 ? void 0 : _a.destroy();
2386
+ this.popperInstance = null;
2387
+ }
2388
+ createPopperConfig() {
2389
+ let placement = 'bottom-start';
2390
+ let flipPlacement = 'top-start';
2391
+ if (this.openDirection === 'left') {
2392
+ placement = 'bottom-end';
2393
+ flipPlacement = 'top-end';
2394
+ }
2395
+ return {
2396
+ strategy: this.position,
2397
+ placement: placement,
2398
+ modifiers: [
2399
+ {
2400
+ name: 'flip',
2401
+ options: {
2402
+ fallbackPlacements: [flipPlacement],
2403
+ },
2404
+ },
2405
+ ],
2406
+ };
2407
+ }
2408
+ ensureContainerFitsInViewPort() {
2409
+ const viewHeight = Math.max(document.documentElement.clientHeight || 0, window.innerHeight || 0);
2410
+ const { top, bottom } = this.host.getBoundingClientRect();
2411
+ const spaceAboveTopOfSurface = Math.max(top, 0);
2412
+ const spaceBelowTopOfSurface = Math.max(viewHeight - bottom, 0);
2413
+ const extraCosmeticSpace = 16;
2414
+ const maxHeight = Math.max(spaceAboveTopOfSurface, spaceBelowTopOfSurface) -
2415
+ extraCosmeticSpace;
2416
+ this.container.style.maxHeight = `${maxHeight}px`;
2417
+ }
2418
+ get host() { return getElement(this); }
2419
+ static get watchers() { return {
2420
+ "visible": ["onVisible"]
2421
+ }; }
2422
+ };
2423
+ Portal.style = portalCss;
2424
+
2425
+ export { List as limel_list, MenuSurface as limel_menu_surface, Portal as limel_portal };