@revolist/revogrid 3.2.4 → 3.2.7

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 (213) hide show
  1. package/custom-element/index.js +29217 -0
  2. package/custom-element/resize-observer.js +503 -0
  3. package/dist/cjs/css-shim-9f5bc84d.js +9 -0
  4. package/dist/cjs/debounce-6cea2774.js +578 -0
  5. package/dist/cjs/dom-fcb646f0.js +78 -0
  6. package/dist/{revo-grid/index-8a604c17.js → cjs/index-cb904e00.js} +230 -1445
  7. package/dist/cjs/index.cjs.js +5 -0
  8. package/dist/cjs/loader.cjs.js +38 -0
  9. package/dist/cjs/resize-observer-bf327d6a.js +507 -0
  10. package/dist/cjs/revo-grid.cjs.js +79 -0
  11. package/dist/cjs/revo-grid_11.cjs.entry.js +28301 -0
  12. package/dist/cjs/revogr-clipboard.cjs.entry.js +56 -0
  13. package/dist/cjs/revogr-filter-panel.cjs.entry.js +278 -0
  14. package/dist/collection/collection-manifest.json +25 -0
  15. package/dist/collection/components/button/button.js +7 -0
  16. package/dist/collection/components/clipboard/revogr-clipboard.js +124 -0
  17. package/dist/collection/components/data/cellRenderer.js +27 -0
  18. package/dist/{revo-grid/columnService-91e552ba.js → collection/components/data/columnService.js} +6 -8
  19. package/dist/collection/components/data/revogr-data-style.css +135 -0
  20. package/dist/collection/components/data/revogr-data.js +325 -0
  21. package/dist/collection/components/data/rowRenderer.js +9 -0
  22. package/dist/collection/components/header/headerCellRenderer.js +29 -0
  23. package/dist/collection/components/header/headerRenderer.js +48 -0
  24. package/dist/collection/components/header/revogr-header-style.css +198 -0
  25. package/dist/collection/components/header/revogr-header.js +300 -0
  26. package/dist/collection/components/order/orderRenderer.js +53 -0
  27. package/dist/collection/components/order/revogr-order-editor.js +361 -0
  28. package/dist/collection/components/order/rowOrderService.js +71 -0
  29. package/dist/collection/components/overlay/autofill.service.js +185 -0
  30. package/dist/collection/components/overlay/clipboard.service.js +42 -0
  31. package/dist/collection/components/overlay/editors/edit.utils.js +8 -0
  32. package/dist/collection/components/overlay/editors/text.js +38 -0
  33. package/dist/collection/components/overlay/keyboard.service.js +131 -0
  34. package/dist/collection/components/overlay/revogr-edit-style.css +86 -0
  35. package/dist/collection/components/overlay/revogr-edit.js +162 -0
  36. package/dist/collection/components/overlay/revogr-overlay-selection.js +729 -0
  37. package/dist/collection/components/overlay/revogr-overlay-style.css +98 -0
  38. package/dist/{revo-grid/selection.utils-a9932db6.js → collection/components/overlay/selection.utils.js} +9 -12
  39. package/dist/collection/components/revo-grid/revo-grid-style.css +544 -0
  40. package/dist/collection/components/revo-grid/revo-grid.js +2226 -0
  41. package/dist/collection/components/revo-grid/viewport.helpers.js +14 -0
  42. package/dist/collection/components/revo-grid/viewport.interfaces.js +4 -0
  43. package/dist/collection/components/revo-grid/viewport.js +21 -0
  44. package/dist/collection/components/revo-grid/viewport.resize.service.js +24 -0
  45. package/dist/collection/components/revo-grid/viewport.scrolling.service.js +63 -0
  46. package/dist/collection/components/revo-grid/viewport.section.js +31 -0
  47. package/dist/collection/components/revo-grid/viewport.service.js +212 -0
  48. package/dist/collection/components/rowHeaders/revogr-row-headers.js +213 -0
  49. package/dist/collection/components/rowHeaders/row-header-render.js +4 -0
  50. package/dist/collection/components/scroll/revogr-viewport-scroll-style.css +137 -0
  51. package/dist/collection/components/scroll/revogr-viewport-scroll.js +402 -0
  52. package/dist/collection/components/scrollable/revogr-scroll-style.css +104 -0
  53. package/dist/collection/components/scrollable/revogr-scroll-virtual.js +256 -0
  54. package/dist/collection/components/selection-focus/revogr-focus-style.css +77 -0
  55. package/dist/collection/components/selection-focus/revogr-focus.js +106 -0
  56. package/dist/collection/components/selection-temp-range/revogr-temp-range-style.css +98 -0
  57. package/dist/collection/components/selection-temp-range/revogr-temp-range.js +141 -0
  58. package/dist/{revo-grid/app-globals-7e6866ba.js → collection/global/global.js} +2 -8
  59. package/dist/collection/index.js +4 -0
  60. package/dist/collection/plugins/autoSizeColumn.js +233 -0
  61. package/dist/collection/plugins/basePlugin.js +30 -0
  62. package/dist/{revo-grid/dispatcher-891af82e.js → collection/plugins/dispatcher.js} +2 -4
  63. package/dist/collection/plugins/export/csv.js +71 -0
  64. package/dist/collection/plugins/export/export.plugin.js +168 -0
  65. package/dist/collection/plugins/export/types.js +4 -0
  66. package/dist/collection/plugins/filter/conditions/equal.js +20 -0
  67. package/dist/collection/plugins/filter/conditions/number/greaterThan.js +13 -0
  68. package/dist/collection/plugins/filter/conditions/number/greaterThanOrEqual.js +10 -0
  69. package/dist/collection/plugins/filter/conditions/number/lessThan.js +15 -0
  70. package/dist/collection/plugins/filter/conditions/number/lessThanOrEqual.js +10 -0
  71. package/dist/collection/plugins/filter/conditions/set.js +6 -0
  72. package/dist/collection/plugins/filter/conditions/string/beginswith.js +20 -0
  73. package/dist/collection/plugins/filter/conditions/string/contains.js +21 -0
  74. package/dist/{revo-grid/filter.button-74c1cd9c.js → collection/plugins/filter/filter.button.js} +10 -13
  75. package/dist/collection/plugins/filter/filter.plugin.js +259 -0
  76. package/dist/collection/plugins/filter/filter.pop.js +488 -0
  77. package/dist/collection/plugins/filter/filter.service.js +47 -0
  78. package/dist/collection/plugins/filter/filter.style.css +239 -0
  79. package/dist/collection/plugins/filter/filter.types.js +4 -0
  80. package/dist/collection/plugins/groupingColumn/columnGroupsRenderer.js +33 -0
  81. package/dist/collection/plugins/groupingColumn/grouping.col.plugin.js +39 -0
  82. package/dist/collection/plugins/groupingColumn/headerGroupRenderer.js +24 -0
  83. package/dist/collection/plugins/groupingRow/grouping.const.js +13 -0
  84. package/dist/collection/plugins/groupingRow/grouping.row.expand.service.js +79 -0
  85. package/dist/collection/plugins/groupingRow/grouping.row.plugin.js +261 -0
  86. package/dist/collection/plugins/groupingRow/grouping.row.renderer.js +32 -0
  87. package/dist/collection/plugins/groupingRow/grouping.row.types.js +4 -0
  88. package/dist/collection/plugins/groupingRow/grouping.service.js +158 -0
  89. package/dist/collection/plugins/groupingRow/grouping.trimmed.service.js +60 -0
  90. package/dist/collection/plugins/moveColumn/columnDragPlugin.js +151 -0
  91. package/dist/collection/plugins/moveColumn/columnOrderHandler.js +63 -0
  92. package/dist/collection/plugins/sorting/sorting.plugin.js +184 -0
  93. package/dist/collection/plugins/sorting/sorting.sign.js +9 -0
  94. package/dist/collection/plugins/stretchPlugin.js +71 -0
  95. package/dist/collection/plugins/trimmed/trimmed.plugin.js +35 -0
  96. package/dist/collection/services/cell.helpers.js +10 -0
  97. package/dist/collection/services/column.data.provider.js +191 -0
  98. package/dist/collection/services/data.provider.js +50 -0
  99. package/dist/collection/services/dimension.provider.js +81 -0
  100. package/dist/{revo-grid/localScrollService-e9b73323.js → collection/services/localScrollService.js} +2 -5
  101. package/dist/collection/services/resizable.directive.js +255 -0
  102. package/dist/collection/services/selection.store.connector.js +216 -0
  103. package/dist/collection/services/viewport.provider.js +17 -0
  104. package/dist/collection/store/dataSource/data.proxy.js +37 -0
  105. package/dist/collection/store/dataSource/data.store.js +130 -0
  106. package/dist/collection/store/dimension/dimension.helpers.js +110 -0
  107. package/dist/collection/store/dimension/dimension.store.js +62 -0
  108. package/dist/collection/store/selection/selection.helpers.js +56 -0
  109. package/dist/collection/store/selection/selection.store.js +71 -0
  110. package/dist/collection/store/selection/selection.store.service.js +38 -0
  111. package/dist/collection/store/storeTypes.js +8 -0
  112. package/dist/{revo-grid/viewport.store-ffaaab6d.js → collection/store/viewPort/viewport.helpers.js} +9 -132
  113. package/dist/collection/store/viewPort/viewport.store.js +124 -0
  114. package/dist/collection/themeManager/theme.compact.js +8 -0
  115. package/dist/collection/themeManager/theme.default.js +8 -0
  116. package/dist/collection/themeManager/theme.material.js +8 -0
  117. package/dist/{revo-grid/themeService-ddaaa364.js → collection/themeManager/themeService.js} +6 -23
  118. package/dist/collection/utils/closestPolifill.js +21 -0
  119. package/dist/collection/utils/consts.js +22 -0
  120. package/dist/collection/utils/generateAlphabetHeader.js +23 -0
  121. package/dist/collection/utils/keyCodes.js +73 -0
  122. package/dist/collection/utils/keyCodes.utils.js +67 -0
  123. package/dist/collection/utils/platform.js +8 -0
  124. package/dist/collection/utils/resizeObserver.js +9 -0
  125. package/dist/collection/utils/store.utils.js +10 -0
  126. package/dist/{revo-grid/utils-2c3b3857.js → collection/utils/utils.js} +8 -10
  127. package/dist/collection/utilsExternal/generate-data.js +132 -0
  128. package/dist/esm/css-shim-e1e1ea5e.js +7 -0
  129. package/dist/esm/debounce-e4e6dd45.js +561 -0
  130. package/dist/esm/dom-21bd1807.js +76 -0
  131. package/dist/esm/index-6f753b3c.js +1817 -0
  132. package/dist/esm/index.js +3 -0
  133. package/dist/esm/loader.js +34 -0
  134. package/dist/esm/polyfills/core-js.js +11 -0
  135. package/dist/esm/polyfills/css-shim.js +1 -0
  136. package/dist/esm/polyfills/dom.js +79 -0
  137. package/dist/esm/polyfills/es5-html-element.js +1 -0
  138. package/dist/esm/polyfills/index.js +34 -0
  139. package/dist/esm/polyfills/system.js +6 -0
  140. package/dist/esm/resize-observer-00c48d78.js +503 -0
  141. package/dist/esm/revo-grid.js +77 -0
  142. package/dist/{revo-grid/lodash-a0ab4cdd.js → esm/revo-grid_11.entry.js} +25351 -14282
  143. package/dist/esm/revogr-clipboard.entry.js +52 -0
  144. package/dist/esm/revogr-filter-panel.entry.js +274 -0
  145. package/dist/esm-es5/css-shim-e1e1ea5e.js +4 -0
  146. package/dist/esm-es5/debounce-e4e6dd45.js +4 -0
  147. package/dist/esm-es5/dom-21bd1807.js +24 -0
  148. package/dist/esm-es5/index-6f753b3c.js +4 -0
  149. package/dist/esm-es5/index.js +3 -0
  150. package/dist/esm-es5/loader.js +4 -0
  151. package/dist/esm-es5/resize-observer-00c48d78.js +4 -0
  152. package/dist/esm-es5/revo-grid.js +4 -0
  153. package/dist/esm-es5/revo-grid_11.entry.js +4 -0
  154. package/dist/esm-es5/revogr-clipboard.entry.js +4 -0
  155. package/dist/esm-es5/revogr-filter-panel.entry.js +4 -0
  156. package/dist/index.cjs.js +1 -0
  157. package/dist/index.js +1 -0
  158. package/dist/revo-grid/css-shim-bcf89cc0.system.js +4 -0
  159. package/dist/revo-grid/css-shim-e1e1ea5e.js +4 -0
  160. package/dist/revo-grid/debounce-5a33c710.system.js +4 -0
  161. package/dist/revo-grid/debounce-726bdadb.js +4 -0
  162. package/dist/revo-grid/dom-21bd1807.js +5 -59
  163. package/dist/revo-grid/dom-726246e2.system.js +24 -0
  164. package/dist/revo-grid/index-f14b41a0.system.js +5 -0
  165. package/dist/revo-grid/index-f30d1de1.js +5 -0
  166. package/dist/revo-grid/index.system.js +4 -0
  167. package/dist/revo-grid/resize-observer-00c48d78.js +1 -500
  168. package/dist/revo-grid/resize-observer-8af0bc0e.system.js +4 -0
  169. package/dist/revo-grid/revo-grid.esm.js +1 -130
  170. package/dist/revo-grid/revo-grid.js +133 -0
  171. package/dist/revo-grid/revo-grid.system.js +4 -0
  172. package/dist/revo-grid/revo-grid_11.entry.js +4 -0
  173. package/dist/revo-grid/revo-grid_11.system.entry.js +4 -0
  174. package/dist/revo-grid/revogr-clipboard.entry.js +1 -49
  175. package/dist/revo-grid/revogr-clipboard.system.entry.js +4 -0
  176. package/dist/revo-grid/revogr-filter-panel.entry.js +1 -274
  177. package/dist/revo-grid/revogr-filter-panel.system.entry.js +4 -0
  178. package/dist/types/components/revo-grid/revo-grid.d.ts +0 -1
  179. package/dist/types/components.d.ts +2 -2
  180. package/loader/cdn.js +3 -1
  181. package/loader/index.cjs.js +3 -1
  182. package/loader/index.d.ts +0 -1
  183. package/loader/index.es2017.js +3 -1
  184. package/loader/index.js +3 -1
  185. package/package.json +1 -1
  186. package/dist/revo-grid/_baseIteratee-af30b221.js +0 -2070
  187. package/dist/revo-grid/consts-ef824e6f.js +0 -46
  188. package/dist/revo-grid/css-shim-5387c708.js +0 -7
  189. package/dist/revo-grid/data.store-3263fff9.js +0 -557
  190. package/dist/revo-grid/debounce-aaa4b4da.js +0 -217
  191. package/dist/revo-grid/dimension.helpers-a7944fc4.js +0 -340
  192. package/dist/revo-grid/each-0378e5a3.js +0 -180
  193. package/dist/revo-grid/identity-c8c7d3d8.js +0 -26
  194. package/dist/revo-grid/isString-a51066b5.js +0 -34
  195. package/dist/revo-grid/isSymbol-e4b5dafe.js +0 -247
  196. package/dist/revo-grid/keyCodes.utils-bd06e3ba.js +0 -299
  197. package/dist/revo-grid/keys-70b7c240.js +0 -561
  198. package/dist/revo-grid/revo-grid.entry.js +0 -3484
  199. package/dist/revo-grid/revogr-data.entry.js +0 -152
  200. package/dist/revo-grid/revogr-edit.entry.js +0 -105
  201. package/dist/revo-grid/revogr-focus.entry.js +0 -41
  202. package/dist/revo-grid/revogr-header.entry.js +0 -560
  203. package/dist/revo-grid/revogr-order-editor.entry.js +0 -175
  204. package/dist/revo-grid/revogr-overlay-selection.entry.js +0 -711
  205. package/dist/revo-grid/revogr-row-headers.entry.js +0 -73
  206. package/dist/revo-grid/revogr-scroll-virtual.entry.js +0 -114
  207. package/dist/revo-grid/revogr-temp-range.entry.js +0 -73
  208. package/dist/revo-grid/revogr-viewport-scroll.entry.js +0 -340
  209. package/dist/revo-grid/selection.store.connector-2b613fd0.js +0 -503
  210. package/dist/revo-grid/shadow-css-602a09db.js +0 -390
  211. package/dist/revo-grid/toInteger-9e6cbfd2.js +0 -107
  212. package/dist/revo-grid/toNumber-913b0b72.js +0 -105
  213. package/dist/revo-grid/viewport.helpers-49d3f031.js +0 -16
@@ -0,0 +1,578 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
4
+ 'use strict';
5
+
6
+ const index = require('./index-cb904e00.js');
7
+
8
+ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
9
+
10
+ function createCommonjsModule(fn, basedir, module) {
11
+ return module = {
12
+ path: basedir,
13
+ exports: {},
14
+ require: function (path, base) {
15
+ return commonjsRequire();
16
+ }
17
+ }, fn(module, module.exports), module.exports;
18
+ }
19
+
20
+ function commonjsRequire () {
21
+ throw new Error('Dynamic requires are not currently supported by @rollup/plugin-commonjs');
22
+ }
23
+
24
+ /** Detect free variable `global` from Node.js. */
25
+ var freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
26
+
27
+ var _freeGlobal = freeGlobal;
28
+
29
+ /** Detect free variable `self`. */
30
+ var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
31
+
32
+ /** Used as a reference to the global object. */
33
+ var root = _freeGlobal || freeSelf || Function('return this')();
34
+
35
+ var _root = root;
36
+
37
+ /** Built-in value references. */
38
+ var Symbol = _root.Symbol;
39
+
40
+ var _Symbol = Symbol;
41
+
42
+ /** Used for built-in method references. */
43
+ var objectProto$1 = Object.prototype;
44
+
45
+ /** Used to check objects for own properties. */
46
+ var hasOwnProperty = objectProto$1.hasOwnProperty;
47
+
48
+ /**
49
+ * Used to resolve the
50
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
51
+ * of values.
52
+ */
53
+ var nativeObjectToString$1 = objectProto$1.toString;
54
+
55
+ /** Built-in value references. */
56
+ var symToStringTag$1 = _Symbol ? _Symbol.toStringTag : undefined;
57
+
58
+ /**
59
+ * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
60
+ *
61
+ * @private
62
+ * @param {*} value The value to query.
63
+ * @returns {string} Returns the raw `toStringTag`.
64
+ */
65
+ function getRawTag(value) {
66
+ var isOwn = hasOwnProperty.call(value, symToStringTag$1),
67
+ tag = value[symToStringTag$1];
68
+
69
+ try {
70
+ value[symToStringTag$1] = undefined;
71
+ var unmasked = true;
72
+ } catch (e) {}
73
+
74
+ var result = nativeObjectToString$1.call(value);
75
+ if (unmasked) {
76
+ if (isOwn) {
77
+ value[symToStringTag$1] = tag;
78
+ } else {
79
+ delete value[symToStringTag$1];
80
+ }
81
+ }
82
+ return result;
83
+ }
84
+
85
+ var _getRawTag = getRawTag;
86
+
87
+ /** Used for built-in method references. */
88
+ var objectProto = Object.prototype;
89
+
90
+ /**
91
+ * Used to resolve the
92
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
93
+ * of values.
94
+ */
95
+ var nativeObjectToString = objectProto.toString;
96
+
97
+ /**
98
+ * Converts `value` to a string using `Object.prototype.toString`.
99
+ *
100
+ * @private
101
+ * @param {*} value The value to convert.
102
+ * @returns {string} Returns the converted string.
103
+ */
104
+ function objectToString(value) {
105
+ return nativeObjectToString.call(value);
106
+ }
107
+
108
+ var _objectToString = objectToString;
109
+
110
+ /** `Object#toString` result references. */
111
+ var nullTag = '[object Null]',
112
+ undefinedTag = '[object Undefined]';
113
+
114
+ /** Built-in value references. */
115
+ var symToStringTag = _Symbol ? _Symbol.toStringTag : undefined;
116
+
117
+ /**
118
+ * The base implementation of `getTag` without fallbacks for buggy environments.
119
+ *
120
+ * @private
121
+ * @param {*} value The value to query.
122
+ * @returns {string} Returns the `toStringTag`.
123
+ */
124
+ function baseGetTag(value) {
125
+ if (value == null) {
126
+ return value === undefined ? undefinedTag : nullTag;
127
+ }
128
+ return (symToStringTag && symToStringTag in Object(value))
129
+ ? _getRawTag(value)
130
+ : _objectToString(value);
131
+ }
132
+
133
+ var _baseGetTag = baseGetTag;
134
+
135
+ /**
136
+ * Checks if `value` is object-like. A value is object-like if it's not `null`
137
+ * and has a `typeof` result of "object".
138
+ *
139
+ * @static
140
+ * @memberOf _
141
+ * @since 4.0.0
142
+ * @category Lang
143
+ * @param {*} value The value to check.
144
+ * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
145
+ * @example
146
+ *
147
+ * _.isObjectLike({});
148
+ * // => true
149
+ *
150
+ * _.isObjectLike([1, 2, 3]);
151
+ * // => true
152
+ *
153
+ * _.isObjectLike(_.noop);
154
+ * // => false
155
+ *
156
+ * _.isObjectLike(null);
157
+ * // => false
158
+ */
159
+ function isObjectLike(value) {
160
+ return value != null && typeof value == 'object';
161
+ }
162
+
163
+ var isObjectLike_1 = isObjectLike;
164
+
165
+ /**
166
+ * Checks if `value` is the
167
+ * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
168
+ * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
169
+ *
170
+ * @static
171
+ * @memberOf _
172
+ * @since 0.1.0
173
+ * @category Lang
174
+ * @param {*} value The value to check.
175
+ * @returns {boolean} Returns `true` if `value` is an object, else `false`.
176
+ * @example
177
+ *
178
+ * _.isObject({});
179
+ * // => true
180
+ *
181
+ * _.isObject([1, 2, 3]);
182
+ * // => true
183
+ *
184
+ * _.isObject(_.noop);
185
+ * // => true
186
+ *
187
+ * _.isObject(null);
188
+ * // => false
189
+ */
190
+ function isObject(value) {
191
+ var type = typeof value;
192
+ return value != null && (type == 'object' || type == 'function');
193
+ }
194
+
195
+ var isObject_1 = isObject;
196
+
197
+ /** `Object#toString` result references. */
198
+ var symbolTag = '[object Symbol]';
199
+
200
+ /**
201
+ * Checks if `value` is classified as a `Symbol` primitive or object.
202
+ *
203
+ * @static
204
+ * @memberOf _
205
+ * @since 4.0.0
206
+ * @category Lang
207
+ * @param {*} value The value to check.
208
+ * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
209
+ * @example
210
+ *
211
+ * _.isSymbol(Symbol.iterator);
212
+ * // => true
213
+ *
214
+ * _.isSymbol('abc');
215
+ * // => false
216
+ */
217
+ function isSymbol(value) {
218
+ return typeof value == 'symbol' ||
219
+ (isObjectLike_1(value) && _baseGetTag(value) == symbolTag);
220
+ }
221
+
222
+ var isSymbol_1 = isSymbol;
223
+
224
+ /** Used to match a single whitespace character. */
225
+ var reWhitespace = /\s/;
226
+
227
+ /**
228
+ * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace
229
+ * character of `string`.
230
+ *
231
+ * @private
232
+ * @param {string} string The string to inspect.
233
+ * @returns {number} Returns the index of the last non-whitespace character.
234
+ */
235
+ function trimmedEndIndex(string) {
236
+ var index = string.length;
237
+
238
+ while (index-- && reWhitespace.test(string.charAt(index))) {}
239
+ return index;
240
+ }
241
+
242
+ var _trimmedEndIndex = trimmedEndIndex;
243
+
244
+ /** Used to match leading whitespace. */
245
+ var reTrimStart = /^\s+/;
246
+
247
+ /**
248
+ * The base implementation of `_.trim`.
249
+ *
250
+ * @private
251
+ * @param {string} string The string to trim.
252
+ * @returns {string} Returns the trimmed string.
253
+ */
254
+ function baseTrim(string) {
255
+ return string
256
+ ? string.slice(0, _trimmedEndIndex(string) + 1).replace(reTrimStart, '')
257
+ : string;
258
+ }
259
+
260
+ var _baseTrim = baseTrim;
261
+
262
+ /** Used as references for various `Number` constants. */
263
+ var NAN = 0 / 0;
264
+
265
+ /** Used to detect bad signed hexadecimal string values. */
266
+ var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
267
+
268
+ /** Used to detect binary string values. */
269
+ var reIsBinary = /^0b[01]+$/i;
270
+
271
+ /** Used to detect octal string values. */
272
+ var reIsOctal = /^0o[0-7]+$/i;
273
+
274
+ /** Built-in method references without a dependency on `root`. */
275
+ var freeParseInt = parseInt;
276
+
277
+ /**
278
+ * Converts `value` to a number.
279
+ *
280
+ * @static
281
+ * @memberOf _
282
+ * @since 4.0.0
283
+ * @category Lang
284
+ * @param {*} value The value to process.
285
+ * @returns {number} Returns the number.
286
+ * @example
287
+ *
288
+ * _.toNumber(3.2);
289
+ * // => 3.2
290
+ *
291
+ * _.toNumber(Number.MIN_VALUE);
292
+ * // => 5e-324
293
+ *
294
+ * _.toNumber(Infinity);
295
+ * // => Infinity
296
+ *
297
+ * _.toNumber('3.2');
298
+ * // => 3.2
299
+ */
300
+ function toNumber(value) {
301
+ if (typeof value == 'number') {
302
+ return value;
303
+ }
304
+ if (isSymbol_1(value)) {
305
+ return NAN;
306
+ }
307
+ if (isObject_1(value)) {
308
+ var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
309
+ value = isObject_1(other) ? (other + '') : other;
310
+ }
311
+ if (typeof value != 'string') {
312
+ return value === 0 ? value : +value;
313
+ }
314
+ value = _baseTrim(value);
315
+ var isBinary = reIsBinary.test(value);
316
+ return (isBinary || reIsOctal.test(value))
317
+ ? freeParseInt(value.slice(2), isBinary ? 2 : 8)
318
+ : (reIsBadHex.test(value) ? NAN : +value);
319
+ }
320
+
321
+ var toNumber_1 = toNumber;
322
+
323
+ const FILTER_BUTTON_CLASS = 'rv-filter';
324
+ const FILTER_BUTTON_ACTIVE = 'active';
325
+ const FILTER_PROP = 'hasFilter';
326
+ const AND_OR_BUTTON = 'and-or-button';
327
+ const TRASH_BUTTON = 'trash-button';
328
+ const FilterButton = ({ column }) => {
329
+ return (index.h("span", null,
330
+ index.h("button", { class: {
331
+ [FILTER_BUTTON_CLASS]: true,
332
+ [FILTER_BUTTON_ACTIVE]: column && !!column[FILTER_PROP],
333
+ } },
334
+ index.h("svg", { class: "filter-img", viewBox: "0 0 64 64" },
335
+ index.h("g", { stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd" },
336
+ index.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" }))))));
337
+ };
338
+ const TrashButton = () => {
339
+ return (index.h("div", { class: { [TRASH_BUTTON]: true } },
340
+ index.h("svg", { class: "trash-img", viewBox: "0 0 24 24" },
341
+ index.h("path", { fill: "currentColor", d: "M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M7,6H17V19H7V6M9,8V17H11V8H9M13,8V17H15V8H13Z" }))));
342
+ };
343
+ const AndOrButton = ({ isAnd }) => {
344
+ return index.h("button", { class: { [AND_OR_BUTTON]: true, 'light revo-button': true } }, isAnd ? 'and' : 'or');
345
+ };
346
+ function isFilterBtn(e) {
347
+ if (e.classList.contains(FILTER_BUTTON_CLASS)) {
348
+ return true;
349
+ }
350
+ return e === null || e === void 0 ? void 0 : e.closest(`.${FILTER_BUTTON_CLASS}`);
351
+ }
352
+
353
+ /**
354
+ * Gets the timestamp of the number of milliseconds that have elapsed since
355
+ * the Unix epoch (1 January 1970 00:00:00 UTC).
356
+ *
357
+ * @static
358
+ * @memberOf _
359
+ * @since 2.4.0
360
+ * @category Date
361
+ * @returns {number} Returns the timestamp.
362
+ * @example
363
+ *
364
+ * _.defer(function(stamp) {
365
+ * console.log(_.now() - stamp);
366
+ * }, _.now());
367
+ * // => Logs the number of milliseconds it took for the deferred invocation.
368
+ */
369
+ var now = function() {
370
+ return _root.Date.now();
371
+ };
372
+
373
+ var now_1 = now;
374
+
375
+ /** Error message constants. */
376
+ var FUNC_ERROR_TEXT = 'Expected a function';
377
+
378
+ /* Built-in method references for those with the same name as other `lodash` methods. */
379
+ var nativeMax = Math.max,
380
+ nativeMin = Math.min;
381
+
382
+ /**
383
+ * Creates a debounced function that delays invoking `func` until after `wait`
384
+ * milliseconds have elapsed since the last time the debounced function was
385
+ * invoked. The debounced function comes with a `cancel` method to cancel
386
+ * delayed `func` invocations and a `flush` method to immediately invoke them.
387
+ * Provide `options` to indicate whether `func` should be invoked on the
388
+ * leading and/or trailing edge of the `wait` timeout. The `func` is invoked
389
+ * with the last arguments provided to the debounced function. Subsequent
390
+ * calls to the debounced function return the result of the last `func`
391
+ * invocation.
392
+ *
393
+ * **Note:** If `leading` and `trailing` options are `true`, `func` is
394
+ * invoked on the trailing edge of the timeout only if the debounced function
395
+ * is invoked more than once during the `wait` timeout.
396
+ *
397
+ * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
398
+ * until to the next tick, similar to `setTimeout` with a timeout of `0`.
399
+ *
400
+ * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
401
+ * for details over the differences between `_.debounce` and `_.throttle`.
402
+ *
403
+ * @static
404
+ * @memberOf _
405
+ * @since 0.1.0
406
+ * @category Function
407
+ * @param {Function} func The function to debounce.
408
+ * @param {number} [wait=0] The number of milliseconds to delay.
409
+ * @param {Object} [options={}] The options object.
410
+ * @param {boolean} [options.leading=false]
411
+ * Specify invoking on the leading edge of the timeout.
412
+ * @param {number} [options.maxWait]
413
+ * The maximum time `func` is allowed to be delayed before it's invoked.
414
+ * @param {boolean} [options.trailing=true]
415
+ * Specify invoking on the trailing edge of the timeout.
416
+ * @returns {Function} Returns the new debounced function.
417
+ * @example
418
+ *
419
+ * // Avoid costly calculations while the window size is in flux.
420
+ * jQuery(window).on('resize', _.debounce(calculateLayout, 150));
421
+ *
422
+ * // Invoke `sendMail` when clicked, debouncing subsequent calls.
423
+ * jQuery(element).on('click', _.debounce(sendMail, 300, {
424
+ * 'leading': true,
425
+ * 'trailing': false
426
+ * }));
427
+ *
428
+ * // Ensure `batchLog` is invoked once after 1 second of debounced calls.
429
+ * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });
430
+ * var source = new EventSource('/stream');
431
+ * jQuery(source).on('message', debounced);
432
+ *
433
+ * // Cancel the trailing debounced invocation.
434
+ * jQuery(window).on('popstate', debounced.cancel);
435
+ */
436
+ function debounce(func, wait, options) {
437
+ var lastArgs,
438
+ lastThis,
439
+ maxWait,
440
+ result,
441
+ timerId,
442
+ lastCallTime,
443
+ lastInvokeTime = 0,
444
+ leading = false,
445
+ maxing = false,
446
+ trailing = true;
447
+
448
+ if (typeof func != 'function') {
449
+ throw new TypeError(FUNC_ERROR_TEXT);
450
+ }
451
+ wait = toNumber_1(wait) || 0;
452
+ if (isObject_1(options)) {
453
+ leading = !!options.leading;
454
+ maxing = 'maxWait' in options;
455
+ maxWait = maxing ? nativeMax(toNumber_1(options.maxWait) || 0, wait) : maxWait;
456
+ trailing = 'trailing' in options ? !!options.trailing : trailing;
457
+ }
458
+
459
+ function invokeFunc(time) {
460
+ var args = lastArgs,
461
+ thisArg = lastThis;
462
+
463
+ lastArgs = lastThis = undefined;
464
+ lastInvokeTime = time;
465
+ result = func.apply(thisArg, args);
466
+ return result;
467
+ }
468
+
469
+ function leadingEdge(time) {
470
+ // Reset any `maxWait` timer.
471
+ lastInvokeTime = time;
472
+ // Start the timer for the trailing edge.
473
+ timerId = setTimeout(timerExpired, wait);
474
+ // Invoke the leading edge.
475
+ return leading ? invokeFunc(time) : result;
476
+ }
477
+
478
+ function remainingWait(time) {
479
+ var timeSinceLastCall = time - lastCallTime,
480
+ timeSinceLastInvoke = time - lastInvokeTime,
481
+ timeWaiting = wait - timeSinceLastCall;
482
+
483
+ return maxing
484
+ ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)
485
+ : timeWaiting;
486
+ }
487
+
488
+ function shouldInvoke(time) {
489
+ var timeSinceLastCall = time - lastCallTime,
490
+ timeSinceLastInvoke = time - lastInvokeTime;
491
+
492
+ // Either this is the first call, activity has stopped and we're at the
493
+ // trailing edge, the system time has gone backwards and we're treating
494
+ // it as the trailing edge, or we've hit the `maxWait` limit.
495
+ return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||
496
+ (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));
497
+ }
498
+
499
+ function timerExpired() {
500
+ var time = now_1();
501
+ if (shouldInvoke(time)) {
502
+ return trailingEdge(time);
503
+ }
504
+ // Restart the timer.
505
+ timerId = setTimeout(timerExpired, remainingWait(time));
506
+ }
507
+
508
+ function trailingEdge(time) {
509
+ timerId = undefined;
510
+
511
+ // Only invoke if we have `lastArgs` which means `func` has been
512
+ // debounced at least once.
513
+ if (trailing && lastArgs) {
514
+ return invokeFunc(time);
515
+ }
516
+ lastArgs = lastThis = undefined;
517
+ return result;
518
+ }
519
+
520
+ function cancel() {
521
+ if (timerId !== undefined) {
522
+ clearTimeout(timerId);
523
+ }
524
+ lastInvokeTime = 0;
525
+ lastArgs = lastCallTime = lastThis = timerId = undefined;
526
+ }
527
+
528
+ function flush() {
529
+ return timerId === undefined ? result : trailingEdge(now_1());
530
+ }
531
+
532
+ function debounced() {
533
+ var time = now_1(),
534
+ isInvoking = shouldInvoke(time);
535
+
536
+ lastArgs = arguments;
537
+ lastThis = this;
538
+ lastCallTime = time;
539
+
540
+ if (isInvoking) {
541
+ if (timerId === undefined) {
542
+ return leadingEdge(lastCallTime);
543
+ }
544
+ if (maxing) {
545
+ // Handle invocations in a tight loop.
546
+ clearTimeout(timerId);
547
+ timerId = setTimeout(timerExpired, wait);
548
+ return invokeFunc(lastCallTime);
549
+ }
550
+ }
551
+ if (timerId === undefined) {
552
+ timerId = setTimeout(timerExpired, wait);
553
+ }
554
+ return result;
555
+ }
556
+ debounced.cancel = cancel;
557
+ debounced.flush = flush;
558
+ return debounced;
559
+ }
560
+
561
+ var debounce_1 = debounce;
562
+
563
+ exports.AndOrButton = AndOrButton;
564
+ exports.FILTER_PROP = FILTER_PROP;
565
+ exports.FilterButton = FilterButton;
566
+ exports.TrashButton = TrashButton;
567
+ exports._Symbol = _Symbol;
568
+ exports._baseGetTag = _baseGetTag;
569
+ exports._freeGlobal = _freeGlobal;
570
+ exports._root = _root;
571
+ exports.commonjsGlobal = commonjsGlobal;
572
+ exports.createCommonjsModule = createCommonjsModule;
573
+ exports.debounce_1 = debounce_1;
574
+ exports.isFilterBtn = isFilterBtn;
575
+ exports.isObjectLike_1 = isObjectLike_1;
576
+ exports.isObject_1 = isObject_1;
577
+ exports.isSymbol_1 = isSymbol_1;
578
+ exports.toNumber_1 = toNumber_1;
@@ -0,0 +1,78 @@
1
+ /*!
2
+ * Built by Revolist
3
+ */
4
+ 'use strict';
5
+
6
+ /*
7
+ Stencil Client Patch Browser v2.17.3 | MIT Licensed | https://stenciljs.com
8
+ */
9
+ (function(){
10
+ 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))}
11
+ function n(a,b){for(;b&&b!==a&&!b.nextSibling;)b=b.parentNode;return b&&b!==a?b.nextSibling:null}
12
+ 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);}}
13
+ 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);}}
14
+ 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=
15
+ 0;b<f.length;b++)w(a,f[b]);for(b=0;b<f.length;b++)e(f[b]);}
16
+ 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=
17
+ 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);};
18
+ 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);}
19
+ 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.");
20
+ 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,
21
+ 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);};
22
+ 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};
23
+ 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;
24
+ 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,
25
+ "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,
26
+ 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.");
27
+ 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,
28
+ 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);
29
+ 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,
30
+ 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=[],
31
+ 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&&
32
+ 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});}
33
+ 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,
34
+ 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},
35
+ 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,
36
+ 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,
37
+ 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);
38
+
39
+ // Polyfill document.baseURI
40
+ "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}});
41
+
42
+ // Polyfill CustomEvent
43
+ "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);
44
+
45
+ // Event.composedPath
46
+ (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);
47
+
48
+ /*!
49
+ Element.closest and Element.matches
50
+ https://github.com/jonathantneal/closest
51
+ Creative Commons Zero v1.0 Universal
52
+ */
53
+ (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);
54
+
55
+ /*!
56
+ Element.getRootNode()
57
+ */
58
+ (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);
59
+
60
+ /*!
61
+ Element.isConnected()
62
+ */
63
+ (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);
64
+
65
+ /*!
66
+ Element.remove()
67
+ */
68
+ (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]);
69
+
70
+ /*!
71
+ Element.classList
72
+ */
73
+ !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);
74
+
75
+ /*!
76
+ DOMTokenList
77
+ */
78
+ (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);