@revolist/revogrid 3.2.0 → 3.2.4

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 (210) hide show
  1. package/dist/revo-grid/_baseIteratee-af30b221.js +2070 -0
  2. package/dist/{collection/global/global.js → revo-grid/app-globals-7e6866ba.js} +11 -2
  3. package/dist/{collection/components/data/columnService.js → revo-grid/columnService-91e552ba.js} +11 -6
  4. package/dist/revo-grid/consts-ef824e6f.js +46 -0
  5. package/dist/revo-grid/css-shim-5387c708.js +7 -0
  6. package/dist/revo-grid/data.store-3263fff9.js +557 -0
  7. package/dist/revo-grid/debounce-aaa4b4da.js +217 -0
  8. package/dist/revo-grid/dimension.helpers-a7944fc4.js +340 -0
  9. package/dist/{collection/plugins/dispatcher.js → revo-grid/dispatcher-891af82e.js} +7 -2
  10. package/dist/{cjs/dom-c8b6d1a7.js → revo-grid/dom-21bd1807.js} +4 -3
  11. package/dist/revo-grid/each-0378e5a3.js +180 -0
  12. package/dist/{collection/plugins/filter/filter.button.js → revo-grid/filter.button-74c1cd9c.js} +16 -10
  13. package/dist/revo-grid/identity-c8c7d3d8.js +26 -0
  14. package/dist/revo-grid/index-8a604c17.js +3067 -0
  15. package/dist/revo-grid/index.esm.js +3 -0
  16. package/dist/revo-grid/isString-a51066b5.js +34 -0
  17. package/dist/revo-grid/isSymbol-e4b5dafe.js +247 -0
  18. package/dist/revo-grid/keyCodes.utils-bd06e3ba.js +299 -0
  19. package/dist/revo-grid/keys-70b7c240.js +561 -0
  20. package/dist/{collection/services/localScrollService.js → revo-grid/localScrollService-e9b73323.js} +8 -2
  21. package/dist/{esm/revo-grid_11.entry.js → revo-grid/lodash-a0ab4cdd.js} +13773 -24835
  22. package/dist/{cjs/resize-observer-8dc80084.js → revo-grid/resize-observer-00c48d78.js} +25 -14
  23. package/dist/revo-grid/revo-grid.entry.js +3484 -0
  24. package/dist/revo-grid/revo-grid.esm.js +133 -1
  25. package/dist/revo-grid/revogr-clipboard.entry.js +52 -1
  26. package/dist/revo-grid/revogr-data.entry.js +152 -0
  27. package/dist/revo-grid/revogr-edit.entry.js +105 -0
  28. package/dist/revo-grid/revogr-filter-panel.entry.js +277 -1
  29. package/dist/revo-grid/revogr-focus.entry.js +41 -0
  30. package/dist/revo-grid/revogr-header.entry.js +560 -0
  31. package/dist/revo-grid/revogr-order-editor.entry.js +175 -0
  32. package/dist/revo-grid/revogr-overlay-selection.entry.js +711 -0
  33. package/dist/revo-grid/revogr-row-headers.entry.js +73 -0
  34. package/dist/revo-grid/revogr-scroll-virtual.entry.js +114 -0
  35. package/dist/revo-grid/revogr-temp-range.entry.js +73 -0
  36. package/dist/revo-grid/revogr-viewport-scroll.entry.js +340 -0
  37. package/dist/revo-grid/selection.store.connector-2b613fd0.js +503 -0
  38. package/dist/{collection/components/overlay/selection.utils.js → revo-grid/selection.utils-a9932db6.js} +15 -9
  39. package/dist/revo-grid/shadow-css-602a09db.js +390 -0
  40. package/dist/{collection/themeManager/themeService.js → revo-grid/themeService-ddaaa364.js} +26 -6
  41. package/dist/revo-grid/toInteger-9e6cbfd2.js +107 -0
  42. package/dist/revo-grid/toNumber-913b0b72.js +105 -0
  43. package/dist/{collection/utils/utils.js → revo-grid/utils-2c3b3857.js} +13 -8
  44. package/dist/revo-grid/viewport.helpers-49d3f031.js +16 -0
  45. package/dist/{collection/store/viewPort/viewport.helpers.js → revo-grid/viewport.store-ffaaab6d.js} +135 -9
  46. package/dist/types/components.d.ts +100 -56
  47. package/dist/types/stencil-public-runtime.d.ts +189 -186
  48. package/package.json +22 -20
  49. package/custom-element/index.js +0 -29210
  50. package/custom-element/resize-observer.js +0 -489
  51. package/dist/cjs/css-shim-e33df79c.js +0 -6
  52. package/dist/cjs/debounce-e9b040d9.js +0 -575
  53. package/dist/cjs/index-d3f67f2e.js +0 -1729
  54. package/dist/cjs/index.cjs.js +0 -2
  55. package/dist/cjs/loader.cjs.js +0 -35
  56. package/dist/cjs/revo-grid.cjs.js +0 -73
  57. package/dist/cjs/revo-grid_11.cjs.entry.js +0 -28294
  58. package/dist/cjs/revogr-clipboard.cjs.entry.js +0 -53
  59. package/dist/cjs/revogr-filter-panel.cjs.entry.js +0 -275
  60. package/dist/collection/collection-manifest.json +0 -25
  61. package/dist/collection/components/button/button.js +0 -4
  62. package/dist/collection/components/clipboard/revogr-clipboard.js +0 -121
  63. package/dist/collection/components/data/cellRenderer.js +0 -24
  64. package/dist/collection/components/data/revogr-data-style.css +0 -135
  65. package/dist/collection/components/data/revogr-data.js +0 -322
  66. package/dist/collection/components/data/rowRenderer.js +0 -6
  67. package/dist/collection/components/header/headerCellRenderer.js +0 -26
  68. package/dist/collection/components/header/headerRenderer.js +0 -45
  69. package/dist/collection/components/header/revogr-header-style.css +0 -198
  70. package/dist/collection/components/header/revogr-header.js +0 -297
  71. package/dist/collection/components/order/orderRenderer.js +0 -50
  72. package/dist/collection/components/order/revogr-order-editor.js +0 -358
  73. package/dist/collection/components/order/rowOrderService.js +0 -68
  74. package/dist/collection/components/overlay/autofill.service.js +0 -182
  75. package/dist/collection/components/overlay/clipboard.service.js +0 -39
  76. package/dist/collection/components/overlay/editors/edit.utils.js +0 -5
  77. package/dist/collection/components/overlay/editors/text.js +0 -35
  78. package/dist/collection/components/overlay/keyboard.service.js +0 -128
  79. package/dist/collection/components/overlay/revogr-edit-style.css +0 -86
  80. package/dist/collection/components/overlay/revogr-edit.js +0 -159
  81. package/dist/collection/components/overlay/revogr-overlay-selection.js +0 -726
  82. package/dist/collection/components/overlay/revogr-overlay-style.css +0 -98
  83. package/dist/collection/components/revo-grid/revo-grid-style.css +0 -544
  84. package/dist/collection/components/revo-grid/revo-grid.js +0 -2224
  85. package/dist/collection/components/revo-grid/viewport.helpers.js +0 -11
  86. package/dist/collection/components/revo-grid/viewport.interfaces.js +0 -1
  87. package/dist/collection/components/revo-grid/viewport.js +0 -18
  88. package/dist/collection/components/revo-grid/viewport.resize.service.js +0 -21
  89. package/dist/collection/components/revo-grid/viewport.scrolling.service.js +0 -60
  90. package/dist/collection/components/revo-grid/viewport.section.js +0 -28
  91. package/dist/collection/components/revo-grid/viewport.service.js +0 -209
  92. package/dist/collection/components/rowHeaders/revogr-row-headers.js +0 -210
  93. package/dist/collection/components/rowHeaders/row-header-render.js +0 -1
  94. package/dist/collection/components/scroll/revogr-viewport-scroll-style.css +0 -137
  95. package/dist/collection/components/scroll/revogr-viewport-scroll.js +0 -399
  96. package/dist/collection/components/scrollable/revogr-scroll-style.css +0 -104
  97. package/dist/collection/components/scrollable/revogr-scroll-virtual.js +0 -253
  98. package/dist/collection/components/selection-focus/revogr-focus-style.css +0 -77
  99. package/dist/collection/components/selection-focus/revogr-focus.js +0 -103
  100. package/dist/collection/components/selection-temp-range/revogr-temp-range-style.css +0 -98
  101. package/dist/collection/components/selection-temp-range/revogr-temp-range.js +0 -138
  102. package/dist/collection/index.js +0 -1
  103. package/dist/collection/plugins/autoSizeColumn.js +0 -230
  104. package/dist/collection/plugins/basePlugin.js +0 -27
  105. package/dist/collection/plugins/export/csv.js +0 -68
  106. package/dist/collection/plugins/export/export.plugin.js +0 -165
  107. package/dist/collection/plugins/export/types.js +0 -1
  108. package/dist/collection/plugins/filter/conditions/equal.js +0 -17
  109. package/dist/collection/plugins/filter/conditions/number/greaterThan.js +0 -10
  110. package/dist/collection/plugins/filter/conditions/number/greaterThanOrEqual.js +0 -7
  111. package/dist/collection/plugins/filter/conditions/number/lessThan.js +0 -12
  112. package/dist/collection/plugins/filter/conditions/number/lessThanOrEqual.js +0 -7
  113. package/dist/collection/plugins/filter/conditions/set.js +0 -3
  114. package/dist/collection/plugins/filter/conditions/string/beginswith.js +0 -17
  115. package/dist/collection/plugins/filter/conditions/string/contains.js +0 -18
  116. package/dist/collection/plugins/filter/filter.plugin.js +0 -256
  117. package/dist/collection/plugins/filter/filter.pop.js +0 -485
  118. package/dist/collection/plugins/filter/filter.service.js +0 -44
  119. package/dist/collection/plugins/filter/filter.style.css +0 -239
  120. package/dist/collection/plugins/filter/filter.types.js +0 -1
  121. package/dist/collection/plugins/groupingColumn/columnGroupsRenderer.js +0 -30
  122. package/dist/collection/plugins/groupingColumn/grouping.col.plugin.js +0 -36
  123. package/dist/collection/plugins/groupingColumn/headerGroupRenderer.js +0 -21
  124. package/dist/collection/plugins/groupingRow/grouping.const.js +0 -10
  125. package/dist/collection/plugins/groupingRow/grouping.row.expand.service.js +0 -76
  126. package/dist/collection/plugins/groupingRow/grouping.row.plugin.js +0 -258
  127. package/dist/collection/plugins/groupingRow/grouping.row.renderer.js +0 -29
  128. package/dist/collection/plugins/groupingRow/grouping.row.types.js +0 -1
  129. package/dist/collection/plugins/groupingRow/grouping.service.js +0 -155
  130. package/dist/collection/plugins/groupingRow/grouping.trimmed.service.js +0 -57
  131. package/dist/collection/plugins/moveColumn/columnDragPlugin.js +0 -145
  132. package/dist/collection/plugins/moveColumn/columnOrderHandler.js +0 -60
  133. package/dist/collection/plugins/sorting/sorting.plugin.js +0 -181
  134. package/dist/collection/plugins/sorting/sorting.sign.js +0 -6
  135. package/dist/collection/plugins/stretchPlugin.js +0 -68
  136. package/dist/collection/plugins/trimmed/trimmed.plugin.js +0 -32
  137. package/dist/collection/services/cell.helpers.js +0 -7
  138. package/dist/collection/services/column.data.provider.js +0 -188
  139. package/dist/collection/services/data.provider.js +0 -47
  140. package/dist/collection/services/dimension.provider.js +0 -78
  141. package/dist/collection/services/resizable.directive.js +0 -250
  142. package/dist/collection/services/selection.store.connector.js +0 -213
  143. package/dist/collection/services/viewport.provider.js +0 -14
  144. package/dist/collection/store/dataSource/data.proxy.js +0 -34
  145. package/dist/collection/store/dataSource/data.store.js +0 -127
  146. package/dist/collection/store/dimension/dimension.helpers.js +0 -107
  147. package/dist/collection/store/dimension/dimension.store.js +0 -59
  148. package/dist/collection/store/selection/selection.helpers.js +0 -53
  149. package/dist/collection/store/selection/selection.store.js +0 -68
  150. package/dist/collection/store/selection/selection.store.service.js +0 -35
  151. package/dist/collection/store/storeTypes.js +0 -5
  152. package/dist/collection/store/viewPort/viewport.store.js +0 -121
  153. package/dist/collection/themeManager/theme.compact.js +0 -5
  154. package/dist/collection/themeManager/theme.default.js +0 -5
  155. package/dist/collection/themeManager/theme.material.js +0 -5
  156. package/dist/collection/utils/closestPolifill.js +0 -18
  157. package/dist/collection/utils/consts.js +0 -19
  158. package/dist/collection/utils/generateAlphabetHeader.js +0 -20
  159. package/dist/collection/utils/keyCodes.js +0 -70
  160. package/dist/collection/utils/keyCodes.utils.js +0 -64
  161. package/dist/collection/utils/platform.js +0 -5
  162. package/dist/collection/utils/resizeObserver.js +0 -6
  163. package/dist/collection/utils/store.utils.js +0 -7
  164. package/dist/collection/utilsExternal/generate-data.js +0 -132
  165. package/dist/esm/css-shim-8d75038b.js +0 -4
  166. package/dist/esm/debounce-45985ae0.js +0 -558
  167. package/dist/esm/dom-1b195079.js +0 -73
  168. package/dist/esm/index-42c84e7c.js +0 -1694
  169. package/dist/esm/index.js +0 -1
  170. package/dist/esm/loader.js +0 -31
  171. package/dist/esm/polyfills/core-js.js +0 -11
  172. package/dist/esm/polyfills/css-shim.js +0 -1
  173. package/dist/esm/polyfills/dom.js +0 -79
  174. package/dist/esm/polyfills/es5-html-element.js +0 -1
  175. package/dist/esm/polyfills/index.js +0 -34
  176. package/dist/esm/polyfills/system.js +0 -6
  177. package/dist/esm/resize-observer-56b7b34f.js +0 -489
  178. package/dist/esm/revo-grid.js +0 -71
  179. package/dist/esm/revogr-clipboard.entry.js +0 -49
  180. package/dist/esm/revogr-filter-panel.entry.js +0 -271
  181. package/dist/esm-es5/css-shim-8d75038b.js +0 -1
  182. package/dist/esm-es5/debounce-45985ae0.js +0 -1
  183. package/dist/esm-es5/dom-1b195079.js +0 -21
  184. package/dist/esm-es5/index-42c84e7c.js +0 -1
  185. package/dist/esm-es5/index.js +0 -0
  186. package/dist/esm-es5/loader.js +0 -1
  187. package/dist/esm-es5/resize-observer-56b7b34f.js +0 -1
  188. package/dist/esm-es5/revo-grid.js +0 -1
  189. package/dist/esm-es5/revo-grid_11.entry.js +0 -1
  190. package/dist/esm-es5/revogr-clipboard.entry.js +0 -1
  191. package/dist/esm-es5/revogr-filter-panel.entry.js +0 -1
  192. package/dist/index.cjs.js +0 -1
  193. package/dist/index.js +0 -1
  194. package/dist/revo-grid/css-shim-88bfb262.system.js +0 -1
  195. package/dist/revo-grid/css-shim-8d75038b.js +0 -1
  196. package/dist/revo-grid/debounce-6c911037.js +0 -1
  197. package/dist/revo-grid/debounce-a345f98e.system.js +0 -1
  198. package/dist/revo-grid/dom-1b195079.js +0 -19
  199. package/dist/revo-grid/dom-ee2dd1b3.system.js +0 -21
  200. package/dist/revo-grid/index-a15e7527.system.js +0 -1
  201. package/dist/revo-grid/index-a7f99799.js +0 -1
  202. package/dist/revo-grid/index.system.js +0 -1
  203. package/dist/revo-grid/resize-observer-56b7b34f.js +0 -1
  204. package/dist/revo-grid/resize-observer-7a7b9757.system.js +0 -1
  205. package/dist/revo-grid/revo-grid.js +0 -132
  206. package/dist/revo-grid/revo-grid.system.js +0 -1
  207. package/dist/revo-grid/revo-grid_11.entry.js +0 -1
  208. package/dist/revo-grid/revo-grid_11.system.entry.js +0 -1
  209. package/dist/revo-grid/revogr-clipboard.system.entry.js +0 -1
  210. package/dist/revo-grid/revogr-filter-panel.system.entry.js +0 -1
@@ -1,558 +0,0 @@
1
- import { h } from './index-42c84e7c.js';
2
-
3
- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
4
-
5
- function createCommonjsModule(fn, basedir, module) {
6
- return module = {
7
- path: basedir,
8
- exports: {},
9
- require: function (path, base) {
10
- return commonjsRequire();
11
- }
12
- }, fn(module, module.exports), module.exports;
13
- }
14
-
15
- function commonjsRequire () {
16
- throw new Error('Dynamic requires are not currently supported by @rollup/plugin-commonjs');
17
- }
18
-
19
- /** Detect free variable `global` from Node.js. */
20
- var freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
21
-
22
- var _freeGlobal = freeGlobal;
23
-
24
- /** Detect free variable `self`. */
25
- var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
26
-
27
- /** Used as a reference to the global object. */
28
- var root = _freeGlobal || freeSelf || Function('return this')();
29
-
30
- var _root = root;
31
-
32
- /** Built-in value references. */
33
- var Symbol = _root.Symbol;
34
-
35
- var _Symbol = Symbol;
36
-
37
- /** Used for built-in method references. */
38
- var objectProto$1 = Object.prototype;
39
-
40
- /** Used to check objects for own properties. */
41
- var hasOwnProperty = objectProto$1.hasOwnProperty;
42
-
43
- /**
44
- * Used to resolve the
45
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
46
- * of values.
47
- */
48
- var nativeObjectToString$1 = objectProto$1.toString;
49
-
50
- /** Built-in value references. */
51
- var symToStringTag$1 = _Symbol ? _Symbol.toStringTag : undefined;
52
-
53
- /**
54
- * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
55
- *
56
- * @private
57
- * @param {*} value The value to query.
58
- * @returns {string} Returns the raw `toStringTag`.
59
- */
60
- function getRawTag(value) {
61
- var isOwn = hasOwnProperty.call(value, symToStringTag$1),
62
- tag = value[symToStringTag$1];
63
-
64
- try {
65
- value[symToStringTag$1] = undefined;
66
- var unmasked = true;
67
- } catch (e) {}
68
-
69
- var result = nativeObjectToString$1.call(value);
70
- if (unmasked) {
71
- if (isOwn) {
72
- value[symToStringTag$1] = tag;
73
- } else {
74
- delete value[symToStringTag$1];
75
- }
76
- }
77
- return result;
78
- }
79
-
80
- var _getRawTag = getRawTag;
81
-
82
- /** Used for built-in method references. */
83
- var objectProto = Object.prototype;
84
-
85
- /**
86
- * Used to resolve the
87
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
88
- * of values.
89
- */
90
- var nativeObjectToString = objectProto.toString;
91
-
92
- /**
93
- * Converts `value` to a string using `Object.prototype.toString`.
94
- *
95
- * @private
96
- * @param {*} value The value to convert.
97
- * @returns {string} Returns the converted string.
98
- */
99
- function objectToString(value) {
100
- return nativeObjectToString.call(value);
101
- }
102
-
103
- var _objectToString = objectToString;
104
-
105
- /** `Object#toString` result references. */
106
- var nullTag = '[object Null]',
107
- undefinedTag = '[object Undefined]';
108
-
109
- /** Built-in value references. */
110
- var symToStringTag = _Symbol ? _Symbol.toStringTag : undefined;
111
-
112
- /**
113
- * The base implementation of `getTag` without fallbacks for buggy environments.
114
- *
115
- * @private
116
- * @param {*} value The value to query.
117
- * @returns {string} Returns the `toStringTag`.
118
- */
119
- function baseGetTag(value) {
120
- if (value == null) {
121
- return value === undefined ? undefinedTag : nullTag;
122
- }
123
- return (symToStringTag && symToStringTag in Object(value))
124
- ? _getRawTag(value)
125
- : _objectToString(value);
126
- }
127
-
128
- var _baseGetTag = baseGetTag;
129
-
130
- /**
131
- * Checks if `value` is object-like. A value is object-like if it's not `null`
132
- * and has a `typeof` result of "object".
133
- *
134
- * @static
135
- * @memberOf _
136
- * @since 4.0.0
137
- * @category Lang
138
- * @param {*} value The value to check.
139
- * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
140
- * @example
141
- *
142
- * _.isObjectLike({});
143
- * // => true
144
- *
145
- * _.isObjectLike([1, 2, 3]);
146
- * // => true
147
- *
148
- * _.isObjectLike(_.noop);
149
- * // => false
150
- *
151
- * _.isObjectLike(null);
152
- * // => false
153
- */
154
- function isObjectLike(value) {
155
- return value != null && typeof value == 'object';
156
- }
157
-
158
- var isObjectLike_1 = isObjectLike;
159
-
160
- /**
161
- * Checks if `value` is the
162
- * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
163
- * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
164
- *
165
- * @static
166
- * @memberOf _
167
- * @since 0.1.0
168
- * @category Lang
169
- * @param {*} value The value to check.
170
- * @returns {boolean} Returns `true` if `value` is an object, else `false`.
171
- * @example
172
- *
173
- * _.isObject({});
174
- * // => true
175
- *
176
- * _.isObject([1, 2, 3]);
177
- * // => true
178
- *
179
- * _.isObject(_.noop);
180
- * // => true
181
- *
182
- * _.isObject(null);
183
- * // => false
184
- */
185
- function isObject(value) {
186
- var type = typeof value;
187
- return value != null && (type == 'object' || type == 'function');
188
- }
189
-
190
- var isObject_1 = isObject;
191
-
192
- /** `Object#toString` result references. */
193
- var symbolTag = '[object Symbol]';
194
-
195
- /**
196
- * Checks if `value` is classified as a `Symbol` primitive or object.
197
- *
198
- * @static
199
- * @memberOf _
200
- * @since 4.0.0
201
- * @category Lang
202
- * @param {*} value The value to check.
203
- * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
204
- * @example
205
- *
206
- * _.isSymbol(Symbol.iterator);
207
- * // => true
208
- *
209
- * _.isSymbol('abc');
210
- * // => false
211
- */
212
- function isSymbol(value) {
213
- return typeof value == 'symbol' ||
214
- (isObjectLike_1(value) && _baseGetTag(value) == symbolTag);
215
- }
216
-
217
- var isSymbol_1 = isSymbol;
218
-
219
- /** Used to match a single whitespace character. */
220
- var reWhitespace = /\s/;
221
-
222
- /**
223
- * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace
224
- * character of `string`.
225
- *
226
- * @private
227
- * @param {string} string The string to inspect.
228
- * @returns {number} Returns the index of the last non-whitespace character.
229
- */
230
- function trimmedEndIndex(string) {
231
- var index = string.length;
232
-
233
- while (index-- && reWhitespace.test(string.charAt(index))) {}
234
- return index;
235
- }
236
-
237
- var _trimmedEndIndex = trimmedEndIndex;
238
-
239
- /** Used to match leading whitespace. */
240
- var reTrimStart = /^\s+/;
241
-
242
- /**
243
- * The base implementation of `_.trim`.
244
- *
245
- * @private
246
- * @param {string} string The string to trim.
247
- * @returns {string} Returns the trimmed string.
248
- */
249
- function baseTrim(string) {
250
- return string
251
- ? string.slice(0, _trimmedEndIndex(string) + 1).replace(reTrimStart, '')
252
- : string;
253
- }
254
-
255
- var _baseTrim = baseTrim;
256
-
257
- /** Used as references for various `Number` constants. */
258
- var NAN = 0 / 0;
259
-
260
- /** Used to detect bad signed hexadecimal string values. */
261
- var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
262
-
263
- /** Used to detect binary string values. */
264
- var reIsBinary = /^0b[01]+$/i;
265
-
266
- /** Used to detect octal string values. */
267
- var reIsOctal = /^0o[0-7]+$/i;
268
-
269
- /** Built-in method references without a dependency on `root`. */
270
- var freeParseInt = parseInt;
271
-
272
- /**
273
- * Converts `value` to a number.
274
- *
275
- * @static
276
- * @memberOf _
277
- * @since 4.0.0
278
- * @category Lang
279
- * @param {*} value The value to process.
280
- * @returns {number} Returns the number.
281
- * @example
282
- *
283
- * _.toNumber(3.2);
284
- * // => 3.2
285
- *
286
- * _.toNumber(Number.MIN_VALUE);
287
- * // => 5e-324
288
- *
289
- * _.toNumber(Infinity);
290
- * // => Infinity
291
- *
292
- * _.toNumber('3.2');
293
- * // => 3.2
294
- */
295
- function toNumber(value) {
296
- if (typeof value == 'number') {
297
- return value;
298
- }
299
- if (isSymbol_1(value)) {
300
- return NAN;
301
- }
302
- if (isObject_1(value)) {
303
- var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
304
- value = isObject_1(other) ? (other + '') : other;
305
- }
306
- if (typeof value != 'string') {
307
- return value === 0 ? value : +value;
308
- }
309
- value = _baseTrim(value);
310
- var isBinary = reIsBinary.test(value);
311
- return (isBinary || reIsOctal.test(value))
312
- ? freeParseInt(value.slice(2), isBinary ? 2 : 8)
313
- : (reIsBadHex.test(value) ? NAN : +value);
314
- }
315
-
316
- var toNumber_1 = toNumber;
317
-
318
- const FILTER_BUTTON_CLASS = 'rv-filter';
319
- const FILTER_BUTTON_ACTIVE = 'active';
320
- const FILTER_PROP = 'hasFilter';
321
- const AND_OR_BUTTON = 'and-or-button';
322
- const TRASH_BUTTON = 'trash-button';
323
- const FilterButton = ({ column }) => {
324
- return (h("span", null,
325
- h("button", { class: {
326
- [FILTER_BUTTON_CLASS]: true,
327
- [FILTER_BUTTON_ACTIVE]: column && !!column[FILTER_PROP],
328
- } },
329
- h("svg", { class: "filter-img", viewBox: "0 0 64 64" },
330
- h("g", { stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd" },
331
- h("path", { d: "M43,48 L43,56 L21,56 L21,48 L43,48 Z M53,28 L53,36 L12,36 L12,28 L53,28 Z M64,8 L64,16 L0,16 L0,8 L64,8 Z", fill: "currentColor" }))))));
332
- };
333
- const TrashButton = () => {
334
- return (h("div", { class: { [TRASH_BUTTON]: true } },
335
- h("svg", { class: "trash-img", viewBox: "0 0 24 24" },
336
- h("path", { fill: "currentColor", d: "M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M7,6H17V19H7V6M9,8V17H11V8H9M13,8V17H15V8H13Z" }))));
337
- };
338
- const AndOrButton = ({ isAnd }) => {
339
- return h("button", { class: { [AND_OR_BUTTON]: true, 'light revo-button': true } }, isAnd ? 'and' : 'or');
340
- };
341
- function isFilterBtn(e) {
342
- if (e.classList.contains(FILTER_BUTTON_CLASS)) {
343
- return true;
344
- }
345
- return e === null || e === void 0 ? void 0 : e.closest(`.${FILTER_BUTTON_CLASS}`);
346
- }
347
-
348
- /**
349
- * Gets the timestamp of the number of milliseconds that have elapsed since
350
- * the Unix epoch (1 January 1970 00:00:00 UTC).
351
- *
352
- * @static
353
- * @memberOf _
354
- * @since 2.4.0
355
- * @category Date
356
- * @returns {number} Returns the timestamp.
357
- * @example
358
- *
359
- * _.defer(function(stamp) {
360
- * console.log(_.now() - stamp);
361
- * }, _.now());
362
- * // => Logs the number of milliseconds it took for the deferred invocation.
363
- */
364
- var now = function() {
365
- return _root.Date.now();
366
- };
367
-
368
- var now_1 = now;
369
-
370
- /** Error message constants. */
371
- var FUNC_ERROR_TEXT = 'Expected a function';
372
-
373
- /* Built-in method references for those with the same name as other `lodash` methods. */
374
- var nativeMax = Math.max,
375
- nativeMin = Math.min;
376
-
377
- /**
378
- * Creates a debounced function that delays invoking `func` until after `wait`
379
- * milliseconds have elapsed since the last time the debounced function was
380
- * invoked. The debounced function comes with a `cancel` method to cancel
381
- * delayed `func` invocations and a `flush` method to immediately invoke them.
382
- * Provide `options` to indicate whether `func` should be invoked on the
383
- * leading and/or trailing edge of the `wait` timeout. The `func` is invoked
384
- * with the last arguments provided to the debounced function. Subsequent
385
- * calls to the debounced function return the result of the last `func`
386
- * invocation.
387
- *
388
- * **Note:** If `leading` and `trailing` options are `true`, `func` is
389
- * invoked on the trailing edge of the timeout only if the debounced function
390
- * is invoked more than once during the `wait` timeout.
391
- *
392
- * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
393
- * until to the next tick, similar to `setTimeout` with a timeout of `0`.
394
- *
395
- * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
396
- * for details over the differences between `_.debounce` and `_.throttle`.
397
- *
398
- * @static
399
- * @memberOf _
400
- * @since 0.1.0
401
- * @category Function
402
- * @param {Function} func The function to debounce.
403
- * @param {number} [wait=0] The number of milliseconds to delay.
404
- * @param {Object} [options={}] The options object.
405
- * @param {boolean} [options.leading=false]
406
- * Specify invoking on the leading edge of the timeout.
407
- * @param {number} [options.maxWait]
408
- * The maximum time `func` is allowed to be delayed before it's invoked.
409
- * @param {boolean} [options.trailing=true]
410
- * Specify invoking on the trailing edge of the timeout.
411
- * @returns {Function} Returns the new debounced function.
412
- * @example
413
- *
414
- * // Avoid costly calculations while the window size is in flux.
415
- * jQuery(window).on('resize', _.debounce(calculateLayout, 150));
416
- *
417
- * // Invoke `sendMail` when clicked, debouncing subsequent calls.
418
- * jQuery(element).on('click', _.debounce(sendMail, 300, {
419
- * 'leading': true,
420
- * 'trailing': false
421
- * }));
422
- *
423
- * // Ensure `batchLog` is invoked once after 1 second of debounced calls.
424
- * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });
425
- * var source = new EventSource('/stream');
426
- * jQuery(source).on('message', debounced);
427
- *
428
- * // Cancel the trailing debounced invocation.
429
- * jQuery(window).on('popstate', debounced.cancel);
430
- */
431
- function debounce(func, wait, options) {
432
- var lastArgs,
433
- lastThis,
434
- maxWait,
435
- result,
436
- timerId,
437
- lastCallTime,
438
- lastInvokeTime = 0,
439
- leading = false,
440
- maxing = false,
441
- trailing = true;
442
-
443
- if (typeof func != 'function') {
444
- throw new TypeError(FUNC_ERROR_TEXT);
445
- }
446
- wait = toNumber_1(wait) || 0;
447
- if (isObject_1(options)) {
448
- leading = !!options.leading;
449
- maxing = 'maxWait' in options;
450
- maxWait = maxing ? nativeMax(toNumber_1(options.maxWait) || 0, wait) : maxWait;
451
- trailing = 'trailing' in options ? !!options.trailing : trailing;
452
- }
453
-
454
- function invokeFunc(time) {
455
- var args = lastArgs,
456
- thisArg = lastThis;
457
-
458
- lastArgs = lastThis = undefined;
459
- lastInvokeTime = time;
460
- result = func.apply(thisArg, args);
461
- return result;
462
- }
463
-
464
- function leadingEdge(time) {
465
- // Reset any `maxWait` timer.
466
- lastInvokeTime = time;
467
- // Start the timer for the trailing edge.
468
- timerId = setTimeout(timerExpired, wait);
469
- // Invoke the leading edge.
470
- return leading ? invokeFunc(time) : result;
471
- }
472
-
473
- function remainingWait(time) {
474
- var timeSinceLastCall = time - lastCallTime,
475
- timeSinceLastInvoke = time - lastInvokeTime,
476
- timeWaiting = wait - timeSinceLastCall;
477
-
478
- return maxing
479
- ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)
480
- : timeWaiting;
481
- }
482
-
483
- function shouldInvoke(time) {
484
- var timeSinceLastCall = time - lastCallTime,
485
- timeSinceLastInvoke = time - lastInvokeTime;
486
-
487
- // Either this is the first call, activity has stopped and we're at the
488
- // trailing edge, the system time has gone backwards and we're treating
489
- // it as the trailing edge, or we've hit the `maxWait` limit.
490
- return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||
491
- (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));
492
- }
493
-
494
- function timerExpired() {
495
- var time = now_1();
496
- if (shouldInvoke(time)) {
497
- return trailingEdge(time);
498
- }
499
- // Restart the timer.
500
- timerId = setTimeout(timerExpired, remainingWait(time));
501
- }
502
-
503
- function trailingEdge(time) {
504
- timerId = undefined;
505
-
506
- // Only invoke if we have `lastArgs` which means `func` has been
507
- // debounced at least once.
508
- if (trailing && lastArgs) {
509
- return invokeFunc(time);
510
- }
511
- lastArgs = lastThis = undefined;
512
- return result;
513
- }
514
-
515
- function cancel() {
516
- if (timerId !== undefined) {
517
- clearTimeout(timerId);
518
- }
519
- lastInvokeTime = 0;
520
- lastArgs = lastCallTime = lastThis = timerId = undefined;
521
- }
522
-
523
- function flush() {
524
- return timerId === undefined ? result : trailingEdge(now_1());
525
- }
526
-
527
- function debounced() {
528
- var time = now_1(),
529
- isInvoking = shouldInvoke(time);
530
-
531
- lastArgs = arguments;
532
- lastThis = this;
533
- lastCallTime = time;
534
-
535
- if (isInvoking) {
536
- if (timerId === undefined) {
537
- return leadingEdge(lastCallTime);
538
- }
539
- if (maxing) {
540
- // Handle invocations in a tight loop.
541
- clearTimeout(timerId);
542
- timerId = setTimeout(timerExpired, wait);
543
- return invokeFunc(lastCallTime);
544
- }
545
- }
546
- if (timerId === undefined) {
547
- timerId = setTimeout(timerExpired, wait);
548
- }
549
- return result;
550
- }
551
- debounced.cancel = cancel;
552
- debounced.flush = flush;
553
- return debounced;
554
- }
555
-
556
- var debounce_1 = debounce;
557
-
558
- export { AndOrButton as A, FILTER_PROP as F, TrashButton as T, _baseGetTag as _, _root as a, _freeGlobal as b, createCommonjsModule as c, isObject_1 as d, _Symbol as e, isSymbol_1 as f, isFilterBtn as g, commonjsGlobal as h, isObjectLike_1 as i, debounce_1 as j, FilterButton as k, toNumber_1 as t };
@@ -1,73 +0,0 @@
1
- /*
2
- Stencil Client Patch Browser v2.6.0 | MIT Licensed | https://stenciljs.com
3
- */
4
- (function(){
5
- var aa=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));function g(a){var b=aa.has(a);a=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(a);return !b&&a}function l(a){var b=a.isConnected;if(void 0!==b)return b;for(;a&&!(a.__CE_isImportDocument||a instanceof Document);)a=a.parentNode||(window.ShadowRoot&&a instanceof ShadowRoot?a.host:void 0);return !(!a||!(a.__CE_isImportDocument||a instanceof Document))}
6
- function n(a,b){for(;b&&b!==a&&!b.nextSibling;)b=b.parentNode;return b&&b!==a?b.nextSibling:null}
7
- function p(a,b,d){d=void 0===d?new Set:d;for(var c=a;c;){if(c.nodeType===Node.ELEMENT_NODE){var e=c;b(e);var f=e.localName;if("link"===f&&"import"===e.getAttribute("rel")){c=e.import;if(c instanceof Node&&!d.has(c))for(d.add(c),c=c.firstChild;c;c=c.nextSibling)p(c,b,d);c=n(a,e);continue}else if("template"===f){c=n(a,e);continue}if(e=e.__CE_shadowRoot)for(e=e.firstChild;e;e=e.nextSibling)p(e,b,d);}c=c.firstChild?c.firstChild:n(a,c);}}function r(a,b,d){a[b]=d;}function u(){this.a=new Map;this.g=new Map;this.c=[];this.f=[];this.b=!1;}function ba(a,b,d){a.a.set(b,d);a.g.set(d.constructorFunction,d);}function ca(a,b){a.b=!0;a.c.push(b);}function da(a,b){a.b=!0;a.f.push(b);}function v(a,b){a.b&&p(b,function(b){return w(a,b)});}function w(a,b){if(a.b&&!b.__CE_patched){b.__CE_patched=!0;for(var d=0;d<a.c.length;d++)a.c[d](b);for(d=0;d<a.f.length;d++)a.f[d](b);}}
8
- function x(a,b){var d=[];p(b,function(b){return d.push(b)});for(b=0;b<d.length;b++){var c=d[b];1===c.__CE_state?a.connectedCallback(c):y(a,c);}}function z(a,b){var d=[];p(b,function(b){return d.push(b)});for(b=0;b<d.length;b++){var c=d[b];1===c.__CE_state&&a.disconnectedCallback(c);}}
9
- function A(a,b,d){d=void 0===d?{}:d;var c=d.u||new Set,e=d.i||function(b){return y(a,b)},f=[];p(b,function(b){if("link"===b.localName&&"import"===b.getAttribute("rel")){var d=b.import;d instanceof Node&&(d.__CE_isImportDocument=!0,d.__CE_hasRegistry=!0);d&&"complete"===d.readyState?d.__CE_documentLoadHandled=!0:b.addEventListener("load",function(){var d=b.import;if(!d.__CE_documentLoadHandled){d.__CE_documentLoadHandled=!0;var f=new Set(c);f.delete(d);A(a,d,{u:f,i:e});}});}else f.push(b);},c);if(a.b)for(b=
10
- 0;b<f.length;b++)w(a,f[b]);for(b=0;b<f.length;b++)e(f[b]);}
11
- function y(a,b){if(void 0===b.__CE_state){var d=b.ownerDocument;if(d.defaultView||d.__CE_isImportDocument&&d.__CE_hasRegistry)if(d=a.a.get(b.localName)){d.constructionStack.push(b);var c=d.constructorFunction;try{try{if(new c!==b)throw Error("The custom element constructor did not produce the element being upgraded.");}finally{d.constructionStack.pop();}}catch(t){throw b.__CE_state=2,t;}b.__CE_state=1;b.__CE_definition=d;if(d.attributeChangedCallback)for(d=d.observedAttributes,c=0;c<d.length;c++){var e=
12
- d[c],f=b.getAttribute(e);null!==f&&a.attributeChangedCallback(b,e,null,f,null);}l(b)&&a.connectedCallback(b);}}}u.prototype.connectedCallback=function(a){var b=a.__CE_definition;b.connectedCallback&&b.connectedCallback.call(a);};u.prototype.disconnectedCallback=function(a){var b=a.__CE_definition;b.disconnectedCallback&&b.disconnectedCallback.call(a);};
13
- u.prototype.attributeChangedCallback=function(a,b,d,c,e){var f=a.__CE_definition;f.attributeChangedCallback&&-1<f.observedAttributes.indexOf(b)&&f.attributeChangedCallback.call(a,b,d,c,e);};function B(a){var b=document;this.c=a;this.a=b;this.b=void 0;A(this.c,this.a);"loading"===this.a.readyState&&(this.b=new MutationObserver(this.f.bind(this)),this.b.observe(this.a,{childList:!0,subtree:!0}));}function C(a){a.b&&a.b.disconnect();}B.prototype.f=function(a){var b=this.a.readyState;"interactive"!==b&&"complete"!==b||C(this);for(b=0;b<a.length;b++)for(var d=a[b].addedNodes,c=0;c<d.length;c++)A(this.c,d[c]);};function ea(){var a=this;this.b=this.a=void 0;this.c=new Promise(function(b){a.b=b;a.a&&b(a.a);});}function D(a){if(a.a)throw Error("Already resolved.");a.a=void 0;a.b&&a.b(void 0);}function E(a){this.c=!1;this.a=a;this.j=new Map;this.f=function(b){return b()};this.b=!1;this.g=[];this.o=new B(a);}
14
- E.prototype.l=function(a,b){var d=this;if(!(b instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!g(a))throw new SyntaxError("The element name '"+a+"' is not valid.");if(this.a.a.get(a))throw Error("A custom element with name '"+a+"' has already been defined.");if(this.c)throw Error("A custom element is already being defined.");this.c=!0;try{var c=function(b){var a=e[b];if(void 0!==a&&!(a instanceof Function))throw Error("The '"+b+"' callback must be a function.");
15
- return a},e=b.prototype;if(!(e instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var f=c("connectedCallback");var t=c("disconnectedCallback");var k=c("adoptedCallback");var h=c("attributeChangedCallback");var m=b.observedAttributes||[];}catch(q){return}finally{this.c=!1;}b={localName:a,constructorFunction:b,connectedCallback:f,disconnectedCallback:t,adoptedCallback:k,attributeChangedCallback:h,observedAttributes:m,constructionStack:[]};ba(this.a,
16
- a,b);this.g.push(b);this.b||(this.b=!0,this.f(function(){return fa(d)}));};E.prototype.i=function(a){A(this.a,a);};
17
- function fa(a){if(!1!==a.b){a.b=!1;for(var b=a.g,d=[],c=new Map,e=0;e<b.length;e++)c.set(b[e].localName,[]);A(a.a,document,{i:function(b){if(void 0===b.__CE_state){var e=b.localName,f=c.get(e);f?f.push(b):a.a.a.get(e)&&d.push(b);}}});for(e=0;e<d.length;e++)y(a.a,d[e]);for(;0<b.length;){var f=b.shift();e=f.localName;f=c.get(f.localName);for(var t=0;t<f.length;t++)y(a.a,f[t]);(e=a.j.get(e))&&D(e);}}}E.prototype.get=function(a){if(a=this.a.a.get(a))return a.constructorFunction};
18
- E.prototype.m=function(a){if(!g(a))return Promise.reject(new SyntaxError("'"+a+"' is not a valid custom element name."));var b=this.j.get(a);if(b)return b.c;b=new ea;this.j.set(a,b);this.a.a.get(a)&&!this.g.some(function(b){return b.localName===a})&&D(b);return b.c};E.prototype.s=function(a){C(this.o);var b=this.f;this.f=function(d){return a(function(){return b(d)})};};window.CustomElementRegistry=E;E.prototype.define=E.prototype.l;E.prototype.upgrade=E.prototype.i;E.prototype.get=E.prototype.get;
19
- E.prototype.whenDefined=E.prototype.m;E.prototype.polyfillWrapFlushCallback=E.prototype.s;var F=window.Document.prototype.createElement,G=window.Document.prototype.createElementNS,ha=window.Document.prototype.importNode,ia=window.Document.prototype.prepend,ja=window.Document.prototype.append,ka=window.DocumentFragment.prototype.prepend,la=window.DocumentFragment.prototype.append,H=window.Node.prototype.cloneNode,I=window.Node.prototype.appendChild,J=window.Node.prototype.insertBefore,K=window.Node.prototype.removeChild,L=window.Node.prototype.replaceChild,M=Object.getOwnPropertyDescriptor(window.Node.prototype,
20
- "textContent"),N=window.Element.prototype.attachShadow,O=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),P=window.Element.prototype.getAttribute,Q=window.Element.prototype.setAttribute,R=window.Element.prototype.removeAttribute,S=window.Element.prototype.getAttributeNS,T=window.Element.prototype.setAttributeNS,U=window.Element.prototype.removeAttributeNS,ma=window.Element.prototype.insertAdjacentElement,na=window.Element.prototype.insertAdjacentHTML,oa=window.Element.prototype.prepend,
21
- pa=window.Element.prototype.append,V=window.Element.prototype.before,qa=window.Element.prototype.after,ra=window.Element.prototype.replaceWith,sa=window.Element.prototype.remove,ta=window.HTMLElement,W=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),ua=window.HTMLElement.prototype.insertAdjacentElement,va=window.HTMLElement.prototype.insertAdjacentHTML;var wa=new function(){};function xa(){var a=X;window.HTMLElement=function(){function b(){var b=this.constructor,c=a.g.get(b);if(!c)throw Error("The custom element being constructed was not registered with `customElements`.");var e=c.constructionStack;if(0===e.length)return e=F.call(document,c.localName),Object.setPrototypeOf(e,b.prototype),e.__CE_state=1,e.__CE_definition=c,w(a,e),e;c=e.length-1;var f=e[c];if(f===wa)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");
22
- e[c]=wa;Object.setPrototypeOf(f,b.prototype);w(a,f);return f}b.prototype=ta.prototype;Object.defineProperty(b.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:b});return b}();}function Y(a,b,d){function c(b){return function(d){for(var e=[],c=0;c<arguments.length;++c)e[c]=arguments[c];c=[];for(var f=[],m=0;m<e.length;m++){var q=e[m];q instanceof Element&&l(q)&&f.push(q);if(q instanceof DocumentFragment)for(q=q.firstChild;q;q=q.nextSibling)c.push(q);else c.push(q);}b.apply(this,e);for(e=0;e<f.length;e++)z(a,f[e]);if(l(this))for(e=0;e<c.length;e++)f=c[e],f instanceof Element&&x(a,f);}}void 0!==d.h&&(b.prepend=c(d.h));void 0!==d.append&&(b.append=c(d.append));}function ya(){var a=X;r(Document.prototype,"createElement",function(b){if(this.__CE_hasRegistry){var d=a.a.get(b);if(d)return new d.constructorFunction}b=F.call(this,b);w(a,b);return b});r(Document.prototype,"importNode",function(b,d){b=ha.call(this,b,!!d);this.__CE_hasRegistry?A(a,b):v(a,b);return b});r(Document.prototype,"createElementNS",function(b,d){if(this.__CE_hasRegistry&&(null===b||"http://www.w3.org/1999/xhtml"===b)){var c=a.a.get(d);if(c)return new c.constructorFunction}b=G.call(this,b,
23
- d);w(a,b);return b});Y(a,Document.prototype,{h:ia,append:ja});}function za(){function a(a,c){Object.defineProperty(a,"textContent",{enumerable:c.enumerable,configurable:!0,get:c.get,set:function(a){if(this.nodeType===Node.TEXT_NODE)c.set.call(this,a);else {var d=void 0;if(this.firstChild){var e=this.childNodes,k=e.length;if(0<k&&l(this)){d=Array(k);for(var h=0;h<k;h++)d[h]=e[h];}}c.set.call(this,a);if(d)for(a=0;a<d.length;a++)z(b,d[a]);}}});}var b=X;r(Node.prototype,"insertBefore",function(a,c){if(a instanceof DocumentFragment){var e=Array.prototype.slice.apply(a.childNodes);
24
- a=J.call(this,a,c);if(l(this))for(c=0;c<e.length;c++)x(b,e[c]);return a}e=l(a);c=J.call(this,a,c);e&&z(b,a);l(this)&&x(b,a);return c});r(Node.prototype,"appendChild",function(a){if(a instanceof DocumentFragment){var c=Array.prototype.slice.apply(a.childNodes);a=I.call(this,a);if(l(this))for(var e=0;e<c.length;e++)x(b,c[e]);return a}c=l(a);e=I.call(this,a);c&&z(b,a);l(this)&&x(b,a);return e});r(Node.prototype,"cloneNode",function(a){a=H.call(this,!!a);this.ownerDocument.__CE_hasRegistry?A(b,a):v(b,
25
- a);return a});r(Node.prototype,"removeChild",function(a){var c=l(a),e=K.call(this,a);c&&z(b,a);return e});r(Node.prototype,"replaceChild",function(a,c){if(a instanceof DocumentFragment){var e=Array.prototype.slice.apply(a.childNodes);a=L.call(this,a,c);if(l(this))for(z(b,c),c=0;c<e.length;c++)x(b,e[c]);return a}e=l(a);var f=L.call(this,a,c),d=l(this);d&&z(b,c);e&&z(b,a);d&&x(b,a);return f});M&&M.get?a(Node.prototype,M):ca(b,function(b){a(b,{enumerable:!0,configurable:!0,get:function(){for(var a=[],
26
- b=0;b<this.childNodes.length;b++){var f=this.childNodes[b];f.nodeType!==Node.COMMENT_NODE&&a.push(f.textContent);}return a.join("")},set:function(a){for(;this.firstChild;)K.call(this,this.firstChild);null!=a&&""!==a&&I.call(this,document.createTextNode(a));}});});}function Aa(a){function b(b){return function(e){for(var c=[],d=0;d<arguments.length;++d)c[d]=arguments[d];d=[];for(var k=[],h=0;h<c.length;h++){var m=c[h];m instanceof Element&&l(m)&&k.push(m);if(m instanceof DocumentFragment)for(m=m.firstChild;m;m=m.nextSibling)d.push(m);else d.push(m);}b.apply(this,c);for(c=0;c<k.length;c++)z(a,k[c]);if(l(this))for(c=0;c<d.length;c++)k=d[c],k instanceof Element&&x(a,k);}}var d=Element.prototype;void 0!==V&&(d.before=b(V));void 0!==V&&(d.after=b(qa));void 0!==ra&&
27
- r(d,"replaceWith",function(b){for(var e=[],c=0;c<arguments.length;++c)e[c]=arguments[c];c=[];for(var d=[],k=0;k<e.length;k++){var h=e[k];h instanceof Element&&l(h)&&d.push(h);if(h instanceof DocumentFragment)for(h=h.firstChild;h;h=h.nextSibling)c.push(h);else c.push(h);}k=l(this);ra.apply(this,e);for(e=0;e<d.length;e++)z(a,d[e]);if(k)for(z(a,this),e=0;e<c.length;e++)d=c[e],d instanceof Element&&x(a,d);});void 0!==sa&&r(d,"remove",function(){var b=l(this);sa.call(this);b&&z(a,this);});}function Ba(){function a(a,b){Object.defineProperty(a,"innerHTML",{enumerable:b.enumerable,configurable:!0,get:b.get,set:function(a){var e=this,d=void 0;l(this)&&(d=[],p(this,function(a){a!==e&&d.push(a);}));b.set.call(this,a);if(d)for(var f=0;f<d.length;f++){var t=d[f];1===t.__CE_state&&c.disconnectedCallback(t);}this.ownerDocument.__CE_hasRegistry?A(c,this):v(c,this);return a}});}function b(a,b){r(a,"insertAdjacentElement",function(a,e){var d=l(e);a=b.call(this,a,e);d&&z(c,e);l(a)&&x(c,e);return a});}
28
- function d(a,b){function e(a,b){for(var e=[];a!==b;a=a.nextSibling)e.push(a);for(b=0;b<e.length;b++)A(c,e[b]);}r(a,"insertAdjacentHTML",function(a,c){a=a.toLowerCase();if("beforebegin"===a){var d=this.previousSibling;b.call(this,a,c);e(d||this.parentNode.firstChild,this);}else if("afterbegin"===a)d=this.firstChild,b.call(this,a,c),e(this.firstChild,d);else if("beforeend"===a)d=this.lastChild,b.call(this,a,c),e(d||this.firstChild,null);else if("afterend"===a)d=this.nextSibling,b.call(this,a,c),e(this.nextSibling,
29
- d);else throw new SyntaxError("The value provided ("+String(a)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");});}var c=X;N&&r(Element.prototype,"attachShadow",function(a){a=N.call(this,a);var b=c;if(b.b&&!a.__CE_patched){a.__CE_patched=!0;for(var e=0;e<b.c.length;e++)b.c[e](a);}return this.__CE_shadowRoot=a});O&&O.get?a(Element.prototype,O):W&&W.get?a(HTMLElement.prototype,W):da(c,function(b){a(b,{enumerable:!0,configurable:!0,get:function(){return H.call(this,!0).innerHTML},
30
- set:function(a){var b="template"===this.localName,c=b?this.content:this,e=G.call(document,this.namespaceURI,this.localName);for(e.innerHTML=a;0<c.childNodes.length;)K.call(c,c.childNodes[0]);for(a=b?e.content:e;0<a.childNodes.length;)I.call(c,a.childNodes[0]);}});});r(Element.prototype,"setAttribute",function(a,b){if(1!==this.__CE_state)return Q.call(this,a,b);var e=P.call(this,a);Q.call(this,a,b);b=P.call(this,a);c.attributeChangedCallback(this,a,e,b,null);});r(Element.prototype,"setAttributeNS",function(a,
31
- b,d){if(1!==this.__CE_state)return T.call(this,a,b,d);var e=S.call(this,a,b);T.call(this,a,b,d);d=S.call(this,a,b);c.attributeChangedCallback(this,b,e,d,a);});r(Element.prototype,"removeAttribute",function(a){if(1!==this.__CE_state)return R.call(this,a);var b=P.call(this,a);R.call(this,a);null!==b&&c.attributeChangedCallback(this,a,b,null,null);});r(Element.prototype,"removeAttributeNS",function(a,b){if(1!==this.__CE_state)return U.call(this,a,b);var d=S.call(this,a,b);U.call(this,a,b);var e=S.call(this,
32
- a,b);d!==e&&c.attributeChangedCallback(this,b,d,e,a);});ua?b(HTMLElement.prototype,ua):ma?b(Element.prototype,ma):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched.");va?d(HTMLElement.prototype,va):na?d(Element.prototype,na):console.warn("Custom Elements: `Element#insertAdjacentHTML` was not patched.");Y(c,Element.prototype,{h:oa,append:pa});Aa(c);}var Z=window.customElements;if(!Z||Z.forcePolyfill||"function"!=typeof Z.define||"function"!=typeof Z.get){var X=new u;xa();ya();Y(X,DocumentFragment.prototype,{h:ka,append:la});za();Ba();document.__CE_hasRegistry=!0;var customElements=new E(X);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:customElements});}}).call(self);
33
-
34
- // Polyfill document.baseURI
35
- "string"!==typeof document.baseURI&&Object.defineProperty(Document.prototype,"baseURI",{enumerable:!0,configurable:!0,get:function(){var a=document.querySelector("base");return a&&a.href?a.href:document.URL}});
36
-
37
- // Polyfill CustomEvent
38
- "function"!==typeof window.CustomEvent&&(window.CustomEvent=function(c,a){a=a||{bubbles:!1,cancelable:!1,detail:void 0};var b=document.createEvent("CustomEvent");b.initCustomEvent(c,a.bubbles,a.cancelable,a.detail);return b},window.CustomEvent.prototype=window.Event.prototype);
39
-
40
- // Event.composedPath
41
- (function(b,c,d){b.composedPath||(b.composedPath=function(){if(this.path)return this.path;var a=this.target;for(this.path=[];null!==a.parentNode;)this.path.push(a),a=a.parentNode;this.path.push(c,d);return this.path});})(Event.prototype,document,window);
42
-
43
- /*!
44
- Element.closest and Element.matches
45
- https://github.com/jonathantneal/closest
46
- Creative Commons Zero v1.0 Universal
47
- */
48
- (function(a){"function"!==typeof a.matches&&(a.matches=a.msMatchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||function(a){a=(this.document||this.ownerDocument).querySelectorAll(a);for(var b=0;a[b]&&a[b]!==this;)++b;return !!a[b]});"function"!==typeof a.closest&&(a.closest=function(a){for(var b=this;b&&1===b.nodeType;){if(b.matches(a))return b;b=b.parentNode;}return null});})(window.Element.prototype);
49
-
50
- /*!
51
- Element.getRootNode()
52
- */
53
- (function(c){function d(a){a=b(a);return a&&11===a.nodeType?d(a.host):a}function b(a){return a&&a.parentNode?b(a.parentNode):a}"function"!==typeof c.getRootNode&&(c.getRootNode=function(a){return a&&a.composed?d(this):b(this)});})(Element.prototype);
54
-
55
- /*!
56
- Element.isConnected()
57
- */
58
- (function(a){"isConnected"in a||Object.defineProperty(a,"isConnected",{configurable:!0,enumerable:!0,get:function(){var a=this.getRootNode({composed:!0});return a&&9===a.nodeType}});})(Element.prototype);
59
-
60
- /*!
61
- Element.remove()
62
- */
63
- (function(b){b.forEach(function(a){a.hasOwnProperty("remove")||Object.defineProperty(a,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){null!==this.parentNode&&this.parentNode.removeChild(this);}});});})([Element.prototype,CharacterData.prototype,DocumentType.prototype]);
64
-
65
- /*!
66
- Element.classList
67
- */
68
- !function(e){'classList'in e||Object.defineProperty(e,"classList",{get:function(){var e=this,t=(e.getAttribute("class")||"").replace(/^\s+|\s$/g,"").split(/\s+/g);function n(){t.length>0?e.setAttribute("class",t.join(" ")):e.removeAttribute("class");}return ""===t[0]&&t.splice(0,1),t.toggle=function(e,i){void 0!==i?i?t.add(e):t.remove(e):-1!==t.indexOf(e)?t.splice(t.indexOf(e),1):t.push(e),n();},t.add=function(){for(var e=[].slice.call(arguments),i=0,s=e.length;i<s;i++)-1===t.indexOf(e[i])&&t.push(e[i]);n();},t.remove=function(){for(var e=[].slice.call(arguments),i=0,s=e.length;i<s;i++)-1!==t.indexOf(e[i])&&t.splice(t.indexOf(e[i]),1);n();},t.item=function(e){return t[e]},t.contains=function(e){return -1!==t.indexOf(e)},t.replace=function(e,i){-1!==t.indexOf(e)&&t.splice(t.indexOf(e),1,i),n();},t.value=e.getAttribute("class")||"",t}});}(Element.prototype);
69
-
70
- /*!
71
- DOMTokenList
72
- */
73
- (function(b){try{document.body.classList.add();}catch(e){var c=b.add,d=b.remove;b.add=function(){for(var a=0;a<arguments.length;a++)c.call(this,arguments[a]);};b.remove=function(){for(var a=0;a<arguments.length;a++)d.call(this,arguments[a]);};}})(DOMTokenList.prototype);