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