@revolist/revogrid 4.0.2-next → 4.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/dist/cjs/app-globals-53fde1aa.js +14 -0
- package/dist/cjs/app-globals-53fde1aa.js.map +1 -0
- package/dist/cjs/column.service-2066d651.js +545 -0
- package/dist/cjs/column.service-2066d651.js.map +1 -0
- package/dist/cjs/debounce-e2b7c6fb.js +226 -0
- package/dist/cjs/debounce-e2b7c6fb.js.map +1 -0
- package/dist/cjs/dimension.helpers-ee39d6c4.js +4218 -0
- package/dist/cjs/dimension.helpers-ee39d6c4.js.map +1 -0
- package/dist/cjs/dispatcher-a58fa91a.js +34 -0
- package/dist/cjs/dispatcher-a58fa91a.js.map +1 -0
- package/dist/cjs/events-7ccd6894.js +233 -0
- package/dist/cjs/events-7ccd6894.js.map +1 -0
- package/dist/cjs/filter.button-db6cbd2e.js +44 -0
- package/dist/cjs/filter.button-db6cbd2e.js.map +1 -0
- package/dist/cjs/header-cell-renderer-3df76829.js +304 -0
- package/dist/cjs/header-cell-renderer-3df76829.js.map +1 -0
- package/dist/cjs/index-73c149e3.js +106 -0
- package/dist/cjs/index-73c149e3.js.map +1 -0
- package/dist/cjs/index-84e32c2a.js +1868 -0
- package/dist/cjs/index-84e32c2a.js.map +1 -0
- package/dist/cjs/index.cjs.js +53 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/key.utils-dc4ac217.js +129 -0
- package/dist/cjs/key.utils-dc4ac217.js.map +1 -0
- package/dist/cjs/loader.cjs.js +12 -27
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/{resize-observer-8dc80084.js → resize-observer-d009a220.js} +30 -13
- package/dist/cjs/resize-observer-d009a220.js.map +1 -0
- package/dist/cjs/revo-grid.cjs.entry.js +3992 -0
- package/dist/cjs/revo-grid.cjs.entry.js.map +1 -0
- package/dist/cjs/revo-grid.cjs.js +22 -65
- package/dist/cjs/revo-grid.cjs.js.map +1 -0
- package/dist/cjs/revogr-attribution_6.cjs.entry.js +1270 -0
- package/dist/cjs/revogr-attribution_6.cjs.entry.js.map +1 -0
- package/dist/cjs/revogr-clipboard_3.cjs.entry.js +508 -0
- package/dist/cjs/revogr-clipboard_3.cjs.entry.js.map +1 -0
- package/dist/cjs/revogr-data_4.cjs.entry.js +958 -0
- package/dist/cjs/revogr-data_4.cjs.entry.js.map +1 -0
- package/dist/cjs/revogr-filter-panel.cjs.entry.js +268 -115
- package/dist/cjs/revogr-filter-panel.cjs.entry.js.map +1 -0
- package/dist/cjs/selection.store-2e110a67.js +400 -0
- package/dist/cjs/selection.store-2e110a67.js.map +1 -0
- package/dist/cjs/storeTypes-b3f924b2.js +106 -0
- package/dist/cjs/storeTypes-b3f924b2.js.map +1 -0
- package/dist/cjs/throttle-f7aee21b.js +240 -0
- package/dist/cjs/throttle-f7aee21b.js.map +1 -0
- package/dist/cjs/toNumber-838e6ff5.js +340 -0
- package/dist/cjs/toNumber-838e6ff5.js.map +1 -0
- package/dist/cjs/viewport.helpers-6670177c.js +262 -0
- package/dist/cjs/viewport.helpers-6670177c.js.map +1 -0
- package/dist/collection/collection-manifest.json +18 -16
- package/dist/collection/components/attribution/revogr-attribution.js +20 -0
- package/dist/collection/components/attribution/revogr-attribution.js.map +1 -0
- package/dist/collection/components/clipboard/revogr-clipboard.js +410 -115
- package/dist/collection/components/clipboard/revogr-clipboard.js.map +1 -0
- package/dist/collection/components/data/cell-renderer.js +39 -0
- package/dist/collection/components/data/cell-renderer.js.map +1 -0
- package/dist/collection/components/data/column.service.js +302 -0
- package/dist/collection/components/data/column.service.js.map +1 -0
- package/dist/collection/components/data/revogr-data-style.css +18 -11
- package/dist/collection/components/data/revogr-data.js +626 -301
- package/dist/collection/components/data/revogr-data.js.map +1 -0
- package/dist/collection/components/data/row-highlight.plugin.js +51 -0
- package/dist/collection/components/data/row-highlight.plugin.js.map +1 -0
- package/dist/collection/components/data/row-renderer.js +16 -0
- package/dist/collection/components/data/row-renderer.js.map +1 -0
- package/dist/collection/components/editors/edit.utils.js +9 -0
- package/dist/collection/components/editors/edit.utils.js.map +1 -0
- package/dist/collection/components/{overlay → editors}/revogr-edit-style.css +15 -9
- package/dist/collection/components/editors/revogr-edit.js +316 -0
- package/dist/collection/components/editors/revogr-edit.js.map +1 -0
- package/dist/collection/components/editors/text-editor.js +73 -0
- package/dist/collection/components/editors/text-editor.js.map +1 -0
- package/dist/collection/components/header/header-cell-renderer.js +28 -0
- package/dist/collection/components/header/header-cell-renderer.js.map +1 -0
- package/dist/collection/components/header/header-renderer.js +47 -0
- package/dist/collection/components/header/header-renderer.js.map +1 -0
- package/dist/collection/components/header/revogr-header-style.css +15 -9
- package/dist/collection/components/header/revogr-header.js +421 -297
- package/dist/collection/components/header/revogr-header.js.map +1 -0
- package/dist/collection/components/order/order-renderer.js +50 -0
- package/dist/collection/components/order/order-renderer.js.map +1 -0
- package/dist/collection/components/order/order-row.service.js +72 -0
- package/dist/collection/components/order/order-row.service.js.map +1 -0
- package/dist/collection/components/order/revogr-order-editor.js +381 -350
- package/dist/collection/components/order/revogr-order-editor.js.map +1 -0
- package/dist/collection/components/overlay/autofill.service.js +206 -179
- package/dist/collection/components/overlay/autofill.service.js.map +1 -0
- package/dist/collection/components/overlay/keyboard.service.js +137 -124
- package/dist/collection/components/overlay/keyboard.service.js.map +1 -0
- package/dist/collection/components/overlay/revogr-overlay-selection.js +1208 -703
- package/dist/collection/components/overlay/revogr-overlay-selection.js.map +1 -0
- package/dist/collection/components/overlay/revogr-overlay-style.css +86 -13
- package/dist/collection/components/overlay/selection.utils.js +86 -82
- package/dist/collection/components/overlay/selection.utils.js.map +1 -0
- package/dist/collection/components/revoGrid/grid.helpers.js +28 -13
- package/dist/collection/components/revoGrid/grid.helpers.js.map +1 -0
- package/dist/collection/components/revoGrid/revo-grid-style.css +143 -51
- package/dist/collection/components/revoGrid/revo-grid.js +2834 -2181
- package/dist/collection/components/revoGrid/revo-grid.js.map +1 -0
- package/dist/collection/components/revoGrid/viewport.helpers.js +9 -4
- package/dist/collection/components/revoGrid/viewport.helpers.js.map +1 -0
- package/dist/collection/components/revoGrid/viewport.resize.service.js +23 -19
- package/dist/collection/components/revoGrid/viewport.resize.service.js.map +1 -0
- package/dist/collection/components/revoGrid/viewport.scrolling.service.js +78 -50
- package/dist/collection/components/revoGrid/viewport.scrolling.service.js.map +1 -0
- package/dist/collection/components/revoGrid/viewport.service.js +224 -204
- package/dist/collection/components/revoGrid/viewport.service.js.map +1 -0
- package/dist/collection/components/rowHeaders/revogr-row-headers.js +262 -204
- package/dist/collection/components/rowHeaders/revogr-row-headers.js.map +1 -0
- package/dist/collection/components/rowHeaders/row-header-render.js +4 -0
- package/dist/collection/components/rowHeaders/row-header-render.js.map +1 -0
- package/dist/collection/components/scroll/revogr-viewport-scroll-style.css +20 -13
- package/dist/collection/components/scroll/revogr-viewport-scroll.js +535 -369
- package/dist/collection/components/scroll/revogr-viewport-scroll.js.map +1 -0
- package/dist/collection/components/scrollable/autohide-scroll.plugin.js +44 -0
- package/dist/collection/components/scrollable/autohide-scroll.plugin.js.map +1 -0
- package/dist/collection/components/scrollable/revogr-scroll-style.css +24 -18
- package/dist/collection/components/scrollable/revogr-scroll-virtual.js +286 -247
- package/dist/collection/components/scrollable/revogr-scroll-virtual.js.map +1 -0
- package/dist/collection/components/selectionFocus/revogr-focus-style.css +16 -10
- package/dist/collection/components/selectionFocus/revogr-focus.js +366 -96
- package/dist/collection/components/selectionFocus/revogr-focus.js.map +1 -0
- package/dist/collection/components/selectionTempRange/revogr-temp-range-style.css +16 -10
- package/dist/collection/components/selectionTempRange/revogr-temp-range.js +149 -128
- package/dist/collection/components/selectionTempRange/revogr-temp-range.js.map +1 -0
- package/dist/collection/components/vnode/vnode-converter.js +81 -0
- package/dist/collection/components/vnode/vnode-converter.js.map +1 -0
- package/dist/collection/components/vnode/vnode.utils.js +18 -0
- package/dist/collection/components/vnode/vnode.utils.js.map +1 -0
- package/dist/collection/global/global.js +15 -11
- package/dist/collection/global/global.js.map +1 -0
- package/dist/collection/index.js +18 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/plugins/base.plugin.js +88 -0
- package/dist/collection/plugins/base.plugin.js.map +1 -0
- package/dist/collection/plugins/column.auto-size.plugin.js +234 -0
- package/dist/collection/plugins/column.auto-size.plugin.js.map +1 -0
- package/dist/collection/plugins/column.stretch.plugin.js +96 -0
- package/dist/collection/plugins/column.stretch.plugin.js.map +1 -0
- package/dist/collection/plugins/dispatcher.js +27 -0
- package/dist/collection/plugins/dispatcher.js.map +1 -0
- package/dist/collection/plugins/export/csv.js +57 -53
- package/dist/collection/plugins/export/csv.js.map +1 -0
- package/dist/collection/plugins/export/export.plugin.js +154 -150
- package/dist/collection/plugins/export/export.plugin.js.map +1 -0
- package/dist/collection/plugins/export/types.js +1 -0
- package/dist/collection/plugins/export/types.js.map +1 -0
- package/dist/collection/plugins/filter/conditions/equal.js +15 -7
- package/dist/collection/plugins/filter/conditions/equal.js.map +1 -0
- package/dist/collection/plugins/filter/conditions/number/greaterThan.js +10 -6
- package/dist/collection/plugins/filter/conditions/number/greaterThan.js.map +1 -0
- package/dist/collection/plugins/filter/conditions/number/greaterThanOrEqual.js +7 -3
- package/dist/collection/plugins/filter/conditions/number/greaterThanOrEqual.js.map +1 -0
- package/dist/collection/plugins/filter/conditions/number/lessThan.js +12 -8
- package/dist/collection/plugins/filter/conditions/number/lessThan.js.map +1 -0
- package/dist/collection/plugins/filter/conditions/number/lessThanOrEqual.js +7 -3
- package/dist/collection/plugins/filter/conditions/number/lessThanOrEqual.js.map +1 -0
- package/dist/collection/plugins/filter/conditions/set.js +4 -0
- package/dist/collection/plugins/filter/conditions/set.js.map +1 -0
- package/dist/collection/plugins/filter/conditions/string/beginswith.js +17 -13
- package/dist/collection/plugins/filter/conditions/string/beginswith.js.map +1 -0
- package/dist/collection/plugins/filter/conditions/string/contains.js +17 -10
- package/dist/collection/plugins/filter/conditions/string/contains.js.map +1 -0
- package/dist/collection/plugins/filter/filter.button.js +21 -13
- package/dist/collection/plugins/filter/filter.button.js.map +1 -0
- package/dist/collection/plugins/filter/filter.plugin.js +280 -185
- package/dist/collection/plugins/filter/filter.plugin.js.map +1 -0
- package/dist/collection/plugins/filter/filter.pop.js +492 -246
- package/dist/collection/plugins/filter/filter.pop.js.map +1 -0
- package/dist/collection/plugins/filter/filter.service.js +42 -38
- package/dist/collection/plugins/filter/filter.service.js.map +1 -0
- package/dist/collection/plugins/filter/filter.style.css +68 -15
- package/dist/collection/plugins/filter/filter.types.js +1 -0
- package/dist/collection/plugins/filter/filter.types.js.map +1 -0
- package/dist/collection/plugins/groupingColumn/columnGroupsRenderer.js +30 -26
- package/dist/collection/plugins/groupingColumn/columnGroupsRenderer.js.map +1 -0
- package/dist/collection/plugins/groupingColumn/grouping.col.plugin.js +38 -30
- package/dist/collection/plugins/groupingColumn/grouping.col.plugin.js.map +1 -0
- package/dist/collection/plugins/groupingColumn/headerGroupRenderer.js +22 -18
- package/dist/collection/plugins/groupingColumn/headerGroupRenderer.js.map +1 -0
- package/dist/collection/plugins/groupingRow/grouping.const.js +7 -2
- package/dist/collection/plugins/groupingRow/grouping.const.js.map +1 -0
- package/dist/collection/plugins/groupingRow/grouping.row.expand.service.js +64 -61
- package/dist/collection/plugins/groupingRow/grouping.row.expand.service.js.map +1 -0
- package/dist/collection/plugins/groupingRow/grouping.row.plugin.js +239 -237
- package/dist/collection/plugins/groupingRow/grouping.row.plugin.js.map +1 -0
- package/dist/collection/plugins/groupingRow/grouping.row.renderer.js +27 -24
- package/dist/collection/plugins/groupingRow/grouping.row.renderer.js.map +1 -0
- package/dist/collection/plugins/groupingRow/grouping.row.types.js +1 -0
- package/dist/collection/plugins/groupingRow/grouping.row.types.js.map +1 -0
- package/dist/collection/plugins/groupingRow/grouping.service.js +101 -131
- package/dist/collection/plugins/groupingRow/grouping.service.js.map +1 -0
- package/dist/collection/plugins/groupingRow/grouping.trimmed.service.js +47 -43
- package/dist/collection/plugins/groupingRow/grouping.trimmed.service.js.map +1 -0
- package/dist/collection/plugins/moveColumn/column.drag.plugin.js +167 -0
- package/dist/collection/plugins/moveColumn/column.drag.plugin.js.map +1 -0
- package/dist/collection/plugins/moveColumn/order-column.handler.js +69 -0
- package/dist/collection/plugins/moveColumn/order-column.handler.js.map +1 -0
- package/dist/collection/plugins/sorting/sorting.plugin.js +218 -163
- package/dist/collection/plugins/sorting/sorting.plugin.js.map +1 -0
- package/dist/collection/plugins/sorting/sorting.sign.js +6 -2
- package/dist/collection/plugins/sorting/sorting.sign.js.map +1 -0
- package/dist/collection/serve/controller.js +233 -0
- package/dist/collection/{utilsExternal/generate-data.js → serve/data.js} +72 -32
- package/dist/collection/services/cell.helpers.js +9 -5
- package/dist/collection/services/cell.helpers.js.map +1 -0
- package/dist/collection/services/column.data.provider.js +201 -185
- package/dist/collection/services/column.data.provider.js.map +1 -0
- package/dist/collection/services/data.provider.js +70 -45
- package/dist/collection/services/data.provider.js.map +1 -0
- package/dist/collection/services/dimension.provider.js +143 -84
- package/dist/collection/services/dimension.provider.js.map +1 -0
- package/dist/collection/services/local.scroll.service.js +120 -0
- package/dist/collection/services/local.scroll.service.js.map +1 -0
- package/dist/collection/services/local.scroll.timer.js +42 -0
- package/dist/collection/services/local.scroll.timer.js.map +1 -0
- package/dist/collection/services/resizable.directive.js +211 -226
- package/dist/collection/services/resizable.directive.js.map +1 -0
- package/dist/collection/services/resizable.element.js +39 -0
- package/dist/collection/services/resizable.element.js.map +1 -0
- package/dist/collection/services/selection.store.connector.js +257 -208
- package/dist/collection/services/selection.store.connector.js.map +1 -0
- package/dist/collection/services/viewport.provider.js +16 -12
- package/dist/collection/services/viewport.provider.js.map +1 -0
- package/dist/collection/store/dataSource/data.proxy.js +29 -25
- package/dist/collection/store/dataSource/data.proxy.js.map +1 -0
- package/dist/collection/store/dataSource/data.store.js +100 -93
- package/dist/collection/store/dataSource/data.store.js.map +1 -0
- package/dist/collection/store/dataSource/index.js +7 -0
- package/dist/collection/store/dataSource/index.js.map +1 -0
- package/dist/collection/store/dataSource/trimmed.plugin.js +36 -0
- package/dist/collection/store/dataSource/trimmed.plugin.js.map +1 -0
- package/dist/collection/store/dimension/dimension.helpers.js +97 -95
- package/dist/collection/store/dimension/dimension.helpers.js.map +1 -0
- package/dist/collection/store/dimension/dimension.store.js +106 -48
- package/dist/collection/store/dimension/dimension.store.js.map +1 -0
- package/dist/collection/store/dimension/index.js +6 -0
- package/dist/collection/store/dimension/index.js.map +1 -0
- package/dist/collection/store/selection/index.js +7 -0
- package/dist/collection/store/selection/index.js.map +1 -0
- package/dist/collection/store/selection/selection.helpers.js +43 -39
- package/dist/collection/store/selection/selection.helpers.js.map +1 -0
- package/dist/collection/store/selection/selection.store.js +75 -63
- package/dist/collection/store/selection/selection.store.js.map +1 -0
- package/dist/collection/store/selection/selection.store.service.js +35 -31
- package/dist/collection/store/selection/selection.store.service.js.map +1 -0
- package/dist/collection/store/storeTypes.js +10 -2
- package/dist/collection/store/storeTypes.js.map +1 -0
- package/dist/collection/store/viewport/index.js +6 -0
- package/dist/collection/store/viewport/index.js.map +1 -0
- package/dist/collection/store/viewport/viewport.helpers.js +247 -0
- package/dist/collection/store/viewport/viewport.helpers.js.map +1 -0
- package/dist/collection/store/viewport/viewport.store.js +193 -0
- package/dist/collection/store/viewport/viewport.store.js.map +1 -0
- package/dist/collection/themeManager/theme.compact.js +7 -3
- package/dist/collection/themeManager/theme.compact.js.map +1 -0
- package/dist/collection/themeManager/theme.default.js +7 -3
- package/dist/collection/themeManager/theme.default.js.map +1 -0
- package/dist/collection/themeManager/theme.material.js +7 -3
- package/dist/collection/themeManager/theme.material.js.map +1 -0
- package/dist/collection/themeManager/theme.service.js +53 -0
- package/dist/collection/themeManager/theme.service.js.map +1 -0
- package/dist/collection/types/dimension.js +2 -0
- package/dist/collection/types/dimension.js.map +1 -0
- package/dist/collection/types/interfaces.js +2 -0
- package/dist/collection/types/interfaces.js.map +1 -0
- package/dist/collection/types/plugin.js +2 -0
- package/dist/collection/types/plugin.js.map +1 -0
- package/dist/collection/types/plugin.types.js +2 -0
- package/dist/collection/types/plugin.types.js.map +1 -0
- package/dist/collection/types/selection.js +2 -0
- package/dist/collection/types/selection.js.map +1 -0
- package/dist/collection/types/theme.js +2 -0
- package/dist/collection/types/theme.js.map +1 -0
- package/dist/collection/types/viewport.interfaces.js +2 -0
- package/dist/collection/types/viewport.interfaces.js.map +1 -0
- package/dist/collection/utils/browser.js +7 -0
- package/dist/collection/utils/browser.js.map +1 -0
- package/dist/collection/utils/closest.polifill.js +22 -0
- package/dist/collection/utils/closest.polifill.js.map +1 -0
- package/dist/collection/utils/consts.js +8 -0
- package/dist/collection/utils/consts.js.map +1 -0
- package/dist/collection/utils/events.js +29 -0
- package/dist/collection/utils/events.js.map +1 -0
- package/dist/collection/utils/header.utils.js +24 -0
- package/dist/collection/utils/header.utils.js.map +1 -0
- package/dist/collection/utils/index.js +125 -0
- package/dist/collection/utils/index.js.map +1 -0
- package/dist/collection/utils/key.codes.js +76 -0
- package/dist/collection/utils/key.codes.js.map +1 -0
- package/dist/collection/utils/key.utils.js +84 -0
- package/dist/collection/utils/key.utils.js.map +1 -0
- package/dist/collection/utils/mobile.js +7 -0
- package/dist/collection/utils/mobile.js.map +1 -0
- package/dist/collection/utils/platform.js +5 -1
- package/dist/collection/utils/platform.js.map +1 -0
- package/dist/collection/utils/resize-observer.polifill.js +10 -0
- package/dist/collection/utils/resize-observer.polifill.js.map +1 -0
- package/dist/collection/utils/row-header-utils.js +9 -0
- package/dist/collection/utils/row-header-utils.js.map +1 -0
- package/dist/collection/utils/store.utils.js +7 -3
- package/dist/collection/utils/store.utils.js.map +1 -0
- package/dist/esm/app-globals-ef1fca59.js +12 -0
- package/dist/esm/app-globals-ef1fca59.js.map +1 -0
- package/dist/esm/column.service-21a3af74.js +520 -0
- package/dist/esm/column.service-21a3af74.js.map +1 -0
- package/dist/esm/debounce-7781346d.js +224 -0
- package/dist/esm/debounce-7781346d.js.map +1 -0
- package/dist/esm/dimension.helpers-a3065cb1.js +4185 -0
- package/dist/esm/dimension.helpers-a3065cb1.js.map +1 -0
- package/dist/esm/dispatcher-8ea9187d.js +30 -0
- package/dist/esm/dispatcher-8ea9187d.js.map +1 -0
- package/dist/esm/events-3dd8ee7c.js +228 -0
- package/dist/esm/events-3dd8ee7c.js.map +1 -0
- package/dist/esm/filter.button-46ce4f80.js +38 -0
- package/dist/esm/filter.button-46ce4f80.js.map +1 -0
- package/dist/esm/header-cell-renderer-1ca84d5f.js +301 -0
- package/dist/esm/header-cell-renderer-1ca84d5f.js.map +1 -0
- package/dist/esm/index-21436631.js +1837 -0
- package/dist/esm/index-21436631.js.map +1 -0
- package/dist/esm/index-98fd0168.js +79 -0
- package/dist/esm/index-98fd0168.js.map +1 -0
- package/dist/esm/index.js +11 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/key.utils-4586a3d6.js +120 -0
- package/dist/esm/key.utils-4586a3d6.js.map +1 -0
- package/dist/esm/loader.js +11 -26
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/{resize-observer-56b7b34f.js → resize-observer-83c9e167.js} +30 -14
- package/dist/esm/resize-observer-83c9e167.js.map +1 -0
- package/dist/esm/revo-grid.entry.js +3988 -0
- package/dist/esm/revo-grid.entry.js.map +1 -0
- package/dist/esm/revo-grid.js +19 -65
- package/dist/esm/revo-grid.js.map +1 -0
- package/dist/esm/revogr-attribution_6.entry.js +1261 -0
- package/dist/esm/revogr-attribution_6.entry.js.map +1 -0
- package/dist/esm/revogr-clipboard_3.entry.js +502 -0
- package/dist/esm/revogr-clipboard_3.entry.js.map +1 -0
- package/dist/esm/revogr-data_4.entry.js +951 -0
- package/dist/esm/revogr-data_4.entry.js.map +1 -0
- package/dist/esm/revogr-filter-panel.entry.js +268 -115
- package/dist/esm/revogr-filter-panel.entry.js.map +1 -0
- package/dist/esm/selection.store-2577ddf9.js +391 -0
- package/dist/esm/selection.store-2577ddf9.js.map +1 -0
- package/dist/esm/storeTypes-f2647985.js +101 -0
- package/dist/esm/storeTypes-f2647985.js.map +1 -0
- package/dist/esm/throttle-cfd527d6.js +235 -0
- package/dist/esm/throttle-cfd527d6.js.map +1 -0
- package/dist/esm/toNumber-8de324a7.js +331 -0
- package/dist/esm/toNumber-8de324a7.js.map +1 -0
- package/dist/esm/viewport.helpers-6591d423.js +251 -0
- package/dist/esm/viewport.helpers-6591d423.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/loader/cdn.js +4 -0
- package/dist/loader/index.cjs.js +4 -0
- package/{loader → dist/loader}/index.d.ts +11 -3
- package/dist/loader/index.es2017.js +4 -0
- package/dist/{esm/polyfills/es5-html-element.js → loader/index.js} +5 -1
- package/{loader → dist/loader}/package.json +1 -0
- package/dist/revo-grid/app-globals-ef1fca59.js +5 -0
- package/dist/revo-grid/app-globals-ef1fca59.js.map +1 -0
- package/dist/revo-grid/column.service-21a3af74.js +5 -0
- package/dist/revo-grid/column.service-21a3af74.js.map +1 -0
- package/dist/revo-grid/debounce-7781346d.js +5 -0
- package/dist/revo-grid/debounce-7781346d.js.map +1 -0
- package/dist/revo-grid/dimension.helpers-a3065cb1.js +5 -0
- package/dist/revo-grid/dimension.helpers-a3065cb1.js.map +1 -0
- package/dist/revo-grid/dispatcher-8ea9187d.js +5 -0
- package/dist/revo-grid/dispatcher-8ea9187d.js.map +1 -0
- package/dist/revo-grid/events-3dd8ee7c.js +5 -0
- package/dist/revo-grid/events-3dd8ee7c.js.map +1 -0
- package/dist/revo-grid/filter.button-46ce4f80.js +5 -0
- package/dist/revo-grid/filter.button-46ce4f80.js.map +1 -0
- package/dist/revo-grid/header-cell-renderer-1ca84d5f.js +5 -0
- package/dist/revo-grid/header-cell-renderer-1ca84d5f.js.map +1 -0
- package/dist/revo-grid/index-21436631.js +6 -0
- package/dist/revo-grid/index-21436631.js.map +1 -0
- package/dist/revo-grid/index-98fd0168.js +5 -0
- package/dist/revo-grid/index-98fd0168.js.map +1 -0
- package/dist/revo-grid/index.esm.js +5 -0
- package/dist/revo-grid/index.esm.js.map +1 -0
- package/dist/revo-grid/key.utils-4586a3d6.js +5 -0
- package/dist/revo-grid/key.utils-4586a3d6.js.map +1 -0
- package/dist/revo-grid/resize-observer-83c9e167.js +5 -0
- package/dist/revo-grid/resize-observer-83c9e167.js.map +1 -0
- package/dist/revo-grid/revo-grid.entry.js +5 -0
- package/dist/revo-grid/revo-grid.entry.js.map +1 -0
- package/dist/revo-grid/revo-grid.esm.js +5 -1
- package/dist/revo-grid/revo-grid.esm.js.map +1 -0
- package/dist/revo-grid/revogr-attribution_6.entry.js +5 -0
- package/dist/revo-grid/revogr-attribution_6.entry.js.map +1 -0
- package/dist/revo-grid/revogr-clipboard_3.entry.js +5 -0
- package/dist/revo-grid/revogr-clipboard_3.entry.js.map +1 -0
- package/dist/revo-grid/revogr-data_4.entry.js +5 -0
- package/dist/revo-grid/revogr-data_4.entry.js.map +1 -0
- package/dist/revo-grid/revogr-filter-panel.entry.js +5 -1
- package/dist/revo-grid/revogr-filter-panel.entry.js.map +1 -0
- package/dist/revo-grid/selection.store-2577ddf9.js +5 -0
- package/dist/revo-grid/selection.store-2577ddf9.js.map +1 -0
- package/dist/revo-grid/storeTypes-f2647985.js +5 -0
- package/dist/revo-grid/storeTypes-f2647985.js.map +1 -0
- package/dist/revo-grid/throttle-cfd527d6.js +5 -0
- package/dist/revo-grid/throttle-cfd527d6.js.map +1 -0
- package/dist/revo-grid/toNumber-8de324a7.js +5 -0
- package/dist/revo-grid/toNumber-8de324a7.js.map +1 -0
- package/dist/revo-grid/viewport.helpers-6591d423.js +5 -0
- package/dist/revo-grid/viewport.helpers-6591d423.js.map +1 -0
- package/dist/types/components/attribution/revogr-attribution.d.ts +12 -0
- package/dist/types/components/clipboard/revogr-clipboard.d.ts +78 -10
- package/dist/types/components/data/cell-renderer.d.ts +14 -0
- package/dist/types/components/data/column.service.d.ts +60 -0
- package/dist/types/components/data/revogr-data.d.ts +101 -27
- package/dist/types/components/data/row-highlight.plugin.d.ts +10 -0
- package/dist/types/components/data/{rowRenderer.d.ts → row-renderer.d.ts} +6 -5
- package/dist/types/components/editors/revogr-edit.d.ts +63 -0
- package/dist/types/components/editors/text-editor.d.ts +46 -0
- package/dist/types/components/header/header-cell-renderer.d.ts +11 -0
- package/dist/types/components/header/header-renderer.d.ts +17 -0
- package/dist/types/components/header/revogr-header.d.ts +70 -22
- package/dist/types/components/order/order-renderer.d.ts +29 -0
- package/dist/types/components/order/order-row.service.d.ts +28 -0
- package/dist/types/components/order/revogr-order-editor.d.ts +43 -41
- package/dist/types/components/overlay/autofill.service.d.ts +69 -54
- package/dist/types/components/overlay/keyboard.service.d.ts +24 -23
- package/dist/types/components/overlay/revogr-overlay-selection.d.ts +216 -75
- package/dist/types/components/overlay/selection.utils.d.ts +24 -27
- package/dist/types/components/revoGrid/grid.helpers.d.ts +16 -11
- package/dist/types/components/revoGrid/revo-grid.d.ts +555 -403
- package/dist/types/components/revoGrid/viewport.helpers.d.ts +4 -3
- package/dist/types/components/revoGrid/viewport.resize.service.d.ts +7 -7
- package/dist/types/components/revoGrid/viewport.scrolling.service.d.ts +20 -21
- package/dist/types/components/revoGrid/viewport.service.d.ts +54 -56
- package/dist/types/components/rowHeaders/revogr-row-headers.d.ts +45 -12
- package/dist/types/components/rowHeaders/row-header-render.d.ts +5 -5
- package/dist/types/components/scroll/revogr-viewport-scroll.d.ts +115 -76
- package/dist/types/components/scrollable/autohide-scroll.plugin.d.ts +22 -0
- package/dist/types/components/scrollable/revogr-scroll-virtual.d.ts +39 -22
- package/dist/types/components/selectionFocus/revogr-focus.d.ts +61 -9
- package/dist/types/components/selectionTempRange/revogr-temp-range.d.ts +26 -11
- package/dist/types/components/vnode/vnode-converter.d.ts +19 -0
- package/dist/types/components/vnode/vnode.utils.d.ts +8 -0
- package/dist/types/components.d.ts +1595 -274
- package/dist/types/index.d.ts +14 -0
- package/dist/types/plugins/base.plugin.d.ts +49 -0
- package/dist/types/plugins/column.auto-size.plugin.d.ts +47 -0
- package/dist/types/plugins/column.stretch.plugin.d.ts +22 -0
- package/dist/types/plugins/dispatcher.d.ts +16 -0
- package/dist/types/plugins/export/csv.d.ts +6 -6
- package/dist/types/plugins/export/export.plugin.d.ts +18 -18
- package/dist/types/plugins/export/types.d.ts +15 -15
- package/dist/types/plugins/filter/filter.button.d.ts +7 -3
- package/dist/types/plugins/filter/filter.plugin.d.ts +61 -43
- package/dist/types/plugins/filter/filter.pop.d.ts +60 -35
- package/dist/types/plugins/filter/filter.service.d.ts +15 -15
- package/dist/types/plugins/filter/filter.types.d.ts +7 -7
- package/dist/types/plugins/groupingColumn/columnGroupsRenderer.d.ts +16 -13
- package/dist/types/plugins/groupingColumn/grouping.col.plugin.d.ts +10 -6
- package/dist/types/plugins/groupingColumn/headerGroupRenderer.d.ts +12 -10
- package/dist/types/plugins/groupingRow/grouping.const.d.ts +8 -7
- package/dist/types/plugins/groupingRow/grouping.row.expand.service.d.ts +6 -6
- package/dist/types/plugins/groupingRow/grouping.row.plugin.d.ts +32 -37
- package/dist/types/plugins/groupingRow/grouping.row.renderer.d.ts +7 -5
- package/dist/types/plugins/groupingRow/grouping.row.types.d.ts +23 -15
- package/dist/types/plugins/groupingRow/grouping.service.d.ts +18 -16
- package/dist/types/plugins/groupingRow/grouping.trimmed.service.d.ts +1 -1
- package/dist/types/plugins/moveColumn/column.drag.plugin.d.ts +56 -0
- package/dist/types/plugins/moveColumn/order-column.handler.d.ts +16 -0
- package/dist/types/plugins/sorting/sorting.plugin.d.ts +40 -27
- package/dist/types/plugins/sorting/sorting.sign.d.ts +3 -3
- package/dist/types/services/cell.helpers.d.ts +2 -2
- package/dist/types/services/column.data.provider.d.ts +33 -35
- package/dist/types/services/data.provider.d.ts +27 -21
- package/dist/types/services/dimension.provider.d.ts +52 -32
- package/dist/types/services/local.scroll.service.d.ts +37 -0
- package/dist/types/services/local.scroll.timer.d.ts +26 -0
- package/dist/types/services/resizable.directive.d.ts +52 -51
- package/dist/types/services/resizable.element.d.ts +4 -0
- package/dist/types/services/selection.store.connector.d.ts +54 -36
- package/dist/types/services/viewport.provider.d.ts +6 -8
- package/dist/types/stencil-public-runtime.d.ts +331 -217
- package/dist/types/store/dataSource/data.proxy.d.ts +3 -3
- package/dist/types/store/dataSource/data.store.d.ts +45 -46
- package/dist/types/store/dataSource/index.d.ts +3 -0
- package/dist/types/store/dataSource/trimmed.plugin.d.ts +10 -0
- package/dist/types/store/dimension/dimension.helpers.d.ts +24 -9
- package/dist/types/store/dimension/dimension.store.d.ts +29 -11
- package/dist/types/store/dimension/index.d.ts +2 -0
- package/dist/types/store/selection/index.d.ts +3 -0
- package/dist/types/store/selection/selection.helpers.d.ts +1 -3
- package/dist/types/store/selection/selection.store.d.ts +19 -17
- package/dist/types/store/selection/selection.store.service.d.ts +12 -13
- package/dist/types/store/storeTypes.d.ts +4 -4
- package/dist/types/store/viewport/index.d.ts +2 -0
- package/dist/types/store/viewport/viewport.helpers.d.ts +54 -0
- package/dist/types/store/viewport/viewport.store.d.ts +36 -0
- package/dist/types/themeManager/theme.compact.d.ts +3 -3
- package/dist/types/themeManager/theme.default.d.ts +3 -3
- package/dist/types/themeManager/theme.material.d.ts +3 -3
- package/dist/types/themeManager/theme.service.d.ts +13 -0
- package/dist/types/types/dimension.d.ts +8 -0
- package/dist/types/types/interfaces.d.ts +243 -0
- package/dist/types/types/plugin.d.ts +9 -0
- package/dist/types/types/plugin.types.d.ts +12 -0
- package/dist/types/types/selection.d.ts +115 -0
- package/dist/types/types/theme.d.ts +7 -0
- package/dist/types/types/viewport.interfaces.d.ts +51 -0
- package/dist/types/utils/browser.d.ts +1 -0
- package/dist/types/utils/consts.d.ts +5 -1
- package/dist/types/utils/events.d.ts +2 -0
- package/dist/types/utils/{utils.d.ts → index.d.ts} +17 -1
- package/dist/types/utils/key.codes.d.ts +70 -0
- package/dist/types/utils/{keyCodes.utils.d.ts → key.utils.d.ts} +5 -1
- package/dist/types/utils/mobile.d.ts +1 -0
- package/dist/types/utils/platform.d.ts +1 -1
- package/dist/types/utils/row-header-utils.d.ts +2 -0
- package/dist/types/utils/store.utils.d.ts +2 -2
- package/hydrate/index.d.ts +218 -0
- package/hydrate/index.js +32381 -0
- package/hydrate/package.json +6 -0
- package/package.json +94 -52
- package/readme.md +135 -98
- package/standalone/_baseIteratee.js +1237 -0
- package/standalone/_baseIteratee.js.map +1 -0
- package/standalone/_stringToPath.js +1389 -0
- package/standalone/_stringToPath.js.map +1 -0
- package/standalone/column.service.js +889 -0
- package/standalone/column.service.js.map +1 -0
- package/standalone/consts.js +30 -0
- package/standalone/consts.js.map +1 -0
- package/standalone/data.store.js +705 -0
- package/standalone/data.store.js.map +1 -0
- package/standalone/debounce.js +225 -0
- package/standalone/debounce.js.map +1 -0
- package/standalone/dimension.helpers.js +355 -0
- package/standalone/dimension.helpers.js.map +1 -0
- package/standalone/each.js +200 -0
- package/standalone/each.js.map +1 -0
- package/standalone/filter.button.js +38 -0
- package/standalone/filter.button.js.map +1 -0
- package/standalone/identity.js +349 -0
- package/standalone/identity.js.map +1 -0
- package/standalone/index.d.ts +66 -0
- package/standalone/index.js +42 -0
- package/standalone/index.js.map +1 -0
- package/standalone/index2.js +55 -0
- package/standalone/index2.js.map +1 -0
- package/standalone/isObjectLike.js +195 -0
- package/standalone/isObjectLike.js.map +1 -0
- package/standalone/local.scroll.timer.js +163 -0
- package/standalone/local.scroll.timer.js.map +1 -0
- package/{custom-element → standalone}/resize-observer.js +30 -14
- package/standalone/resize-observer.js.map +1 -0
- package/standalone/revo-grid.d.ts +11 -0
- package/standalone/revo-grid.js +4252 -0
- package/standalone/revo-grid.js.map +1 -0
- package/standalone/revogr-attribution.d.ts +11 -0
- package/standalone/revogr-attribution.js +11 -0
- package/standalone/revogr-attribution.js.map +1 -0
- package/standalone/revogr-attribution2.js +31 -0
- package/standalone/revogr-attribution2.js.map +1 -0
- package/standalone/revogr-clipboard.d.ts +11 -0
- package/standalone/revogr-clipboard.js +11 -0
- package/standalone/revogr-clipboard.js.map +1 -0
- package/standalone/revogr-clipboard2.js +159 -0
- package/standalone/revogr-clipboard2.js.map +1 -0
- package/standalone/revogr-data.d.ts +11 -0
- package/standalone/revogr-data.js +11 -0
- package/standalone/revogr-data.js.map +1 -0
- package/standalone/revogr-data2.js +368 -0
- package/standalone/revogr-data2.js.map +1 -0
- package/standalone/revogr-edit.d.ts +11 -0
- package/standalone/revogr-edit.js +11 -0
- package/standalone/revogr-edit.js.map +1 -0
- package/standalone/revogr-edit2.js +335 -0
- package/standalone/revogr-edit2.js.map +1 -0
- package/standalone/revogr-filter-panel.d.ts +11 -0
- package/standalone/revogr-filter-panel.js +310 -0
- package/standalone/revogr-filter-panel.js.map +1 -0
- package/standalone/revogr-focus.d.ts +11 -0
- package/standalone/revogr-focus.js +11 -0
- package/standalone/revogr-focus.js.map +1 -0
- package/standalone/revogr-focus2.js +106 -0
- package/standalone/revogr-focus2.js.map +1 -0
- package/standalone/revogr-header.d.ts +11 -0
- package/standalone/revogr-header.js +11 -0
- package/standalone/revogr-header.js.map +1 -0
- package/standalone/revogr-header2.js +667 -0
- package/standalone/revogr-header2.js.map +1 -0
- package/standalone/revogr-order-editor.d.ts +11 -0
- package/standalone/revogr-order-editor.js +11 -0
- package/standalone/revogr-order-editor.js.map +1 -0
- package/standalone/revogr-order-editor2.js +199 -0
- package/standalone/revogr-order-editor2.js.map +1 -0
- package/standalone/revogr-overlay-selection.d.ts +11 -0
- package/standalone/revogr-overlay-selection.js +11 -0
- package/standalone/revogr-overlay-selection.js.map +1 -0
- package/standalone/revogr-overlay-selection2.js +876 -0
- package/standalone/revogr-overlay-selection2.js.map +1 -0
- package/standalone/revogr-row-headers.d.ts +11 -0
- package/standalone/revogr-row-headers.js +11 -0
- package/standalone/revogr-row-headers.js.map +1 -0
- package/standalone/revogr-row-headers2.js +555 -0
- package/standalone/revogr-row-headers2.js.map +1 -0
- package/standalone/revogr-scroll-virtual.d.ts +11 -0
- package/standalone/revogr-scroll-virtual.js +11 -0
- package/standalone/revogr-scroll-virtual.js.map +1 -0
- package/standalone/revogr-scroll-virtual2.js +187 -0
- package/standalone/revogr-scroll-virtual2.js.map +1 -0
- package/standalone/revogr-temp-range.d.ts +11 -0
- package/standalone/revogr-temp-range.js +11 -0
- package/standalone/revogr-temp-range.js.map +1 -0
- package/standalone/revogr-temp-range2.js +90 -0
- package/standalone/revogr-temp-range2.js.map +1 -0
- package/standalone/revogr-viewport-scroll.d.ts +11 -0
- package/standalone/revogr-viewport-scroll.js +11 -0
- package/standalone/revogr-viewport-scroll.js.map +1 -0
- package/standalone/revogr-viewport-scroll2.js +336 -0
- package/standalone/revogr-viewport-scroll2.js.map +1 -0
- package/standalone/selection.utils.js +108 -0
- package/standalone/selection.utils.js.map +1 -0
- package/standalone/throttle.js +79 -0
- package/standalone/throttle.js.map +1 -0
- package/standalone/toNumber.js +144 -0
- package/standalone/toNumber.js.map +1 -0
- package/standalone/vnode-converter.js +45 -0
- package/standalone/vnode-converter.js.map +1 -0
- package/standalone/vnode-html.d.ts +11 -0
- package/standalone/vnode-html.js +11 -0
- package/standalone/vnode-html.js.map +1 -0
- package/custom-element/index.d.ts +0 -117
- package/custom-element/index.js +0 -28857
- package/dist/cjs/css-shim-e33df79c.js +0 -6
- package/dist/cjs/dom-c8b6d1a7.js +0 -75
- package/dist/cjs/filter.button-2396a488.js +0 -27
- package/dist/cjs/index-d3f67f2e.js +0 -1729
- package/dist/cjs/revo-grid_11.cjs.entry.js +0 -28621
- package/dist/cjs/revogr-clipboard.cjs.entry.js +0 -53
- package/dist/collection/components/button/button.js +0 -4
- package/dist/collection/components/data/cellRenderer.js +0 -19
- package/dist/collection/components/data/columnService.js +0 -243
- package/dist/collection/components/data/rowRenderer.js +0 -6
- package/dist/collection/components/header/headerCellRenderer.js +0 -19
- package/dist/collection/components/header/headerRenderer.js +0 -45
- package/dist/collection/components/order/orderRenderer.js +0 -50
- package/dist/collection/components/order/rowOrderService.js +0 -68
- package/dist/collection/components/overlay/clipboard.service.js +0 -39
- package/dist/collection/components/overlay/editors/edit.utils.js +0 -5
- package/dist/collection/components/overlay/editors/text.js +0 -35
- package/dist/collection/components/overlay/revogr-edit.js +0 -163
- package/dist/collection/components/revoGrid/viewport.interfaces.js +0 -1
- package/dist/collection/components/revoGrid/viewport.js +0 -18
- package/dist/collection/components/revoGrid/viewport.section.js +0 -28
- package/dist/collection/components/rowHeaders/row-header-utils.js +0 -4
- package/dist/collection/plugins/autoSizeColumn.d.ts +0 -54
- package/dist/collection/plugins/autoSizeColumn.js +0 -230
- package/dist/collection/plugins/basePlugin.d.ts +0 -37
- package/dist/collection/plugins/basePlugin.js +0 -53
- package/dist/collection/plugins/export/csv.d.ts +0 -9
- package/dist/collection/plugins/export/export.plugin.d.ts +0 -24
- package/dist/collection/plugins/export/types.d.ts +0 -23
- package/dist/collection/plugins/filter/conditions/equal.d.ts +0 -4
- package/dist/collection/plugins/filter/conditions/number/greaterThan.d.ts +0 -3
- package/dist/collection/plugins/filter/conditions/number/greaterThanOrEqual.d.ts +0 -3
- package/dist/collection/plugins/filter/conditions/number/lessThan.d.ts +0 -3
- package/dist/collection/plugins/filter/conditions/number/lessThanOrEqual.d.ts +0 -3
- package/dist/collection/plugins/filter/conditions/set.d.ts +0 -4
- package/dist/collection/plugins/filter/conditions/string/beginswith.d.ts +0 -3
- package/dist/collection/plugins/filter/conditions/string/contains.d.ts +0 -4
- package/dist/collection/plugins/filter/filter.button.d.ts +0 -10
- package/dist/collection/plugins/filter/filter.plugin.d.ts +0 -59
- package/dist/collection/plugins/filter/filter.pop.d.ts +0 -42
- package/dist/collection/plugins/filter/filter.service.d.ts +0 -20
- package/dist/collection/plugins/filter/filter.types.d.ts +0 -8
- package/dist/collection/plugins/groupingColumn/columnGroupsRenderer.d.ts +0 -16
- package/dist/collection/plugins/groupingColumn/grouping.col.plugin.d.ts +0 -13
- package/dist/collection/plugins/groupingColumn/headerGroupRenderer.d.ts +0 -14
- package/dist/collection/plugins/groupingRow/grouping.const.d.ts +0 -9
- package/dist/collection/plugins/groupingRow/grouping.row.expand.service.d.ts +0 -15
- package/dist/collection/plugins/groupingRow/grouping.row.plugin.d.ts +0 -40
- package/dist/collection/plugins/groupingRow/grouping.row.renderer.d.ts +0 -9
- package/dist/collection/plugins/groupingRow/grouping.row.types.d.ts +0 -19
- package/dist/collection/plugins/groupingRow/grouping.service.d.ts +0 -25
- package/dist/collection/plugins/groupingRow/grouping.trimmed.service.d.ts +0 -10
- package/dist/collection/plugins/sorting/sorting.plugin.d.ts +0 -32
- package/dist/collection/plugins/sorting/sorting.sign.d.ts +0 -8
- package/dist/collection/plugins/stretchPlugin.d.ts +0 -29
- package/dist/collection/plugins/stretchPlugin.js +0 -90
- package/dist/collection/plugins/trimmed/trimmed.plugin.d.ts +0 -10
- package/dist/collection/plugins/trimmed/trimmed.plugin.js +0 -32
- package/dist/collection/services/localScrollService.js +0 -80
- package/dist/collection/store/viewPort/viewport.helpers.js +0 -180
- package/dist/collection/store/viewPort/viewport.store.js +0 -121
- package/dist/collection/themeManager/themeService.js +0 -43
- package/dist/collection/utils/closestPolifill.js +0 -18
- package/dist/collection/utils/generateAlphabetHeader.js +0 -20
- package/dist/collection/utils/keyCodes.js +0 -70
- package/dist/collection/utils/keyCodes.utils.js +0 -64
- package/dist/collection/utils/resizeObserver.js +0 -6
- package/dist/collection/utils/utils.js +0 -104
- package/dist/esm/css-shim-8d75038b.js +0 -4
- package/dist/esm/dom-1b195079.js +0 -73
- package/dist/esm/filter.button-53ebca66.js +0 -23
- package/dist/esm/index-42c84e7c.js +0 -1694
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/revo-grid_11.entry.js +0 -28607
- package/dist/esm/revogr-clipboard.entry.js +0 -49
- package/dist/esm-es5/css-shim-8d75038b.js +0 -1
- package/dist/esm-es5/dom-1b195079.js +0 -21
- package/dist/esm-es5/filter.button-53ebca66.js +0 -1
- package/dist/esm-es5/index-42c84e7c.js +0 -1
- package/dist/esm-es5/loader.js +0 -1
- package/dist/esm-es5/resize-observer-56b7b34f.js +0 -1
- package/dist/esm-es5/revo-grid.js +0 -1
- package/dist/esm-es5/revo-grid_11.entry.js +0 -1
- package/dist/esm-es5/revogr-clipboard.entry.js +0 -1
- package/dist/esm-es5/revogr-filter-panel.entry.js +0 -1
- package/dist/revo-grid/css-shim-88bfb262.system.js +0 -1
- package/dist/revo-grid/css-shim-8d75038b.js +0 -1
- package/dist/revo-grid/dom-1b195079.js +0 -19
- package/dist/revo-grid/dom-ee2dd1b3.system.js +0 -21
- package/dist/revo-grid/filter.button-1509c206.js +0 -1
- package/dist/revo-grid/filter.button-4bd87101.system.js +0 -1
- package/dist/revo-grid/index-a15e7527.system.js +0 -1
- package/dist/revo-grid/index-a7f99799.js +0 -1
- package/dist/revo-grid/index.system.js +0 -1
- package/dist/revo-grid/plugins/autoSizeColumn.d.ts +0 -54
- package/dist/revo-grid/plugins/basePlugin.d.ts +0 -37
- package/dist/revo-grid/plugins/export/csv.d.ts +0 -9
- package/dist/revo-grid/plugins/export/export.plugin.d.ts +0 -24
- package/dist/revo-grid/plugins/export/types.d.ts +0 -23
- package/dist/revo-grid/plugins/filter/conditions/equal.d.ts +0 -4
- package/dist/revo-grid/plugins/filter/conditions/number/greaterThan.d.ts +0 -3
- package/dist/revo-grid/plugins/filter/conditions/number/greaterThanOrEqual.d.ts +0 -3
- package/dist/revo-grid/plugins/filter/conditions/number/lessThan.d.ts +0 -3
- package/dist/revo-grid/plugins/filter/conditions/number/lessThanOrEqual.d.ts +0 -3
- package/dist/revo-grid/plugins/filter/conditions/set.d.ts +0 -4
- package/dist/revo-grid/plugins/filter/conditions/string/beginswith.d.ts +0 -3
- package/dist/revo-grid/plugins/filter/conditions/string/contains.d.ts +0 -4
- package/dist/revo-grid/plugins/filter/filter.button.d.ts +0 -10
- package/dist/revo-grid/plugins/filter/filter.plugin.d.ts +0 -59
- package/dist/revo-grid/plugins/filter/filter.pop.d.ts +0 -42
- package/dist/revo-grid/plugins/filter/filter.service.d.ts +0 -20
- package/dist/revo-grid/plugins/filter/filter.types.d.ts +0 -8
- package/dist/revo-grid/plugins/groupingColumn/columnGroupsRenderer.d.ts +0 -16
- package/dist/revo-grid/plugins/groupingColumn/grouping.col.plugin.d.ts +0 -13
- package/dist/revo-grid/plugins/groupingColumn/headerGroupRenderer.d.ts +0 -14
- package/dist/revo-grid/plugins/groupingRow/grouping.const.d.ts +0 -9
- package/dist/revo-grid/plugins/groupingRow/grouping.row.expand.service.d.ts +0 -15
- package/dist/revo-grid/plugins/groupingRow/grouping.row.plugin.d.ts +0 -40
- package/dist/revo-grid/plugins/groupingRow/grouping.row.renderer.d.ts +0 -9
- package/dist/revo-grid/plugins/groupingRow/grouping.row.types.d.ts +0 -19
- package/dist/revo-grid/plugins/groupingRow/grouping.service.d.ts +0 -25
- package/dist/revo-grid/plugins/groupingRow/grouping.trimmed.service.d.ts +0 -10
- package/dist/revo-grid/plugins/sorting/sorting.plugin.d.ts +0 -32
- package/dist/revo-grid/plugins/sorting/sorting.sign.d.ts +0 -8
- package/dist/revo-grid/plugins/stretchPlugin.d.ts +0 -29
- package/dist/revo-grid/plugins/trimmed/trimmed.plugin.d.ts +0 -10
- package/dist/revo-grid/resize-observer-56b7b34f.js +0 -1
- package/dist/revo-grid/resize-observer-7a7b9757.system.js +0 -1
- package/dist/revo-grid/revo-grid.js +0 -132
- package/dist/revo-grid/revo-grid.system.js +0 -1
- package/dist/revo-grid/revo-grid_11.entry.js +0 -1
- package/dist/revo-grid/revo-grid_11.system.entry.js +0 -1
- package/dist/revo-grid/revogr-clipboard.entry.js +0 -1
- package/dist/revo-grid/revogr-clipboard.system.entry.js +0 -1
- package/dist/revo-grid/revogr-filter-panel.system.entry.js +0 -1
- package/dist/types/components/button/button.d.ts +0 -5
- package/dist/types/components/data/cellRenderer.d.ts +0 -8
- package/dist/types/components/data/columnService.d.ts +0 -42
- package/dist/types/components/header/headerCellRenderer.d.ts +0 -8
- package/dist/types/components/header/headerRenderer.d.ts +0 -15
- package/dist/types/components/order/orderRenderer.d.ts +0 -28
- package/dist/types/components/order/rowOrderService.d.ts +0 -27
- package/dist/types/components/overlay/clipboard.service.d.ts +0 -20
- package/dist/types/components/overlay/editors/text.d.ts +0 -13
- package/dist/types/components/overlay/revogr-edit.d.ts +0 -19
- package/dist/types/components/revoGrid/viewport.d.ts +0 -19
- package/dist/types/components/revoGrid/viewport.interfaces.d.ts +0 -66
- package/dist/types/components/revoGrid/viewport.section.d.ts +0 -24
- package/dist/types/components/rowHeaders/row-header-utils.d.ts +0 -2
- package/dist/types/interfaces.d.ts +0 -437
- package/dist/types/plugins/autoSizeColumn.d.ts +0 -54
- package/dist/types/plugins/basePlugin.d.ts +0 -37
- package/dist/types/plugins/stretchPlugin.d.ts +0 -29
- package/dist/types/plugins/trimmed/trimmed.plugin.d.ts +0 -10
- package/dist/types/services/localScrollService.d.ts +0 -28
- package/dist/types/store/viewPort/viewport.helpers.d.ts +0 -30
- package/dist/types/store/viewPort/viewport.store.d.ts +0 -18
- package/dist/types/themeManager/themeService.d.ts +0 -13
- package/dist/types/utils/closestPolifill.d.ts +0 -0
- package/dist/types/utils/keyCodes.d.ts +0 -68
- package/loader/cdn.js +0 -3
- package/loader/index.cjs.js +0 -3
- package/loader/index.es2017.js +0 -3
- package/loader/index.js +0 -4
- /package/dist/types/components/{overlay/editors → editors}/edit.utils.d.ts +0 -0
- /package/dist/{esm-es5/index.js → types/utils/closest.polifill.d.ts} +0 -0
- /package/dist/types/utils/{generateAlphabetHeader.d.ts → header.utils.d.ts} +0 -0
- /package/dist/types/utils/{resizeObserver.d.ts → resize-observer.polifill.d.ts} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var __extends=this&&this.__extends||function(){var e=function(t,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};return e(t,r)};return function(t,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();var __awaiter=this&&this.__awaiter||function(e,t,r,n){function i(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function a(e){try{u(n.next(e))}catch(e){o(e)}}function s(e){try{u(n["throw"](e))}catch(e){o(e)}}function u(e){e.done?r(e.value):i(e.value).then(a,s)}u((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(e){return function(t){return u([e,t])}}function u(a){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,i&&(o=a[0]&2?i["return"]:a[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;if(i=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:r.label++;return{value:a[1],done:false};case 5:r.label++;i=a[1];a=[0];continue;case 7:a=r.ops.pop();r.trys.pop();continue;default:if(!(o=r.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){r=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){r.label=a[1];break}if(a[0]===6&&r.label<o[1]){r.label=o[1];o=a;break}if(o&&r.label<o[2]){r.label=o[2];r.ops.push(a);break}if(o[2])r.ops.pop();r.trys.pop();continue}a=t.call(e,r)}catch(e){a=[6,e];i=0}finally{n=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};System.register(["./index-a15e7527.system.js","./filter.button-4bd87101.system.js"],(function(e,t){"use strict";var r,n,i,o,a,s,u,l,c,f;return{setters:[function(e){r=e.g;n=e.f;i=e.h;o=e.r;a=e.c;s=e.H;u=e.e},function(e){l=e.i;c=e.F;f=e.a}],execute:function(){var v=function(){function e(){this.defaultRowSize=32}return e}();var h=function(){function e(){this.defaultRowSize=27}return e}();var d=function(){function e(){this.defaultRowSize=42}return e}();var p="default";var g=[p,"material","compact","darkMaterial","darkCompact"];var m=function(){function e(e){this.customRowSize=0;this.customRowSize=e.rowSize;this.register("default")}Object.defineProperty(e.prototype,"theme",{get:function(){return this.currentTheme},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"rowSize",{get:function(){return this.customRowSize||this.currentTheme.defaultRowSize},set:function(e){this.customRowSize=e},enumerable:false,configurable:true});e.prototype.register=function(t){var r=e.getTheme(t);switch(r){case"material":case"darkMaterial":this.currentTheme=new d;break;case"compact":case"darkCompact":this.currentTheme=new v;break;default:this.currentTheme=new h;break}};e.getTheme=function(e){if(g.indexOf(e)>-1){return e}return p};return e}();function C(e,t){var r=-1,n=e==null?0:e.length;while(++r<n){if(t(e[r],r,e)===false){break}}return e}var w=C;function y(e){return function(t,r,n){var i=-1,o=Object(t),a=n(t),s=a.length;while(s--){var u=a[e?s:++i];if(r(o[u],u,o)===false){break}}return t}}var b=y;var L=b();var x=L;function _(e,t){var r=-1,n=Array(e);while(++r<e){n[r]=t(r)}return n}var S=_;var E=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};function z(e,t,r){return r={path:t,exports:{},require:function(e,t){return k()}},e(r,r.exports),r.exports}function k(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var R=typeof E=="object"&&E&&E.Object===Object&&E;var O=R;var j=typeof self=="object"&&self&&self.Object===Object&&self;var P=O||j||Function("return this")();var F=P;var T=F.Symbol;var A=T;var D=Object.prototype;var M=D.hasOwnProperty;var I=D.toString;var B=A?A.toStringTag:undefined;function H(e){var t=M.call(e,B),r=e[B];try{e[B]=undefined;var n=true}catch(e){}var i=I.call(e);if(n){if(t){e[B]=r}else{delete e[B]}}return i}var W=H;var U=Object.prototype;var N=U.toString;function V(e){return N.call(e)}var Z=V;var G="[object Null]",$="[object Undefined]";var X=A?A.toStringTag:undefined;function q(e){if(e==null){return e===undefined?$:G}return X&&X in Object(e)?W(e):Z(e)}var Y=q;function K(e){return e!=null&&typeof e=="object"}var J=K;var Q="[object Arguments]";function ee(e){return J(e)&&Y(e)==Q}var te=ee;var re=Object.prototype;var ne=re.hasOwnProperty;var ie=re.propertyIsEnumerable;var oe=te(function(){return arguments}())?te:function(e){return J(e)&&ne.call(e,"callee")&&!ie.call(e,"callee")};var ae=oe;var se=Array.isArray;var ue=se;function le(){return false}var ce=le;var fe=z((function(e,t){var r=t&&!t.nodeType&&t;var n=r&&"object"=="object"&&e&&!e.nodeType&&e;var i=n&&n.exports===r;var o=i?F.Buffer:undefined;var a=o?o.isBuffer:undefined;var s=a||ce;e.exports=s}));var ve=9007199254740991;var he=/^(?:0|[1-9]\d*)$/;function de(e,t){var r=typeof e;t=t==null?ve:t;return!!t&&(r=="number"||r!="symbol"&&he.test(e))&&(e>-1&&e%1==0&&e<t)}var pe=de;var ge=9007199254740991;function me(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=ge}var Ce=me;var we="[object Arguments]",ye="[object Array]",be="[object Boolean]",Le="[object Date]",xe="[object Error]",_e="[object Function]",Se="[object Map]",Ee="[object Number]",ze="[object Object]",ke="[object RegExp]",Re="[object Set]",Oe="[object String]",je="[object WeakMap]";var Pe="[object ArrayBuffer]",Fe="[object DataView]",Te="[object Float32Array]",Ae="[object Float64Array]",De="[object Int8Array]",Me="[object Int16Array]",Ie="[object Int32Array]",Be="[object Uint8Array]",He="[object Uint8ClampedArray]",We="[object Uint16Array]",Ue="[object Uint32Array]";var Ne={};Ne[Te]=Ne[Ae]=Ne[De]=Ne[Me]=Ne[Ie]=Ne[Be]=Ne[He]=Ne[We]=Ne[Ue]=true;Ne[we]=Ne[ye]=Ne[Pe]=Ne[be]=Ne[Fe]=Ne[Le]=Ne[xe]=Ne[_e]=Ne[Se]=Ne[Ee]=Ne[ze]=Ne[ke]=Ne[Re]=Ne[Oe]=Ne[je]=false;function Ve(e){return J(e)&&Ce(e.length)&&!!Ne[Y(e)]}var Ze=Ve;function Ge(e){return function(t){return e(t)}}var $e=Ge;var Xe=z((function(e,t){var r=t&&!t.nodeType&&t;var n=r&&"object"=="object"&&e&&!e.nodeType&&e;var i=n&&n.exports===r;var o=i&&O.process;var a=function(){try{var e=n&&n.require&&n.require("util").types;if(e){return e}return o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=a}));var qe=Xe&&Xe.isTypedArray;var Ye=qe?$e(qe):Ze;var Ke=Ye;var Je=Object.prototype;var Qe=Je.hasOwnProperty;function et(e,t){var r=ue(e),n=!r&&ae(e),i=!r&&!n&&fe(e),o=!r&&!n&&!i&&Ke(e),a=r||n||i||o,s=a?S(e.length,String):[],u=s.length;for(var l in e){if((t||Qe.call(e,l))&&!(a&&(l=="length"||i&&(l=="offset"||l=="parent")||o&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||pe(l,u)))){s.push(l)}}return s}var tt=et;var rt=Object.prototype;function nt(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||rt;return e===r}var it=nt;function ot(e,t){return function(r){return e(t(r))}}var at=ot;var st=at(Object.keys,Object);var ut=st;var lt=Object.prototype;var ct=lt.hasOwnProperty;function ft(e){if(!it(e)){return ut(e)}var t=[];for(var r in Object(e)){if(ct.call(e,r)&&r!="constructor"){t.push(r)}}return t}var vt=ft;function ht(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var dt=ht;var pt="[object AsyncFunction]",gt="[object Function]",mt="[object GeneratorFunction]",Ct="[object Proxy]";function wt(e){if(!dt(e)){return false}var t=Y(e);return t==gt||t==mt||t==pt||t==Ct}var yt=wt;function bt(e){return e!=null&&Ce(e.length)&&!yt(e)}var Lt=bt;function xt(e){return Lt(e)?tt(e):vt(e)}var _t=xt;function St(e,t){return e&&x(e,t,_t)}var Et=St;function zt(e,t){return function(r,n){if(r==null){return r}if(!Lt(r)){return e(r,n)}var i=r.length,o=t?i:-1,a=Object(r);while(t?o--:++o<i){if(n(a[o],o,a)===false){break}}return r}}var kt=zt;var Rt=kt(Et);var Ot=Rt;function jt(e){return e}var Pt=jt;function Ft(e){return typeof e=="function"?e:Pt}var Tt=Ft;function At(e,t){var r=ue(e)?w:Ot;return r(e,Tt(t))}var Dt=At;var Mt=Dt;function It(e,t,r,n){var i=-1,o=e==null?0:e.length;if(n&&o){r=e[++i]}while(++i<o){r=t(r,e[i],i,e)}return r}var Bt=It;function Ht(){this.__data__=[];this.size=0}var Wt=Ht;function Ut(e,t){return e===t||e!==e&&t!==t}var Nt=Ut;function Vt(e,t){var r=e.length;while(r--){if(Nt(e[r][0],t)){return r}}return-1}var Zt=Vt;var Gt=Array.prototype;var $t=Gt.splice;function Xt(e){var t=this.__data__,r=Zt(t,e);if(r<0){return false}var n=t.length-1;if(r==n){t.pop()}else{$t.call(t,r,1)}--this.size;return true}var qt=Xt;function Yt(e){var t=this.__data__,r=Zt(t,e);return r<0?undefined:t[r][1]}var Kt=Yt;function Jt(e){return Zt(this.__data__,e)>-1}var Qt=Jt;function er(e,t){var r=this.__data__,n=Zt(r,e);if(n<0){++this.size;r.push([e,t])}else{r[n][1]=t}return this}var tr=er;function rr(e){var t=-1,r=e==null?0:e.length;this.clear();while(++t<r){var n=e[t];this.set(n[0],n[1])}}rr.prototype.clear=Wt;rr.prototype["delete"]=qt;rr.prototype.get=Kt;rr.prototype.has=Qt;rr.prototype.set=tr;var nr=rr;function ir(){this.__data__=new nr;this.size=0}var or=ir;function ar(e){var t=this.__data__,r=t["delete"](e);this.size=t.size;return r}var sr=ar;function ur(e){return this.__data__.get(e)}var lr=ur;function cr(e){return this.__data__.has(e)}var fr=cr;var vr=F["__core-js_shared__"];var hr=vr;var dr=function(){var e=/[^.]+$/.exec(hr&&hr.keys&&hr.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function pr(e){return!!dr&&dr in e}var gr=pr;var mr=Function.prototype;var Cr=mr.toString;function wr(e){if(e!=null){try{return Cr.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var yr=wr;var br=/[\\^$.*+?()[\]{}|]/g;var Lr=/^\[object .+?Constructor\]$/;var xr=Function.prototype,_r=Object.prototype;var Sr=xr.toString;var Er=_r.hasOwnProperty;var zr=RegExp("^"+Sr.call(Er).replace(br,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function kr(e){if(!dt(e)||gr(e)){return false}var t=yt(e)?zr:Lr;return t.test(yr(e))}var Rr=kr;function Or(e,t){return e==null?undefined:e[t]}var jr=Or;function Pr(e,t){var r=jr(e,t);return Rr(r)?r:undefined}var Fr=Pr;var Tr=Fr(F,"Map");var Ar=Tr;var Dr=Fr(Object,"create");var Mr=Dr;function Ir(){this.__data__=Mr?Mr(null):{};this.size=0}var Br=Ir;function Hr(e){var t=this.has(e)&&delete this.__data__[e];this.size-=t?1:0;return t}var Wr=Hr;var Ur="__lodash_hash_undefined__";var Nr=Object.prototype;var Vr=Nr.hasOwnProperty;function Zr(e){var t=this.__data__;if(Mr){var r=t[e];return r===Ur?undefined:r}return Vr.call(t,e)?t[e]:undefined}var Gr=Zr;var $r=Object.prototype;var Xr=$r.hasOwnProperty;function qr(e){var t=this.__data__;return Mr?t[e]!==undefined:Xr.call(t,e)}var Yr=qr;var Kr="__lodash_hash_undefined__";function Jr(e,t){var r=this.__data__;this.size+=this.has(e)?0:1;r[e]=Mr&&t===undefined?Kr:t;return this}var Qr=Jr;function en(e){var t=-1,r=e==null?0:e.length;this.clear();while(++t<r){var n=e[t];this.set(n[0],n[1])}}en.prototype.clear=Br;en.prototype["delete"]=Wr;en.prototype.get=Gr;en.prototype.has=Yr;en.prototype.set=Qr;var tn=en;function rn(){this.size=0;this.__data__={hash:new tn,map:new(Ar||nr),string:new tn}}var nn=rn;function on(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var an=on;function sn(e,t){var r=e.__data__;return an(t)?r[typeof t=="string"?"string":"hash"]:r.map}var un=sn;function ln(e){var t=un(this,e)["delete"](e);this.size-=t?1:0;return t}var cn=ln;function fn(e){return un(this,e).get(e)}var vn=fn;function hn(e){return un(this,e).has(e)}var dn=hn;function pn(e,t){var r=un(this,e),n=r.size;r.set(e,t);this.size+=r.size==n?0:1;return this}var gn=pn;function mn(e){var t=-1,r=e==null?0:e.length;this.clear();while(++t<r){var n=e[t];this.set(n[0],n[1])}}mn.prototype.clear=nn;mn.prototype["delete"]=cn;mn.prototype.get=vn;mn.prototype.has=dn;mn.prototype.set=gn;var Cn=mn;var wn=200;function yn(e,t){var r=this.__data__;if(r instanceof nr){var n=r.__data__;if(!Ar||n.length<wn-1){n.push([e,t]);this.size=++r.size;return this}r=this.__data__=new Cn(n)}r.set(e,t);this.size=r.size;return this}var bn=yn;function Ln(e){var t=this.__data__=new nr(e);this.size=t.size}Ln.prototype.clear=or;Ln.prototype["delete"]=sr;Ln.prototype.get=lr;Ln.prototype.has=fr;Ln.prototype.set=bn;var xn=Ln;var _n="__lodash_hash_undefined__";function Sn(e){this.__data__.set(e,_n);return this}var En=Sn;function zn(e){return this.__data__.has(e)}var kn=zn;function Rn(e){var t=-1,r=e==null?0:e.length;this.__data__=new Cn;while(++t<r){this.add(e[t])}}Rn.prototype.add=Rn.prototype.push=En;Rn.prototype.has=kn;var On=Rn;function jn(e,t){var r=-1,n=e==null?0:e.length;while(++r<n){if(t(e[r],r,e)){return true}}return false}var Pn=jn;function Fn(e,t){return e.has(t)}var Tn=Fn;var An=1,Dn=2;function Mn(e,t,r,n,i,o){var a=r&An,s=e.length,u=t.length;if(s!=u&&!(a&&u>s)){return false}var l=o.get(e);var c=o.get(t);if(l&&c){return l==t&&c==e}var f=-1,v=true,h=r&Dn?new On:undefined;o.set(e,t);o.set(t,e);while(++f<s){var d=e[f],p=t[f];if(n){var g=a?n(p,d,f,t,e,o):n(d,p,f,e,t,o)}if(g!==undefined){if(g){continue}v=false;break}if(h){if(!Pn(t,(function(e,t){if(!Tn(h,t)&&(d===e||i(d,e,r,n,o))){return h.push(t)}}))){v=false;break}}else if(!(d===p||i(d,p,r,n,o))){v=false;break}}o["delete"](e);o["delete"](t);return v}var In=Mn;var Bn=F.Uint8Array;var Hn=Bn;function Wn(e){var t=-1,r=Array(e.size);e.forEach((function(e,n){r[++t]=[n,e]}));return r}var Un=Wn;function Nn(e){var t=-1,r=Array(e.size);e.forEach((function(e){r[++t]=e}));return r}var Vn=Nn;var Zn=1,Gn=2;var $n="[object Boolean]",Xn="[object Date]",qn="[object Error]",Yn="[object Map]",Kn="[object Number]",Jn="[object RegExp]",Qn="[object Set]",ei="[object String]",ti="[object Symbol]";var ri="[object ArrayBuffer]",ni="[object DataView]";var ii=A?A.prototype:undefined,oi=ii?ii.valueOf:undefined;function ai(e,t,r,n,i,o,a){switch(r){case ni:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset){return false}e=e.buffer;t=t.buffer;case ri:if(e.byteLength!=t.byteLength||!o(new Hn(e),new Hn(t))){return false}return true;case $n:case Xn:case Kn:return Nt(+e,+t);case qn:return e.name==t.name&&e.message==t.message;case Jn:case ei:return e==t+"";case Yn:var s=Un;case Qn:var u=n&Zn;s||(s=Vn);if(e.size!=t.size&&!u){return false}var l=a.get(e);if(l){return l==t}n|=Gn;a.set(e,t);var c=In(s(e),s(t),n,i,o,a);a["delete"](e);return c;case ti:if(oi){return oi.call(e)==oi.call(t)}}return false}var si=ai;function ui(e,t){var r=-1,n=t.length,i=e.length;while(++r<n){e[i+r]=t[r]}return e}var li=ui;function ci(e,t,r){var n=t(e);return ue(e)?n:li(n,r(e))}var fi=ci;function vi(e,t){var r=-1,n=e==null?0:e.length,i=0,o=[];while(++r<n){var a=e[r];if(t(a,r,e)){o[i++]=a}}return o}var hi=vi;function di(){return[]}var pi=di;var gi=Object.prototype;var mi=gi.propertyIsEnumerable;var Ci=Object.getOwnPropertySymbols;var wi=!Ci?pi:function(e){if(e==null){return[]}e=Object(e);return hi(Ci(e),(function(t){return mi.call(e,t)}))};var yi=wi;function bi(e){return fi(e,_t,yi)}var Li=bi;var xi=1;var _i=Object.prototype;var Si=_i.hasOwnProperty;function Ei(e,t,r,n,i,o){var a=r&xi,s=Li(e),u=s.length,l=Li(t),c=l.length;if(u!=c&&!a){return false}var f=u;while(f--){var v=s[f];if(!(a?v in t:Si.call(t,v))){return false}}var h=o.get(e);var d=o.get(t);if(h&&d){return h==t&&d==e}var p=true;o.set(e,t);o.set(t,e);var g=a;while(++f<u){v=s[f];var m=e[v],C=t[v];if(n){var w=a?n(C,m,v,t,e,o):n(m,C,v,e,t,o)}if(!(w===undefined?m===C||i(m,C,r,n,o):w)){p=false;break}g||(g=v=="constructor")}if(p&&!g){var y=e.constructor,b=t.constructor;if(y!=b&&("constructor"in e&&"constructor"in t)&&!(typeof y=="function"&&y instanceof y&&typeof b=="function"&&b instanceof b)){p=false}}o["delete"](e);o["delete"](t);return p}var zi=Ei;var ki=Fr(F,"DataView");var Ri=ki;var Oi=Fr(F,"Promise");var ji=Oi;var Pi=Fr(F,"Set");var Fi=Pi;var Ti=Fr(F,"WeakMap");var Ai=Ti;var Di="[object Map]",Mi="[object Object]",Ii="[object Promise]",Bi="[object Set]",Hi="[object WeakMap]";var Wi="[object DataView]";var Ui=yr(Ri),Ni=yr(Ar),Vi=yr(ji),Zi=yr(Fi),Gi=yr(Ai);var $i=Y;if(Ri&&$i(new Ri(new ArrayBuffer(1)))!=Wi||Ar&&$i(new Ar)!=Di||ji&&$i(ji.resolve())!=Ii||Fi&&$i(new Fi)!=Bi||Ai&&$i(new Ai)!=Hi){$i=function(e){var t=Y(e),r=t==Mi?e.constructor:undefined,n=r?yr(r):"";if(n){switch(n){case Ui:return Wi;case Ni:return Di;case Vi:return Ii;case Zi:return Bi;case Gi:return Hi}}return t}}var Xi=$i;var qi=1;var Yi="[object Arguments]",Ki="[object Array]",Ji="[object Object]";var Qi=Object.prototype;var eo=Qi.hasOwnProperty;function to(e,t,r,n,i,o){var a=ue(e),s=ue(t),u=a?Ki:Xi(e),l=s?Ki:Xi(t);u=u==Yi?Ji:u;l=l==Yi?Ji:l;var c=u==Ji,f=l==Ji,v=u==l;if(v&&fe(e)){if(!fe(t)){return false}a=true;c=false}if(v&&!c){o||(o=new xn);return a||Ke(e)?In(e,t,r,n,i,o):si(e,t,u,r,n,i,o)}if(!(r&qi)){var h=c&&eo.call(e,"__wrapped__"),d=f&&eo.call(t,"__wrapped__");if(h||d){var p=h?e.value():e,g=d?t.value():t;o||(o=new xn);return i(p,g,r,n,o)}}if(!v){return false}o||(o=new xn);return zi(e,t,r,n,i,o)}var ro=to;function no(e,t,r,n,i){if(e===t){return true}if(e==null||t==null||!J(e)&&!J(t)){return e!==e&&t!==t}return ro(e,t,r,n,no,i)}var io=no;var oo=1,ao=2;function so(e,t,r,n){var i=r.length,o=i,a=!n;if(e==null){return!o}e=Object(e);while(i--){var s=r[i];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e)){return false}}while(++i<o){s=r[i];var u=s[0],l=e[u],c=s[1];if(a&&s[2]){if(l===undefined&&!(u in e)){return false}}else{var f=new xn;if(n){var v=n(l,c,u,e,t,f)}if(!(v===undefined?io(c,l,oo|ao,n,f):v)){return false}}}return true}var uo=so;function lo(e){return e===e&&!dt(e)}var co=lo;function fo(e){var t=_t(e),r=t.length;while(r--){var n=t[r],i=e[n];t[r]=[n,i,co(i)]}return t}var vo=fo;function ho(e,t){return function(r){if(r==null){return false}return r[e]===t&&(t!==undefined||e in Object(r))}}var po=ho;function go(e){var t=vo(e);if(t.length==1&&t[0][2]){return po(t[0][0],t[0][1])}return function(r){return r===e||uo(r,e,t)}}var mo=go;var Co="[object Symbol]";function wo(e){return typeof e=="symbol"||J(e)&&Y(e)==Co}var yo=wo;var bo=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Lo=/^\w*$/;function xo(e,t){if(ue(e)){return false}var r=typeof e;if(r=="number"||r=="symbol"||r=="boolean"||e==null||yo(e)){return true}return Lo.test(e)||!bo.test(e)||t!=null&&e in Object(t)}var _o=xo;var So="Expected a function";function Eo(e,t){if(typeof e!="function"||t!=null&&typeof t!="function"){throw new TypeError(So)}var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i)){return o.get(i)}var a=e.apply(this,n);r.cache=o.set(i,a)||o;return a};r.cache=new(Eo.Cache||Cn);return r}Eo.Cache=Cn;var zo=Eo;var ko=500;function Ro(e){var t=zo(e,(function(e){if(r.size===ko){r.clear()}return e}));var r=t.cache;return t}var Oo=Ro;var jo=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;var Po=/\\(\\)?/g;var Fo=Oo((function(e){var t=[];if(e.charCodeAt(0)===46){t.push("")}e.replace(jo,(function(e,r,n,i){t.push(n?i.replace(Po,"$1"):r||e)}));return t}));var To=Fo;function Ao(e,t){var r=-1,n=e==null?0:e.length,i=Array(n);while(++r<n){i[r]=t(e[r],r,e)}return i}var Do=Ao;var Mo=1/0;var Io=A?A.prototype:undefined,Bo=Io?Io.toString:undefined;function Ho(e){if(typeof e=="string"){return e}if(ue(e)){return Do(e,Ho)+""}if(yo(e)){return Bo?Bo.call(e):""}var t=e+"";return t=="0"&&1/e==-Mo?"-0":t}var Wo=Ho;function Uo(e){return e==null?"":Wo(e)}var No=Uo;function Vo(e,t){if(ue(e)){return e}return _o(e,t)?[e]:To(No(e))}var Zo=Vo;var Go=1/0;function $o(e){if(typeof e=="string"||yo(e)){return e}var t=e+"";return t=="0"&&1/e==-Go?"-0":t}var Xo=$o;function qo(e,t){t=Zo(t,e);var r=0,n=t.length;while(e!=null&&r<n){e=e[Xo(t[r++])]}return r&&r==n?e:undefined}var Yo=qo;function Ko(e,t,r){var n=e==null?undefined:Yo(e,t);return n===undefined?r:n}var Jo=Ko;function Qo(e,t){return e!=null&&t in Object(e)}var ea=Qo;function ta(e,t,r){t=Zo(t,e);var n=-1,i=t.length,o=false;while(++n<i){var a=Xo(t[n]);if(!(o=e!=null&&r(e,a))){break}e=e[a]}if(o||++n!=i){return o}i=e==null?0:e.length;return!!i&&Ce(i)&&pe(a,i)&&(ue(e)||ae(e))}var ra=ta;function na(e,t){return e!=null&&ra(e,t,ea)}var ia=na;var oa=1,aa=2;function sa(e,t){if(_o(e)&&co(t)){return po(Xo(e),t)}return function(r){var n=Jo(r,e);return n===undefined&&n===t?ia(r,e):io(t,n,oa|aa)}}var ua=sa;function la(e){return function(t){return t==null?undefined:t[e]}}var ca=la;function fa(e){return function(t){return Yo(t,e)}}var va=fa;function ha(e){return _o(e)?ca(Xo(e)):va(e)}var da=ha;function pa(e){if(typeof e=="function"){return e}if(e==null){return Pt}if(typeof e=="object"){return ue(e)?ua(e[0],e[1]):mo(e)}return da(e)}var ga=pa;function ma(e,t,r,n,i){i(e,(function(e,i,o){r=n?(n=false,e):t(r,e,i,o)}));return r}var Ca=ma;function wa(e,t,r){var n=ue(e)?Bt:Ca,i=arguments.length<3;return n(e,ga(t),r,i,Ot)}var ya=wa;function ba(e){return function(t,r,n){var i=Object(t);if(!Lt(t)){var o=ga(r);t=_t(t);r=function(e){return o(i[e],e,i)}}var a=e(t,r,n);return a>-1?i[o?t[a]:a]:undefined}}var La=ba;function xa(e,t,r,n){var i=e.length,o=r+(n?1:-1);while(n?o--:++o<i){if(t(e[o],o,e)){return o}}return-1}var _a=xa;var Sa=/\s/;function Ea(e){var t=e.length;while(t--&&Sa.test(e.charAt(t))){}return t}var za=Ea;var ka=/^\s+/;function Ra(e){return e?e.slice(0,za(e)+1).replace(ka,""):e}var Oa=Ra;var ja=0/0;var Pa=/^[-+]0x[0-9a-f]+$/i;var Fa=/^0b[01]+$/i;var Ta=/^0o[0-7]+$/i;var Aa=parseInt;function Da(e){if(typeof e=="number"){return e}if(yo(e)){return ja}if(dt(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=dt(t)?t+"":t}if(typeof e!="string"){return e===0?e:+e}e=Oa(e);var r=Fa.test(e);return r||Ta.test(e)?Aa(e.slice(2),r?2:8):Pa.test(e)?ja:+e}var Ma=Da;var Ia=1/0,Ba=17976931348623157e292;function Ha(e){if(!e){return e===0?e:0}e=Ma(e);if(e===Ia||e===-Ia){var t=e<0?-1:1;return t*Ba}return e===e?e:0}var Wa=Ha;function Ua(e){var t=Wa(e),r=t%1;return t===t?r?t-r:t:0}var Na=Ua;var Va=Math.max;function Za(e,t,r){var n=e==null?0:e.length;if(!n){return-1}var i=r==null?0:Na(r);if(i<0){i=Va(n+i,0)}return _a(e,ga(t),i)}var Ga=Za;var $a=La(Ga);var Xa=$a;var qa=function(e,t,r){var n=e.get(t);if(!n){e.set(t,[r])}else if(!n.includes(r)){n.push(r)}};var Ya=function(e,t){var r;return function(){var n=[];for(var i=0;i<arguments.length;i++){n[i]=arguments[i]}if(r){clearTimeout(r)}r=setTimeout((function(){r=0;e.apply(void 0,n)}),t)}};var Ka=function(e){return!("isConnected"in e)||e.isConnected};var Ja=Ya((function(e){for(var t=0,r=e.keys();t<r.length;t++){var n=r[t];e.set(n,e.get(n).filter(Ka))}}),2e3);var Qa=function(e){var t=e.on;var i=new Map;if(typeof r==="function"){t("dispose",(function(){i.clear()}));t("get",(function(e){var t=r();if(t){qa(i,e,t)}}));t("set",(function(e){var t=i.get(e);if(t){i.set(e,t.filter(n))}Ja(i)}));t("reset",(function(){i.forEach((function(e){return e.forEach(n)}));Ja(i)}))}};var es=function(e,t){if(t===void 0){t=function(e,t){return e!==t}}var r=new Map(Object.entries(e!==null&&e!==void 0?e:{}));var n={dispose:[],get:[],set:[],reset:[]};var i=function(){r=new Map(Object.entries(e!==null&&e!==void 0?e:{}));n.reset.forEach((function(e){return e()}))};var o=function(){n.dispose.forEach((function(e){return e()}));i()};var a=function(e){n.get.forEach((function(t){return t(e)}));return r.get(e)};var s=function(e,i){var o=r.get(e);if(t(i,o,e)){r.set(e,i);n.set.forEach((function(t){return t(e,i,o)}))}};var u=typeof Proxy==="undefined"?{}:new Proxy(e,{get:function(e,t){return a(t)},ownKeys:function(e){return Array.from(r.keys())},getOwnPropertyDescriptor:function(){return{enumerable:true,configurable:true}},has:function(e,t){return r.has(t)},set:function(e,t,r){s(t,r);return true}});var l=function(e,t){n[e].push(t);return function(){ts(n[e],t)}};var c=function(t,r){var n=l("set",(function(e,n){if(e===t){r(n)}}));var i=l("reset",(function(){return r(e[t])}));return function(){n();i()}};var f=function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return e.forEach((function(e){if(e.set){l("set",e.set)}if(e.get){l("get",e.get)}if(e.reset){l("reset",e.reset)}}))};return{state:u,get:a,set:s,on:l,onChange:c,use:f,dispose:o,reset:i}};var ts=function(e,t){var r=e.indexOf(t);if(r>=0){e[r]=e[e.length-1];e.length--}};var rs=function(e,t){var r=es(e,t);Qa(r);return r};var ns=Math.ceil,is=Math.max;function os(e,t,r,n){var i=-1,o=is(ns((t-e)/(r||1)),0),a=Array(o);while(o--){a[n?o:++i]=e;e+=r}return a}var as=os;function ss(e,t,r){if(!dt(r)){return false}var n=typeof t;if(n=="number"?Lt(r)&&pe(t,r.length):n=="string"&&t in r){return Nt(r[t],e)}return false}var us=ss;function ls(e){return function(t,r,n){if(n&&typeof n!="number"&&us(t,r,n)){r=n=undefined}t=Wa(t);if(r===undefined){r=t;t=0}else{r=Wa(r)}n=n===undefined?t<r?1:-1:Wa(n);return as(t,r,n,e)}}var cs=ls;var fs=cs();var vs=fs;var hs=function(e){return{set:function(t,r){switch(t){case"trimmed":var n=e.get("proxyItems");var i=ds(r);var o=n.reduce((function(e,t){if(!i[t]){e.push(t)}return e}),[]);e.set("items",o);break}}}};function ds(e){var t={};for(var r in e){for(var n in e[r]){t[n]=t[n]||e[r][n]}}return t}function ps(e,t){for(var r in t){e.set(r,t[r])}}var gs=function(e){return{set:function(t,r){if(!ms(t)){return}var n=e.get("items").reduce((function(e,t){e[t]=true;return e}),{});var i=r.reduce((function(e,t){if(n[t]){e.push(t)}return e}),[]);e.set("items",i)}}};function ms(e){return e==="proxyItems"}var Cs=function(){function e(e){var t=this.dataStore=rs({items:[],proxyItems:[],source:[],groupingDepth:0,groups:{},type:e,trimmed:{}});t.use(gs(t));t.use(hs(t))}Object.defineProperty(e.prototype,"store",{get:function(){return this.dataStore},enumerable:false,configurable:true});e.prototype.updateData=function(e,t,r){if(r===void 0){r=false}if(!r){this.store.set("trimmed",{})}this.store.set("items",[]);var n=vs(0,(e===null||e===void 0?void 0:e.length)||0);ps(this.store,{source:e,proxyItems:__spreadArray([],n)});this.store.set("items",n);if(t){ps(this.store,{groupingDepth:t.depth,groups:t.groups})}};e.prototype.addTrimmed=function(e){var t=this.store.get("trimmed");t=Object.assign(Object.assign({},t),e);ps(this.store,{trimmed:t})};e.prototype.setData=function(e){var t=Object.assign({},e);ps(this.store,t)};e.prototype.refresh=function(){var e=this.store.get("source");this.store.set("source",__spreadArray([],e))};return e}();function ws(e,t){var r=e.get("items");return r[t]}function ys(e){var t=e.get("source");return e.get("items").map((function(e){return t[e]}))}function bs(e,t){var r=e.get("items");var n=e.get("source");return n[r[t]]}function Ls(e,t){var r=e.get("items");var n=e.get("source");for(var i in t){var o=r[i];n[o]=t[i]}e.set("source",__spreadArray([],n))}function xs(e,t){e.set("items",t)}function _s(e,t){var r=e.get("items");var n=e.get("source");var i=Ga(n,{prop:t});return r.indexOf(i)}var Ss=["rowPinStart","rgRow","rowPinEnd"];var Es=["colPinStart","rgCol","colPinEnd"];function zs(e){return Ss.indexOf(e)>-1}function ks(e,t){var r=-1,n=Lt(e)?Array(e.length):[];Ot(e,(function(e,i,o){n[++r]=t(e,i,o)}));return n}var Rs=ks;function Os(e,t){var r=ue(e)?Do:Rs;return r(e,ga(t))}var js=Os;var Ps=function(){function e(e){this.revogrid=e;this.subscriptions={}}e.prototype.addEventListener=function(e,t){this.revogrid.addEventListener(e,t);this.subscriptions[e]=t};e.prototype.removeEventListener=function(e){this.revogrid.removeEventListener(e,this.subscriptions[e]);delete this.subscriptions[e]};e.prototype.emit=function(e,t){var r=new CustomEvent(e,{detail:t,cancelable:true});this.revogrid.dispatchEvent(r);return r};e.prototype.clearSubscriptions=function(){for(var e in this.subscriptions){this.removeEventListener(e)}};e.prototype.destroy=function(){this.clearSubscriptions()};return e}();var Fs=function(e){__extends(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}t.gatherGroup=function(e,t,r,n){var i;if(n===void 0){n=0}var o=Object.assign(Object.assign({},t),{level:n,ids:[]});for(var a in r.columns){var s=a;var u=e.columns[s];var l=r.columns[s];if(ue(u)&&ue(l)){u.push.apply(u,l);if(l.length){e.columnGrouping[s].push(Object.assign(Object.assign({},o),{ids:js(l,"prop")}))}}}for(var a in r.columnGrouping){var s=a;var l=r.columnGrouping[s];(i=e.columnGrouping[s]).push.apply(i,l)}e.maxLevel=Math.max(e.maxLevel,r.maxLevel);return e};t.isColGrouping=function(e){return!!e.children};return t}(Ps);var Ts=function(){function e(){this.sorting=null;this.dataSources=ya(Es,(function(e,t){e[t]=new Cs(t);return e}),{})}Object.defineProperty(e.prototype,"order",{get:function(){return ya(this.sorting,(function(e,t,r){e[r]=t.order;return e}),{})},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"stores",{get:function(){return this.dataSources},enumerable:false,configurable:true});e.prototype.column=function(e,t){return this.getColumn(e,t||"rgCol")};e.prototype.getColumn=function(e,t){return bs(this.dataSources[t].store,e)};e.prototype.getRawColumns=function(){return ya(this.dataSources,(function(e,t,r){e[r]=t.store.get("source");return e}),{rgCol:[],colPinStart:[],colPinEnd:[]})};e.prototype.getColumns=function(e){var t=this;if(e===void 0){e="all"}if(e!=="all"){return this.dataSources[e].store.get("source")}return Es.reduce((function(e,r){e.push.apply(e,t.dataSources[r].store.get("source"));return e}),[])};e.prototype.getColumnIndexByProp=function(e,t){return _s(this.dataSources[t].store,e)};e.prototype.getColumnByProp=function(e,t){var r=this.dataSources[t].store.get("source");return Xa(r,{prop:e})};e.prototype.refreshByType=function(e){this.dataSources[e].refresh()};e.prototype.setColumns=function(e){var t=this;Mt(Es,(function(r){t.dataSources[r].updateData(e.columns[r],{depth:e.maxLevel,groups:ya(e.columnGrouping[r],(function(e,t){if(!e[t.level]){e[t.level]=[]}e[t.level].push(t);return e}),{})})}));this.sorting=e.sort;return e};e.prototype.updateColumns=function(t){var r=this;var n=t.reduce((function(t,r){var n=e.getColumnType(r);if(!t[n]){t[n]={}}t[n][r.prop]=r;return t}),{});var i={};Mt(n,(function(e,t){var n=r.dataSources[t].store.get("source");i[t]=n.reduce((function(t,r,n){var i=e[r.prop];if(i){t[n]=i}return t}),{})}));Mt(i,(function(e,t){return Ls(r.dataSources[t].store,e)}))};e.prototype.updateColumn=function(t,r){var n;var i=e.getColumnType(t);Ls(this.dataSources[i].store,(n={},n[r]=t,n))};e.prototype.updateColumnSorting=function(e,t,r,n){if(!n){this.clearSorting()}e.order=r;this.sorting[e.prop]=e;this.updateColumn(e,t);return e};e.prototype.clearSorting=function(){var t=this;var r=ya(this.sorting,(function(t,r){var n=e.getColumnType(r);t[n]=true;return t}),{});Mt(r,(function(e,r){var n=t.dataSources[r].store.get("source");Mt(n,(function(e){return e.order=undefined}));t.dataSources[r].setData({source:__spreadArray([],n)})}));this.sorting={}};e.getSizes=function(e){return ya(e,(function(e,t,r){if(t.size){e[r]=t.size}return e}),{})};e.getColumnByProp=function(t,r){return Xa(t,(function(t){if(Fs.isColGrouping(t)){return e.getColumnByProp(t.children,r)}return t.prop===r}))};e.getColumns=function(t,r,n){if(r===void 0){r=0}return ya(t,(function(t,i){if(Fs.isColGrouping(i)){return Fs.gatherGroup(t,i,e.getColumns(i.children,r+1,n),r)}var o=Object.assign(Object.assign({},i.columnType&&n&&n[i.columnType]),i);if(!o.pin){t.columns.rgCol.push(o)}else{t.columns[o.pin].push(o)}if(o.order){t.sort[o.prop]=o}o.beforeSetup&&o.beforeSetup(o);return t}),{columns:{rgCol:[],colPinStart:[],colPinEnd:[]},columnGrouping:{rgCol:[],colPinStart:[],colPinEnd:[]},maxLevel:r,sort:{}})};e.getColumnType=function(e){if(e.pin){return e.pin}return"rgCol"};return e}();var As=function(){function e(e){this.dimensionProvider=e;this.stores=ya(Ss,(function(e,t){e[t]=new Cs(t);return e}),{})}e.prototype.setData=function(e,t,r,n){if(t===void 0){t="rgRow"}if(n===void 0){n=false}this.stores[t].updateData(__spreadArray([],e),r,n);this.dimensionProvider.setData(e,t,t!=="rgRow");return e};e.prototype.getModel=function(e,t){if(t===void 0){t="rgRow"}var r=this.stores[t].store;return bs(r,e)};e.prototype.setCellData=function(e){var t;var r=e.type,n=e.rowIndex,i=e.prop,o=e.val;var a=this.getModel(n,r);a[i]=o;Ls(this.stores[r].store,(t={},t[n]=a,t))};e.prototype.refresh=function(e){var t=this;if(e===void 0){e="all"}if(zs(e)){this.refreshItems(e)}Ss.forEach((function(e){return t.refreshItems(e)}))};e.prototype.refreshItems=function(e){if(e===void 0){e="rgRow"}var t=this.stores[e].store.get("items");this.stores[e].setData({items:__spreadArray([],t)})};e.prototype.setGrouping=function(e,t){var r=e.depth;if(t===void 0){t="rgRow"}this.stores[t].setData({groupingDepth:r})};e.prototype.setTrimmed=function(e,t){if(t===void 0){t="rgRow"}var r=this.stores[t];r.addTrimmed(e);if(t==="rgRow"){this.dimensionProvider.setData(ys(r.store),t)}};return e}();var Ds=4294967295,Ms=Ds-1;var Is=Math.floor,Bs=Math.min;function Hs(e,t,r,n){var i=0,o=e==null?0:e.length;if(o===0){return 0}t=r(t);var a=t!==t,s=t===null,u=yo(t),l=t===undefined;while(i<o){var c=Is((i+o)/2),f=r(e[c]),v=f!==undefined,h=f===null,d=f===f,p=yo(f);if(a){var g=n||d}else if(l){g=d&&(n||v)}else if(s){g=d&&v&&(n||!h)}else if(u){g=d&&v&&!h&&(n||!p)}else if(h||p){g=false}else{g=n?f<=t:f<t}if(g){i=c+1}else{o=c}}return Bs(o,Ms)}var Ws=Hs;var Us=4294967295,Ns=Us>>>1;function Vs(e,t,r){var n=0,i=e==null?n:e.length;if(typeof t=="number"&&t===t&&i<=Ns){while(n<i){var o=n+i>>>1,a=e[o];if(a!==null&&!yo(a)&&(r?a<=t:a<t)){n=o+1}else{i=o}}return i}return Ws(e,t,Pt,r)}var Zs=Vs;function Gs(e,t){return Zs(e,t)}var $s=Gs;function Xs(e,t){return e<t}function qs(e,t,r){if(r===void 0){r=Xs}var n=[];var i=0;var o=0;var a=0;while(a<e.length+t.length){var s=i>=e.length;var u=o>=t.length;if(!s&&(u||r(e[i],t[o]))){n[a]=e[i];i++}else{n[a]=t[o];o++}a++}return n}function Ys(e){var t=e.createElement("div");var r=t.style;r.visibility="hidden";r.overflow="scroll";r.msOverflowStyle="scrollbar";e.body.appendChild(t);var n=e.createElement("div");t.appendChild(n);var i=t.offsetWidth-n.offsetWidth;t.parentNode.removeChild(t);return i}function Ks(e,t,r){return(r[1]-r[0])*(e-t[0])/(t[1]-t[0])+r[0]}function Js(e){if(e===void 0){e=0}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,new Promise((function(t){setTimeout((function(){return t()}),e)}))];case 1:t.sent();return[2]}}))}))}function Qs(e,t){var r=[];var n={};var i={};var o=0;var a=Object.assign(Object.assign({},e.sizes),t);var s=[];Mt(t,(function(t,r){if(!e.sizes[r]){o+=t-(e.realSize?e.originItemSize:0);s.splice($s(s,parseInt(r,10)),0,parseInt(r,10))}else{o+=t-e.sizes[r]}}));var u=qs(e.indexes,s);ya(u,(function(t,o,s){var u={itemIndex:o,start:0,end:0};if(t){u.start=(o-t.itemIndex-1)*e.originItemSize+t.end}else{u.start=o*e.originItemSize}u.end=u.start+a[o];r.push(u.start);i[o]=n[s]=u;return u}),undefined);return{indexes:u,positionIndexes:__spreadArray([],r),positionIndexToItem:Object.assign({},n),indexToItem:i,realSize:e.realSize+o,sizes:a}}function eu(e,t){var r=e.indexes,n=e.positionIndexes,i=e.originItemSize,o=e.positionIndexToItem;var a={itemIndex:0,start:0,end:0};var s=r.length?$s(n,t):0;if(!s){a.itemIndex=Math.floor(t/i);a.start=a.itemIndex*i;a.end=a.start+i;return a}var u=o[s-1];if(u.end>t){return u}var l=t-u.end;var c=Math.floor(l/i);a.itemIndex=u.itemIndex+1+c;a.start=u.end+c*i;a.end=a.start+i;return a}function tu(e,t){var r={itemIndex:t,start:0,end:0};if(e.indexToItem[t]){return e.indexToItem[t]}var n=e.indexes.length?$s(e.indexes,t):0;if(!n){r.start=r.itemIndex*e.originItemSize;r.end=r.start+e.originItemSize;return r}var i=e.indexToItem[e.indexes[n-1]];r.start=i.end+(t-i.itemIndex-1)*e.originItemSize;r.end=r.start+e.originItemSize;return r}function ru(){return{indexes:[],sizes:{},positionIndexToItem:{},indexToItem:{},positionIndexes:[]}}function nu(){return Object.assign(Object.assign({},ru()),{realSize:0,originItemSize:0,frameOffset:0})}var iu=function(){function e(){this.store=rs(nu())}e.prototype.getCurrentState=function(){var e=this;var t=nu();var r=Object.keys(t);return ya(r,(function(t,r){var n=e.store.get(r);t[r]=n;return t}),t)};e.prototype.setRealSize=function(e){var t=0;for(var r=0;r<e;r++){t+=this.store.get("sizes")[r]||this.store.get("originItemSize")}ps(this.store,{realSize:t})};e.prototype.setStore=function(e){ps(this.store,e)};e.prototype.drop=function(){ps(this.store,ru())};e.prototype.setDimensionSize=function(e){var t=Qs(this.getCurrentState(),e);ps(this.store,t);return t};return e}();var ou=z((function(e,t){(function(){var r;var n="4.17.21";var i=200;var o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",s="Invalid `variable` option passed into `_.template`";var u="__lodash_hash_undefined__";var l=500;var c="__lodash_placeholder__";var f=1,v=2,h=4;var d=1,p=2;var g=1,m=2,C=4,w=8,y=16,b=32,L=64,x=128,_=256,S=512;var z=30,k="...";var R=800,O=16;var j=1,P=2,F=3;var T=1/0,A=9007199254740991,D=17976931348623157e292,M=0/0;var I=4294967295,B=I-1,H=I>>>1;var W=[["ary",x],["bind",g],["bindKey",m],["curry",w],["curryRight",y],["flip",S],["partial",b],["partialRight",L],["rearg",_]];var U="[object Arguments]",N="[object Array]",V="[object AsyncFunction]",Z="[object Boolean]",G="[object Date]",$="[object DOMException]",X="[object Error]",q="[object Function]",Y="[object GeneratorFunction]",K="[object Map]",J="[object Number]",Q="[object Null]",ee="[object Object]",te="[object Promise]",re="[object Proxy]",ne="[object RegExp]",ie="[object Set]",oe="[object String]",ae="[object Symbol]",se="[object Undefined]",ue="[object WeakMap]",le="[object WeakSet]";var ce="[object ArrayBuffer]",fe="[object DataView]",ve="[object Float32Array]",he="[object Float64Array]",de="[object Int8Array]",pe="[object Int16Array]",ge="[object Int32Array]",me="[object Uint8Array]",Ce="[object Uint8ClampedArray]",we="[object Uint16Array]",ye="[object Uint32Array]";var be=/\b__p \+= '';/g,Le=/\b(__p \+=) '' \+/g,xe=/(__e\(.*?\)|\b__t\)) \+\n'';/g;var _e=/&(?:amp|lt|gt|quot|#39);/g,Se=/[&<>"']/g,Ee=RegExp(_e.source),ze=RegExp(Se.source);var ke=/<%-([\s\S]+?)%>/g,Re=/<%([\s\S]+?)%>/g,Oe=/<%=([\s\S]+?)%>/g;var je=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Pe=/^\w*$/,Fe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;var Te=/[\\^$.*+?()[\]{}|]/g,Ae=RegExp(Te.source);var De=/^\s+/;var Me=/\s/;var Ie=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Be=/\{\n\/\* \[wrapped with (.+)\] \*/,He=/,? & /;var We=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var Ue=/[()=,{}\[\]\/\s]/;var Ne=/\\(\\)?/g;var Ve=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g;var Ze=/\w*$/;var Ge=/^[-+]0x[0-9a-f]+$/i;var $e=/^0b[01]+$/i;var Xe=/^\[object .+?Constructor\]$/;var qe=/^0o[0-7]+$/i;var Ye=/^(?:0|[1-9]\d*)$/;var Ke=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;var Je=/($^)/;var Qe=/['\n\r\u2028\u2029\\]/g;var et="\\ud800-\\udfff",tt="\\u0300-\\u036f",rt="\\ufe20-\\ufe2f",nt="\\u20d0-\\u20ff",it=tt+rt+nt,ot="\\u2700-\\u27bf",at="a-z\\xdf-\\xf6\\xf8-\\xff",st="\\xac\\xb1\\xd7\\xf7",ut="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",lt="\\u2000-\\u206f",ct=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ft="A-Z\\xc0-\\xd6\\xd8-\\xde",vt="\\ufe0e\\ufe0f",ht=st+ut+lt+ct;var dt="['’]",pt="["+et+"]",gt="["+ht+"]",mt="["+it+"]",Ct="\\d+",wt="["+ot+"]",yt="["+at+"]",bt="[^"+et+ht+Ct+ot+at+ft+"]",Lt="\\ud83c[\\udffb-\\udfff]",xt="(?:"+mt+"|"+Lt+")",_t="[^"+et+"]",St="(?:\\ud83c[\\udde6-\\uddff]){2}",Et="[\\ud800-\\udbff][\\udc00-\\udfff]",zt="["+ft+"]",kt="\\u200d";var Rt="(?:"+yt+"|"+bt+")",Ot="(?:"+zt+"|"+bt+")",jt="(?:"+dt+"(?:d|ll|m|re|s|t|ve))?",Pt="(?:"+dt+"(?:D|LL|M|RE|S|T|VE))?",Ft=xt+"?",Tt="["+vt+"]?",At="(?:"+kt+"(?:"+[_t,St,Et].join("|")+")"+Tt+Ft+")*",Dt="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Mt="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",It=Tt+Ft+At,Bt="(?:"+[wt,St,Et].join("|")+")"+It,Ht="(?:"+[_t+mt+"?",mt,St,Et,pt].join("|")+")";var Wt=RegExp(dt,"g");var Ut=RegExp(mt,"g");var Nt=RegExp(Lt+"(?="+Lt+")|"+Ht+It,"g");var Vt=RegExp([zt+"?"+yt+"+"+jt+"(?="+[gt,zt,"$"].join("|")+")",Ot+"+"+Pt+"(?="+[gt,zt+Rt,"$"].join("|")+")",zt+"?"+Rt+"+"+jt,zt+"+"+Pt,Mt,Dt,Ct,Bt].join("|"),"g");var Zt=RegExp("["+kt+et+it+vt+"]");var Gt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var $t=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"];var Xt=-1;var qt={};qt[ve]=qt[he]=qt[de]=qt[pe]=qt[ge]=qt[me]=qt[Ce]=qt[we]=qt[ye]=true;qt[U]=qt[N]=qt[ce]=qt[Z]=qt[fe]=qt[G]=qt[X]=qt[q]=qt[K]=qt[J]=qt[ee]=qt[ne]=qt[ie]=qt[oe]=qt[ue]=false;var Yt={};Yt[U]=Yt[N]=Yt[ce]=Yt[fe]=Yt[Z]=Yt[G]=Yt[ve]=Yt[he]=Yt[de]=Yt[pe]=Yt[ge]=Yt[K]=Yt[J]=Yt[ee]=Yt[ne]=Yt[ie]=Yt[oe]=Yt[ae]=Yt[me]=Yt[Ce]=Yt[we]=Yt[ye]=true;Yt[X]=Yt[q]=Yt[ue]=false;var Kt={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"};var Jt={"&":"&","<":"<",">":">",'"':""","'":"'"};var Qt={"&":"&","<":"<",">":">",""":'"',"'":"'"};var er={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};var tr=parseFloat,rr=parseInt;var nr=typeof E=="object"&&E&&E.Object===Object&&E;var ir=typeof self=="object"&&self&&self.Object===Object&&self;var or=nr||ir||Function("return this")();var ar=t&&!t.nodeType&&t;var sr=ar&&"object"=="object"&&e&&!e.nodeType&&e;var ur=sr&&sr.exports===ar;var lr=ur&&nr.process;var cr=function(){try{var e=sr&&sr.require&&sr.require("util").types;if(e){return e}return lr&&lr.binding&&lr.binding("util")}catch(e){}}();var fr=cr&&cr.isArrayBuffer,vr=cr&&cr.isDate,hr=cr&&cr.isMap,dr=cr&&cr.isRegExp,pr=cr&&cr.isSet,gr=cr&&cr.isTypedArray;function mr(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function Cr(e,t,r,n){var i=-1,o=e==null?0:e.length;while(++i<o){var a=e[i];t(n,a,r(a),e)}return n}function wr(e,t){var r=-1,n=e==null?0:e.length;while(++r<n){if(t(e[r],r,e)===false){break}}return e}function yr(e,t){var r=e==null?0:e.length;while(r--){if(t(e[r],r,e)===false){break}}return e}function br(e,t){var r=-1,n=e==null?0:e.length;while(++r<n){if(!t(e[r],r,e)){return false}}return true}function Lr(e,t){var r=-1,n=e==null?0:e.length,i=0,o=[];while(++r<n){var a=e[r];if(t(a,r,e)){o[i++]=a}}return o}function xr(e,t){var r=e==null?0:e.length;return!!r&&Ar(e,t,0)>-1}function _r(e,t,r){var n=-1,i=e==null?0:e.length;while(++n<i){if(r(t,e[n])){return true}}return false}function Sr(e,t){var r=-1,n=e==null?0:e.length,i=Array(n);while(++r<n){i[r]=t(e[r],r,e)}return i}function Er(e,t){var r=-1,n=t.length,i=e.length;while(++r<n){e[i+r]=t[r]}return e}function zr(e,t,r,n){var i=-1,o=e==null?0:e.length;if(n&&o){r=e[++i]}while(++i<o){r=t(r,e[i],i,e)}return r}function kr(e,t,r,n){var i=e==null?0:e.length;if(n&&i){r=e[--i]}while(i--){r=t(r,e[i],i,e)}return r}function Rr(e,t){var r=-1,n=e==null?0:e.length;while(++r<n){if(t(e[r],r,e)){return true}}return false}var Or=Br("length");function jr(e){return e.split("")}function Pr(e){return e.match(We)||[]}function Fr(e,t,r){var n;r(e,(function(e,r,i){if(t(e,r,i)){n=r;return false}}));return n}function Tr(e,t,r,n){var i=e.length,o=r+(n?1:-1);while(n?o--:++o<i){if(t(e[o],o,e)){return o}}return-1}function Ar(e,t,r){return t===t?vn(e,t,r):Tr(e,Mr,r)}function Dr(e,t,r,n){var i=r-1,o=e.length;while(++i<o){if(n(e[i],t)){return i}}return-1}function Mr(e){return e!==e}function Ir(e,t){var r=e==null?0:e.length;return r?Nr(e,t)/r:M}function Br(e){return function(t){return t==null?r:t[e]}}function Hr(e){return function(t){return e==null?r:e[t]}}function Wr(e,t,r,n,i){i(e,(function(e,i,o){r=n?(n=false,e):t(r,e,i,o)}));return r}function Ur(e,t){var r=e.length;e.sort(t);while(r--){e[r]=e[r].value}return e}function Nr(e,t){var n,i=-1,o=e.length;while(++i<o){var a=t(e[i]);if(a!==r){n=n===r?a:n+a}}return n}function Vr(e,t){var r=-1,n=Array(e);while(++r<e){n[r]=t(r)}return n}function Zr(e,t){return Sr(t,(function(t){return[t,e[t]]}))}function Gr(e){return e?e.slice(0,gn(e)+1).replace(De,""):e}function $r(e){return function(t){return e(t)}}function Xr(e,t){return Sr(t,(function(t){return e[t]}))}function qr(e,t){return e.has(t)}function Yr(e,t){var r=-1,n=e.length;while(++r<n&&Ar(t,e[r],0)>-1){}return r}function Kr(e,t){var r=e.length;while(r--&&Ar(t,e[r],0)>-1){}return r}function Jr(e,t){var r=e.length,n=0;while(r--){if(e[r]===t){++n}}return n}var Qr=Hr(Kt);var en=Hr(Jt);function tn(e){return"\\"+er[e]}function rn(e,t){return e==null?r:e[t]}function nn(e){return Zt.test(e)}function on(e){return Gt.test(e)}function an(e){var t,r=[];while(!(t=e.next()).done){r.push(t.value)}return r}function sn(e){var t=-1,r=Array(e.size);e.forEach((function(e,n){r[++t]=[n,e]}));return r}function un(e,t){return function(r){return e(t(r))}}function ln(e,t){var r=-1,n=e.length,i=0,o=[];while(++r<n){var a=e[r];if(a===t||a===c){e[r]=c;o[i++]=r}}return o}function cn(e){var t=-1,r=Array(e.size);e.forEach((function(e){r[++t]=e}));return r}function fn(e){var t=-1,r=Array(e.size);e.forEach((function(e){r[++t]=[e,e]}));return r}function vn(e,t,r){var n=r-1,i=e.length;while(++n<i){if(e[n]===t){return n}}return-1}function hn(e,t,r){var n=r+1;while(n--){if(e[n]===t){return n}}return n}function dn(e){return nn(e)?Cn(e):Or(e)}function pn(e){return nn(e)?wn(e):jr(e)}function gn(e){var t=e.length;while(t--&&Me.test(e.charAt(t))){}return t}var mn=Hr(Qt);function Cn(e){var t=Nt.lastIndex=0;while(Nt.test(e)){++t}return t}function wn(e){return e.match(Nt)||[]}function yn(e){return e.match(Vt)||[]}var bn=function e(t){t=t==null?or:Ln.defaults(or.Object(),t,Ln.pick(or,$t));var E=t.Array,Me=t.Date,We=t.Error,et=t.Function,tt=t.Math,rt=t.Object,nt=t.RegExp,it=t.String,ot=t.TypeError;var at=E.prototype,st=et.prototype,ut=rt.prototype;var lt=t["__core-js_shared__"];var ct=st.toString;var ft=ut.hasOwnProperty;var vt=0;var ht=function(){var e=/[^.]+$/.exec(lt&<.keys&<.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();var dt=ut.toString;var pt=ct.call(rt);var gt=or._;var mt=nt("^"+ct.call(ft).replace(Te,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var Ct=ur?t.Buffer:r,wt=t.Symbol,yt=t.Uint8Array,bt=Ct?Ct.allocUnsafe:r,Lt=un(rt.getPrototypeOf,rt),xt=rt.create,_t=ut.propertyIsEnumerable,St=at.splice,Et=wt?wt.isConcatSpreadable:r,zt=wt?wt.iterator:r,kt=wt?wt.toStringTag:r;var Rt=function(){try{var e=$a(rt,"defineProperty");e({},"",{});return e}catch(e){}}();var Ot=t.clearTimeout!==or.clearTimeout&&t.clearTimeout,jt=Me&&Me.now!==or.Date.now&&Me.now,Pt=t.setTimeout!==or.setTimeout&&t.setTimeout;var Ft=tt.ceil,Tt=tt.floor,At=rt.getOwnPropertySymbols,Dt=Ct?Ct.isBuffer:r,Mt=t.isFinite,It=at.join,Bt=un(rt.keys,rt),Ht=tt.max,Nt=tt.min,Vt=Me.now,Zt=t.parseInt,Gt=tt.random,Kt=at.reverse;var Jt=$a(t,"DataView"),Qt=$a(t,"Map"),er=$a(t,"Promise"),nr=$a(t,"Set"),ir=$a(t,"WeakMap"),ar=$a(rt,"create");var sr=ir&&new ir;var lr={};var cr=Ps(Jt),Or=Ps(Qt),jr=Ps(er),Hr=Ps(nr),vn=Ps(ir);var Cn=wt?wt.prototype:r,wn=Cn?Cn.valueOf:r,bn=Cn?Cn.toString:r;function xn(e){if(Sc(e)&&!uc(e)&&!(e instanceof zn)){if(e instanceof En){return e}if(ft.call(e,"__wrapped__")){return Ts(e)}}return new En(e)}var _n=function(){function e(){}return function(t){if(!_c(t)){return{}}if(xt){return xt(t)}e.prototype=t;var n=new e;e.prototype=r;return n}}();function Sn(){}function En(e,t){this.__wrapped__=e;this.__actions__=[];this.__chain__=!!t;this.__index__=0;this.__values__=r}xn.templateSettings={escape:ke,evaluate:Re,interpolate:Oe,variable:"",imports:{_:xn}};xn.prototype=Sn.prototype;xn.prototype.constructor=xn;En.prototype=_n(Sn.prototype);En.prototype.constructor=En;function zn(e){this.__wrapped__=e;this.__actions__=[];this.__dir__=1;this.__filtered__=false;this.__iteratees__=[];this.__takeCount__=I;this.__views__=[]}function kn(){var e=new zn(this.__wrapped__);e.__actions__=ia(this.__actions__);e.__dir__=this.__dir__;e.__filtered__=this.__filtered__;e.__iteratees__=ia(this.__iteratees__);e.__takeCount__=this.__takeCount__;e.__views__=ia(this.__views__);return e}function Rn(){if(this.__filtered__){var e=new zn(this);e.__dir__=-1;e.__filtered__=true}else{e=this.clone();e.__dir__*=-1}return e}function On(){var e=this.__wrapped__.value(),t=this.__dir__,r=uc(e),n=t<0,i=r?e.length:0,o=Ja(0,i,this.__views__),a=o.start,s=o.end,u=s-a,l=n?s:a-1,c=this.__iteratees__,f=c.length,v=0,h=Nt(u,this.__takeCount__);if(!r||!n&&i==u&&h==u){return Bo(e,this.__actions__)}var d=[];e:while(u--&&v<h){l+=t;var p=-1,g=e[l];while(++p<f){var m=c[p],C=m.iteratee,w=m.type,y=C(g);if(w==P){g=y}else if(!y){if(w==j){continue e}else{break e}}}d[v++]=g}return d}zn.prototype=_n(Sn.prototype);zn.prototype.constructor=zn;function jn(e){var t=-1,r=e==null?0:e.length;this.clear();while(++t<r){var n=e[t];this.set(n[0],n[1])}}function Pn(){this.__data__=ar?ar(null):{};this.size=0}function Fn(e){var t=this.has(e)&&delete this.__data__[e];this.size-=t?1:0;return t}function Tn(e){var t=this.__data__;if(ar){var n=t[e];return n===u?r:n}return ft.call(t,e)?t[e]:r}function An(e){var t=this.__data__;return ar?t[e]!==r:ft.call(t,e)}function Dn(e,t){var n=this.__data__;this.size+=this.has(e)?0:1;n[e]=ar&&t===r?u:t;return this}jn.prototype.clear=Pn;jn.prototype["delete"]=Fn;jn.prototype.get=Tn;jn.prototype.has=An;jn.prototype.set=Dn;function Mn(e){var t=-1,r=e==null?0:e.length;this.clear();while(++t<r){var n=e[t];this.set(n[0],n[1])}}function In(){this.__data__=[];this.size=0}function Bn(e){var t=this.__data__,r=ci(t,e);if(r<0){return false}var n=t.length-1;if(r==n){t.pop()}else{St.call(t,r,1)}--this.size;return true}function Hn(e){var t=this.__data__,n=ci(t,e);return n<0?r:t[n][1]}function Wn(e){return ci(this.__data__,e)>-1}function Un(e,t){var r=this.__data__,n=ci(r,e);if(n<0){++this.size;r.push([e,t])}else{r[n][1]=t}return this}Mn.prototype.clear=In;Mn.prototype["delete"]=Bn;Mn.prototype.get=Hn;Mn.prototype.has=Wn;Mn.prototype.set=Un;function Nn(e){var t=-1,r=e==null?0:e.length;this.clear();while(++t<r){var n=e[t];this.set(n[0],n[1])}}function Vn(){this.size=0;this.__data__={hash:new jn,map:new(Qt||Mn),string:new jn}}function Zn(e){var t=Za(this,e)["delete"](e);this.size-=t?1:0;return t}function Gn(e){return Za(this,e).get(e)}function $n(e){return Za(this,e).has(e)}function Xn(e,t){var r=Za(this,e),n=r.size;r.set(e,t);this.size+=r.size==n?0:1;return this}Nn.prototype.clear=Vn;Nn.prototype["delete"]=Zn;Nn.prototype.get=Gn;Nn.prototype.has=$n;Nn.prototype.set=Xn;function qn(e){var t=-1,r=e==null?0:e.length;this.__data__=new Nn;while(++t<r){this.add(e[t])}}function Yn(e){this.__data__.set(e,u);return this}function Kn(e){return this.__data__.has(e)}qn.prototype.add=qn.prototype.push=Yn;qn.prototype.has=Kn;function Jn(e){var t=this.__data__=new Mn(e);this.size=t.size}function Qn(){this.__data__=new Mn;this.size=0}function ei(e){var t=this.__data__,r=t["delete"](e);this.size=t.size;return r}function ti(e){return this.__data__.get(e)}function ri(e){return this.__data__.has(e)}function ni(e,t){var r=this.__data__;if(r instanceof Mn){var n=r.__data__;if(!Qt||n.length<i-1){n.push([e,t]);this.size=++r.size;return this}r=this.__data__=new Nn(n)}r.set(e,t);this.size=r.size;return this}Jn.prototype.clear=Qn;Jn.prototype["delete"]=ei;Jn.prototype.get=ti;Jn.prototype.has=ri;Jn.prototype.set=ni;function ii(e,t){var r=uc(e),n=!r&&sc(e),i=!r&&!n&&hc(e),o=!r&&!n&&!i&&Hc(e),a=r||n||i||o,s=a?Vr(e.length,it):[],u=s.length;for(var l in e){if((t||ft.call(e,l))&&!(a&&(l=="length"||i&&(l=="offset"||l=="parent")||o&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||as(l,u)))){s.push(l)}}return s}function oi(e){var t=e.length;return t?e[Co(0,t-1)]:r}function ai(e,t){return Rs(ia(e),gi(t,0,e.length))}function si(e){return Rs(ia(e))}function ui(e,t,n){if(n!==r&&!ic(e[t],n)||n===r&&!(t in e)){di(e,t,n)}}function li(e,t,n){var i=e[t];if(!(ft.call(e,t)&&ic(i,n))||n===r&&!(t in e)){di(e,t,n)}}function ci(e,t){var r=e.length;while(r--){if(ic(e[r][0],t)){return r}}return-1}function fi(e,t,r,n){Li(e,(function(e,i,o){t(n,e,r(e),o)}));return n}function vi(e,t){return e&&oa(t,xf(t),e)}function hi(e,t){return e&&oa(t,_f(t),e)}function di(e,t,r){if(t=="__proto__"&&Rt){Rt(e,t,{configurable:true,enumerable:true,value:r,writable:true})}else{e[t]=r}}function pi(e,t){var n=-1,i=t.length,o=E(i),a=e==null;while(++n<i){o[n]=a?r:mf(e,t[n])}return o}function gi(e,t,n){if(e===e){if(n!==r){e=e<=n?e:n}if(t!==r){e=e>=t?e:t}}return e}function mi(e,t,n,i,o,a){var s,u=t&f,l=t&v,c=t&h;if(n){s=o?n(e,i,o,a):n(e)}if(s!==r){return s}if(!_c(e)){return e}var d=uc(e);if(d){s=ts(e);if(!u){return ia(e,s)}}else{var p=Ka(e),g=p==q||p==Y;if(hc(e)){return Xo(e,u)}if(p==ee||p==U||g&&!o){s=l||g?{}:rs(e);if(!u){return l?sa(e,hi(s,e)):aa(e,vi(s,e))}}else{if(!Yt[p]){return o?e:{}}s=ns(e,p,u)}}a||(a=new Jn);var m=a.get(e);if(m){return m}a.set(e,s);if(Mc(e)){e.forEach((function(r){s.add(mi(r,t,n,r,e,a))}))}else if(Ec(e)){e.forEach((function(r,i){s.set(i,mi(r,t,n,i,e,a))}))}var C=c?l?Ha:Ba:l?_f:xf;var w=d?r:C(e);wr(w||e,(function(r,i){if(w){i=r;r=e[i]}li(s,i,mi(r,t,n,i,e,a))}));return s}function Ci(e){var t=xf(e);return function(r){return wi(r,e,t)}}function wi(e,t,n){var i=n.length;if(e==null){return!i}e=rt(e);while(i--){var o=n[i],a=t[o],s=e[o];if(s===r&&!(o in e)||!a(s)){return false}}return true}function yi(e,t,n){if(typeof e!="function"){throw new ot(a)}return Ss((function(){e.apply(r,n)}),t)}function bi(e,t,r,n){var o=-1,a=xr,s=true,u=e.length,l=[],c=t.length;if(!u){return l}if(r){t=Sr(t,$r(r))}if(n){a=_r;s=false}else if(t.length>=i){a=qr;s=false;t=new qn(t)}e:while(++o<u){var f=e[o],v=r==null?f:r(f);f=n||f!==0?f:0;if(s&&v===v){var h=c;while(h--){if(t[h]===v){continue e}}l.push(f)}else if(!a(t,v,n)){l.push(f)}}return l}var Li=ca(ji);var xi=ca(Pi,true);function _i(e,t){var r=true;Li(e,(function(e,n,i){r=!!t(e,n,i);return r}));return r}function Si(e,t,n){var i=-1,o=e.length;while(++i<o){var a=e[i],s=t(a);if(s!=null&&(u===r?s===s&&!Bc(s):n(s,u))){var u=s,l=a}}return l}function Ei(e,t,n,i){var o=e.length;n=Xc(n);if(n<0){n=-n>o?0:o+n}i=i===r||i>o?o:Xc(i);if(i<0){i+=o}i=n>i?0:qc(i);while(n<i){e[n++]=t}return e}function zi(e,t){var r=[];Li(e,(function(e,n,i){if(t(e,n,i)){r.push(e)}}));return r}function ki(e,t,r,n,i){var o=-1,a=e.length;r||(r=os);i||(i=[]);while(++o<a){var s=e[o];if(t>0&&r(s)){if(t>1){ki(s,t-1,r,n,i)}else{Er(i,s)}}else if(!n){i[i.length]=s}}return i}var Ri=fa();var Oi=fa(true);function ji(e,t){return e&&Ri(e,t,xf)}function Pi(e,t){return e&&Oi(e,t,xf)}function Fi(e,t){return Lr(t,(function(t){return bc(e[t])}))}function Ti(e,t){t=Vo(t,e);var n=0,i=t.length;while(e!=null&&n<i){e=e[js(t[n++])]}return n&&n==i?e:r}function Ai(e,t,r){var n=t(e);return uc(e)?n:Er(n,r(e))}function Di(e){if(e==null){return e===r?se:Q}return kt&&kt in rt(e)?Xa(e):ws(e)}function Mi(e,t){return e>t}function Ii(e,t){return e!=null&&ft.call(e,t)}function Bi(e,t){return e!=null&&t in rt(e)}function Hi(e,t,r){return e>=Nt(t,r)&&e<Ht(t,r)}function Wi(e,t,n){var i=n?_r:xr,o=e[0].length,a=e.length,s=a,u=E(a),l=Infinity,c=[];while(s--){var f=e[s];if(s&&t){f=Sr(f,$r(t))}l=Nt(f.length,l);u[s]=!n&&(t||o>=120&&f.length>=120)?new qn(s&&f):r}f=e[0];var v=-1,h=u[0];e:while(++v<o&&c.length<l){var d=f[v],p=t?t(d):d;d=n||d!==0?d:0;if(!(h?qr(h,p):i(c,p,n))){s=a;while(--s){var g=u[s];if(!(g?qr(g,p):i(e[s],p,n))){continue e}}if(h){h.push(p)}c.push(d)}}return c}function Ui(e,t,r,n){ji(e,(function(e,i,o){t(n,r(e),i,o)}));return n}function Ni(e,t,n){t=Vo(t,e);e=bs(e,t);var i=e==null?e:e[js(ou(t))];return i==null?r:mr(i,e,n)}function Vi(e){return Sc(e)&&Di(e)==U}function Zi(e){return Sc(e)&&Di(e)==ce}function Gi(e){return Sc(e)&&Di(e)==G}function $i(e,t,r,n,i){if(e===t){return true}if(e==null||t==null||!Sc(e)&&!Sc(t)){return e!==e&&t!==t}return Xi(e,t,r,n,$i,i)}function Xi(e,t,r,n,i,o){var a=uc(e),s=uc(t),u=a?N:Ka(e),l=s?N:Ka(t);u=u==U?ee:u;l=l==U?ee:l;var c=u==ee,f=l==ee,v=u==l;if(v&&hc(e)){if(!hc(t)){return false}a=true;c=false}if(v&&!c){o||(o=new Jn);return a||Hc(e)?Aa(e,t,r,n,i,o):Da(e,t,u,r,n,i,o)}if(!(r&d)){var h=c&&ft.call(e,"__wrapped__"),p=f&&ft.call(t,"__wrapped__");if(h||p){var g=h?e.value():e,m=p?t.value():t;o||(o=new Jn);return i(g,m,r,n,o)}}if(!v){return false}o||(o=new Jn);return Ma(e,t,r,n,i,o)}function qi(e){return Sc(e)&&Ka(e)==K}function Yi(e,t,n,i){var o=n.length,a=o,s=!i;if(e==null){return!a}e=rt(e);while(o--){var u=n[o];if(s&&u[2]?u[1]!==e[u[0]]:!(u[0]in e)){return false}}while(++o<a){u=n[o];var l=u[0],c=e[l],f=u[1];if(s&&u[2]){if(c===r&&!(l in e)){return false}}else{var v=new Jn;if(i){var h=i(c,f,l,e,t,v)}if(!(h===r?$i(f,c,d|p,i,v):h)){return false}}}return true}function Ki(e){if(!_c(e)||fs(e)){return false}var t=bc(e)?mt:Xe;return t.test(Ps(e))}function Ji(e){return Sc(e)&&Di(e)==ne}function Qi(e){return Sc(e)&&Ka(e)==ie}function eo(e){return Sc(e)&&xc(e.length)&&!!qt[Di(e)]}function to(e){if(typeof e=="function"){return e}if(e==null){return jv}if(typeof e=="object"){return uc(e)?so(e[0],e[1]):ao(e)}return Vv(e)}function ro(e){if(!hs(e)){return Bt(e)}var t=[];for(var r in rt(e)){if(ft.call(e,r)&&r!="constructor"){t.push(r)}}return t}function no(e){if(!_c(e)){return Cs(e)}var t=hs(e),r=[];for(var n in e){if(!(n=="constructor"&&(t||!ft.call(e,n)))){r.push(n)}}return r}function io(e,t){return e<t}function oo(e,t){var r=-1,n=cc(e)?E(e.length):[];Li(e,(function(e,i,o){n[++r]=t(e,i,o)}));return n}function ao(e){var t=Ga(e);if(t.length==1&&t[0][2]){return ps(t[0][0],t[0][1])}return function(r){return r===e||Yi(r,e,t)}}function so(e,t){if(us(e)&&ds(t)){return ps(js(e),t)}return function(n){var i=mf(n,e);return i===r&&i===t?wf(n,e):$i(t,i,d|p)}}function uo(e,t,n,i,o){if(e===t){return}Ri(t,(function(a,s){o||(o=new Jn);if(_c(a)){lo(e,t,s,n,uo,i,o)}else{var u=i?i(xs(e,s),a,s+"",e,t,o):r;if(u===r){u=a}ui(e,s,u)}}),_f)}function lo(e,t,n,i,o,a,s){var u=xs(e,n),l=xs(t,n),c=s.get(l);if(c){ui(e,n,c);return}var f=a?a(u,l,n+"",e,t,s):r;var v=f===r;if(v){var h=uc(l),d=!h&&hc(l),p=!h&&!d&&Hc(l);f=l;if(h||d||p){if(uc(u)){f=u}else if(fc(u)){f=ia(u)}else if(d){v=false;f=Xo(l,true)}else if(p){v=false;f=Qo(l,true)}else{f=[]}}else if(Tc(l)||sc(l)){f=u;if(sc(u)){f=Kc(u)}else if(!_c(u)||bc(u)){f=rs(l)}}else{v=false}}if(v){s.set(l,f);o(f,l,i,a,s);s["delete"](l)}ui(e,n,f)}function co(e,t){var n=e.length;if(!n){return}t+=t<0?n:0;return as(t,n)?e[t]:r}function fo(e,t,r){if(t.length){t=Sr(t,(function(e){if(uc(e)){return function(t){return Ti(t,e.length===1?e[0]:e)}}return e}))}else{t=[jv]}var n=-1;t=Sr(t,$r(Va()));var i=oo(e,(function(e,r,i){var o=Sr(t,(function(t){return t(e)}));return{criteria:o,index:++n,value:e}}));return Ur(i,(function(e,t){return ta(e,t,r)}))}function vo(e,t){return ho(e,t,(function(t,r){return wf(e,r)}))}function ho(e,t,r){var n=-1,i=t.length,o={};while(++n<i){var a=t[n],s=Ti(e,a);if(r(s,a)){_o(o,Vo(a,e),s)}}return o}function po(e){return function(t){return Ti(t,e)}}function go(e,t,r,n){var i=n?Dr:Ar,o=-1,a=t.length,s=e;if(e===t){t=ia(t)}if(r){s=Sr(e,$r(r))}while(++o<a){var u=0,l=t[o],c=r?r(l):l;while((u=i(s,c,u,n))>-1){if(s!==e){St.call(s,u,1)}St.call(e,u,1)}}return e}function mo(e,t){var r=e?t.length:0,n=r-1;while(r--){var i=t[r];if(r==n||i!==o){var o=i;if(as(i)){St.call(e,i,1)}else{Do(e,i)}}}return e}function Co(e,t){return e+Tt(Gt()*(t-e+1))}function wo(e,t,r,n){var i=-1,o=Ht(Ft((t-e)/(r||1)),0),a=E(o);while(o--){a[n?o:++i]=e;e+=r}return a}function yo(e,t){var r="";if(!e||t<1||t>A){return r}do{if(t%2){r+=e}t=Tt(t/2);if(t){e+=e}}while(t);return r}function bo(e,t){return Es(ys(e,t,jv),e+"")}function Lo(e){return oi(Uf(e))}function xo(e,t){var r=Uf(e);return Rs(r,gi(t,0,r.length))}function _o(e,t,n,i){if(!_c(e)){return e}t=Vo(t,e);var o=-1,a=t.length,s=a-1,u=e;while(u!=null&&++o<a){var l=js(t[o]),c=n;if(l==="__proto__"||l==="constructor"||l==="prototype"){return e}if(o!=s){var f=u[l];c=i?i(f,l,u):r;if(c===r){c=_c(f)?f:as(t[o+1])?[]:{}}}li(u,l,c);u=u[l]}return e}var So=!sr?jv:function(e,t){sr.set(e,t);return e};var Eo=!Rt?jv:function(e,t){return Rt(e,"toString",{configurable:true,enumerable:false,value:zv(t),writable:true})};function zo(e){return Rs(Uf(e))}function ko(e,t,r){var n=-1,i=e.length;if(t<0){t=-t>i?0:i+t}r=r>i?i:r;if(r<0){r+=i}i=t>r?0:r-t>>>0;t>>>=0;var o=E(i);while(++n<i){o[n]=e[n+t]}return o}function Ro(e,t){var r;Li(e,(function(e,n,i){r=t(e,n,i);return!r}));return!!r}function Oo(e,t,r){var n=0,i=e==null?n:e.length;if(typeof t=="number"&&t===t&&i<=H){while(n<i){var o=n+i>>>1,a=e[o];if(a!==null&&!Bc(a)&&(r?a<=t:a<t)){n=o+1}else{i=o}}return i}return jo(e,t,jv,r)}function jo(e,t,n,i){var o=0,a=e==null?0:e.length;if(a===0){return 0}t=n(t);var s=t!==t,u=t===null,l=Bc(t),c=t===r;while(o<a){var f=Tt((o+a)/2),v=n(e[f]),h=v!==r,d=v===null,p=v===v,g=Bc(v);if(s){var m=i||p}else if(c){m=p&&(i||h)}else if(u){m=p&&h&&(i||!d)}else if(l){m=p&&h&&!d&&(i||!g)}else if(d||g){m=false}else{m=i?v<=t:v<t}if(m){o=f+1}else{a=f}}return Nt(a,B)}function Po(e,t){var r=-1,n=e.length,i=0,o=[];while(++r<n){var a=e[r],s=t?t(a):a;if(!r||!ic(s,u)){var u=s;o[i++]=a===0?0:a}}return o}function Fo(e){if(typeof e=="number"){return e}if(Bc(e)){return M}return+e}function To(e){if(typeof e=="string"){return e}if(uc(e)){return Sr(e,To)+""}if(Bc(e)){return bn?bn.call(e):""}var t=e+"";return t=="0"&&1/e==-T?"-0":t}function Ao(e,t,r){var n=-1,o=xr,a=e.length,s=true,u=[],l=u;if(r){s=false;o=_r}else if(a>=i){var c=t?null:Ra(e);if(c){return cn(c)}s=false;o=qr;l=new qn}else{l=t?[]:u}e:while(++n<a){var f=e[n],v=t?t(f):f;f=r||f!==0?f:0;if(s&&v===v){var h=l.length;while(h--){if(l[h]===v){continue e}}if(t){l.push(v)}u.push(f)}else if(!o(l,v,r)){if(l!==u){l.push(v)}u.push(f)}}return u}function Do(e,t){t=Vo(t,e);e=bs(e,t);return e==null||delete e[js(ou(t))]}function Mo(e,t,r,n){return _o(e,t,r(Ti(e,t)),n)}function Io(e,t,r,n){var i=e.length,o=n?i:-1;while((n?o--:++o<i)&&t(e[o],o,e)){}return r?ko(e,n?0:o,n?o+1:i):ko(e,n?o+1:0,n?i:o)}function Bo(e,t){var r=e;if(r instanceof zn){r=r.value()}return zr(t,(function(e,t){return t.func.apply(t.thisArg,Er([e],t.args))}),r)}function Ho(e,t,r){var n=e.length;if(n<2){return n?Ao(e[0]):[]}var i=-1,o=E(n);while(++i<n){var a=e[i],s=-1;while(++s<n){if(s!=i){o[i]=bi(o[i]||a,e[s],t,r)}}}return Ao(ki(o,1),t,r)}function Wo(e,t,n){var i=-1,o=e.length,a=t.length,s={};while(++i<o){var u=i<a?t[i]:r;n(s,e[i],u)}return s}function Uo(e){return fc(e)?e:[]}function No(e){return typeof e=="function"?e:jv}function Vo(e,t){if(uc(e)){return e}return us(e,t)?[e]:Os(Qc(e))}var Zo=bo;function Go(e,t,n){var i=e.length;n=n===r?i:n;return!t&&n>=i?e:ko(e,t,n)}var $o=Ot||function(e){return or.clearTimeout(e)};function Xo(e,t){if(t){return e.slice()}var r=e.length,n=bt?bt(r):new e.constructor(r);e.copy(n);return n}function qo(e){var t=new e.constructor(e.byteLength);new yt(t).set(new yt(e));return t}function Yo(e,t){var r=t?qo(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}function Ko(e){var t=new e.constructor(e.source,Ze.exec(e));t.lastIndex=e.lastIndex;return t}function Jo(e){return wn?rt(wn.call(e)):{}}function Qo(e,t){var r=t?qo(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function ea(e,t){if(e!==t){var n=e!==r,i=e===null,o=e===e,a=Bc(e);var s=t!==r,u=t===null,l=t===t,c=Bc(t);if(!u&&!c&&!a&&e>t||a&&s&&l&&!u&&!c||i&&s&&l||!n&&l||!o){return 1}if(!i&&!a&&!c&&e<t||c&&n&&o&&!i&&!a||u&&n&&o||!s&&o||!l){return-1}}return 0}function ta(e,t,r){var n=-1,i=e.criteria,o=t.criteria,a=i.length,s=r.length;while(++n<a){var u=ea(i[n],o[n]);if(u){if(n>=s){return u}var l=r[n];return u*(l=="desc"?-1:1)}}return e.index-t.index}function ra(e,t,r,n){var i=-1,o=e.length,a=r.length,s=-1,u=t.length,l=Ht(o-a,0),c=E(u+l),f=!n;while(++s<u){c[s]=t[s]}while(++i<a){if(f||i<o){c[r[i]]=e[i]}}while(l--){c[s++]=e[i++]}return c}function na(e,t,r,n){var i=-1,o=e.length,a=-1,s=r.length,u=-1,l=t.length,c=Ht(o-s,0),f=E(c+l),v=!n;while(++i<c){f[i]=e[i]}var h=i;while(++u<l){f[h+u]=t[u]}while(++a<s){if(v||i<o){f[h+r[a]]=e[i++]}}return f}function ia(e,t){var r=-1,n=e.length;t||(t=E(n));while(++r<n){t[r]=e[r]}return t}function oa(e,t,n,i){var o=!n;n||(n={});var a=-1,s=t.length;while(++a<s){var u=t[a];var l=i?i(n[u],e[u],u,n,e):r;if(l===r){l=e[u]}if(o){di(n,u,l)}else{li(n,u,l)}}return n}function aa(e,t){return oa(e,qa(e),t)}function sa(e,t){return oa(e,Ya(e),t)}function ua(e,t){return function(r,n){var i=uc(r)?Cr:fi,o=t?t():{};return i(r,e,Va(n,2),o)}}function la(e){return bo((function(t,n){var i=-1,o=n.length,a=o>1?n[o-1]:r,s=o>2?n[2]:r;a=e.length>3&&typeof a=="function"?(o--,a):r;if(s&&ss(n[0],n[1],s)){a=o<3?r:a;o=1}t=rt(t);while(++i<o){var u=n[i];if(u){e(t,u,i,a)}}return t}))}function ca(e,t){return function(r,n){if(r==null){return r}if(!cc(r)){return e(r,n)}var i=r.length,o=t?i:-1,a=rt(r);while(t?o--:++o<i){if(n(a[o],o,a)===false){break}}return r}}function fa(e){return function(t,r,n){var i=-1,o=rt(t),a=n(t),s=a.length;while(s--){var u=a[e?s:++i];if(r(o[u],u,o)===false){break}}return t}}function va(e,t,r){var n=t&g,i=pa(e);function o(){var t=this&&this!==or&&this instanceof o?i:e;return t.apply(n?r:this,arguments)}return o}function ha(e){return function(t){t=Qc(t);var n=nn(t)?pn(t):r;var i=n?n[0]:t.charAt(0);var o=n?Go(n,1).join(""):t.slice(1);return i[e]()+o}}function da(e){return function(t){return zr(Lv(qf(t).replace(Wt,"")),e,"")}}function pa(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var r=_n(e.prototype),n=e.apply(r,t);return _c(n)?n:r}}function ga(e,t,n){var i=pa(e);function o(){var a=arguments.length,s=E(a),u=a,l=Na(o);while(u--){s[u]=arguments[u]}var c=a<3&&s[0]!==l&&s[a-1]!==l?[]:ln(s,l);a-=c.length;if(a<n){return za(e,t,wa,o.placeholder,r,s,c,r,r,n-a)}var f=this&&this!==or&&this instanceof o?i:e;return mr(f,this,s)}return o}function ma(e){return function(t,n,i){var o=rt(t);if(!cc(t)){var a=Va(n,3);t=xf(t);n=function(e){return a(o[e],e,o)}}var s=e(t,n,i);return s>-1?o[a?t[s]:s]:r}}function Ca(e){return Ia((function(t){var n=t.length,i=n,o=En.prototype.thru;if(e){t.reverse()}while(i--){var s=t[i];if(typeof s!="function"){throw new ot(a)}if(o&&!u&&Ua(s)=="wrapper"){var u=new En([],true)}}i=u?i:n;while(++i<n){s=t[i];var l=Ua(s),c=l=="wrapper"?Wa(s):r;if(c&&cs(c[0])&&c[1]==(x|w|b|_)&&!c[4].length&&c[9]==1){u=u[Ua(c[0])].apply(u,c[3])}else{u=s.length==1&&cs(s)?u[l]():u.thru(s)}}return function(){var e=arguments,r=e[0];if(u&&e.length==1&&uc(r)){return u.plant(r).value()}var i=0,o=n?t[i].apply(this,e):r;while(++i<n){o=t[i].call(this,o)}return o}}))}function wa(e,t,n,i,o,a,s,u,l,c){var f=t&x,v=t&g,h=t&m,d=t&(w|y),p=t&S,C=h?r:pa(e);function b(){var r=arguments.length,g=E(r),m=r;while(m--){g[m]=arguments[m]}if(d){var w=Na(b),y=Jr(g,w)}if(i){g=ra(g,i,o,d)}if(a){g=na(g,a,s,d)}r-=y;if(d&&r<c){var L=ln(g,w);return za(e,t,wa,b.placeholder,n,g,L,u,l,c-r)}var x=v?n:this,_=h?x[e]:e;r=g.length;if(u){g=Ls(g,u)}else if(p&&r>1){g.reverse()}if(f&&l<r){g.length=l}if(this&&this!==or&&this instanceof b){_=C||pa(_)}return _.apply(x,g)}return b}function ya(e,t){return function(r,n){return Ui(r,e,t(n),{})}}function ba(e,t){return function(n,i){var o;if(n===r&&i===r){return t}if(n!==r){o=n}if(i!==r){if(o===r){return i}if(typeof n=="string"||typeof i=="string"){n=To(n);i=To(i)}else{n=Fo(n);i=Fo(i)}o=e(n,i)}return o}}function La(e){return Ia((function(t){t=Sr(t,$r(Va()));return bo((function(r){var n=this;return e(t,(function(e){return mr(e,n,r)}))}))}))}function xa(e,t){t=t===r?" ":To(t);var n=t.length;if(n<2){return n?yo(t,e):t}var i=yo(t,Ft(e/dn(t)));return nn(t)?Go(pn(i),0,e).join(""):i.slice(0,e)}function _a(e,t,r,n){var i=t&g,o=pa(e);function a(){var t=-1,s=arguments.length,u=-1,l=n.length,c=E(l+s),f=this&&this!==or&&this instanceof a?o:e;while(++u<l){c[u]=n[u]}while(s--){c[u++]=arguments[++t]}return mr(f,i?r:this,c)}return a}function Sa(e){return function(t,n,i){if(i&&typeof i!="number"&&ss(t,n,i)){n=i=r}t=$c(t);if(n===r){n=t;t=0}else{n=$c(n)}i=i===r?t<n?1:-1:$c(i);return wo(t,n,i,e)}}function Ea(e){return function(t,r){if(!(typeof t=="string"&&typeof r=="string")){t=Yc(t);r=Yc(r)}return e(t,r)}}function za(e,t,n,i,o,a,s,u,l,c){var f=t&w,v=f?s:r,h=f?r:s,d=f?a:r,p=f?r:a;t|=f?b:L;t&=~(f?L:b);if(!(t&C)){t&=~(g|m)}var y=[e,t,o,d,v,p,h,u,l,c];var x=n.apply(r,y);if(cs(e)){_s(x,y)}x.placeholder=i;return zs(x,e,t)}function ka(e){var t=tt[e];return function(e,r){e=Yc(e);r=r==null?0:Nt(Xc(r),292);if(r&&Mt(e)){var n=(Qc(e)+"e").split("e"),i=t(n[0]+"e"+(+n[1]+r));n=(Qc(i)+"e").split("e");return+(n[0]+"e"+(+n[1]-r))}return t(e)}}var Ra=!(nr&&1/cn(new nr([,-0]))[1]==T)?Bv:function(e){return new nr(e)};function Oa(e){return function(t){var r=Ka(t);if(r==K){return sn(t)}if(r==ie){return fn(t)}return Zr(t,e(t))}}function ja(e,t,n,i,o,s,u,l){var c=t&m;if(!c&&typeof e!="function"){throw new ot(a)}var f=i?i.length:0;if(!f){t&=~(b|L);i=o=r}u=u===r?u:Ht(Xc(u),0);l=l===r?l:Xc(l);f-=o?o.length:0;if(t&L){var v=i,h=o;i=o=r}var d=c?r:Wa(e);var p=[e,t,n,i,o,v,h,s,u,l];if(d){ms(p,d)}e=p[0];t=p[1];n=p[2];i=p[3];o=p[4];l=p[9]=p[9]===r?c?0:e.length:Ht(p[9]-f,0);if(!l&&t&(w|y)){t&=~(w|y)}if(!t||t==g){var C=va(e,t,n)}else if(t==w||t==y){C=ga(e,t,l)}else if((t==b||t==(g|b))&&!o.length){C=_a(e,t,n,i)}else{C=wa.apply(r,p)}var x=d?So:_s;return zs(x(C,p),e,t)}function Pa(e,t,n,i){if(e===r||ic(e,ut[n])&&!ft.call(i,n)){return t}return e}function Fa(e,t,n,i,o,a){if(_c(e)&&_c(t)){a.set(t,e);uo(e,t,r,Fa,a);a["delete"](t)}return e}function Ta(e){return Tc(e)?r:e}function Aa(e,t,n,i,o,a){var s=n&d,u=e.length,l=t.length;if(u!=l&&!(s&&l>u)){return false}var c=a.get(e);var f=a.get(t);if(c&&f){return c==t&&f==e}var v=-1,h=true,g=n&p?new qn:r;a.set(e,t);a.set(t,e);while(++v<u){var m=e[v],C=t[v];if(i){var w=s?i(C,m,v,t,e,a):i(m,C,v,e,t,a)}if(w!==r){if(w){continue}h=false;break}if(g){if(!Rr(t,(function(e,t){if(!qr(g,t)&&(m===e||o(m,e,n,i,a))){return g.push(t)}}))){h=false;break}}else if(!(m===C||o(m,C,n,i,a))){h=false;break}}a["delete"](e);a["delete"](t);return h}function Da(e,t,r,n,i,o,a){switch(r){case fe:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset){return false}e=e.buffer;t=t.buffer;case ce:if(e.byteLength!=t.byteLength||!o(new yt(e),new yt(t))){return false}return true;case Z:case G:case J:return ic(+e,+t);case X:return e.name==t.name&&e.message==t.message;case ne:case oe:return e==t+"";case K:var s=sn;case ie:var u=n&d;s||(s=cn);if(e.size!=t.size&&!u){return false}var l=a.get(e);if(l){return l==t}n|=p;a.set(e,t);var c=Aa(s(e),s(t),n,i,o,a);a["delete"](e);return c;case ae:if(wn){return wn.call(e)==wn.call(t)}}return false}function Ma(e,t,n,i,o,a){var s=n&d,u=Ba(e),l=u.length,c=Ba(t),f=c.length;if(l!=f&&!s){return false}var v=l;while(v--){var h=u[v];if(!(s?h in t:ft.call(t,h))){return false}}var p=a.get(e);var g=a.get(t);if(p&&g){return p==t&&g==e}var m=true;a.set(e,t);a.set(t,e);var C=s;while(++v<l){h=u[v];var w=e[h],y=t[h];if(i){var b=s?i(y,w,h,t,e,a):i(w,y,h,e,t,a)}if(!(b===r?w===y||o(w,y,n,i,a):b)){m=false;break}C||(C=h=="constructor")}if(m&&!C){var L=e.constructor,x=t.constructor;if(L!=x&&("constructor"in e&&"constructor"in t)&&!(typeof L=="function"&&L instanceof L&&typeof x=="function"&&x instanceof x)){m=false}}a["delete"](e);a["delete"](t);return m}function Ia(e){return Es(ys(e,r,Xs),e+"")}function Ba(e){return Ai(e,xf,qa)}function Ha(e){return Ai(e,_f,Ya)}var Wa=!sr?Bv:function(e){return sr.get(e)};function Ua(e){var t=e.name+"",r=lr[t],n=ft.call(lr,t)?r.length:0;while(n--){var i=r[n],o=i.func;if(o==null||o==e){return i.name}}return t}function Na(e){var t=ft.call(xn,"placeholder")?xn:e;return t.placeholder}function Va(){var e=xn.iteratee||Pv;e=e===Pv?to:e;return arguments.length?e(arguments[0],arguments[1]):e}function Za(e,t){var r=e.__data__;return ls(t)?r[typeof t=="string"?"string":"hash"]:r.map}function Ga(e){var t=xf(e),r=t.length;while(r--){var n=t[r],i=e[n];t[r]=[n,i,ds(i)]}return t}function $a(e,t){var n=rn(e,t);return Ki(n)?n:r}function Xa(e){var t=ft.call(e,kt),n=e[kt];try{e[kt]=r;var i=true}catch(e){}var o=dt.call(e);if(i){if(t){e[kt]=n}else{delete e[kt]}}return o}var qa=!At?Xv:function(e){if(e==null){return[]}e=rt(e);return Lr(At(e),(function(t){return _t.call(e,t)}))};var Ya=!At?Xv:function(e){var t=[];while(e){Er(t,qa(e));e=Lt(e)}return t};var Ka=Di;if(Jt&&Ka(new Jt(new ArrayBuffer(1)))!=fe||Qt&&Ka(new Qt)!=K||er&&Ka(er.resolve())!=te||nr&&Ka(new nr)!=ie||ir&&Ka(new ir)!=ue){Ka=function(e){var t=Di(e),n=t==ee?e.constructor:r,i=n?Ps(n):"";if(i){switch(i){case cr:return fe;case Or:return K;case jr:return te;case Hr:return ie;case vn:return ue}}return t}}function Ja(e,t,r){var n=-1,i=r.length;while(++n<i){var o=r[n],a=o.size;switch(o.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=Nt(t,e+a);break;case"takeRight":e=Ht(e,t-a);break}}return{start:e,end:t}}function Qa(e){var t=e.match(Be);return t?t[1].split(He):[]}function es(e,t,r){t=Vo(t,e);var n=-1,i=t.length,o=false;while(++n<i){var a=js(t[n]);if(!(o=e!=null&&r(e,a))){break}e=e[a]}if(o||++n!=i){return o}i=e==null?0:e.length;return!!i&&xc(i)&&as(a,i)&&(uc(e)||sc(e))}function ts(e){var t=e.length,r=new e.constructor(t);if(t&&typeof e[0]=="string"&&ft.call(e,"index")){r.index=e.index;r.input=e.input}return r}function rs(e){return typeof e.constructor=="function"&&!hs(e)?_n(Lt(e)):{}}function ns(e,t,r){var n=e.constructor;switch(t){case ce:return qo(e);case Z:case G:return new n(+e);case fe:return Yo(e,r);case ve:case he:case de:case pe:case ge:case me:case Ce:case we:case ye:return Qo(e,r);case K:return new n;case J:case oe:return new n(e);case ne:return Ko(e);case ie:return new n;case ae:return Jo(e)}}function is(e,t){var r=t.length;if(!r){return e}var n=r-1;t[n]=(r>1?"& ":"")+t[n];t=t.join(r>2?", ":" ");return e.replace(Ie,"{\n/* [wrapped with "+t+"] */\n")}function os(e){return uc(e)||sc(e)||!!(Et&&e&&e[Et])}function as(e,t){var r=typeof e;t=t==null?A:t;return!!t&&(r=="number"||r!="symbol"&&Ye.test(e))&&(e>-1&&e%1==0&&e<t)}function ss(e,t,r){if(!_c(r)){return false}var n=typeof t;if(n=="number"?cc(r)&&as(t,r.length):n=="string"&&t in r){return ic(r[t],e)}return false}function us(e,t){if(uc(e)){return false}var r=typeof e;if(r=="number"||r=="symbol"||r=="boolean"||e==null||Bc(e)){return true}return Pe.test(e)||!je.test(e)||t!=null&&e in rt(t)}function ls(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function cs(e){var t=Ua(e),r=xn[t];if(typeof r!="function"||!(t in zn.prototype)){return false}if(e===r){return true}var n=Wa(r);return!!n&&e===n[0]}function fs(e){return!!ht&&ht in e}var vs=lt?bc:qv;function hs(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||ut;return e===r}function ds(e){return e===e&&!_c(e)}function ps(e,t){return function(n){if(n==null){return false}return n[e]===t&&(t!==r||e in rt(n))}}function gs(e){var t=Hl(e,(function(e){if(r.size===l){r.clear()}return e}));var r=t.cache;return t}function ms(e,t){var r=e[1],n=t[1],i=r|n,o=i<(g|m|x);var a=n==x&&r==w||n==x&&r==_&&e[7].length<=t[8]||n==(x|_)&&t[7].length<=t[8]&&r==w;if(!(o||a)){return e}if(n&g){e[2]=t[2];i|=r&g?0:C}var s=t[3];if(s){var u=e[3];e[3]=u?ra(u,s,t[4]):s;e[4]=u?ln(e[3],c):t[4]}s=t[5];if(s){u=e[5];e[5]=u?na(u,s,t[6]):s;e[6]=u?ln(e[5],c):t[6]}s=t[7];if(s){e[7]=s}if(n&x){e[8]=e[8]==null?t[8]:Nt(e[8],t[8])}if(e[9]==null){e[9]=t[9]}e[0]=t[0];e[1]=i;return e}function Cs(e){var t=[];if(e!=null){for(var r in rt(e)){t.push(r)}}return t}function ws(e){return dt.call(e)}function ys(e,t,n){t=Ht(t===r?e.length-1:t,0);return function(){var r=arguments,i=-1,o=Ht(r.length-t,0),a=E(o);while(++i<o){a[i]=r[t+i]}i=-1;var s=E(t+1);while(++i<t){s[i]=r[i]}s[t]=n(a);return mr(e,this,s)}}function bs(e,t){return t.length<2?e:Ti(e,ko(t,0,-1))}function Ls(e,t){var n=e.length,i=Nt(t.length,n),o=ia(e);while(i--){var a=t[i];e[i]=as(a,n)?o[a]:r}return e}function xs(e,t){if(t==="constructor"&&typeof e[t]==="function"){return}if(t=="__proto__"){return}return e[t]}var _s=ks(So);var Ss=Pt||function(e,t){return or.setTimeout(e,t)};var Es=ks(Eo);function zs(e,t,r){var n=t+"";return Es(e,is(n,Fs(Qa(n),r)))}function ks(e){var t=0,n=0;return function(){var i=Vt(),o=O-(i-n);n=i;if(o>0){if(++t>=R){return arguments[0]}}else{t=0}return e.apply(r,arguments)}}function Rs(e,t){var n=-1,i=e.length,o=i-1;t=t===r?i:t;while(++n<t){var a=Co(n,o),s=e[a];e[a]=e[n];e[n]=s}e.length=t;return e}var Os=gs((function(e){var t=[];if(e.charCodeAt(0)===46){t.push("")}e.replace(Fe,(function(e,r,n,i){t.push(n?i.replace(Ne,"$1"):r||e)}));return t}));function js(e){if(typeof e=="string"||Bc(e)){return e}var t=e+"";return t=="0"&&1/e==-T?"-0":t}function Ps(e){if(e!=null){try{return ct.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Fs(e,t){wr(W,(function(r){var n="_."+r[0];if(t&r[1]&&!xr(e,n)){e.push(n)}}));return e.sort()}function Ts(e){if(e instanceof zn){return e.clone()}var t=new En(e.__wrapped__,e.__chain__);t.__actions__=ia(e.__actions__);t.__index__=e.__index__;t.__values__=e.__values__;return t}function As(e,t,n){if(n?ss(e,t,n):t===r){t=1}else{t=Ht(Xc(t),0)}var i=e==null?0:e.length;if(!i||t<1){return[]}var o=0,a=0,s=E(Ft(i/t));while(o<i){s[a++]=ko(e,o,o+=t)}return s}function Ds(e){var t=-1,r=e==null?0:e.length,n=0,i=[];while(++t<r){var o=e[t];if(o){i[n++]=o}}return i}function Ms(){var e=arguments.length;if(!e){return[]}var t=E(e-1),r=arguments[0],n=e;while(n--){t[n-1]=arguments[n]}return Er(uc(r)?ia(r):[r],ki(t,1))}var Is=bo((function(e,t){return fc(e)?bi(e,ki(t,1,fc,true)):[]}));var Bs=bo((function(e,t){var n=ou(t);if(fc(n)){n=r}return fc(e)?bi(e,ki(t,1,fc,true),Va(n,2)):[]}));var Hs=bo((function(e,t){var n=ou(t);if(fc(n)){n=r}return fc(e)?bi(e,ki(t,1,fc,true),r,n):[]}));function Ws(e,t,n){var i=e==null?0:e.length;if(!i){return[]}t=n||t===r?1:Xc(t);return ko(e,t<0?0:t,i)}function Us(e,t,n){var i=e==null?0:e.length;if(!i){return[]}t=n||t===r?1:Xc(t);t=i-t;return ko(e,0,t<0?0:t)}function Ns(e,t){return e&&e.length?Io(e,Va(t,3),true,true):[]}function Vs(e,t){return e&&e.length?Io(e,Va(t,3),true):[]}function Zs(e,t,r,n){var i=e==null?0:e.length;if(!i){return[]}if(r&&typeof r!="number"&&ss(e,t,r)){r=0;n=i}return Ei(e,t,r,n)}function Gs(e,t,r){var n=e==null?0:e.length;if(!n){return-1}var i=r==null?0:Xc(r);if(i<0){i=Ht(n+i,0)}return Tr(e,Va(t,3),i)}function $s(e,t,n){var i=e==null?0:e.length;if(!i){return-1}var o=i-1;if(n!==r){o=Xc(n);o=n<0?Ht(i+o,0):Nt(o,i-1)}return Tr(e,Va(t,3),o,true)}function Xs(e){var t=e==null?0:e.length;return t?ki(e,1):[]}function qs(e){var t=e==null?0:e.length;return t?ki(e,T):[]}function Ys(e,t){var n=e==null?0:e.length;if(!n){return[]}t=t===r?1:Xc(t);return ki(e,t)}function Ks(e){var t=-1,r=e==null?0:e.length,n={};while(++t<r){var i=e[t];n[i[0]]=i[1]}return n}function Js(e){return e&&e.length?e[0]:r}function Qs(e,t,r){var n=e==null?0:e.length;if(!n){return-1}var i=r==null?0:Xc(r);if(i<0){i=Ht(n+i,0)}return Ar(e,t,i)}function eu(e){var t=e==null?0:e.length;return t?ko(e,0,-1):[]}var tu=bo((function(e){var t=Sr(e,Uo);return t.length&&t[0]===e[0]?Wi(t):[]}));var ru=bo((function(e){var t=ou(e),n=Sr(e,Uo);if(t===ou(n)){t=r}else{n.pop()}return n.length&&n[0]===e[0]?Wi(n,Va(t,2)):[]}));var nu=bo((function(e){var t=ou(e),n=Sr(e,Uo);t=typeof t=="function"?t:r;if(t){n.pop()}return n.length&&n[0]===e[0]?Wi(n,r,t):[]}));function iu(e,t){return e==null?"":It.call(e,t)}function ou(e){var t=e==null?0:e.length;return t?e[t-1]:r}function au(e,t,n){var i=e==null?0:e.length;if(!i){return-1}var o=i;if(n!==r){o=Xc(n);o=o<0?Ht(i+o,0):Nt(o,i-1)}return t===t?hn(e,t,o):Tr(e,Mr,o,true)}function su(e,t){return e&&e.length?co(e,Xc(t)):r}var uu=bo(lu);function lu(e,t){return e&&e.length&&t&&t.length?go(e,t):e}function cu(e,t,r){return e&&e.length&&t&&t.length?go(e,t,Va(r,2)):e}function fu(e,t,n){return e&&e.length&&t&&t.length?go(e,t,r,n):e}var vu=Ia((function(e,t){var r=e==null?0:e.length,n=pi(e,t);mo(e,Sr(t,(function(e){return as(e,r)?+e:e})).sort(ea));return n}));function hu(e,t){var r=[];if(!(e&&e.length)){return r}var n=-1,i=[],o=e.length;t=Va(t,3);while(++n<o){var a=e[n];if(t(a,n,e)){r.push(a);i.push(n)}}mo(e,i);return r}function du(e){return e==null?e:Kt.call(e)}function pu(e,t,n){var i=e==null?0:e.length;if(!i){return[]}if(n&&typeof n!="number"&&ss(e,t,n)){t=0;n=i}else{t=t==null?0:Xc(t);n=n===r?i:Xc(n)}return ko(e,t,n)}function gu(e,t){return Oo(e,t)}function mu(e,t,r){return jo(e,t,Va(r,2))}function Cu(e,t){var r=e==null?0:e.length;if(r){var n=Oo(e,t);if(n<r&&ic(e[n],t)){return n}}return-1}function wu(e,t){return Oo(e,t,true)}function yu(e,t,r){return jo(e,t,Va(r,2),true)}function bu(e,t){var r=e==null?0:e.length;if(r){var n=Oo(e,t,true)-1;if(ic(e[n],t)){return n}}return-1}function Lu(e){return e&&e.length?Po(e):[]}function xu(e,t){return e&&e.length?Po(e,Va(t,2)):[]}function _u(e){var t=e==null?0:e.length;return t?ko(e,1,t):[]}function Su(e,t,n){if(!(e&&e.length)){return[]}t=n||t===r?1:Xc(t);return ko(e,0,t<0?0:t)}function Eu(e,t,n){var i=e==null?0:e.length;if(!i){return[]}t=n||t===r?1:Xc(t);t=i-t;return ko(e,t<0?0:t,i)}function zu(e,t){return e&&e.length?Io(e,Va(t,3),false,true):[]}function ku(e,t){return e&&e.length?Io(e,Va(t,3)):[]}var Ru=bo((function(e){return Ao(ki(e,1,fc,true))}));var Ou=bo((function(e){var t=ou(e);if(fc(t)){t=r}return Ao(ki(e,1,fc,true),Va(t,2))}));var ju=bo((function(e){var t=ou(e);t=typeof t=="function"?t:r;return Ao(ki(e,1,fc,true),r,t)}));function Pu(e){return e&&e.length?Ao(e):[]}function Fu(e,t){return e&&e.length?Ao(e,Va(t,2)):[]}function Tu(e,t){t=typeof t=="function"?t:r;return e&&e.length?Ao(e,r,t):[]}function Au(e){if(!(e&&e.length)){return[]}var t=0;e=Lr(e,(function(e){if(fc(e)){t=Ht(e.length,t);return true}}));return Vr(t,(function(t){return Sr(e,Br(t))}))}function Du(e,t){if(!(e&&e.length)){return[]}var n=Au(e);if(t==null){return n}return Sr(n,(function(e){return mr(t,r,e)}))}var Mu=bo((function(e,t){return fc(e)?bi(e,t):[]}));var Iu=bo((function(e){return Ho(Lr(e,fc))}));var Bu=bo((function(e){var t=ou(e);if(fc(t)){t=r}return Ho(Lr(e,fc),Va(t,2))}));var Hu=bo((function(e){var t=ou(e);t=typeof t=="function"?t:r;return Ho(Lr(e,fc),r,t)}));var Wu=bo(Au);function Uu(e,t){return Wo(e||[],t||[],li)}function Nu(e,t){return Wo(e||[],t||[],_o)}var Vu=bo((function(e){var t=e.length,n=t>1?e[t-1]:r;n=typeof n=="function"?(e.pop(),n):r;return Du(e,n)}));function Zu(e){var t=xn(e);t.__chain__=true;return t}function Gu(e,t){t(e);return e}function $u(e,t){return t(e)}var Xu=Ia((function(e){var t=e.length,n=t?e[0]:0,i=this.__wrapped__,o=function(t){return pi(t,e)};if(t>1||this.__actions__.length||!(i instanceof zn)||!as(n)){return this.thru(o)}i=i.slice(n,+n+(t?1:0));i.__actions__.push({func:$u,args:[o],thisArg:r});return new En(i,this.__chain__).thru((function(e){if(t&&!e.length){e.push(r)}return e}))}));function qu(){return Zu(this)}function Yu(){return new En(this.value(),this.__chain__)}function Ku(){if(this.__values__===r){this.__values__=Gc(this.value())}var e=this.__index__>=this.__values__.length,t=e?r:this.__values__[this.__index__++];return{done:e,value:t}}function Ju(){return this}function Qu(e){var t,n=this;while(n instanceof Sn){var i=Ts(n);i.__index__=0;i.__values__=r;if(t){o.__wrapped__=i}else{t=i}var o=i;n=n.__wrapped__}o.__wrapped__=e;return t}function el(){var e=this.__wrapped__;if(e instanceof zn){var t=e;if(this.__actions__.length){t=new zn(this)}t=t.reverse();t.__actions__.push({func:$u,args:[du],thisArg:r});return new En(t,this.__chain__)}return this.thru(du)}function tl(){return Bo(this.__wrapped__,this.__actions__)}var rl=ua((function(e,t,r){if(ft.call(e,r)){++e[r]}else{di(e,r,1)}}));function nl(e,t,n){var i=uc(e)?br:_i;if(n&&ss(e,t,n)){t=r}return i(e,Va(t,3))}function il(e,t){var r=uc(e)?Lr:zi;return r(e,Va(t,3))}var ol=ma(Gs);var al=ma($s);function sl(e,t){return ki(gl(e,t),1)}function ul(e,t){return ki(gl(e,t),T)}function ll(e,t,n){n=n===r?1:Xc(n);return ki(gl(e,t),n)}function cl(e,t){var r=uc(e)?wr:Li;return r(e,Va(t,3))}function fl(e,t){var r=uc(e)?yr:xi;return r(e,Va(t,3))}var vl=ua((function(e,t,r){if(ft.call(e,r)){e[r].push(t)}else{di(e,r,[t])}}));function hl(e,t,r,n){e=cc(e)?e:Uf(e);r=r&&!n?Xc(r):0;var i=e.length;if(r<0){r=Ht(i+r,0)}return Ic(e)?r<=i&&e.indexOf(t,r)>-1:!!i&&Ar(e,t,r)>-1}var dl=bo((function(e,t,r){var n=-1,i=typeof t=="function",o=cc(e)?E(e.length):[];Li(e,(function(e){o[++n]=i?mr(t,e,r):Ni(e,t,r)}));return o}));var pl=ua((function(e,t,r){di(e,r,t)}));function gl(e,t){var r=uc(e)?Sr:oo;return r(e,Va(t,3))}function ml(e,t,n,i){if(e==null){return[]}if(!uc(t)){t=t==null?[]:[t]}n=i?r:n;if(!uc(n)){n=n==null?[]:[n]}return fo(e,t,n)}var Cl=ua((function(e,t,r){e[r?0:1].push(t)}),(function(){return[[],[]]}));function wl(e,t,r){var n=uc(e)?zr:Wr,i=arguments.length<3;return n(e,Va(t,4),r,i,Li)}function yl(e,t,r){var n=uc(e)?kr:Wr,i=arguments.length<3;return n(e,Va(t,4),r,i,xi)}function bl(e,t){var r=uc(e)?Lr:zi;return r(e,Wl(Va(t,3)))}function Ll(e){var t=uc(e)?oi:Lo;return t(e)}function xl(e,t,n){if(n?ss(e,t,n):t===r){t=1}else{t=Xc(t)}var i=uc(e)?ai:xo;return i(e,t)}function _l(e){var t=uc(e)?si:zo;return t(e)}function Sl(e){if(e==null){return 0}if(cc(e)){return Ic(e)?dn(e):e.length}var t=Ka(e);if(t==K||t==ie){return e.size}return ro(e).length}function El(e,t,n){var i=uc(e)?Rr:Ro;if(n&&ss(e,t,n)){t=r}return i(e,Va(t,3))}var zl=bo((function(e,t){if(e==null){return[]}var r=t.length;if(r>1&&ss(e,t[0],t[1])){t=[]}else if(r>2&&ss(t[0],t[1],t[2])){t=[t[0]]}return fo(e,ki(t,1),[])}));var kl=jt||function(){return or.Date.now()};function Rl(e,t){if(typeof t!="function"){throw new ot(a)}e=Xc(e);return function(){if(--e<1){return t.apply(this,arguments)}}}function Ol(e,t,n){t=n?r:t;t=e&&t==null?e.length:t;return ja(e,x,r,r,r,r,t)}function jl(e,t){var n;if(typeof t!="function"){throw new ot(a)}e=Xc(e);return function(){if(--e>0){n=t.apply(this,arguments)}if(e<=1){t=r}return n}}var Pl=bo((function(e,t,r){var n=g;if(r.length){var i=ln(r,Na(Pl));n|=b}return ja(e,n,t,r,i)}));var Fl=bo((function(e,t,r){var n=g|m;if(r.length){var i=ln(r,Na(Fl));n|=b}return ja(t,n,e,r,i)}));function Tl(e,t,n){t=n?r:t;var i=ja(e,w,r,r,r,r,r,t);i.placeholder=Tl.placeholder;return i}function Al(e,t,n){t=n?r:t;var i=ja(e,y,r,r,r,r,r,t);i.placeholder=Al.placeholder;return i}function Dl(e,t,n){var i,o,s,u,l,c,f=0,v=false,h=false,d=true;if(typeof e!="function"){throw new ot(a)}t=Yc(t)||0;if(_c(n)){v=!!n.leading;h="maxWait"in n;s=h?Ht(Yc(n.maxWait)||0,t):s;d="trailing"in n?!!n.trailing:d}function p(t){var n=i,a=o;i=o=r;f=t;u=e.apply(a,n);return u}function g(e){f=e;l=Ss(w,t);return v?p(e):u}function m(e){var r=e-c,n=e-f,i=t-r;return h?Nt(i,s-n):i}function C(e){var n=e-c,i=e-f;return c===r||n>=t||n<0||h&&i>=s}function w(){var e=kl();if(C(e)){return y(e)}l=Ss(w,m(e))}function y(e){l=r;if(d&&i){return p(e)}i=o=r;return u}function b(){if(l!==r){$o(l)}f=0;i=c=o=l=r}function L(){return l===r?u:y(kl())}function x(){var e=kl(),n=C(e);i=arguments;o=this;c=e;if(n){if(l===r){return g(c)}if(h){$o(l);l=Ss(w,t);return p(c)}}if(l===r){l=Ss(w,t)}return u}x.cancel=b;x.flush=L;return x}var Ml=bo((function(e,t){return yi(e,1,t)}));var Il=bo((function(e,t,r){return yi(e,Yc(t)||0,r)}));function Bl(e){return ja(e,S)}function Hl(e,t){if(typeof e!="function"||t!=null&&typeof t!="function"){throw new ot(a)}var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i)){return o.get(i)}var a=e.apply(this,n);r.cache=o.set(i,a)||o;return a};r.cache=new(Hl.Cache||Nn);return r}Hl.Cache=Nn;function Wl(e){if(typeof e!="function"){throw new ot(a)}return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function Ul(e){return jl(2,e)}var Nl=Zo((function(e,t){t=t.length==1&&uc(t[0])?Sr(t[0],$r(Va())):Sr(ki(t,1),$r(Va()));var r=t.length;return bo((function(n){var i=-1,o=Nt(n.length,r);while(++i<o){n[i]=t[i].call(this,n[i])}return mr(e,this,n)}))}));var Vl=bo((function(e,t){var n=ln(t,Na(Vl));return ja(e,b,r,t,n)}));var Zl=bo((function(e,t){var n=ln(t,Na(Zl));return ja(e,L,r,t,n)}));var Gl=Ia((function(e,t){return ja(e,_,r,r,r,t)}));function $l(e,t){if(typeof e!="function"){throw new ot(a)}t=t===r?t:Xc(t);return bo(e,t)}function Xl(e,t){if(typeof e!="function"){throw new ot(a)}t=t==null?0:Ht(Xc(t),0);return bo((function(r){var n=r[t],i=Go(r,0,t);if(n){Er(i,n)}return mr(e,this,i)}))}function ql(e,t,r){var n=true,i=true;if(typeof e!="function"){throw new ot(a)}if(_c(r)){n="leading"in r?!!r.leading:n;i="trailing"in r?!!r.trailing:i}return Dl(e,t,{leading:n,maxWait:t,trailing:i})}function Yl(e){return Ol(e,1)}function Kl(e,t){return Vl(No(t),e)}function Jl(){if(!arguments.length){return[]}var e=arguments[0];return uc(e)?e:[e]}function Ql(e){return mi(e,h)}function ec(e,t){t=typeof t=="function"?t:r;return mi(e,h,t)}function tc(e){return mi(e,f|h)}function rc(e,t){t=typeof t=="function"?t:r;return mi(e,f|h,t)}function nc(e,t){return t==null||wi(e,t,xf(t))}function ic(e,t){return e===t||e!==e&&t!==t}var oc=Ea(Mi);var ac=Ea((function(e,t){return e>=t}));var sc=Vi(function(){return arguments}())?Vi:function(e){return Sc(e)&&ft.call(e,"callee")&&!_t.call(e,"callee")};var uc=E.isArray;var lc=fr?$r(fr):Zi;function cc(e){return e!=null&&xc(e.length)&&!bc(e)}function fc(e){return Sc(e)&&cc(e)}function vc(e){return e===true||e===false||Sc(e)&&Di(e)==Z}var hc=Dt||qv;var dc=vr?$r(vr):Gi;function pc(e){return Sc(e)&&e.nodeType===1&&!Tc(e)}function gc(e){if(e==null){return true}if(cc(e)&&(uc(e)||typeof e=="string"||typeof e.splice=="function"||hc(e)||Hc(e)||sc(e))){return!e.length}var t=Ka(e);if(t==K||t==ie){return!e.size}if(hs(e)){return!ro(e).length}for(var r in e){if(ft.call(e,r)){return false}}return true}function mc(e,t){return $i(e,t)}function Cc(e,t,n){n=typeof n=="function"?n:r;var i=n?n(e,t):r;return i===r?$i(e,t,r,n):!!i}function wc(e){if(!Sc(e)){return false}var t=Di(e);return t==X||t==$||typeof e.message=="string"&&typeof e.name=="string"&&!Tc(e)}function yc(e){return typeof e=="number"&&Mt(e)}function bc(e){if(!_c(e)){return false}var t=Di(e);return t==q||t==Y||t==V||t==re}function Lc(e){return typeof e=="number"&&e==Xc(e)}function xc(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=A}function _c(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function Sc(e){return e!=null&&typeof e=="object"}var Ec=hr?$r(hr):qi;function zc(e,t){return e===t||Yi(e,t,Ga(t))}function kc(e,t,n){n=typeof n=="function"?n:r;return Yi(e,t,Ga(t),n)}function Rc(e){return Fc(e)&&e!=+e}function Oc(e){if(vs(e)){throw new We(o)}return Ki(e)}function jc(e){return e===null}function Pc(e){return e==null}function Fc(e){return typeof e=="number"||Sc(e)&&Di(e)==J}function Tc(e){if(!Sc(e)||Di(e)!=ee){return false}var t=Lt(e);if(t===null){return true}var r=ft.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&ct.call(r)==pt}var Ac=dr?$r(dr):Ji;function Dc(e){return Lc(e)&&e>=-A&&e<=A}var Mc=pr?$r(pr):Qi;function Ic(e){return typeof e=="string"||!uc(e)&&Sc(e)&&Di(e)==oe}function Bc(e){return typeof e=="symbol"||Sc(e)&&Di(e)==ae}var Hc=gr?$r(gr):eo;function Wc(e){return e===r}function Uc(e){return Sc(e)&&Ka(e)==ue}function Nc(e){return Sc(e)&&Di(e)==le}var Vc=Ea(io);var Zc=Ea((function(e,t){return e<=t}));function Gc(e){if(!e){return[]}if(cc(e)){return Ic(e)?pn(e):ia(e)}if(zt&&e[zt]){return an(e[zt]())}var t=Ka(e),r=t==K?sn:t==ie?cn:Uf;return r(e)}function $c(e){if(!e){return e===0?e:0}e=Yc(e);if(e===T||e===-T){var t=e<0?-1:1;return t*D}return e===e?e:0}function Xc(e){var t=$c(e),r=t%1;return t===t?r?t-r:t:0}function qc(e){return e?gi(Xc(e),0,I):0}function Yc(e){if(typeof e=="number"){return e}if(Bc(e)){return M}if(_c(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=_c(t)?t+"":t}if(typeof e!="string"){return e===0?e:+e}e=Gr(e);var r=$e.test(e);return r||qe.test(e)?rr(e.slice(2),r?2:8):Ge.test(e)?M:+e}function Kc(e){return oa(e,_f(e))}function Jc(e){return e?gi(Xc(e),-A,A):e===0?e:0}function Qc(e){return e==null?"":To(e)}var ef=la((function(e,t){if(hs(t)||cc(t)){oa(t,xf(t),e);return}for(var r in t){if(ft.call(t,r)){li(e,r,t[r])}}}));var tf=la((function(e,t){oa(t,_f(t),e)}));var rf=la((function(e,t,r,n){oa(t,_f(t),e,n)}));var nf=la((function(e,t,r,n){oa(t,xf(t),e,n)}));var of=Ia(pi);function af(e,t){var r=_n(e);return t==null?r:vi(r,t)}var sf=bo((function(e,t){e=rt(e);var n=-1;var i=t.length;var o=i>2?t[2]:r;if(o&&ss(t[0],t[1],o)){i=1}while(++n<i){var a=t[n];var s=_f(a);var u=-1;var l=s.length;while(++u<l){var c=s[u];var f=e[c];if(f===r||ic(f,ut[c])&&!ft.call(e,c)){e[c]=a[c]}}}return e}));var uf=bo((function(e){e.push(r,Fa);return mr(kf,r,e)}));function lf(e,t){return Fr(e,Va(t,3),ji)}function cf(e,t){return Fr(e,Va(t,3),Pi)}function ff(e,t){return e==null?e:Ri(e,Va(t,3),_f)}function vf(e,t){return e==null?e:Oi(e,Va(t,3),_f)}function hf(e,t){return e&&ji(e,Va(t,3))}function df(e,t){return e&&Pi(e,Va(t,3))}function pf(e){return e==null?[]:Fi(e,xf(e))}function gf(e){return e==null?[]:Fi(e,_f(e))}function mf(e,t,n){var i=e==null?r:Ti(e,t);return i===r?n:i}function Cf(e,t){return e!=null&&es(e,t,Ii)}function wf(e,t){return e!=null&&es(e,t,Bi)}var yf=ya((function(e,t,r){if(t!=null&&typeof t.toString!="function"){t=dt.call(t)}e[t]=r}),zv(jv));var bf=ya((function(e,t,r){if(t!=null&&typeof t.toString!="function"){t=dt.call(t)}if(ft.call(e,t)){e[t].push(r)}else{e[t]=[r]}}),Va);var Lf=bo(Ni);function xf(e){return cc(e)?ii(e):ro(e)}function _f(e){return cc(e)?ii(e,true):no(e)}function Sf(e,t){var r={};t=Va(t,3);ji(e,(function(e,n,i){di(r,t(e,n,i),e)}));return r}function Ef(e,t){var r={};t=Va(t,3);ji(e,(function(e,n,i){di(r,n,t(e,n,i))}));return r}var zf=la((function(e,t,r){uo(e,t,r)}));var kf=la((function(e,t,r,n){uo(e,t,r,n)}));var Rf=Ia((function(e,t){var r={};if(e==null){return r}var n=false;t=Sr(t,(function(t){t=Vo(t,e);n||(n=t.length>1);return t}));oa(e,Ha(e),r);if(n){r=mi(r,f|v|h,Ta)}var i=t.length;while(i--){Do(r,t[i])}return r}));function Of(e,t){return Pf(e,Wl(Va(t)))}var jf=Ia((function(e,t){return e==null?{}:vo(e,t)}));function Pf(e,t){if(e==null){return{}}var r=Sr(Ha(e),(function(e){return[e]}));t=Va(t);return ho(e,r,(function(e,r){return t(e,r[0])}))}function Ff(e,t,n){t=Vo(t,e);var i=-1,o=t.length;if(!o){o=1;e=r}while(++i<o){var a=e==null?r:e[js(t[i])];if(a===r){i=o;a=n}e=bc(a)?a.call(e):a}return e}function Tf(e,t,r){return e==null?e:_o(e,t,r)}function Af(e,t,n,i){i=typeof i=="function"?i:r;return e==null?e:_o(e,t,n,i)}var Df=Oa(xf);var Mf=Oa(_f);function If(e,t,r){var n=uc(e),i=n||hc(e)||Hc(e);t=Va(t,4);if(r==null){var o=e&&e.constructor;if(i){r=n?new o:[]}else if(_c(e)){r=bc(o)?_n(Lt(e)):{}}else{r={}}}(i?wr:ji)(e,(function(e,n,i){return t(r,e,n,i)}));return r}function Bf(e,t){return e==null?true:Do(e,t)}function Hf(e,t,r){return e==null?e:Mo(e,t,No(r))}function Wf(e,t,n,i){i=typeof i=="function"?i:r;return e==null?e:Mo(e,t,No(n),i)}function Uf(e){return e==null?[]:Xr(e,xf(e))}function Nf(e){return e==null?[]:Xr(e,_f(e))}function Vf(e,t,n){if(n===r){n=t;t=r}if(n!==r){n=Yc(n);n=n===n?n:0}if(t!==r){t=Yc(t);t=t===t?t:0}return gi(Yc(e),t,n)}function Zf(e,t,n){t=$c(t);if(n===r){n=t;t=0}else{n=$c(n)}e=Yc(e);return Hi(e,t,n)}function Gf(e,t,n){if(n&&typeof n!="boolean"&&ss(e,t,n)){t=n=r}if(n===r){if(typeof t=="boolean"){n=t;t=r}else if(typeof e=="boolean"){n=e;e=r}}if(e===r&&t===r){e=0;t=1}else{e=$c(e);if(t===r){t=e;e=0}else{t=$c(t)}}if(e>t){var i=e;e=t;t=i}if(n||e%1||t%1){var o=Gt();return Nt(e+o*(t-e+tr("1e-"+((o+"").length-1))),t)}return Co(e,t)}var $f=da((function(e,t,r){t=t.toLowerCase();return e+(r?Xf(t):t)}));function Xf(e){return bv(Qc(e).toLowerCase())}function qf(e){e=Qc(e);return e&&e.replace(Ke,Qr).replace(Ut,"")}function Yf(e,t,n){e=Qc(e);t=To(t);var i=e.length;n=n===r?i:gi(Xc(n),0,i);var o=n;n-=t.length;return n>=0&&e.slice(n,o)==t}function Kf(e){e=Qc(e);return e&&ze.test(e)?e.replace(Se,en):e}function Jf(e){e=Qc(e);return e&&Ae.test(e)?e.replace(Te,"\\$&"):e}var Qf=da((function(e,t,r){return e+(r?"-":"")+t.toLowerCase()}));var ev=da((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}));var tv=ha("toLowerCase");function rv(e,t,r){e=Qc(e);t=Xc(t);var n=t?dn(e):0;if(!t||n>=t){return e}var i=(t-n)/2;return xa(Tt(i),r)+e+xa(Ft(i),r)}function nv(e,t,r){e=Qc(e);t=Xc(t);var n=t?dn(e):0;return t&&n<t?e+xa(t-n,r):e}function iv(e,t,r){e=Qc(e);t=Xc(t);var n=t?dn(e):0;return t&&n<t?xa(t-n,r)+e:e}function ov(e,t,r){if(r||t==null){t=0}else if(t){t=+t}return Zt(Qc(e).replace(De,""),t||0)}function av(e,t,n){if(n?ss(e,t,n):t===r){t=1}else{t=Xc(t)}return yo(Qc(e),t)}function sv(){var e=arguments,t=Qc(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var uv=da((function(e,t,r){return e+(r?"_":"")+t.toLowerCase()}));function lv(e,t,n){if(n&&typeof n!="number"&&ss(e,t,n)){t=n=r}n=n===r?I:n>>>0;if(!n){return[]}e=Qc(e);if(e&&(typeof t=="string"||t!=null&&!Ac(t))){t=To(t);if(!t&&nn(e)){return Go(pn(e),0,n)}}return e.split(t,n)}var cv=da((function(e,t,r){return e+(r?" ":"")+bv(t)}));function fv(e,t,r){e=Qc(e);r=r==null?0:gi(Xc(r),0,e.length);t=To(t);return e.slice(r,r+t.length)==t}function vv(e,t,n){var i=xn.templateSettings;if(n&&ss(e,t,n)){t=r}e=Qc(e);t=rf({},t,i,Pa);var o=rf({},t.imports,i.imports,Pa),a=xf(o),u=Xr(o,a);var l,c,f=0,v=t.interpolate||Je,h="__p += '";var d=nt((t.escape||Je).source+"|"+v.source+"|"+(v===Oe?Ve:Je).source+"|"+(t.evaluate||Je).source+"|$","g");var p="//# sourceURL="+(ft.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Xt+"]")+"\n";e.replace(d,(function(t,r,n,i,o,a){n||(n=i);h+=e.slice(f,a).replace(Qe,tn);if(r){l=true;h+="' +\n__e("+r+") +\n'"}if(o){c=true;h+="';\n"+o+";\n__p += '"}if(n){h+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"}f=a+t.length;return t}));h+="';\n";var g=ft.call(t,"variable")&&t.variable;if(!g){h="with (obj) {\n"+h+"\n}\n"}else if(Ue.test(g)){throw new We(s)}h=(c?h.replace(be,""):h).replace(Le,"$1").replace(xe,"$1;");h="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(l?", __e = _.escape":"")+(c?", __j = Array.prototype.join;\n"+"function print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var m=xv((function(){return et(a,p+"return "+h).apply(r,u)}));m.source=h;if(wc(m)){throw m}return m}function hv(e){return Qc(e).toLowerCase()}function dv(e){return Qc(e).toUpperCase()}function pv(e,t,n){e=Qc(e);if(e&&(n||t===r)){return Gr(e)}if(!e||!(t=To(t))){return e}var i=pn(e),o=pn(t),a=Yr(i,o),s=Kr(i,o)+1;return Go(i,a,s).join("")}function gv(e,t,n){e=Qc(e);if(e&&(n||t===r)){return e.slice(0,gn(e)+1)}if(!e||!(t=To(t))){return e}var i=pn(e),o=Kr(i,pn(t))+1;return Go(i,0,o).join("")}function mv(e,t,n){e=Qc(e);if(e&&(n||t===r)){return e.replace(De,"")}if(!e||!(t=To(t))){return e}var i=pn(e),o=Yr(i,pn(t));return Go(i,o).join("")}function Cv(e,t){var n=z,i=k;if(_c(t)){var o="separator"in t?t.separator:o;n="length"in t?Xc(t.length):n;i="omission"in t?To(t.omission):i}e=Qc(e);var a=e.length;if(nn(e)){var s=pn(e);a=s.length}if(n>=a){return e}var u=n-dn(i);if(u<1){return i}var l=s?Go(s,0,u).join(""):e.slice(0,u);if(o===r){return l+i}if(s){u+=l.length-u}if(Ac(o)){if(e.slice(u).search(o)){var c,f=l;if(!o.global){o=nt(o.source,Qc(Ze.exec(o))+"g")}o.lastIndex=0;while(c=o.exec(f)){var v=c.index}l=l.slice(0,v===r?u:v)}}else if(e.indexOf(To(o),u)!=u){var h=l.lastIndexOf(o);if(h>-1){l=l.slice(0,h)}}return l+i}function wv(e){e=Qc(e);return e&&Ee.test(e)?e.replace(_e,mn):e}var yv=da((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()}));var bv=ha("toUpperCase");function Lv(e,t,n){e=Qc(e);t=n?r:t;if(t===r){return on(e)?yn(e):Pr(e)}return e.match(t)||[]}var xv=bo((function(e,t){try{return mr(e,r,t)}catch(e){return wc(e)?e:new We(e)}}));var _v=Ia((function(e,t){wr(t,(function(t){t=js(t);di(e,t,Pl(e[t],e))}));return e}));function Sv(e){var t=e==null?0:e.length,r=Va();e=!t?[]:Sr(e,(function(e){if(typeof e[1]!="function"){throw new ot(a)}return[r(e[0]),e[1]]}));return bo((function(r){var n=-1;while(++n<t){var i=e[n];if(mr(i[0],this,r)){return mr(i[1],this,r)}}}))}function Ev(e){return Ci(mi(e,f))}function zv(e){return function(){return e}}function kv(e,t){return e==null||e!==e?t:e}var Rv=Ca();var Ov=Ca(true);function jv(e){return e}function Pv(e){return to(typeof e=="function"?e:mi(e,f))}function Fv(e){return ao(mi(e,f))}function Tv(e,t){return so(e,mi(t,f))}var Av=bo((function(e,t){return function(r){return Ni(r,e,t)}}));var Dv=bo((function(e,t){return function(r){return Ni(e,r,t)}}));function Mv(e,t,r){var n=xf(t),i=Fi(t,n);if(r==null&&!(_c(t)&&(i.length||!n.length))){r=t;t=e;e=this;i=Fi(t,xf(t))}var o=!(_c(r)&&"chain"in r)||!!r.chain,a=bc(e);wr(i,(function(r){var n=t[r];e[r]=n;if(a){e.prototype[r]=function(){var t=this.__chain__;if(o||t){var r=e(this.__wrapped__),i=r.__actions__=ia(this.__actions__);i.push({func:n,args:arguments,thisArg:e});r.__chain__=t;return r}return n.apply(e,Er([this.value()],arguments))}}}));return e}function Iv(){if(or._===this){or._=gt}return this}function Bv(){}function Hv(e){e=Xc(e);return bo((function(t){return co(t,e)}))}var Wv=La(Sr);var Uv=La(br);var Nv=La(Rr);function Vv(e){return us(e)?Br(js(e)):po(e)}function Zv(e){return function(t){return e==null?r:Ti(e,t)}}var Gv=Sa();var $v=Sa(true);function Xv(){return[]}function qv(){return false}function Yv(){return{}}function Kv(){return""}function Jv(){return true}function Qv(e,t){e=Xc(e);if(e<1||e>A){return[]}var r=I,n=Nt(e,I);t=Va(t);e-=I;var i=Vr(n,t);while(++r<e){t(r)}return i}function eh(e){if(uc(e)){return Sr(e,js)}return Bc(e)?[e]:ia(Os(Qc(e)))}function th(e){var t=++vt;return Qc(e)+t}var rh=ba((function(e,t){return e+t}),0);var nh=ka("ceil");var ih=ba((function(e,t){return e/t}),1);var oh=ka("floor");function ah(e){return e&&e.length?Si(e,jv,Mi):r}function sh(e,t){return e&&e.length?Si(e,Va(t,2),Mi):r}function uh(e){return Ir(e,jv)}function lh(e,t){return Ir(e,Va(t,2))}function ch(e){return e&&e.length?Si(e,jv,io):r}function fh(e,t){return e&&e.length?Si(e,Va(t,2),io):r}var vh=ba((function(e,t){return e*t}),1);var hh=ka("round");var dh=ba((function(e,t){return e-t}),0);function ph(e){return e&&e.length?Nr(e,jv):0}function gh(e,t){return e&&e.length?Nr(e,Va(t,2)):0}xn.after=Rl;xn.ary=Ol;xn.assign=ef;xn.assignIn=tf;xn.assignInWith=rf;xn.assignWith=nf;xn.at=of;xn.before=jl;xn.bind=Pl;xn.bindAll=_v;xn.bindKey=Fl;xn.castArray=Jl;xn.chain=Zu;xn.chunk=As;xn.compact=Ds;xn.concat=Ms;xn.cond=Sv;xn.conforms=Ev;xn.constant=zv;xn.countBy=rl;xn.create=af;xn.curry=Tl;xn.curryRight=Al;xn.debounce=Dl;xn.defaults=sf;xn.defaultsDeep=uf;xn.defer=Ml;xn.delay=Il;xn.difference=Is;xn.differenceBy=Bs;xn.differenceWith=Hs;xn.drop=Ws;xn.dropRight=Us;xn.dropRightWhile=Ns;xn.dropWhile=Vs;xn.fill=Zs;xn.filter=il;xn.flatMap=sl;xn.flatMapDeep=ul;xn.flatMapDepth=ll;xn.flatten=Xs;xn.flattenDeep=qs;xn.flattenDepth=Ys;xn.flip=Bl;xn.flow=Rv;xn.flowRight=Ov;xn.fromPairs=Ks;xn.functions=pf;xn.functionsIn=gf;xn.groupBy=vl;xn.initial=eu;xn.intersection=tu;xn.intersectionBy=ru;xn.intersectionWith=nu;xn.invert=yf;xn.invertBy=bf;xn.invokeMap=dl;xn.iteratee=Pv;xn.keyBy=pl;xn.keys=xf;xn.keysIn=_f;xn.map=gl;xn.mapKeys=Sf;xn.mapValues=Ef;xn.matches=Fv;xn.matchesProperty=Tv;xn.memoize=Hl;xn.merge=zf;xn.mergeWith=kf;xn.method=Av;xn.methodOf=Dv;xn.mixin=Mv;xn.negate=Wl;xn.nthArg=Hv;xn.omit=Rf;xn.omitBy=Of;xn.once=Ul;xn.orderBy=ml;xn.over=Wv;xn.overArgs=Nl;xn.overEvery=Uv;xn.overSome=Nv;xn.partial=Vl;xn.partialRight=Zl;xn.partition=Cl;xn.pick=jf;xn.pickBy=Pf;xn.property=Vv;xn.propertyOf=Zv;xn.pull=uu;xn.pullAll=lu;xn.pullAllBy=cu;xn.pullAllWith=fu;xn.pullAt=vu;xn.range=Gv;xn.rangeRight=$v;xn.rearg=Gl;xn.reject=bl;xn.remove=hu;xn.rest=$l;xn.reverse=du;xn.sampleSize=xl;xn.set=Tf;xn.setWith=Af;xn.shuffle=_l;xn.slice=pu;xn.sortBy=zl;xn.sortedUniq=Lu;xn.sortedUniqBy=xu;xn.split=lv;xn.spread=Xl;xn.tail=_u;xn.take=Su;xn.takeRight=Eu;xn.takeRightWhile=zu;xn.takeWhile=ku;xn.tap=Gu;xn.throttle=ql;xn.thru=$u;xn.toArray=Gc;xn.toPairs=Df;xn.toPairsIn=Mf;xn.toPath=eh;xn.toPlainObject=Kc;xn.transform=If;xn.unary=Yl;xn.union=Ru;xn.unionBy=Ou;xn.unionWith=ju;xn.uniq=Pu;xn.uniqBy=Fu;xn.uniqWith=Tu;xn.unset=Bf;xn.unzip=Au;xn.unzipWith=Du;xn.update=Hf;xn.updateWith=Wf;xn.values=Uf;xn.valuesIn=Nf;xn.without=Mu;xn.words=Lv;xn.wrap=Kl;xn.xor=Iu;xn.xorBy=Bu;xn.xorWith=Hu;xn.zip=Wu;xn.zipObject=Uu;xn.zipObjectDeep=Nu;xn.zipWith=Vu;xn.entries=Df;xn.entriesIn=Mf;xn.extend=tf;xn.extendWith=rf;Mv(xn,xn);xn.add=rh;xn.attempt=xv;xn.camelCase=$f;xn.capitalize=Xf;xn.ceil=nh;xn.clamp=Vf;xn.clone=Ql;xn.cloneDeep=tc;xn.cloneDeepWith=rc;xn.cloneWith=ec;xn.conformsTo=nc;xn.deburr=qf;xn.defaultTo=kv;xn.divide=ih;xn.endsWith=Yf;xn.eq=ic;xn.escape=Kf;xn.escapeRegExp=Jf;xn.every=nl;xn.find=ol;xn.findIndex=Gs;xn.findKey=lf;xn.findLast=al;xn.findLastIndex=$s;xn.findLastKey=cf;xn.floor=oh;xn.forEach=cl;xn.forEachRight=fl;xn.forIn=ff;xn.forInRight=vf;xn.forOwn=hf;xn.forOwnRight=df;xn.get=mf;xn.gt=oc;xn.gte=ac;xn.has=Cf;xn.hasIn=wf;xn.head=Js;xn.identity=jv;xn.includes=hl;xn.indexOf=Qs;xn.inRange=Zf;xn.invoke=Lf;xn.isArguments=sc;xn.isArray=uc;xn.isArrayBuffer=lc;xn.isArrayLike=cc;xn.isArrayLikeObject=fc;xn.isBoolean=vc;xn.isBuffer=hc;xn.isDate=dc;xn.isElement=pc;xn.isEmpty=gc;xn.isEqual=mc;xn.isEqualWith=Cc;xn.isError=wc;xn.isFinite=yc;xn.isFunction=bc;xn.isInteger=Lc;xn.isLength=xc;xn.isMap=Ec;xn.isMatch=zc;xn.isMatchWith=kc;xn.isNaN=Rc;xn.isNative=Oc;xn.isNil=Pc;xn.isNull=jc;xn.isNumber=Fc;xn.isObject=_c;xn.isObjectLike=Sc;xn.isPlainObject=Tc;xn.isRegExp=Ac;xn.isSafeInteger=Dc;xn.isSet=Mc;xn.isString=Ic;xn.isSymbol=Bc;xn.isTypedArray=Hc;xn.isUndefined=Wc;xn.isWeakMap=Uc;xn.isWeakSet=Nc;xn.join=iu;xn.kebabCase=Qf;xn.last=ou;xn.lastIndexOf=au;xn.lowerCase=ev;xn.lowerFirst=tv;xn.lt=Vc;xn.lte=Zc;xn.max=ah;xn.maxBy=sh;xn.mean=uh;xn.meanBy=lh;xn.min=ch;xn.minBy=fh;xn.stubArray=Xv;xn.stubFalse=qv;xn.stubObject=Yv;xn.stubString=Kv;xn.stubTrue=Jv;xn.multiply=vh;xn.nth=su;xn.noConflict=Iv;xn.noop=Bv;xn.now=kl;xn.pad=rv;xn.padEnd=nv;xn.padStart=iv;xn.parseInt=ov;xn.random=Gf;xn.reduce=wl;xn.reduceRight=yl;xn.repeat=av;xn.replace=sv;xn.result=Ff;xn.round=hh;xn.runInContext=e;xn.sample=Ll;xn.size=Sl;xn.snakeCase=uv;xn.some=El;xn.sortedIndex=gu;xn.sortedIndexBy=mu;xn.sortedIndexOf=Cu;xn.sortedLastIndex=wu;xn.sortedLastIndexBy=yu;xn.sortedLastIndexOf=bu;xn.startCase=cv;xn.startsWith=fv;xn.subtract=dh;xn.sum=ph;xn.sumBy=gh;xn.template=vv;xn.times=Qv;xn.toFinite=$c;xn.toInteger=Xc;xn.toLength=qc;xn.toLower=hv;xn.toNumber=Yc;xn.toSafeInteger=Jc;xn.toString=Qc;xn.toUpper=dv;xn.trim=pv;xn.trimEnd=gv;xn.trimStart=mv;xn.truncate=Cv;xn.unescape=wv;xn.uniqueId=th;xn.upperCase=yv;xn.upperFirst=bv;xn.each=cl;xn.eachRight=fl;xn.first=Js;Mv(xn,function(){var e={};ji(xn,(function(t,r){if(!ft.call(xn.prototype,r)){e[r]=t}}));return e}(),{chain:false});xn.VERSION=n;wr(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){xn[e].placeholder=xn}));wr(["drop","take"],(function(e,t){zn.prototype[e]=function(n){n=n===r?1:Ht(Xc(n),0);var i=this.__filtered__&&!t?new zn(this):this.clone();if(i.__filtered__){i.__takeCount__=Nt(n,i.__takeCount__)}else{i.__views__.push({size:Nt(n,I),type:e+(i.__dir__<0?"Right":"")})}return i};zn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}));wr(["filter","map","takeWhile"],(function(e,t){var r=t+1,n=r==j||r==F;zn.prototype[e]=function(e){var t=this.clone();t.__iteratees__.push({iteratee:Va(e,3),type:r});t.__filtered__=t.__filtered__||n;return t}}));wr(["head","last"],(function(e,t){var r="take"+(t?"Right":"");zn.prototype[e]=function(){return this[r](1).value()[0]}}));wr(["initial","tail"],(function(e,t){var r="drop"+(t?"":"Right");zn.prototype[e]=function(){return this.__filtered__?new zn(this):this[r](1)}}));zn.prototype.compact=function(){return this.filter(jv)};zn.prototype.find=function(e){return this.filter(e).head()};zn.prototype.findLast=function(e){return this.reverse().find(e)};zn.prototype.invokeMap=bo((function(e,t){if(typeof e=="function"){return new zn(this)}return this.map((function(r){return Ni(r,e,t)}))}));zn.prototype.reject=function(e){return this.filter(Wl(Va(e)))};zn.prototype.slice=function(e,t){e=Xc(e);var n=this;if(n.__filtered__&&(e>0||t<0)){return new zn(n)}if(e<0){n=n.takeRight(-e)}else if(e){n=n.drop(e)}if(t!==r){t=Xc(t);n=t<0?n.dropRight(-t):n.take(t-e)}return n};zn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()};zn.prototype.toArray=function(){return this.take(I)};ji(zn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),o=xn[i?"take"+(t=="last"?"Right":""):t],a=i||/^find/.test(t);if(!o){return}xn.prototype[t]=function(){var t=this.__wrapped__,s=i?[1]:arguments,u=t instanceof zn,l=s[0],c=u||uc(t);var f=function(e){var t=o.apply(xn,Er([e],s));return i&&v?t[0]:t};if(c&&n&&typeof l=="function"&&l.length!=1){u=c=false}var v=this.__chain__,h=!!this.__actions__.length,d=a&&!v,p=u&&!h;if(!a&&c){t=p?t:new zn(this);var g=e.apply(t,s);g.__actions__.push({func:$u,args:[f],thisArg:r});return new En(g,v)}if(d&&p){return e.apply(this,s)}g=this.thru(f);return d?i?g.value()[0]:g.value():g}}));wr(["pop","push","shift","sort","splice","unshift"],(function(e){var t=at[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",n=/^(?:pop|shift)$/.test(e);xn.prototype[e]=function(){var e=arguments;if(n&&!this.__chain__){var i=this.value();return t.apply(uc(i)?i:[],e)}return this[r]((function(r){return t.apply(uc(r)?r:[],e)}))}}));ji(zn.prototype,(function(e,t){var r=xn[t];if(r){var n=r.name+"";if(!ft.call(lr,n)){lr[n]=[]}lr[n].push({name:t,func:r})}}));lr[wa(r,m).name]=[{name:"wrapper",func:r}];zn.prototype.clone=kn;zn.prototype.reverse=Rn;zn.prototype.value=On;xn.prototype.at=Xu;xn.prototype.chain=qu;xn.prototype.commit=Yu;xn.prototype.next=Ku;xn.prototype.plant=Qu;xn.prototype.reverse=el;xn.prototype.toJSON=xn.prototype.valueOf=xn.prototype.value=tl;xn.prototype.first=xn.prototype.head;if(zt){xn.prototype[zt]=Ju}return xn};var Ln=bn();if(sr){(sr.exports=Ln)._=Ln;ar._=Ln}else{or._=Ln}}).call(E)}));var au=function(){function e(e,t){this.viewports=e;var r=ou.debounce((function(){return t.realSizeChanged()}),100);this.stores=ya(__spreadArray(__spreadArray([],Ss),Es),(function(e,t){e[t]=new iu;e[t].store.onChange("realSize",(function(){return r()}));return e}),{})}e.prototype.setDimensionSize=function(e,t){this.stores[e].setDimensionSize(t);this.viewports.stores[e].setViewPortDimension(t)};e.prototype.setRealSize=function(e,t){this.viewports.stores[t].setViewport({realCount:e});this.stores[t].setRealSize(e)};e.prototype.setData=function(e,t,r){if(r===void 0){r=false}this.setRealSize(e.length,t);if(r){this.setNoVirtual(t)}this.setViewPortCoordinate({coordinate:this.viewports.stores[t].store.get("lastCoordinate"),type:t})};e.prototype.setNoVirtual=function(e){var t=this.stores[e].getCurrentState();this.viewports.stores[e].setViewport({virtualSize:t.realSize})};e.prototype.drop=function(){for(var e=0,t=Es;e<t.length;e++){var r=t[e];this.stores[r].drop()}};e.prototype.getFullSize=function(){var e,t;var r=0;var n=0;for(var i=0,o=Es;i<o.length;i++){var a=o[i];r+=((e=this.stores[a])===null||e===void 0?void 0:e.store.get("realSize"))||0}for(var s=0,u=Ss;s<u.length;s++){var a=u[s];n+=((t=this.stores[a])===null||t===void 0?void 0:t.store.get("realSize"))||0}return{y:n,x:r}};e.prototype.setColumns=function(e,t,r){if(r===void 0){r=false}this.stores[e].setDimensionSize(t);if(r){this.setNoVirtual(e)}this.setViewPortCoordinate({coordinate:this.viewports.stores[e].store.get("lastCoordinate"),type:e})};e.prototype.setViewPortCoordinate=function(e){var t=e.coordinate,r=e.type;var n=this.stores[r].getCurrentState();this.viewports.stores[r].setViewPortCoordinate(t,n)};e.prototype.getViewPortPos=function(e){var t=this.stores[e.dimension].getCurrentState();var r=tu(t,e.coordinate);return r.start};e.prototype.setSettings=function(e,t){var r=[];switch(t){case"rgCol":r=Es;break;case"rgRow":r=Ss;break}for(var n=0,i=r;n<i.length;n++){var o=i[n];this.stores[o].setStore(e)}};return e}();function su(e,t,r,n,i){var o=eu(i,e);var a=du(t);var s;if(a){var u=o.itemIndex-(a.itemIndex||0);if(u){var l=fu(Math.abs(u),Object.assign(Object.assign({positiveDirection:u>-1},i),t));if(l){s=l}if(s){var c=lu(o,r,n,s,i);if(c.length){uu(s.items,c,s)}}}}if(!s){var f=cu({start:o.start,startIndex:o.itemIndex,origSize:i.originItemSize,maxSize:n,maxCount:r,sizes:i.sizes});s={items:f,start:0,end:f.length-1}}return s}function uu(e,t,r){e.splice.apply(e,__spreadArray([r.end+1,0],t));if(r.start>=r.end&&!(r.start===r.end&&r.start===0)){r.start+=t.length}r.end+=t.length}function lu(e,t,r,n,i){var o=pu(n);var a=cu({sizes:i.sizes,start:o.end,startIndex:o.itemIndex+1,origSize:i.originItemSize,maxSize:r-(o.end-e.start),maxCount:t});return a}function cu(e,t){if(t===void 0){t=0}var r=[];var n=e.startIndex;var i=t;while(i<=e.maxSize&&n<e.maxCount){var o=vu(n,e.sizes,e.origSize);r.push({start:e.start+i,end:e.start+i+o,itemIndex:n,size:o});i+=o;n++}return r}function fu(e,t){var r=__spreadArray([],t.items);var n=r.length;var i={start:t.start,end:t.end};if(e>n){return null}if(t.positiveDirection){var o=pu(t);var a=i.start;var s=a+e;for(;a<s;a++){var u=o.itemIndex+1;var l=vu(u,t.sizes,t.originItemSize);if(o.end+l>t.realSize){break}var c=a%n;if(!r[c]){throw new Error("incorrect index")}r[c]=o={start:o.end,end:o.end+l,itemIndex:u,size:l};i.start++;i.end=c}}else{var f=du(t);var v=i.end;for(var a=0;a<e;a++){var u=f.itemIndex-1;var h=vu(u,t.sizes,t.originItemSize);var d=v-a;d=(d<0?n+d:d)%n;if(!r[d]){throw new Error("incorrect index")}r[d]=f={start:f.start-h,end:f.start,itemIndex:u,size:h};i.start=d;i.end--}}var p={start:(i.start<0?n+i.start:i.start)%n,end:(i.end<0?n+i.end:i.end)%n};return Object.assign({items:r},p)}function vu(e,t,r){if(r===void 0){r=0}if(t&&t[e]){return t[e]}return r}function hu(e,t){return t&&e>=t.start&&e<=t.end}function du(e){return e.items[e.start]}function pu(e){return e.items[e.end]}function gu(){return{items:[],start:0,end:0,virtualSize:0,realCount:0,lastCoordinate:0}}var mu=function(){function e(){var e=this;this.store=rs(gu());this.store.onChange("realCount",(function(){return e.clear()}))}e.prototype.setViewPortCoordinate=function(e,t){var r=this.store.get("virtualSize");if(!r){return}var n=t.frameOffset;var i=n*2*t.originItemSize;r+=i;var o=r;if(t.realSize>r){o=t.realSize-r}var a={lastCoordinate:e};var s=e;s-=n*t.originItemSize;s=s<0?0:s<o?s:o;var u=du(this.getItems());var l=pu(this.getItems());if(!hu(s,u)){a=Object.assign(Object.assign({},a),su(s,this.getItems(),this.store.get("realCount"),r,t));ps(this.store,Object.assign({},a))}else if(u&&this.store.get("virtualSize")+s>(l===null||l===void 0?void 0:l.end)){var c=lu(u,this.store.get("realCount"),r+s-u.start,this.getItems(),t);if(c.length){var f=__spreadArray([],this.store.get("items"));var v={start:this.store.get("start"),end:this.store.get("end")};uu(f,c,v);a=Object.assign(Object.assign(Object.assign({},a),{items:__spreadArray([],f)}),v);ps(this.store,Object.assign({},a))}}};e.prototype.setViewPortDimension=function(e){var t=this.store.get("items");var r=t.length;if(!r){return}var n=0;var i=0;var o=this.store.get("start");while(i<r){var a=t[o];if(n){a.start+=n;a.end+=n}var s=e[a.itemIndex];if(s){var u=s-a.size;n+=u;a.size=s;a.end=a.start+s}o++;i++;if(o===r){o=0}}ps(this.store,{items:__spreadArray([],t)})};e.prototype.getItems=function(){return{items:this.store.get("items"),start:this.store.get("start"),end:this.store.get("end")}};e.prototype.setViewport=function(e){ps(this.store,e)};e.prototype.clear=function(){this.store.set("items",[])};return e}();var Cu=function(){function e(){this.stores=ya(__spreadArray(__spreadArray([],Ss),Es),(function(e,t){e[t]=new mu;return e}),{})}e.prototype.setViewport=function(e,t){this.stores[e].setViewport(t)};return e}();var wu=7;var yu;(function(e){e["headerClickAutosize"]="headerClickAutoSize";e["autoSizeOnTextOverlap"]="autoSizeOnTextOverlap";e["autoSizeAll"]="autoSizeAll"})(yu||(yu={}));var bu=function(e){__extends(t,e);function t(t,r,n){var i=e.call(this,t)||this;i.providers=r;i.config=n;i.autoSizeColumns=null;i.dataResolve=null;i.dataReject=null;i.letterBlockSize=(n===null||n===void 0?void 0:n.letterBlockSize)||wu;if(n===null||n===void 0?void 0:n.preciseSize){i.precsizeCalculationArea=i.initiatePresizeElement();t.appendChild(i.precsizeCalculationArea)}var o=function(e){var t=e.detail.source;i.setSource(t)};var a=function(e){var t=e.detail;i.afteredit(t)};var s=function(e){var t=e.detail;i.afterEditAll(t)};var u=function(e){var t=e.detail.columns;i.columnSet(t)};var l=function(e){var t;var r=e.detail;var n=Ts.getColumnType(r);var o=i.getColumnSize(r.index,n);if(o){i.providers.dimensionProvider.setDimensionSize(n,(t={},t[r.index]=o,t))}};i.addEventListener("beforecolumnsset",u);switch(n===null||n===void 0?void 0:n.mode){case yu.autoSizeOnTextOverlap:i.addEventListener("aftersourceset",o);i.addEventListener("afteredit",a);break;case yu.autoSizeAll:i.addEventListener("aftersourceset",o);i.addEventListener("afteredit",s);break;default:i.addEventListener("headerdblClick",l);break}return i}t.prototype.setSource=function(e){return __awaiter(this,void 0,void 0,(function(){var t,r,n;var i=this;return __generator(this,(function(o){switch(o.label){case 0:t=this.autoSizeColumns;if(this.dataReject){this.dataReject();this.clearPromise()}if(!!t)return[3,4];r=new Promise((function(e,t){i.dataResolve=e;i.dataReject=t}));o.label=1;case 1:o.trys.push([1,3,,4]);return[4,r];case 2:t=o.sent();return[3,4];case 3:n=o.sent();return[2];case 4:Mt(t,(function(r,n){var o={};Mt(t[n],(function(t){t.size=o[t.index]=e.reduce((function(e,r){return Math.max(e,i.getLength(r[t.prop]))}),0)}));i.providers.dimensionProvider.setDimensionSize(n,o)}));return[2]}}))}))};t.prototype.getLength=function(e){var t;var r=15;if(!e){return 0}try{var n=e.toString();if((t=this.config)===null||t===void 0?void 0:t.preciseSize){this.precsizeCalculationArea.innerText=n;return this.precsizeCalculationArea.scrollWidth+r*2}return n.length*this.letterBlockSize+r*2}catch(e){return 0}};t.prototype.afteredit=function(e){var t;var r=this;var n;if(this.isRangeEdit(e)){n=e.data}else{n={0:(t={},t[e.prop]=e.val,t)}}Mt(this.autoSizeColumns,(function(e,t){var i={};Mt(e,(function(e){var t=ya(n,(function(t,n){if(typeof n[e.prop]==="undefined"){return t}return Math.max(t||0,r.getLength(n[e.prop]))}),undefined);if(t&&e.size<t){e.size=i[e.index]=t}}));r.providers.dimensionProvider.setDimensionSize(t,i)}))};t.prototype.afterEditAll=function(e){var t=this;var r={};if(this.isRangeEdit(e)){Mt(e.data,(function(e){return Mt(e,(function(e,t){return r[t]=true}))}))}else{r[e.prop]=true}Mt(this.autoSizeColumns,(function(e,n){var i={};Mt(e,(function(e){if(r[e.prop]){var o=t.getColumnSize(e.index,n);if(o){i[e.index]=o}}}));t.providers.dimensionProvider.setDimensionSize(n,i)}))};t.prototype.getColumnSize=function(e,t){var r=this;var n=this.autoSizeColumns[t][e];if(!n){return 0}return ya(this.providers.dataProvider.stores,(function(e,t){var i=ya(t.store.get("items"),(function(e,i,o){var a=bs(t.store,o);return Math.max(e||0,r.getLength(a[n.prop]))}),0);return Math.max(e,i)}),n.size||0)};t.prototype.columnSet=function(e){var t;for(var r=0,n=Es;r<n.length;r++){var i=n[r];var o=i;var a=e[o];for(var s in a){if(a[s].autoSize||((t=this.config)===null||t===void 0?void 0:t.allColumns)){if(!this.autoSizeColumns){this.autoSizeColumns={}}if(!this.autoSizeColumns[o]){this.autoSizeColumns[o]={}}this.autoSizeColumns[o][s]=Object.assign(Object.assign({},a[s]),{index:parseInt(s,10)})}}}if(this.dataResolve){this.dataResolve(this.autoSizeColumns);this.clearPromise()}};t.prototype.clearPromise=function(){this.dataResolve=null;this.dataReject=null};t.prototype.isRangeEdit=function(e){return!!e.data};t.prototype.initiatePresizeElement=function(){var e={position:"absolute",fontSize:"14px",height:"0",width:"0",whiteSpace:"nowrap",top:"0",overflowX:"scroll"};var t=document.createElement("div");for(var r in e){t.style[r]=e[r]}t.classList.add("revo-test-container");return t};t.prototype.destroy=function(){var t;e.prototype.destroy.call(this);(t=this.precsizeCalculationArea)===null||t===void 0?void 0:t.remove()};return t}(Ps);var Lu=function(e,t){if(typeof e==="undefined"||e===null&&!t){return true}if(typeof e!=="string"){e=JSON.stringify(e)}return e.toLocaleLowerCase()===t};var xu=function(e,t){return!Lu(e,t)};xu.extra="input";Lu.extra="input";var _u=function(e,t){var r;if(typeof e==="number"){r=parseFloat(t===null||t===void 0?void 0:t.toString());return e>r}return false};_u.extra="input";var Su=function(e,t){return Lu(e,t)||_u(e,t)};Su.extra="input";var Eu=function(e,t){var r;if(typeof e==="number"){r=parseFloat(t===null||t===void 0?void 0:t.toString());return e<r}else{return false}};Eu.extra="input";var zu=function(e,t){return Lu(e,t)||Eu(e,t)};zu.extra="input";var ku=function(e){return!(e===""||e===null||e===void 0)};var Ru=function(e){return!ku(e)};var Ou=function(e,t){if(!e){return false}if(!t){return true}if(typeof e!=="string"){e=JSON.stringify(e)}if(typeof t!=="string"){t=JSON.stringify(t)}return e.toLocaleLowerCase().indexOf(t.toLocaleLowerCase())===0};Ou.extra="input";var ju=function(e,t){if(!e){return false}if(t){if(typeof e!=="string"){e=JSON.stringify(e)}return e.toLocaleLowerCase().indexOf(t.toString().toLowerCase())>-1}return true};var Pu=function(e,t){return!ju(e,t)};Pu.extra="input";ju.extra="input";var Fu={none:"None",empty:"Not set",notEmpty:"Set",eq:"Equal",notEq:"Not equal",begins:"Begins with",contains:"Contains",notContains:"Does not contain",eqN:"=",neqN:"!=",gt:">",gte:">=",lt:"<",lte:"<="};var Tu={none:function(){return true},empty:Ru,notEmpty:ku,eq:Lu,notEq:xu,begins:Ou,contains:ju,notContains:Pu,eqN:Lu,neqN:xu,gt:_u,gte:Su,lt:Eu,lte:zu};var Au={string:["notEmpty","empty","eq","notEq","begins","contains","notContains"],number:["notEmpty","empty","eqN","neqN","gt","gte","lt","lte"]};var Du="filter";var Mu=function(e){__extends(t,e);function t(t,r,n){var o=e.call(this,t)||this;o.revogrid=t;o.filterCollection={};o.possibleFilters=Object.assign({},Au);o.possibleFilterNames=Object.assign({},Fu);o.possibleFilterEntities=Object.assign({},Tu);if(n){o.initConfig(n)}var a=function(e){return o.headerclick(e)};var s=function(){if(Object.keys(o.filterCollection).length){o.filterByProps(o.filterCollection)}};o.addEventListener("headerclick",a);o.addEventListener("aftersourceset",s);o.revogrid.registerVNode([i("revogr-filter-panel",{uuid:"filter-"+r,filterNames:o.possibleFilterNames,filterEntities:o.possibleFilterEntities,onFilterChange:function(e){return o.onFilterChange(e.detail)},ref:function(e){return o.pop=e}})]);return o}t.prototype.initConfig=function(e){if(e.collection){this.filterCollection=Object.assign({},e.collection)}if(e.customFilters){for(var t in e.customFilters){var r=e.customFilters[t];if(!this.possibleFilters[r.columnFilterType]){this.possibleFilters[r.columnFilterType]=[]}this.possibleFilters[r.columnFilterType].push(t);this.possibleFilterEntities[t]=r.func;this.possibleFilterNames[t]=r.name}}if(e.include){var n={};for(var i in this.possibleFilters){var o=this.possibleFilters[i].filter((function(t){return e.include.indexOf(t)>-1}));if(o.length){n[i]=o}}if(Object.keys(n).length>0){this.possibleFilters=n}}};t.prototype.headerclick=function(e){return __awaiter(this,void 0,void 0,(function(){var t,r,n,i,o,a;return __generator(this,(function(s){switch(s.label){case 0:r=(t=e.detail.originalEvent)===null||t===void 0?void 0:t.target;if(!l(r)){return[2]}e.preventDefault();return[4,this.pop.getChanges()];case 1:n=s.sent();if(n&&(n===null||n===void 0?void 0:n.prop)===e.detail.prop){this.pop.show();return[2]}i=this.revogrid.getBoundingClientRect();o=r.getBoundingClientRect();a=e.detail.prop;this.pop.filterTypes=this.getColumnFilter(e.detail.filter);this.pop.show(Object.assign(Object.assign({},this.filterCollection[a]),{x:o.x-i.x,y:o.y-i.y+o.height,prop:a}));return[2]}}))}))};t.prototype.getColumnFilter=function(e){var t,r;var n=this;var i="string";if(!e){return t={},t[i]=this.possibleFilters[i],t}if(this.isValidType(e)){i=e}else if(typeof e==="object"&&e.length){return e.reduce((function(e,t){if(n.isValidType(t)){e[t]=n.possibleFilters[t]}return e}),{})}return r={},r[i]=this.possibleFilters[i],r};t.prototype.isValidType=function(e){return!!(typeof e==="string"&&this.possibleFilters[e])};t.prototype.onFilterChange=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(r){this.filterByProps((t={},t[e.prop]=e,t));return[2]}))}))};t.prototype.filterByProps=function(e,t){if(t===void 0){t=false}return __awaiter(this,void 0,void 0,(function(){var r,n,i,o,a;return __generator(this,(function(s){switch(s.label){case 0:if(t){this.filterCollection={}}for(r in e){n=e[r],i=n.type,o=n.value;if(i==="none"){delete this.filterCollection[r]}else{a=this.possibleFilterEntities[i];this.filterCollection[r]={filter:a,value:o,type:i}}}return[4,this.runFiltering()];case 1:s.sent();return[2]}}))}))};t.prototype.doFiltering=function(e,t,r){return __awaiter(this,void 0,void 0,(function(){var n,i,o,a,s,u;return __generator(this,(function(l){switch(l.label){case 0:n=[];r.forEach((function(t){var r=Object.assign({},t);var i=e[r.prop];if(r[c]&&!i){delete r[c];n.push(r)}if(!r[c]&&i){n.push(r);r[c]=true}}));i=this.getRowFilter(t,e);o=this.emit("beforefiltertrimmed",{collection:e,itemsToFilter:i,source:t}),a=o.defaultPrevented,s=o.detail;if(a){return[2]}return[4,this.revogrid.addTrimmed(s.itemsToFilter,Du)];case 1:u=l.sent();if(u.defaultPrevented){return[2]}return[4,this.revogrid.updateColumns(n)];case 2:l.sent();this.emit("afterFilterApply");return[2]}}))}))};t.prototype.clearFiltering=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:this.filterCollection={};return[4,this.runFiltering()];case 1:e.sent();return[2]}}))}))};t.prototype.runFiltering=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,r,n,i,o;return __generator(this,(function(a){switch(a.label){case 0:return[4,this.getData()];case 1:e=a.sent(),t=e.source,r=e.columns;n=this.emit("beforefilterapply",{collection:this.filterCollection,source:t,columns:r}),i=n.defaultPrevented,o=n.detail;if(i){return[2]}this.doFiltering(o.collection,o.source,o.columns);return[2]}}))}))};t.prototype.getData=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;return __generator(this,(function(r){switch(r.label){case 0:return[4,this.revogrid.getSource()];case 1:e=r.sent();return[4,this.revogrid.getColumns()];case 2:t=r.sent();return[2,{source:e,columns:t}]}}))}))};t.prototype.getRowFilter=function(e,t){var r={};e.forEach((function(e,n){for(var i in t){var o=t[i];var a=o.filter;if(!a(e[i],o.value)){r[n]=true}}}));return r};return t}(Ps);var Iu="[object String]";function Bu(e){return typeof e=="string"||!ue(e)&&J(e)&&Y(e)==Iu}var Hu=Bu;var Wu=ca("length");var Uu=Wu;var Nu="\\ud800-\\udfff",Vu="\\u0300-\\u036f",Zu="\\ufe20-\\ufe2f",Gu="\\u20d0-\\u20ff",$u=Vu+Zu+Gu,Xu="\\ufe0e\\ufe0f";var qu="\\u200d";var Yu=RegExp("["+qu+Nu+$u+Xu+"]");function Ku(e){return Yu.test(e)}var Ju=Ku;var Qu="\\ud800-\\udfff",el="\\u0300-\\u036f",tl="\\ufe20-\\ufe2f",rl="\\u20d0-\\u20ff",nl=el+tl+rl,il="\\ufe0e\\ufe0f";var ol="["+Qu+"]",al="["+nl+"]",sl="\\ud83c[\\udffb-\\udfff]",ul="(?:"+al+"|"+sl+")",ll="[^"+Qu+"]",cl="(?:\\ud83c[\\udde6-\\uddff]){2}",fl="[\\ud800-\\udbff][\\udc00-\\udfff]",vl="\\u200d";var hl=ul+"?",dl="["+il+"]?",pl="(?:"+vl+"(?:"+[ll,cl,fl].join("|")+")"+dl+hl+")*",gl=dl+hl+pl,ml="(?:"+[ll+al+"?",al,cl,fl,ol].join("|")+")";var Cl=RegExp(sl+"(?="+sl+")|"+ml+gl,"g");function wl(e){var t=Cl.lastIndex=0;while(Cl.test(e)){++t}return t}var yl=wl;function bl(e){return Ju(e)?yl(e):Uu(e)}var Ll=bl;var xl="[object Map]",_l="[object Set]";function Sl(e){if(e==null){return 0}if(Lt(e)){return Hu(e)?Ll(e):e.length}var t=Xi(e);if(t==xl||t==_l){return e.size}return vt(e).length}var El=Sl;var zl=function(e){__extends(t,e);function t(t){var r=e.call(this,t)||this;r.revogrid=t;r.sorting=null;r.sortingFunc=null;var n=function(e){var t=e.detail;if(r.hasSorting){var n=r.emit("beforesourcesortingapply");if(n.defaultPrevented){return}}var i=r.setData(t.source,t.type);if(i){t.source=i}};var i=function(e){var t=e.detail.order;return __awaiter(r,void 0,void 0,(function(){var e,r,n,i,o;return __generator(this,(function(a){switch(a.label){case 0:return[4,this.revogrid.getColumns()];case 1:e=a.sent();r={};for(n in t){i=Ts.getColumnByProp(e,n);o=(i===null||i===void 0?void 0:i.cellCompare)||this.defaultCellCompare;r[n]=t[n]=="desc"?this.descCellCompare(o):o}this.sort(t,r);return[2]}}))}))};var o=function(e){return __awaiter(r,void 0,void 0,(function(){var t,r;return __generator(this,(function(n){if(e.defaultPrevented){return[2]}if(!e.detail.column.sortable){return[2]}this.headerclick(e.detail.column,e.detail.index,(r=(t=e.detail)===null||t===void 0?void 0:t.originalEvent)===null||r===void 0?void 0:r.shiftKey);return[2]}))}))};r.addEventListener("beforesourceset",n);r.addEventListener("aftercolumnsset",i);r.addEventListener("initialHeaderClick",o);return r}Object.defineProperty(t.prototype,"hasSorting",{get:function(){return!!this.sorting},enumerable:false,configurable:true});t.prototype.headerclick=function(e,t,r){return __awaiter(this,void 0,void 0,(function(){var n,i,o,a,s,u,l,c;var f,v;return __generator(this,(function(h){switch(h.label){case 0:n=this.getNextOrder(e.order);i=this.emit("beforesorting",{column:e,order:n,additive:r});if(i.defaultPrevented){return[2]}n=i.detail.order;return[4,this.revogrid.updateColumnSorting(i.detail.column,t,n,r)];case 1:o=h.sent();a=this.emit("beforesortingapply",{column:o,order:n,additive:r});if(a.defaultPrevented){return[2]}n=a.detail.order;s=(e===null||e===void 0?void 0:e.cellCompare)||this.defaultCellCompare;u=n=="asc"?s:n=="desc"?this.descCellCompare(s):undefined;if(r&&this.sorting){l={};c={};Object.assign(l,this.sorting);Object.assign(c,this.sortingFunc);if(e.prop in l&&El(l)>1&&n===undefined){delete l[e.prop];delete c[e.prop]}else{l[e.prop]=n;c[e.prop]=u}this.sort(l,c)}else{this.sort((f={},f[e.prop]=n,f),(v={},v[e.prop]=u,v))}return[2]}}))}))};t.prototype.setData=function(e,t){if(t==="rgRow"&&this.sortingFunc){return this.sortItems(e,this.sortingFunc)}};t.prototype.sort=function(e,t){return __awaiter(this,void 0,void 0,(function(){var r,n,i;return __generator(this,(function(o){switch(o.label){case 0:if(!El(e)){this.sorting=null;this.sortingFunc=null;return[2]}this.sorting=e;this.sortingFunc=t;return[4,this.revogrid.getSourceStore()];case 1:r=o.sent();n=r.get("source");i=this.sortIndexByItems(__spreadArray([],r.get("proxyItems")),n,this.sortingFunc);ps(r,{proxyItems:i,source:__spreadArray([],n)});this.emit("afterSortingApply");return[2]}}))}))};t.prototype.defaultCellCompare=function(e,t,r){var n,i;var o=(n=t[e])===null||n===void 0?void 0:n.toString().toLowerCase();var a=(i=r[e])===null||i===void 0?void 0:i.toString().toLowerCase();return o==a?0:o>a?1:-1};t.prototype.descCellCompare=function(e){return function(t,r,n){return-1*e(t,r,n)}};t.prototype.sortIndexByItems=function(e,t,r){for(var n in r){if(typeof r[n]==="undefined"){return __spreadArray([],Array(e.length).keys())}}return e.sort((function(e,n){var i=0;for(var o in r){var a=r[o];var s=t[e];var u=t[n];i=a(o,s,u);if(i){break}}return i}))};t.prototype.sortItems=function(e,t){return e.sort((function(e,r){var n=0;for(var i in t){var o=t[i];n=o(i,e,r);if(n){break}}return n}))};t.prototype.getNextOrder=function(e){switch(e){case undefined:return"asc";case"asc":return"desc";case"desc":return undefined}};return t}(Ps);function kl(e,t,r){if(e===e){if(r!==undefined){e=e<=r?e:r}if(t!==undefined){e=e>=t?e:t}}return e}var Rl=kl;var Ol=4294967295;function jl(e){return e?Rl(Na(e),0,Ol):0}var Pl=jl;function Fl(e,t,r,n){var i=e.length;r=Na(r);if(r<0){r=-r>i?0:i+r}n=n===undefined||n>i?i:Na(n);if(n<0){n+=i}n=r>n?0:Pl(n);while(r<n){e[r++]=t}return e}var Tl=Fl;function Al(e,t,r,n){var i=e==null?0:e.length;if(!i){return[]}if(r&&typeof r!="number"&&us(e,t,r)){r=0;n=i}return Tl(e,t,r,n)}var Dl=Al;var Ml=30;var Il="data-rgCol";var Bl="data-rgRow";var Hl="grid-uuid";var Wl="disabled";var Ul="rgCell";var Nl="rgHeaderCell";var Vl="sortable";var Zl="header-rgRow";var Gl="actual-rgRow";var $l="revo-drag-icon";var Xl="revo-draggable";var ql="focused-cell";var Yl="selection-border-range";var Kl="temp-bg-range";var Jl="autofill-handle";var Ql="edit-input-wrapper";var ec="Draggable item";var tc="__rvgr";var rc=tc+"-depth";var nc=tc+"-name";var ic=tc+"-id";var oc=tc+"-value";var ac=tc+"-column";var sc=tc+"-expanded";var uc="group-expand";var lc="groupExpandClick";var cc="rgRow";function fc(e,t){var r=[];var n={};e.forEach((function(e,i){var o=JSON.stringify(t(e));if(!n[o]){n[o]=new Map;r.push({children:n[o],id:o})}n[o].set(i,e)}));return r}function vc(e,t,r){var n=r.prevExpanded,i=r.expandedAll;var o=fc(e,t);var a=[];var s={};var u=0;var l=0;var c={};var f={};o.forEach((function(e){var t=wc(e.id);if(!t){return}var r=0;var o=!!i;var v=o;var h=[];t.reduce((function(t,f){t.push(f);var d=t.join(",");if(!s[d]){v=i||n&&n[d];a.push(hc(f,d,r,e.id,v));if(r&&!v&&!o){var p=t.slice(0,t.length-1);if(!(n&&p.length&&n[p.join(",")])){c[u]=true}}u++;s[d]=h}r++;l=r;return t}),[]);e.children.forEach((function(e,t){if(!v&&!o){c[u]=true}a.push(e);f[t]=u;h.push(u);u++}))}));return{sourceWithGroups:a,depth:l,trimmed:c,oldNewIndexMap:f,childrenByGroup:s}}function hc(e,t,r,n,i){var o;if(i===void 0){i=false}return o={},o[nc]=e,o[rc]=r,o[ic]=n,o[oc]=t,o[sc]=i,o}function dc(e){return e&&e[nc]}function pc(e){return e&&typeof e[nc]!=="undefined"}function gc(e){return e&&typeof e[ac]!=="undefined"}function mc(e){return typeof e.push!=="undefined"}function Cc(e,t){var r=e.length;var n=0;for(;n<r;n++){if(e[n]!==t[n]){return n}}return n}function wc(e){var t=JSON.parse(e);if(!mc(t)){return null}return t}function yc(e,t,r){var n=wc(r[ic]);if(!n){return false}var i=Cc(e,n);return t[rc]<i}var bc={mime:"text/csv",fileKind:"csv",bom:true,columnDelimiter:",",rowDelimiter:"\r\n",encoding:""};var Lc=String.fromCharCode(13);var xc=String.fromCharCode(10);var _c=String.fromCharCode(34);var Sc=String.fromCharCode(65279);var Ec=new RegExp('"',"g");var zc=function(){function e(e){if(e===void 0){e={}}this.options=Object.assign(Object.assign({},bc),e)}e.prototype.doExport=function(e){var t=this;var r=e.data,n=e.headers,i=e.props;var o=this.options.bom?Sc:"";if((n===null||n===void 0?void 0:n.length)>0){n.forEach((function(e){if(!e.length){return}o+=t.prepareHeader(e,t.options.columnDelimiter);o+=t.options.rowDelimiter}))}r.forEach((function(e,r){if(r>0){o+=t.options.rowDelimiter}if(pc(e)){o+=t.parseCell(dc(e),t.options.columnDelimiter);return}o+=i.map((function(r){return t.parseCell(e[r],t.options.columnDelimiter)})).join(t.options.columnDelimiter)}));return o};e.prototype.prepareHeader=function(e,t){var r=this;var n="";var i=e.map((function(e){return r.parseCell(e,t,true)}));n+=i.join(t);return n};e.prototype.parseCell=function(e,t,r){if(r===void 0){r=false}var n=e;if(typeof e!=="string"){n=JSON.stringify(e)}var i=[Lc,_c,xc,t];if(typeof n==="undefined"){return""}if(n!==""&&(r||i.some((function(e){return n.indexOf(e)>=0})))){return'"'+n.replace(Ec,'""')+'"'}return n};return e}();var kc;(function(e){e["csv"]="csv"})(kc||(kc={}));var Rc=function(e){__extends(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}t.prototype.exportString=function(e,t){if(e===void 0){e={}}if(t===void 0){t=kc.csv}return __awaiter(this,void 0,void 0,(function(){var r;return __generator(this,(function(n){switch(n.label){case 0:return[4,this.beforeexport()];case 1:r=n.sent();if(!r){return[2,null]}return[2,this.formatter(t,e).doExport(r)]}}))}))};t.prototype.exportBlob=function(e,t){if(e===void 0){e={}}if(t===void 0){t=kc.csv}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){switch(r.label){case 0:return[4,this.getBlob(this.formatter(t,e))];case 1:return[2,r.sent()]}}))}))};t.prototype.exportFile=function(e,t){if(e===void 0){e={}}if(t===void 0){t=kc.csv}return __awaiter(this,void 0,void 0,(function(){var r,n,i,o,a,s,u,l,c;return __generator(this,(function(f){switch(f.label){case 0:r=this.formatter(t,e);return[4,this.getBlob(r)];case 1:n=f.sent();i=window.URL||window.webkitURL;o=document.createElement("a");a=r.options,s=a.filename,u=a.fileKind;l=s+"."+u;c=i.createObjectURL(n);o.style.display="none";o.setAttribute("href",c);o.setAttribute("download",l);this.revogrid.appendChild(o);o.dispatchEvent(new MouseEvent("click"));this.revogrid.removeChild(o);return[4,Js(120)];case 2:f.sent();i.revokeObjectURL(c);return[2]}}))}))};t.prototype.getBlob=function(e){return __awaiter(this,void 0,void 0,(function(){var t,r;return __generator(this,(function(n){switch(n.label){case 0:t=e.options.mime+";charset="+e.options.encoding;if(!(typeof Blob!=="undefined"))return[3,2];return[4,this.beforeexport()];case 1:r=n.sent();if(!r){return[2,null]}return[2,new Blob([e.doExport(r)],{type:t})];case 2:return[2,null]}}))}))};t.prototype.beforeexport=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;return __generator(this,(function(r){switch(r.label){case 0:return[4,this.getData()];case 1:e=r.sent();t=this.emit("beforeexport",{data:e});if(t.defaultPrevented){return[2,null]}return[2,t.detail.data]}}))}))};t.prototype.getData=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,r,n,i,o,a;var s;var u=this;return __generator(this,(function(l){switch(l.label){case 0:return[4,this.getSource()];case 1:e=l.sent();t=[];r=[];Es.forEach((function(e,n){r.push(u.getColPerSource(e).then((function(e){return t[n]=e})))}));return[4,Promise.all(r)];case 2:l.sent();n={headers:[],props:[]};for(i=0,o=t;i<o.length;i++){a=o[i];a.headers.forEach((function(e,t){var r;if(!n.headers[t]){n.headers[t]=[]}(r=n.headers[t]).push.apply(r,e)}));(s=n.props).push.apply(s,a.props)}return[2,Object.assign({data:e},n)]}}))}))};t.prototype.getColPerSource=function(e){return __awaiter(this,void 0,void 0,(function(){var t,r,n,i,o,a,s,u,l;return __generator(this,(function(c){switch(c.label){case 0:return[4,this.revogrid.getColumnStore(e)];case 1:t=c.sent();r=t.get("source");n=t.get("items");i=t.get("groupingDepth");o=t.get("groups");a=[];s=[];u=n.reduce((function(e,t,n){var i=r[t].prop;a.push(r[t].name||"");s.push(i);e[i]=n;return e}),{});l=this.getGroupHeaders(i,o,n,u);l.push(a);return[2,{headers:l,props:s}]}}))}))};t.prototype.getGroupHeaders=function(e,t,r,n){var i=this;var o=[];var a=Dl(new Array(r.length),"");var s=function(e){var r=__spreadArray([],a);o.push(r);if(!t[e]){return"continue"}var s=t[e];s.forEach((function(e){var t=i.findGroupStartIndex(e.ids,n);if(typeof t==="number"){r[t]=e.name}}))};for(var u=0;u<e;u++){s(u)}return o};t.prototype.findGroupStartIndex=function(e,t){var r;e.forEach((function(e){var n=t[e];if(typeof n==="number"){if(typeof r!=="number"||r>n){r=n}}}));return r};t.prototype.getSource=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;var r=this;return __generator(this,(function(n){switch(n.label){case 0:e=[];t=[];Ss.forEach((function(n){var i=[];e.push(i);var o=r.revogrid.getVisibleSource(n).then((function(e){return i.push.apply(i,e)}));t.push(o)}));return[4,Promise.all(t)];case 1:n.sent();return[2,e.reduce((function(e,t){e.push.apply(e,t);return e}),[])]}}))}))};t.prototype.formatter=function(e,t){if(t===void 0){t={}}switch(e){case kc.csv:return new zc(t);default:throw new Error("Unknown format")}};return t}(Ps);function Oc(e,t){var r=t[e];var n=r[ic];var i={};var o=e+1;var a=t.length;while(o<a){var s=t[o];if(pc(s)){if(n!==s[ic]){break}else{s[sc]=false}}i[o++]=true}r[sc]=false;return{trimmed:i}}function jc(e,t,r){var n=r[e];var i=t[n];var o=wc(i[ic]);var a={};if(!o){return{trimmed:a}}var s=[];i[sc]=true;var u=n+1;var l=t.length;var c=0;while(u<l){var f=t[u];var v=pc(f);if(v){if(!yc(o,i,f)){break}else if(!c){c=f[rc]}}if(!c||v&&c===f[rc]){a[u]=false;s.push(u)}u++}var h={trimmed:a};if(s.length){var d=__spreadArray([],r);d.splice.apply(d,__spreadArray([e+1,0],s));h.items=d}return h}var Pc="grouping";function Fc(e,t,r){var n={};for(var i in e){if(i===Pc){continue}var o=e[i];var a={};for(var s in o){var u=t[s];if(r){u=r[u]}if(o[s]){a[u]=true;if(u!==parseInt(s,10)){n[i]=a}}}}return n}var Tc=function(e){__extends(t,e);function t(t,r){var n=e.call(this,t)||this;n.revogrid=t;n.providers=r;return n}Object.defineProperty(t.prototype,"hasProps",{get:function(){var e,t,r;return((e=this.options)===null||e===void 0?void 0:e.props)&&((r=(t=this.options)===null||t===void 0?void 0:t.props)===null||r===void 0?void 0:r.length)},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"store",{get:function(){return this.providers.dataProvider.stores[cc].store},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"rowItems",{get:function(){return this.store.get("items")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"trimmed",{get:function(){return this.store.get("trimmed")},enumerable:false,configurable:true});t.prototype.onFocus=function(e){if(pc(e.detail.model)){e.preventDefault()}};t.prototype.onExpand=function(e){var t=e.virtualIndex;var r=this.getSource().source;var n=this.trimmed[Pc];var i=ws(this.store,t);var o=r[i];var a=o[sc];if(!a){var s=jc(t,r,this.rowItems),u=s.trimmed,l=s.items;n=Object.assign(Object.assign({},n),u);if(l){xs(this.store,l)}}else{var u=Oc(i,r).trimmed;n=Object.assign(Object.assign({},n),u);this.revogrid.clearFocus()}this.store.set("source",r);this.revogrid.addTrimmed(n,Pc)};t.prototype.getSource=function(e){if(e===void 0){e=false}var t=this.store.get("source");var r=this.store.get("proxyItems");var n=0;return r.reduce((function(r,i){var o=t[i];if(!e){r.source.push(o);return r}if(!pc(o)){r.source.push(o);r.oldNewIndexes[i]=n;n++}else{if(o[sc]){r.prevExpanded[o[oc]]=true}}return r}),{source:[],prevExpanded:{},oldNewIndexes:{}})};t.prototype.setColumnGrouping=function(e){if(e===null||e===void 0?void 0:e.length){e[0][ac]=true;return true}return false};t.prototype.setColumns=function(e){var t=e.columns;for(var r=0,n=Es;r<n.length;r++){var i=n[r];if(this.setColumnGrouping(t[i])){break}}};t.prototype.onDrag=function(e){var t=e.detail,r=t.from,n=t.to;var i=n-r>=0;var o=this.getSource().source;var a=this.rowItems;var s=i?r:n;var u=i?n:r;for(;s<u;s++){var l=o[a[s]];var c=pc(l);if(c){e.preventDefault();return}}};t.prototype.beforeTrimmedApply=function(e,t){if(t===Du){var r=this.store.get("source");for(var n in e){if(e[n]&&pc(r[n])){e[n]=false}}}};t.prototype.subscribe=function(){var e=this;this.addEventListener("beforesourceset",(function(t){var r=t.detail;return e.onDataSet(r)}));this.addEventListener("beforecolumnsset",(function(t){var r=t.detail;return e.setColumns(r)}));this.addEventListener("beforetrimmed",(function(t){var r=t.detail,n=r.trimmed,i=r.trimmedType;return e.beforeTrimmedApply(n,i)}));this.addEventListener("afterSortingApply",(function(){return e.doSourceUpdate()}));this.addEventListener("beforecellfocus",(function(t){return e.onFocus(t)}));this.addEventListener("roworderchanged",(function(t){return e.onDrag(t)}));this.addEventListener(lc,(function(t){var r=t.detail;return e.onExpand(r)}))};t.prototype.doSourceUpdate=function(e){var t=this;if(!this.hasProps){return}var r=this.getSource(true),n=r.source,i=r.prevExpanded,o=r.oldNewIndexes;var a=vc(n,(function(e){var r;return(r=t.options)===null||r===void 0?void 0:r.props.map((function(t){return e[t]}))}),Object.assign({prevExpanded:i},e)),s=a.sourceWithGroups,u=a.depth,l=a.trimmed,c=a.oldNewIndexMap,f=a.childrenByGroup;this.providers.dataProvider.setData(s,cc,{depth:u},true);this.updateTrimmed(l,f,o,c)};t.prototype.onDataSet=function(e){var t=this;if(!this.hasProps||!(e===null||e===void 0?void 0:e.source)||!e.source.length){return}var r=e.source.filter((function(e){return!pc(e)}));var n=this.revogrid.grouping||{};var i=vc(r,(function(e){var r;return(r=t.options)===null||r===void 0?void 0:r.props.map((function(t){return e[t]}))}),Object.assign({},n||{})),o=i.sourceWithGroups,a=i.depth,s=i.trimmed,u=i.oldNewIndexMap,l=i.childrenByGroup;e.source=o;this.providers.dataProvider.setGrouping({depth:a});this.updateTrimmed(s,l,u)};t.prototype.setGrouping=function(e){this.clearSubscriptions();this.options=e;if(!e.props||!Object.keys(e.props).length){this.clearGrouping();return}var t=this.getSource().source;if(t.length){this.doSourceUpdate(Object.assign({},e))}for(var r=0,n=Es;r<n.length;r++){var i=n[r];if(this.setColumnGrouping(this.providers.columnProvider.getColumns(i))){this.providers.columnProvider.refreshByType(i);break}}this.subscribe()};t.prototype.clearGrouping=function(){var e=this;Es.forEach((function(t){var r=e.providers.columnProvider.getColumns(t);var n=false;r.forEach((function(e){if(gc(e)){delete e[ac];n=true}}));if(n){e.providers.columnProvider.refreshByType(t)}}));var t=this.getSource(true),r=t.source,n=t.oldNewIndexes;this.providers.dataProvider.setData(r,cc,undefined,true);this.updateTrimmed(undefined,undefined,n)};t.prototype.updateTrimmed=function(e,t,r,n){if(e===void 0){e={}}if(t===void 0){t={}}var i=Fc(this.trimmed,r,n);for(var o in i){this.revogrid.addTrimmed(i[o],o)}this.revogrid.addTrimmed(Object.assign({},e),Pc)};return t}(Ps);var Ac=function(){function e(){this.parentY=0}e.prototype.start=function(e,t){var r=t.pos,n=t.text,i=t.event;var o;var a=e.getBoundingClientRect().top;this.parentY=a;if(this.text){this.text.innerText=n}this.move(r);this.moveTip({x:i.x,y:i.y});(o=this.el)===null||o===void 0?void 0:o.classList.remove("hidden")};e.prototype.end=function(){var e;(e=this.el)===null||e===void 0?void 0:e.classList.add("hidden")};e.prototype.move=function(e){this.moveElement(e.end-this.parentY)};e.prototype.moveTip=function(e){var t=e.x,r=e.y;if(!this.draggable){return}this.draggable.style.left=t+"px";this.draggable.style.top=r+"px"};e.prototype.moveElement=function(e){if(!this.rgRow){return}this.rgRow.style.transform="translateY("+e+"px)"};return e}();var Dc=function(e){var t=e.ref;var r=new Ac;t(r);return i("div",{class:"draggable-wrapper hidden",ref:function(e){return r.el=e}},i("div",{class:"draggable",ref:function(e){return r.draggable=e}},i("span",{class:"revo-alt-icon"}),i("span",{ref:function(e){return r.text=e}})),i("div",{class:"drag-position",ref:function(e){return r.rgRow=e}}))};var Mc=function(e,t){var r=e.viewports,n=e.dimensions,o=e.orderRef,a=e.nakedClick,s=e.registerElement,u=e.onScroll;var l=function(e,t){if(t===e.target){a(e)}};var c;return[i("div",{class:"main-viewport",ref:function(e){return c=e},onClick:function(e){return l(e,c)}},i("div",{class:"viewports"},t,i("revogr-scroll-virtual",{class:"vertical",dimension:"rgRow",viewportStore:r["rgRow"].store,dimensionStore:n["rgRow"].store,ref:function(e){return s(e,"rowScroll")},onScrollVirtual:function(e){return u(e.detail)}}),i(Dc,{ref:o}))),i("revogr-scroll-virtual",{class:"horizontal",dimension:"rgCol",viewportStore:r["rgCol"].store,dimensionStore:n["rgCol"].store,ref:function(e){return s(e,"colScroll")},onScrollVirtual:function(e){return u(e.detail)}})]};function Ic(e){return e===Zc}function Bc(e,t){var r={};var n=["x","y"];for(var i=0,o=n;i<o.length;i++){var a=o[i];if(e[a]<0){r[a]=e[a];return r}}for(var s=0,u=n;s<u.length;s++){var a=u[s];if(e[a]>=t[a]){r[a]=e[a]-t[a];return r}}return null}function Hc(e,t){var r=Object.assign({},e);var n=["x","y"];for(var i=0,o=n;i<o.length;i++){var a=o[i];if(e[a]<0){r[a]=0}}for(var s=0,u=n;s<u.length;s++){var a=u[s];if(e[a]>=t[a]){r[a]=t[a]-1}}return r}function Wc(e,t){return e&&t?{x:Math.min(e.x,t.x),y:Math.min(e.y,t.y),x1:Math.max(e.x,t.x),y1:Math.max(e.y,t.y)}:null}function Uc(e){return e.x===e.x1&&e.y===e.y1}function Nc(){return{range:null,tempRange:null,tempRangeType:null,focus:null,edit:null,lastCell:null}}var Vc=function(){function e(){var e=this;this.unsubscribe=[];this.store=rs(Nc());this.store.on("set",(function(t,r){if(t==="tempRange"&&!r){e.store.set("tempRangeType",null)}}))}e.prototype.onChange=function(e,t){this.unsubscribe.push(this.store.onChange(e,t))};e.prototype.clearFocus=function(){ps(this.store,{focus:null,range:null,edit:null,tempRange:null})};e.prototype.setFocus=function(e,t){ps(this.store,{focus:e,range:Wc(e,t),edit:null,tempRange:null})};e.prototype.setTempArea=function(e){ps(this.store,{tempRange:e===null||e===void 0?void 0:e.area,tempRangeType:e===null||e===void 0?void 0:e.type,edit:null})};e.prototype.clearTemp=function(){ps(this.store,{tempRange:null})};e.prototype.setRangeArea=function(e){ps(this.store,{range:e,edit:null,tempRange:null})};e.prototype.setRange=function(e,t){this.setRangeArea(Wc(e,t))};e.prototype.setLastCell=function(e){ps(this.store,{lastCell:e})};e.prototype.setEdit=function(e){var t=this.store.get("focus");if(t&&typeof e==="string"){ps(this.store,{edit:{x:t.x,y:t.y,val:e}});return}ps(this.store,{edit:null})};e.prototype.dispose=function(){this.unsubscribe.forEach((function(e){return e()}));this.store.dispose()};return e}();var Zc=-1;var Gc=function(){function e(){this.dirty=false;this.stores={};this.columnStores={};this.rowStores={};this.sections=[]}Object.defineProperty(e.prototype,"focusedStore",{get:function(){var e;for(var t in this.stores){for(var r in this.stores[t]){var n=(e=this.stores[t][r])===null||e===void 0?void 0:e.store.get("focus");if(n){return{entity:this.stores[t][r],cell:n,position:{x:parseInt(r,10),y:parseInt(t,10)}}}}}return null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"edit",{get:function(){var e;return(e=this.focusedStore)===null||e===void 0?void 0:e.entity.store.get("edit")},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"focused",{get:function(){var e;return(e=this.focusedStore)===null||e===void 0?void 0:e.entity.store.get("focus")},enumerable:false,configurable:true});e.prototype.registerSection=function(e){if(!e){this.sections.length=0;this.dirty=true;return}if(this.sections.indexOf(e)===-1){this.sections.push(e)}};e.prototype.beforeUpdate=function(){if(this.dirty){for(var e in this.stores){for(var t in this.stores[e]){this.stores[e][t].dispose()}}this.dirty=false}};e.prototype.registerColumn=function(e){if(Ic(e)){return new Vc}if(this.columnStores[e]){return this.columnStores[e]}this.columnStores[e]=new Vc;return this.columnStores[e]};e.prototype.registerRow=function(e){if(Ic(e)){return new Vc}if(this.rowStores[e]){return this.rowStores[e]}this.rowStores[e]=new Vc;return this.rowStores[e]};e.prototype.register=function(e){var t=this;var r=e.x,n=e.y;var i,o;if(Ic(r)||Ic(n)){return new Vc}if(!this.stores[n]){this.stores[n]={}}if(this.stores[n][r]){return this.stores[n][r]}this.stores[n][r]=new Vc;(i=this.stores[n][r])===null||i===void 0?void 0:i.onChange("range",(function(e){t.columnStores[r].setRangeArea(e);t.rowStores[n].setRangeArea(e)}));(o=this.stores[n][r])===null||o===void 0?void 0:o.store.on("dispose",(function(){var e,i;(e=t.columnStores[r])===null||e===void 0?void 0:e.dispose();(i=t.rowStores[n])===null||i===void 0?void 0:i.dispose();delete t.rowStores[n];delete t.columnStores[r];if(t.stores[n]){delete t.stores[n][r]}if(!Object.keys(t.stores[n]||{}).length){delete t.stores[n]}}));return this.stores[n][r]};e.prototype.setEditByCell=function(e,t){this.focusByCell(e,t,t);this.setEdit("")};e.prototype.focusByCell=function(e,t,r){var n=this.stores[e.y][e.x];this.focus(n,{focus:t,end:r})};e.prototype.focus=function(e,t){var r=t.focus,n=t.end;var i;for(var o in this.stores){for(var a in this.stores[o]){var s=this.stores[o][a];if(s!==e){s.clearFocus()}else{i={x:parseInt(a,10),y:parseInt(o,10)}}}}if(!i){return}var u=e.store.get("lastCell");var l=Bc(r,u);var c;if(l){for(var f in l){var v=f;var h=void 0;switch(v){case"x":h=this.getXStores(i.y);break;case"y":h=this.getYStores(i.x);break}if(l[v]>=0){c=h[++i[v]]}else{c=h[--i[v]];var d=c===null||c===void 0?void 0:c.store.get("lastCell");if(d){l[v]=d[v]+l[v]}}}}if(c){var p=Object.assign(Object.assign({},r),l);this.focus(c,{focus:p,end:p});return}r=Hc(r,u);n=Hc(n,u);e.setFocus(r,n)};e.prototype.clearAll=function(){var e;for(var t in this.stores){for(var r in this.stores[t]){(e=this.stores[t][r])===null||e===void 0?void 0:e.clearFocus()}}};e.prototype.setEdit=function(e){if(!this.focusedStore){return}this.focusedStore.entity.setEdit(e)};e.prototype.getXStores=function(e){return this.stores[e]};e.prototype.getYStores=function(e){var t={};for(var r in this.stores){t[r]=this.stores[r][e]}return t};return e}();var $c="header";var Xc="footer";var qc="content";var Yc="data";function Kc(e,t){return{x:e.viewports[e.colType].store.get("realCount"),y:e.viewports[t].store.get("realCount")}}var Jc=function(){function e(e,t){var r,n;this.sv=e;this.storesByType={};this.storesXToType={};this.storesYToType={};(r=this.sv.selectionStoreConnector)===null||r===void 0?void 0:r.beforeUpdate();this.columns=this.getViewportColumnData(t);(n=this.sv.scrollingService)===null||n===void 0?void 0:n.unregister()}e.prototype.onColumnResize=function(e,t,r){var n;(n=this.sv.dimensionProvider)===null||n===void 0?void 0:n.setDimensionSize(e,t.detail);var i=ou.reduce(t.detail||{},(function(e,t,n){var i=bs(r,parseInt(n,10));if(i){e[i.prop]=Object.assign(Object.assign({},i),{size:t})}return e}),{});this.sv.resize(i)};e.prototype.getViewportColumnData=function(e){var t=this;var r=[];var n=0;Es.forEach((function(i){var o=t.sv.columnProvider.stores[i].store;if(!o.get("items").length){return}var a={colType:i,position:{x:n,y:1},contentHeight:e,fixWidth:i!=="rgCol",uuid:t.sv.uuid+"-"+n,viewports:t.sv.viewportProvider.stores,dimensions:t.sv.dimensionProvider.stores,rowStores:t.sv.dataProvider.stores,colStore:o,onHeaderresize:function(e){return t.onColumnResize(i,e,o)}};if(i==="rgCol"){a.onResizeViewport=function(e){var r;return(r=t.sv.viewportProvider)===null||r===void 0?void 0:r.setViewport(e.detail.dimension,{virtualSize:e.detail.size})}}var s=t.gatherColumnData(a);var u=t.registerCol(s.position.x,i);var l=t.dataViewPort(a).reduce((function(e,r){var n=t.registerSegment(r.position);n.setLastCell(r.lastCell);var i=t.registerRow(r.position.y,r.type);var o=Object.assign(Object.assign({},r),{rowSelectionStore:i,segmentSelectionStore:n.store,ref:function(e){return t.sv.selectionStoreConnector.registerSection(e)},onSetRange:function(e){return n.setRangeArea(e.detail)},onSetTempRange:function(e){return n.setTempArea(e.detail)},onFocusCell:function(e){n.clearFocus();t.sv.selectionStoreConnector.focus(n,e.detail)}});e.push(o);return e}),[]);r.push(Object.assign(Object.assign({},s),{columnSelectionStore:u,dataPorts:l}));n++}));return r};e.prototype.registerSegment=function(e){return this.sv.selectionStoreConnector.register(e)};e.prototype.registerRow=function(e,t){this.storesByType[t]=e;this.storesYToType[e]=t;return this.sv.selectionStoreConnector.registerRow(e).store};e.prototype.registerCol=function(e,t){this.storesByType[t]=e;this.storesXToType[e]=t;return this.sv.selectionStoreConnector.registerColumn(e).store};e.prototype.gatherColumnData=function(e){var t;var r=e.uuid;var n=e.dimensions[e.colType].store.get("realSize");var i=(t={contentWidth:n,class:e.colType},t[""+Hl]=e.uuid,t.contentHeight=e.contentHeight,t.key=e.colType,t.onResizeViewport=e.onResizeViewport,t);if(e.fixWidth){i.style={minWidth:n+"px"}}var o={parent:r,colData:ys(e.colStore),dimensionCol:e.dimensions[e.colType].store,groups:e.colStore.get("groups"),groupingDepth:e.colStore.get("groupingDepth"),onHeaderresize:e.onHeaderresize};return{prop:i,position:e.position,headerProp:o,parent:r,viewportCol:e.viewports[e.colType].store}};e.prototype.dataViewPort=function(e){var t=this;var r={rowPinStart:$c,rgRow:qc,rowPinEnd:Xc};var n=0;return Ss.reduce((function(i,o){var a=e.viewports[o].store.get("realCount")||o==="rgRow";var s=Object.assign(Object.assign({},e),{position:Object.assign(Object.assign({},e.position),{y:a?n:Zc})});i.push(t.dataPartition(s,o,r[o],o!=="rgRow"));if(a){n++}return i}),[])};e.prototype.dataPartition=function(e,t,r,n){return{colData:e.colStore,viewportCol:e.viewports[e.colType].store,viewportRow:e.viewports[t].store,lastCell:Kc(e,t),slot:r,type:t,canDrag:!n,position:e.position,uuid:e.uuid+"-"+e.position.x+"-"+e.position.y,dataStore:e.rowStores[t].store,dimensionCol:e.dimensions[e.colType].store,dimensionRow:e.dimensions[t].store,style:n?{height:e.dimensions[t].store.get("realSize")+"px"}:undefined}};e.prototype.scrollToCell=function(e){for(var t in e){var r=e[t];this.sv.scrollingService.onScroll({dimension:t==="x"?"rgCol":"rgRow",coordinate:r})}};e.prototype.clearFocused=function(){this.sv.selectionStoreConnector.clearAll()};e.prototype.clearEdit=function(){this.sv.selectionStoreConnector.setEdit(false)};e.prototype.getFocused=function(){var e=this.sv.selectionStoreConnector.focusedStore;if(!e){return null}var t=this.storesXToType[e.position.x];var r=this.sv.columnProvider.getColumn(e.cell.x,t);var n=this.storesYToType[e.position.x];var i=this.sv.dataProvider.getModel(e.cell.x,n);return{column:r,model:i,cell:e.cell,colType:t,rowType:n}};e.prototype.getStoreCoordinateByType=function(e,t){var r=this.storesByType;var n={x:r[e],y:r[t]};return n};e.prototype.setFocus=function(e,t,r,n){var i;(i=this.sv.selectionStoreConnector)===null||i===void 0?void 0:i.focusByCell(this.getStoreCoordinateByType(e,t),r,n)};e.prototype.setEdit=function(e,t,r,n){var i;(i=this.sv.selectionStoreConnector)===null||i===void 0?void 0:i.setEditByCell(this.getStoreCoordinateByType(r,n),{x:t,y:e})};return e}();var Qc=function(e){var t=e.resize,r=e.editors,n=e.rowClass,o=e.readonly,a=e.range,s=e.columns,u=e.useClipboard,l=e.columnFilter,c=e.registerElement,f=e.onEdit,v=e.onScroll;var h=[];var d=function(e){var s=[i("revogr-header",Object.assign({viewportCol:e.viewportCol},e.headerProp,{selectionStore:e.columnSelectionStore,slot:$c,columnFilter:l,canResize:t}))];e.dataPorts.forEach((function(t,l){var c;var v=e.prop.key+(l+1);var h=i("revogr-overlay-selection",Object.assign({},t,{slot:t.slot,selectionStore:t.segmentSelectionStore,editors:r,readonly:o,range:a,useClipboard:u,onSetEdit:function(e){var t=e.detail;return f(t)}}),i("revogr-data",Object.assign({},t,(c={},c[Hl]=t.uuid,c),{key:v,readonly:o,range:a,rowClass:n,rowSelectionStore:t.rowSelectionStore,slot:Yc})),i("revogr-temp-range",{selectionStore:t.segmentSelectionStore,dimensionRow:t.dimensionRow,dimensionCol:t.dimensionCol}),i("revogr-focus",{selectionStore:t.segmentSelectionStore,dimensionRow:t.dimensionRow,dimensionCol:t.dimensionCol}));s.push(h)}));h.push(i("revogr-viewport-scroll",Object.assign({},e.prop,{ref:function(t){return c(t,e.prop.key)},onScrollViewport:function(t){return v(t.detail,e.prop.key)}}),s))};for(var p=0,g=s;p<g.length;p++){var m=g[p];d(m)}return h};var ef=function(){function e(e){this.setViewport=e;this.elements={}}e.prototype.onScroll=function(e,t){return __awaiter(this,void 0,void 0,(function(){var r,n,i,o,a,s,u,a,l;return __generator(this,(function(c){switch(c.label){case 0:for(n in this.elements){if(this.isPinnedColumn(t)&&e.dimension==="rgCol"){if(n===t||!e.delta){continue}for(i=0,o=this.elements[n];i<o.length;i++){a=o[i];a.changeScroll&&(r=a.changeScroll(e))}}else if(e.dimension==="rgCol"&&n==="headerRow"){continue}else{for(s=0,u=this.elements[n];s<u.length;s++){a=u[s];a.setScroll(e)}}}l=e;if(!r)return[3,2];return[4,r];case 1:l=c.sent();c.label=2;case 2:this.setViewport(l);return[2]}}))}))};e.prototype.isPinnedColumn=function(e){return["colPinStart","colPinEnd"].indexOf(e)>-1};e.prototype.registerElements=function(e){this.elements=e};e.prototype.registerElement=function(e,t){if(!this.elements[t]){this.elements[t]=[]}if(e){this.elements[t].push(e)}else if(this.elements[t]){delete this.elements[t]}};e.prototype.unregister=function(){delete this.elements;this.elements={}};return e}();var tf=10;var rf=function(e,t){return(t===null||t===void 0?void 0:t.size)||(e.toString().length+1)*tf};var nf=function(e){__extends(t,e);function t(t,r){var n=e.call(this,t)||this;n.providers=r;n.stretchedColumn=null;n.scrollSize=Ys(document);var i=function(e){var t=e.detail.columns;return n.applyStretch(t)};n.addEventListener("beforecolumnapplied",i);return n}t.prototype.setScroll=function(e){var t=e.type,r=e.hasScroll;var n;if(t==="rgRow"&&this.stretchedColumn&&((n=this.stretchedColumn)===null||n===void 0?void 0:n.initialSize)===this.stretchedColumn.size){if(r){this.stretchedColumn.size-=this.scrollSize;this.apply();this.dropChanges()}}};t.prototype.activateChanges=function(){var e=this;var t=function(t){var r=t.detail;return e.setScroll(r)};this.addEventListener("scrollchange",t)};t.prototype.dropChanges=function(){this.stretchedColumn=null;this.removeEventListener("scrollchange")};t.prototype.apply=function(){var e;if(!this.stretchedColumn){return}var t="rgCol";this.providers.dimensionProvider.setDimensionSize(t,(e={},e[this.stretchedColumn.index]=this.stretchedColumn.size,e))};t.prototype.applyStretch=function(e){var t=this;this.dropChanges();var r=this.revogrid.clientWidth-1;ou.each(e,(function(e,n){var i=t.providers.dimensionProvider.stores[n].store.get("realSize");r-=i}));if(this.revogrid.rowHeaders){var n=this.providers.dataProvider.stores.rgRow.store.get("source").length;var i=this.revogrid.rowHeaders;var o=rf(n,typeof i==="object"?i:undefined);if(o){r-=o}}if(r>0){var a=e.rgCol.length-1;var s=e.rgCol[a];var u=(s===null||s===void 0?void 0:s.size)||this.revogrid.colSize||0;var l=r+u-1;if(s&&!s.autoSize&&u<l){this.stretchedColumn={initialSize:l,index:a,size:l};this.apply();this.activateChanges()}}};return t}(Ps);function of(e){return!!e.applyStretch}var af=function(e){if(e===void 0){e=[]}return ya(e,(function(e,t){if(!e[t.type]){e[t.type]={}}if(t.size){if(!e[t.type].sizes){e[t.type].sizes={}}e[t.type].sizes[t.index]=t.size}return e}),{})};var sf=".revo-drag-icon{-webkit-mask-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 438 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M421.875,70.40625 C426.432292,70.40625 430.175781,68.9414062 433.105469,66.0117188 C436.035156,63.0820312 437.5,59.3385417 437.5,54.78125 L437.5,54.78125 L437.5,15.71875 C437.5,11.1614583 436.035156,7.41796875 433.105469,4.48828125 C430.175781,1.55859375 426.432292,0.09375 421.875,0.09375 L421.875,0.09375 L15.625,0.09375 C11.0677083,0.09375 7.32421875,1.55859375 4.39453125,4.48828125 C1.46484375,7.41796875 0,11.1614583 0,15.71875 L0,15.71875 L0,54.78125 C0,59.3385417 1.46484375,63.0820312 4.39453125,66.0117188 C7.32421875,68.9414062 11.0677083,70.40625 15.625,70.40625 L15.625,70.40625 L421.875,70.40625 Z M421.875,226.65625 C426.432292,226.65625 430.175781,225.191406 433.105469,222.261719 C436.035156,219.332031 437.5,215.588542 437.5,211.03125 L437.5,211.03125 L437.5,171.96875 C437.5,167.411458 436.035156,163.667969 433.105469,160.738281 C430.175781,157.808594 426.432292,156.34375 421.875,156.34375 L421.875,156.34375 L15.625,156.34375 C11.0677083,156.34375 7.32421875,157.808594 4.39453125,160.738281 C1.46484375,163.667969 0,167.411458 0,171.96875 L0,171.96875 L0,211.03125 C0,215.588542 1.46484375,219.332031 4.39453125,222.261719 C7.32421875,225.191406 11.0677083,226.65625 15.625,226.65625 L15.625,226.65625 L421.875,226.65625 Z M421.875,382.90625 C426.432292,382.90625 430.175781,381.441406 433.105469,378.511719 C436.035156,375.582031 437.5,371.838542 437.5,367.28125 L437.5,367.28125 L437.5,328.21875 C437.5,323.661458 436.035156,319.917969 433.105469,316.988281 C430.175781,314.058594 426.432292,312.59375 421.875,312.59375 L421.875,312.59375 L15.625,312.59375 C11.0677083,312.59375 7.32421875,314.058594 4.39453125,316.988281 C1.46484375,319.917969 0,323.661458 0,328.21875 L0,328.21875 L0,367.28125 C0,371.838542 1.46484375,375.582031 4.39453125,378.511719 C7.32421875,381.441406 11.0677083,382.90625 15.625,382.90625 L15.625,382.90625 L421.875,382.90625 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 438 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M421.875,70.40625 C426.432292,70.40625 430.175781,68.9414062 433.105469,66.0117188 C436.035156,63.0820312 437.5,59.3385417 437.5,54.78125 L437.5,54.78125 L437.5,15.71875 C437.5,11.1614583 436.035156,7.41796875 433.105469,4.48828125 C430.175781,1.55859375 426.432292,0.09375 421.875,0.09375 L421.875,0.09375 L15.625,0.09375 C11.0677083,0.09375 7.32421875,1.55859375 4.39453125,4.48828125 C1.46484375,7.41796875 0,11.1614583 0,15.71875 L0,15.71875 L0,54.78125 C0,59.3385417 1.46484375,63.0820312 4.39453125,66.0117188 C7.32421875,68.9414062 11.0677083,70.40625 15.625,70.40625 L15.625,70.40625 L421.875,70.40625 Z M421.875,226.65625 C426.432292,226.65625 430.175781,225.191406 433.105469,222.261719 C436.035156,219.332031 437.5,215.588542 437.5,211.03125 L437.5,211.03125 L437.5,171.96875 C437.5,167.411458 436.035156,163.667969 433.105469,160.738281 C430.175781,157.808594 426.432292,156.34375 421.875,156.34375 L421.875,156.34375 L15.625,156.34375 C11.0677083,156.34375 7.32421875,157.808594 4.39453125,160.738281 C1.46484375,163.667969 0,167.411458 0,171.96875 L0,171.96875 L0,211.03125 C0,215.588542 1.46484375,219.332031 4.39453125,222.261719 C7.32421875,225.191406 11.0677083,226.65625 15.625,226.65625 L15.625,226.65625 L421.875,226.65625 Z M421.875,382.90625 C426.432292,382.90625 430.175781,381.441406 433.105469,378.511719 C436.035156,375.582031 437.5,371.838542 437.5,367.28125 L437.5,367.28125 L437.5,328.21875 C437.5,323.661458 436.035156,319.917969 433.105469,316.988281 C430.175781,314.058594 426.432292,312.59375 421.875,312.59375 L421.875,312.59375 L15.625,312.59375 C11.0677083,312.59375 7.32421875,314.058594 4.39453125,316.988281 C1.46484375,319.917969 0,323.661458 0,328.21875 L0,328.21875 L0,367.28125 C0,371.838542 1.46484375,375.582031 4.39453125,378.511719 C7.32421875,381.441406 11.0677083,382.90625 15.625,382.90625 L15.625,382.90625 L421.875,382.90625 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E\");width:11px;height:7px;background-size:cover;background-repeat:no-repeat}.revo-alt-icon{-webkit-mask-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 384 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M192.4375,383 C197.424479,383 201.663411,381.254557 205.154297,377.763672 L205.154297,377.763672 L264.25,318.667969 C270.234375,312.683594 271.605794,306.075846 268.364258,298.844727 C265.122721,291.613607 259.51237,287.998047 251.533203,287.998047 L251.533203,287.998047 L213.382812,287.998047 L213.382812,212.445312 L288.935547,212.445312 L288.935547,250.595703 C288.935547,258.57487 292.551107,264.185221 299.782227,267.426758 C307.013346,270.668294 313.621094,269.296875 319.605469,263.3125 L319.605469,263.3125 L378.701172,204.216797 C382.192057,200.725911 383.9375,196.486979 383.9375,191.5 C383.9375,186.513021 382.192057,182.274089 378.701172,178.783203 L378.701172,178.783203 L319.605469,119.6875 C313.621094,114.201823 307.013346,112.955078 299.782227,115.947266 C292.551107,118.939453 288.935547,124.42513 288.935547,132.404297 L288.935547,132.404297 L288.935547,170.554688 L213.382812,170.554688 L213.382812,95.0019531 L251.533203,95.0019531 C259.51237,95.0019531 264.998047,91.3863932 267.990234,84.1552734 C270.982422,76.9241536 269.735677,70.3164062 264.25,64.3320312 L264.25,64.3320312 L205.154297,5.23632812 C201.663411,1.74544271 197.424479,0 192.4375,0 C187.450521,0 183.211589,1.74544271 179.720703,5.23632812 L179.720703,5.23632812 L120.625,64.3320312 C114.640625,70.3164062 113.269206,76.9241536 116.510742,84.1552734 C119.752279,91.3863932 125.36263,95.0019531 133.341797,95.0019531 L133.341797,95.0019531 L171.492188,95.0019531 L171.492188,170.554688 L95.9394531,170.554688 L95.9394531,132.404297 C95.9394531,124.42513 92.3238932,118.814779 85.0927734,115.573242 C77.8616536,112.331706 71.2539062,113.703125 65.2695312,119.6875 L65.2695312,119.6875 L6.17382812,178.783203 C2.68294271,182.274089 0.9375,186.513021 0.9375,191.5 C0.9375,196.486979 2.68294271,200.725911 6.17382812,204.216797 L6.17382812,204.216797 L65.2695312,263.3125 C71.2539062,268.798177 77.8616536,270.044922 85.0927734,267.052734 C92.3238932,264.060547 95.9394531,258.57487 95.9394531,250.595703 L95.9394531,250.595703 L95.9394531,212.445312 L171.492188,212.445312 L171.492188,287.998047 L133.341797,287.998047 C125.36263,287.998047 119.876953,291.613607 116.884766,298.844727 C113.892578,306.075846 115.139323,312.683594 120.625,318.667969 L120.625,318.667969 L179.720703,377.763672 C183.211589,381.254557 187.450521,383 192.4375,383 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 384 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M192.4375,383 C197.424479,383 201.663411,381.254557 205.154297,377.763672 L205.154297,377.763672 L264.25,318.667969 C270.234375,312.683594 271.605794,306.075846 268.364258,298.844727 C265.122721,291.613607 259.51237,287.998047 251.533203,287.998047 L251.533203,287.998047 L213.382812,287.998047 L213.382812,212.445312 L288.935547,212.445312 L288.935547,250.595703 C288.935547,258.57487 292.551107,264.185221 299.782227,267.426758 C307.013346,270.668294 313.621094,269.296875 319.605469,263.3125 L319.605469,263.3125 L378.701172,204.216797 C382.192057,200.725911 383.9375,196.486979 383.9375,191.5 C383.9375,186.513021 382.192057,182.274089 378.701172,178.783203 L378.701172,178.783203 L319.605469,119.6875 C313.621094,114.201823 307.013346,112.955078 299.782227,115.947266 C292.551107,118.939453 288.935547,124.42513 288.935547,132.404297 L288.935547,132.404297 L288.935547,170.554688 L213.382812,170.554688 L213.382812,95.0019531 L251.533203,95.0019531 C259.51237,95.0019531 264.998047,91.3863932 267.990234,84.1552734 C270.982422,76.9241536 269.735677,70.3164062 264.25,64.3320312 L264.25,64.3320312 L205.154297,5.23632812 C201.663411,1.74544271 197.424479,0 192.4375,0 C187.450521,0 183.211589,1.74544271 179.720703,5.23632812 L179.720703,5.23632812 L120.625,64.3320312 C114.640625,70.3164062 113.269206,76.9241536 116.510742,84.1552734 C119.752279,91.3863932 125.36263,95.0019531 133.341797,95.0019531 L133.341797,95.0019531 L171.492188,95.0019531 L171.492188,170.554688 L95.9394531,170.554688 L95.9394531,132.404297 C95.9394531,124.42513 92.3238932,118.814779 85.0927734,115.573242 C77.8616536,112.331706 71.2539062,113.703125 65.2695312,119.6875 L65.2695312,119.6875 L6.17382812,178.783203 C2.68294271,182.274089 0.9375,186.513021 0.9375,191.5 C0.9375,196.486979 2.68294271,200.725911 6.17382812,204.216797 L6.17382812,204.216797 L65.2695312,263.3125 C71.2539062,268.798177 77.8616536,270.044922 85.0927734,267.052734 C92.3238932,264.060547 95.9394531,258.57487 95.9394531,250.595703 L95.9394531,250.595703 L95.9394531,212.445312 L171.492188,212.445312 L171.492188,287.998047 L133.341797,287.998047 C125.36263,287.998047 119.876953,291.613607 116.884766,298.844727 C113.892578,306.075846 115.139323,312.683594 120.625,318.667969 L120.625,318.667969 L179.720703,377.763672 C183.211589,381.254557 187.450521,383 192.4375,383 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E\");width:11px;height:11px;background-size:cover;background-repeat:no-repeat}.arrow-down{position:absolute;right:5px;top:0}.arrow-down svg{width:8px;margin-top:5px;margin-left:5px;opacity:0.4}.cell-value-wrapper{margin-right:10px;overflow:hidden;text-overflow:ellipsis}.revo-button{position:relative;overflow:hidden;color:#fff;background-color:#6200ee;height:34px;line-height:34px;padding:0 15px;outline:0;border:0;border-radius:7px;box-sizing:border-box;cursor:pointer}.revo-button.green{background-color:#2ee072;border:1px solid #20d565}.revo-button.light{border:2px solid #cedefa;line-height:32px;background:none;color:#4876ca;box-shadow:none}revo-grid[theme=default]{font-size:12px}revo-grid[theme=default] revogr-header{text-align:center;line-height:30px;background-color:#f8f9fa}revo-grid[theme=default] revogr-header .group-rgRow{box-shadow:none}revo-grid[theme=default] revogr-header .header-rgRow,revo-grid[theme=default] revogr-header .group-rgRow{text-transform:uppercase;font-size:12px;color:#61656a}revo-grid[theme=default] revogr-header .header-rgRow{height:30px;box-shadow:0 -1px 0 0 #c0c0c0 inset}revo-grid[theme=default] revogr-header .rgHeaderCell{box-shadow:-1px 0 0 0 #c0c0c0, -1px 0 0 0 #c0c0c0 inset, 0 -1px 0 0 #c0c0c0, 0 -1px 0 0 #c0c0c0 inset}revo-grid[theme=default] revogr-header .rgHeaderCell.focused-cell{background:rgba(233, 234, 237, 0.5)}revo-grid[theme=default] .rowHeaders{background-color:#f8f9fa}revo-grid[theme=default] .rowHeaders revogr-data .rgCell{color:#61656a;box-shadow:0 -1px 0 0 #c0c0c0 inset, -1px 0 0 0 #c0c0c0 inset}revo-grid[theme=default] .rowHeaders revogr-header{box-shadow:0 -1px 0 0 #c0c0c0 inset, -1px 0 0 0 #c0c0c0 inset}revo-grid[theme=default] revogr-viewport-scroll.colPinStart revogr-data .rgRow .rgCell:last-child{box-shadow:0 -1px 0 0 #e2e3e3 inset, -1px 0 0 0 #c0c0c0 inset}revo-grid[theme=default] revogr-viewport-scroll.colPinStart .footer-wrapper revogr-data .rgRow:first-child .rgCell{box-shadow:0 1px 0 0 #c0c0c0 inset, -1px 0 0 0 #c0c0c0 inset}revo-grid[theme=default] revogr-viewport-scroll.colPinEnd,revo-grid[theme=default] revogr-viewport-scroll.colPinEnd revogr-header{box-shadow:1px 0 0 #c0c0c0 inset}revo-grid[theme=default] .footer-wrapper revogr-data .rgRow:first-child .rgCell{box-shadow:0 1px 0 0 #e2e3e3 inset, -1px 0 0 0 #e2e3e3 inset, 0 -1px 0 0 #e2e3e3 inset}revo-grid[theme=default] revogr-data{text-align:center}revo-grid[theme=default] revogr-data .rgRow{line-height:27px;box-shadow:0 -1px 0 0 #e2e3e3 inset, -1px 0 0 0 #e2e3e3 inset}revo-grid[theme=default] revogr-data .rgRow.focused-rgRow{background-color:rgba(233, 234, 237, 0.5)}revo-grid[theme=default] revogr-data .rgCell{box-shadow:0 -1px 0 0 #e2e3e3 inset, -1px 0 0 0 #e2e3e3 inset}revo-grid[theme=default] revogr-data .rgCell.disabled{background-color:0 -1px 0 0 #e2e3e3 inset, -1px 0 0 0 #e2e3e3 inset}revo-grid[theme=material]{font-family:Nunito, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}revo-grid[theme=material] revogr-header{line-height:50px;font-weight:600;text-align:left}revo-grid[theme=material] revogr-header .rgHeaderCell{padding:0 15px;text-overflow:ellipsis}revo-grid[theme=material] revogr-header .header-rgRow{height:50px}revo-grid[theme=material] revogr-data{text-align:left}revo-grid[theme=material] revogr-data .rgRow{line-height:42px}revo-grid[theme=material] revogr-data .rgCell{padding:0 15px}revo-grid[theme=material] .viewports{width:100%}revo-grid[theme=material] .rowHeaders{background-color:#f7faff}revo-grid[theme=material] .rowHeaders revogr-data .rgCell{color:#757a82}revo-grid[theme=material] revogr-header .header-rgRow.group{box-shadow:0 -1px 0 0 #f1f1f1 inset}revo-grid[theme=material] revogr-header .header-rgRow:not(.group){box-shadow:0 -1px 0 0 #f1f1f1, 0 -1px 0 0 #f1f1f1 inset}revo-grid[theme=material] revogr-header .rgHeaderCell.sortable:hover{background-color:#f1f1f1}revo-grid[theme=material] revogr-header .rgHeaderCell.focused-cell{background:rgba(233, 234, 237, 0.5)}revo-grid[theme=material] .footer-wrapper revogr-data{box-shadow:0 -1px 0 #f1f1f1}revo-grid[theme=material] revogr-viewport-scroll.colPinStart{box-shadow:-1px 0 0 #f1f1f1 inset}revo-grid[theme=material] revogr-viewport-scroll.colPinEnd{box-shadow:-1px 0 0 #f1f1f1}revo-grid[theme=material] revogr-data .rgRow{box-shadow:0 -1px 0 0 #f1f1f1 inset}revo-grid[theme=material] revogr-data .rgRow.focused-rgRow{background-color:rgba(233, 234, 237, 0.5)}revo-grid[theme=material] revogr-data .rgCell{color:rgba(0, 0, 0, 0.87)}revo-grid[theme=material] revogr-data .rgCell.disabled{background-color:#f7f7f7}revo-grid[theme=material] revogr-data .revo-draggable>.revo-drag-icon{background-color:#d4d4d4}revo-grid[theme=material] revogr-data .revo-draggable:hover>.revo-drag-icon{background-color:black}revo-grid[theme=darkMaterial]{font-family:Nunito, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:#d8d8d8}revo-grid[theme=darkMaterial] revogr-header{line-height:50px;font-weight:600;text-align:left}revo-grid[theme=darkMaterial] revogr-header .rgHeaderCell{padding:0 15px;text-overflow:ellipsis}revo-grid[theme=darkMaterial] revogr-header .header-rgRow{height:50px}revo-grid[theme=darkMaterial] revogr-data{text-align:left}revo-grid[theme=darkMaterial] revogr-data .rgRow{line-height:42px}revo-grid[theme=darkMaterial] revogr-data .rgCell{padding:0 15px}revo-grid[theme=darkMaterial] .viewports{width:100%}revo-grid[theme=darkMaterial] .rowHeaders{background-color:rgba(40, 39, 43, 0.8)}revo-grid[theme=darkMaterial] .rowHeaders revogr-data .rgCell{color:rgba(216, 216, 216, 0.8)}revo-grid[theme=darkMaterial] revogr-header .header-rgRow.group{box-shadow:0 -1px 0 0 #404040 inset}revo-grid[theme=darkMaterial] revogr-header .header-rgRow:not(.group){box-shadow:0 -1px 0 0 #404040, 0 -1px 0 0 #404040 inset}revo-grid[theme=darkMaterial] revogr-header .rgHeaderCell.sortable:hover{background-color:rgba(64, 64, 64, 0.5)}revo-grid[theme=darkMaterial] revogr-header .rgHeaderCell.focused-cell{background:rgba(115, 148, 160, 0.15)}revo-grid[theme=darkMaterial] .footer-wrapper revogr-data{box-shadow:0 -1px 0 #404040}revo-grid[theme=darkMaterial] revogr-data .rgCell{color:rgba(216, 216, 216, 0.9)}revo-grid[theme=darkMaterial] revogr-data .rgRow{box-shadow:0 -1px 0 0 #404040 inset}revo-grid[theme=darkMaterial] revogr-data .rgRow.focused-rgRow{background-color:rgba(115, 148, 160, 0.15)}revo-grid[theme=darkMaterial] revogr-data .revo-draggable>.revo-drag-icon{background-color:rgba(216, 216, 216, 0.5)}revo-grid[theme=darkMaterial] revogr-data .revo-draggable:hover>.revo-drag-icon{background-color:rgba(216, 216, 216, 0.7)}revo-grid[theme=darkMaterial] revogr-viewport-scroll.colPinStart{box-shadow:-1px 0 0 #404040 inset}revo-grid[theme=darkMaterial] revogr-viewport-scroll.colPinEnd{box-shadow:-1px 0 0 #404040}revo-grid[theme=darkCompact]{font-family:Nunito, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:#d8d8d8}revo-grid[theme=darkCompact] revogr-header{line-height:45px;font-weight:600;text-align:left}revo-grid[theme=darkCompact] revogr-header .rgHeaderCell{padding:0 15px;text-overflow:ellipsis}revo-grid[theme=darkCompact] revogr-header .header-rgRow{height:45px}revo-grid[theme=darkCompact] revogr-data{text-align:left}revo-grid[theme=darkCompact] revogr-data .rgRow{line-height:32px}revo-grid[theme=darkCompact] revogr-data .rgCell{padding:0 15px}revo-grid[theme=darkCompact] .viewports{width:100%}revo-grid[theme=darkCompact] .rowHeaders{background-color:rgba(40, 39, 43, 0.8)}revo-grid[theme=darkCompact] .rowHeaders revogr-data .rgCell{color:rgba(216, 216, 216, 0.8)}revo-grid[theme=darkCompact] revogr-header .header-rgRow.group{box-shadow:0 -1px 0 0 #404040 inset}revo-grid[theme=darkCompact] revogr-header .header-rgRow:not(.group){box-shadow:0 -1px 0 0 #404040, 0 -1px 0 0 #404040 inset}revo-grid[theme=darkCompact] revogr-header .rgHeaderCell.sortable:hover{background-color:rgba(64, 64, 64, 0.5)}revo-grid[theme=darkCompact] revogr-header .rgHeaderCell.focused-cell{background:rgba(115, 148, 160, 0.15)}revo-grid[theme=darkCompact] .footer-wrapper revogr-data{box-shadow:0 -1px 0 #404040}revo-grid[theme=darkCompact] revogr-data .rgCell{color:rgba(216, 216, 216, 0.9)}revo-grid[theme=darkCompact] revogr-data .rgRow{box-shadow:0 -1px 0 0 #404040 inset}revo-grid[theme=darkCompact] revogr-data .rgRow.focused-rgRow{background-color:rgba(115, 148, 160, 0.15)}revo-grid[theme=darkCompact] revogr-data .revo-draggable>.revo-drag-icon{background-color:rgba(216, 216, 216, 0.5)}revo-grid[theme=darkCompact] revogr-data .revo-draggable:hover>.revo-drag-icon{background-color:rgba(216, 216, 216, 0.7)}revo-grid[theme=darkCompact] revogr-viewport-scroll.colPinStart{box-shadow:-1px 0 0 #404040 inset}revo-grid[theme=darkCompact] revogr-viewport-scroll.colPinEnd{box-shadow:-1px 0 0 #404040}revo-grid[theme=compact]{font-family:Nunito, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}revo-grid[theme=compact] revogr-header{line-height:45px;font-weight:600;text-align:left}revo-grid[theme=compact] revogr-header .rgHeaderCell{padding:0 15px;text-overflow:ellipsis}revo-grid[theme=compact] revogr-header .header-rgRow{height:45px}revo-grid[theme=compact] revogr-data{text-align:left}revo-grid[theme=compact] revogr-data .rgRow{line-height:32px}revo-grid[theme=compact] revogr-data .rgCell{padding:0 15px}revo-grid[theme=compact] .viewports{width:100%}revo-grid[theme=compact] .rowHeaders{background-color:#f7faff}revo-grid[theme=compact] .rowHeaders revogr-data .rgCell{color:#757a82}revo-grid[theme=compact] revogr-header .header-rgRow.group{box-shadow:0 -1px 0 0 #f1f1f1 inset}revo-grid[theme=compact] revogr-header .header-rgRow:not(.group){box-shadow:0 -1px 0 0 #f1f1f1, 0 -1px 0 0 #f1f1f1 inset}revo-grid[theme=compact] revogr-header .rgHeaderCell.sortable:hover{background-color:#f1f1f1}revo-grid[theme=compact] revogr-header .rgHeaderCell.focused-cell{background:rgba(233, 234, 237, 0.5)}revo-grid[theme=compact] .footer-wrapper revogr-data{box-shadow:0 -1px 0 #f1f1f1}revo-grid[theme=compact] revogr-viewport-scroll.colPinStart{box-shadow:-1px 0 0 #f1f1f1 inset}revo-grid[theme=compact] revogr-viewport-scroll.colPinEnd{box-shadow:-1px 0 0 #f1f1f1}revo-grid[theme=compact] revogr-data .rgRow{box-shadow:0 -1px 0 0 #f1f1f1 inset}revo-grid[theme=compact] revogr-data .rgRow.focused-rgRow{background-color:rgba(233, 234, 237, 0.5)}revo-grid[theme=compact] revogr-data .rgCell{color:rgba(0, 0, 0, 0.87)}revo-grid[theme=compact] revogr-data .rgCell.disabled{background-color:#f7f7f7}revo-grid[theme=compact] revogr-data .revo-draggable>.revo-drag-icon{background-color:#d4d4d4}revo-grid[theme=compact] revogr-data .revo-draggable:hover>.revo-drag-icon{background-color:black}revo-grid[theme=compact] revo-dropdown .rv-dr-root{padding:0px 9px}revo-grid{display:block;height:100%;font-family:Helvetica, Arial, Sans-Serif, serif;font-size:14px;position:relative;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:flex;flex-direction:column;width:100%;height:100%}revo-grid .footer-wrapper,revo-grid .header-wrapper{width:100%}revo-grid .footer-wrapper revogr-data,revo-grid .header-wrapper revogr-data{z-index:3}revo-grid revo-dropdown{width:100%}revo-grid revo-dropdown .rv-dr-root{max-height:100%}revo-grid revo-dropdown.shrink label{opacity:0}revo-grid .viewports{max-height:100%;display:flex;flex-direction:row;align-items:flex-start;max-width:100%}revo-grid .main-viewport{flex-grow:1;height:0;display:flex;flex-direction:row}revo-grid .draggable{position:fixed;height:30px;line-height:30px;background:#fff;border-radius:3px;display:block;z-index:100;margin-top:5px;margin-right:-20px;box-shadow:0 4px 20px 0 rgba(0, 0, 0, 0.15);padding-left:20px;padding-right:5px}revo-grid .draggable.hidden{display:none}revo-grid .draggable .revo-alt-icon{background-color:black;position:absolute;left:5px;top:10px}revo-grid .draggable-wrapper.hidden{display:none}revo-grid .drag-position{position:absolute;left:0;right:0;height:1px;z-index:2;background:red}revo-grid .clipboard{position:absolute;left:0;top:0}revo-grid revogr-scroll-virtual{position:relative}revo-grid revogr-scroll-virtual.vertical,revo-grid revogr-scroll-virtual.horizontal{z-index:3}";var uf=e("revo_grid",function(){function e(e){o(this,e);this.contentsizechanged=a(this,"contentsizechanged",7);this.beforeedit=a(this,"beforeedit",7);this.beforerangeedit=a(this,"beforerangeedit",7);this.afteredit=a(this,"afteredit",7);this.beforeautofill=a(this,"beforeautofill",7);this.beforeaange=a(this,"beforeaange",7);this.roworderchanged=a(this,"roworderchanged",7);this.beforesourcesortingapply=a(this,"beforesourcesortingapply",7);this.beforesortingapply=a(this,"beforesortingapply",7);this.beforesorting=a(this,"beforesorting",7);this.rowdragstart=a(this,"rowdragstart",7);this.headerclick=a(this,"headerclick",7);this.beforecellfocus=a(this,"beforecellfocus",7);this.beforefocuslost=a(this,"beforefocuslost",7);this.beforesourceset=a(this,"beforesourceset",7);this.aftersourceset=a(this,"aftersourceset",7);this.beforecolumnsset=a(this,"beforecolumnsset",7);this.beforecolumnapplied=a(this,"beforecolumnapplied",7);this.aftercolumnsset=a(this,"aftercolumnsset",7);this.beforefilterapply=a(this,"beforefilterapply",7);this.beforefiltertrimmed=a(this,"beforefiltertrimmed",7);this.beforetrimmed=a(this,"beforetrimmed",7);this.aftertrimmed=a(this,"aftertrimmed",7);this.viewportscroll=a(this,"viewportscroll",7);this.beforeexport=a(this,"beforeexport",7);this.beforeeditstart=a(this,"beforeeditstart",7);this.aftercolumnresize=a(this,"aftercolumnresize",7);this.frameSize=1;this.rowSize=0;this.colSize=100;this.range=false;this.readonly=false;this.resize=false;this.canFocus=true;this.useClipboard=true;this.columns=[];this.source=[];this.pinnedTopSource=[];this.pinnedBottomSource=[];this.rowDefinitions=[];this.editors={};this.columnTypes={};this.theme="default";this.rowClass="";this.autoSizeColumn=false;this.filter=false;this.trimmedRows={};this.exporting=false;this.stretch=false;this.extraElements=[];this.uuid=null;this.viewport=null;this.internalPlugins=[];this.subscribers={}}e.prototype.refresh=function(e){if(e===void 0){e="all"}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.dataProvider.refresh(e);return[2]}))}))};e.prototype.scrollToRow=function(e){if(e===void 0){e=0}return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(r){switch(r.label){case 0:t=this.dimensionProvider.getViewPortPos({coordinate:e,dimension:"rgRow"});return[4,this.scrollToCoordinate({y:t})];case 1:r.sent();return[2]}}))}))};e.prototype.scrollToColumnIndex=function(e){if(e===void 0){e=0}return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(r){switch(r.label){case 0:t=this.dimensionProvider.getViewPortPos({coordinate:e,dimension:"rgCol"});return[4,this.scrollToCoordinate({x:t})];case 1:r.sent();return[2]}}))}))};e.prototype.scrollToColumnProp=function(e){return __awaiter(this,void 0,void 0,(function(){var t,r;return __generator(this,(function(n){switch(n.label){case 0:t=this.columnProvider.getColumnIndexByProp(e,"rgCol");if(t<0){return[2]}r=this.dimensionProvider.getViewPortPos({coordinate:t,dimension:"rgCol"});return[4,this.scrollToCoordinate({x:r})];case 1:n.sent();return[2]}}))}))};e.prototype.updateColumns=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.columnProvider.updateColumns(e);return[2]}))}))};e.prototype.addTrimmed=function(e,t,r){if(t===void 0){t="external"}if(r===void 0){r="rgRow"}return __awaiter(this,void 0,void 0,(function(){var n;var i;return __generator(this,(function(o){n=this.beforetrimmed.emit({trimmed:e,trimmedType:t,type:r});if(n.defaultPrevented){return[2,n]}this.dataProvider.setTrimmed((i={},i[t]=n.detail.trimmed,i),r);this.aftertrimmed.emit();return[2,n]}))}))};e.prototype.scrollToCoordinate=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(r){(t=this.viewport)===null||t===void 0?void 0:t.scrollToCell(e);return[2]}))}))};e.prototype.setCellEdit=function(e,t,r){if(r===void 0){r="rgRow"}return __awaiter(this,void 0,void 0,(function(){var n,i;return __generator(this,(function(o){switch(o.label){case 0:i=Ts.getColumnByProp(this.columns,t);if(!i){return[2]}return[4,Js()];case 1:o.sent();(n=this.viewport)===null||n===void 0?void 0:n.setEdit(e,this.columnProvider.getColumnIndexByProp(t,"rgCol"),i.pin||"rgCol",r);return[2]}}))}))};e.prototype.setCellsFocus=function(e,t,r,n){if(e===void 0){e={x:0,y:0}}if(t===void 0){t={x:0,y:0}}if(r===void 0){r="rgCol"}if(n===void 0){n="rgRow"}return __awaiter(this,void 0,void 0,(function(){var i;return __generator(this,(function(o){(i=this.viewport)===null||i===void 0?void 0:i.setFocus(r,n,e,t);return[2]}))}))};e.prototype.registerVNode=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(r){(t=this.extraElements).push.apply(t,e);this.extraElements=__spreadArray([],this.extraElements);return[2]}))}))};e.prototype.getSource=function(e){if(e===void 0){e="rgRow"}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.dataProvider.stores[e].store.get("source")]}))}))};e.prototype.getVisibleSource=function(e){if(e===void 0){e="rgRow"}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,ys(this.dataProvider.stores[e].store)]}))}))};e.prototype.getSourceStore=function(e){if(e===void 0){e="rgRow"}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.dataProvider.stores[e].store]}))}))};e.prototype.getColumnStore=function(e){if(e===void 0){e="rgCol"}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.columnProvider.stores[e].store]}))}))};e.prototype.updateColumnSorting=function(e,t,r,n){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){return[2,this.columnProvider.updateColumnSorting(e,t,r,n)]}))}))};e.prototype.clearSorting=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.columnProvider.clearSorting();return[2]}))}))};e.prototype.getColumns=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.columnProvider.getColumns()]}))}))};e.prototype.clearFocus=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,r;return __generator(this,(function(n){switch(n.label){case 0:return[4,this.getFocused()];case 1:t=n.sent();r=this.beforefocuslost.emit(t);if(r.defaultPrevented){return[2]}this.selectionStoreConnector.clearAll();(e=this.viewport)===null||e===void 0?void 0:e.clearFocused();return[2]}}))}))};e.prototype.getPlugins=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,__spreadArray([],this.internalPlugins)]}))}))};e.prototype.getFocused=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){return[2,(e=this.viewport)===null||e===void 0?void 0:e.getFocused()]}))}))};e.prototype.getContentSize=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){return[2,(e=this.dimensionProvider)===null||e===void 0?void 0:e.getFullSize()]}))}))};e.prototype.handleOutsideClick=function(e){var t=e.target;if(e.defaultPrevented||(t===null||t===void 0?void 0:t.closest("["+Hl+'="'+this.uuid+'"]'))){return}this.clearFocus()};e.prototype.onRowDragStarted=function(e){var t;e.cancelBubble=true;var r=this.rowdragstart.emit(e.detail);if(r.defaultPrevented){e.preventDefault();return}(t=this.orderService)===null||t===void 0?void 0:t.start(this.element,Object.assign(Object.assign({},e.detail),r.detail))};e.prototype.onRowDragEnd=function(){var e;(e=this.orderService)===null||e===void 0?void 0:e.end()};e.prototype.onRowDrag=function(e){var t=e.detail;var r;(r=this.orderService)===null||r===void 0?void 0:r.move(t)};e.prototype.onRowMouseMove=function(e){var t;e.cancelBubble=true;(t=this.orderService)===null||t===void 0?void 0:t.moveTip(e.detail)};e.prototype.onBeforeEdit=function(e){return __awaiter(this,void 0,void 0,(function(){var t,r,n;return __generator(this,(function(i){switch(i.label){case 0:e.cancelBubble=true;t=this.beforeedit.emit(e.detail),r=t.defaultPrevented,n=t.detail;return[4,Js()];case 1:i.sent();if(!r){this.dataProvider.setCellData(n);this.afteredit.emit(n)}return[2]}}))}))};e.prototype.onBeforeRangeEdit=function(e){e.cancelBubble=true;var t=this.beforerangeedit.emit(e.detail).defaultPrevented;if(t){e.preventDefault();return}this.afteredit.emit(e.detail)};e.prototype.onRangeChanged=function(e){e.cancelBubble=true;var t=this.beforeaange.emit(e.detail);if(t.defaultPrevented){e.preventDefault()}var r=this.beforeautofill.emit(e.detail);if(r.defaultPrevented){return}};e.prototype.onRowDropped=function(e){e.cancelBubble=true;var t=this.roworderchanged.emit(e.detail).defaultPrevented;if(t){e.preventDefault()}};e.prototype.onHeaderClick=function(e){var t=this.headerclick.emit(Object.assign(Object.assign({},e.detail.column),{originalEvent:e.detail.originalEvent})).defaultPrevented;if(t){e.preventDefault()}};e.prototype.onCellFocus=function(e){e.cancelBubble=true;var t=this.beforecellfocus.emit(e.detail).defaultPrevented;if(!this.canFocus||t){e.preventDefault()}};e.prototype.columnChanged=function(e){if(e===void 0){e=[]}this.dimensionProvider.drop();var t=Ts.getColumns(e,0,this.columnTypes);this.beforecolumnsset.emit(t);for(var r=0,n=Es;r<n.length;r++){var i=n[r];var o=t.columns[i];this.dimensionProvider.setRealSize(o.length,i);this.dimensionProvider.setColumns(i,Ts.getSizes(o),i!=="rgCol")}this.beforecolumnapplied.emit(t);var a=this.columnProvider.setColumns(t);this.aftercolumnsset.emit({columns:a,order:this.columnProvider.order})};e.prototype.themeChanged=function(e){this.themeService.register(e);this.dimensionProvider.setSettings({originItemSize:this.themeService.rowSize,frameOffset:this.frameSize||0},"rgRow");this.dimensionProvider.setSettings({originItemSize:this.colSize,frameOffset:this.frameSize||0},"rgCol")};e.prototype.dataChanged=function(e){if(e===void 0){e=[]}var t=__spreadArray([],e);var r=this.beforesourceset.emit({type:"rgRow",source:t});t=r.detail.source;t=this.dataProvider.setData(t,"rgRow");this.aftersourceset.emit({type:"rgRow",source:t})};e.prototype.dataBottomChanged=function(e){if(e===void 0){e=[]}this.dataProvider.setData(e,"rowPinEnd")};e.prototype.dataTopChanged=function(e){if(e===void 0){e=[]}this.dataProvider.setData(e,"rowPinStart")};e.prototype.rowDefChanged=function(e){var t=this;if(e===void 0){e=[]}Mt(Ss,(function(e){return t.dimensionProvider.setDimensionSize(e,{})}));if(!e.length){return}var r=af(e);Mt(r,(function(e,r){return t.dimensionProvider.setDimensionSize(r,e.sizes||{})}))};e.prototype.trimmedRowsChanged=function(e){if(e===void 0){e={}}this.addTrimmed(e)};e.prototype.groupingChanged=function(e){if(e===void 0){e={}}var t;for(var r=0,n=this.internalPlugins;r<n.length;r++){var i=n[r];var o=i;if(o.setGrouping){t=o;break}}if(!t){return}t.setGrouping(e||{})};e.prototype.applyStretch=function(e){var t=this.internalPlugins.filter((function(e){return of(e)}))[0];if(typeof e==="boolean"&&e||e==="true"){if(!t){this.internalPlugins.push(new nf(this.element,{dataProvider:this.dataProvider,columnProvider:this.columnProvider,dimensionProvider:this.dimensionProvider}))}else if(of(t)){t.applyStretch(this.columnProvider.getRawColumns())}}else if(t){var r=this.internalPlugins.indexOf(t);this.internalPlugins.splice(r,1)}};e.prototype.connectedCallback=function(){var e=this;this.viewportProvider=new Cu;this.themeService=new m({rowSize:this.rowSize});var t={realSizeChanged:function(){return e.contentsizechanged.emit()}};this.dimensionProvider=new au(this.viewportProvider,t);this.columnProvider=new Ts;this.selectionStoreConnector=new Gc;this.dataProvider=new As(this.dimensionProvider);this.uuid=(new Date).getTime()+"-rvgrid";if(this.autoSizeColumn){this.internalPlugins.push(new bu(this.element,{dataProvider:this.dataProvider,columnProvider:this.columnProvider,dimensionProvider:this.dimensionProvider},typeof this.autoSizeColumn==="object"?this.autoSizeColumn:undefined))}if(this.filter){this.internalPlugins.push(new Mu(this.element,this.uuid,typeof this.filter==="object"?this.filter:undefined))}if(this.exporting){this.internalPlugins.push(new Rc(this.element))}this.internalPlugins.push(new zl(this.element));this.internalPlugins.push(new Tc(this.element,{dataProvider:this.dataProvider,columnProvider:this.columnProvider}));if(this.plugins){this.plugins.forEach((function(t){e.internalPlugins.push(new t(e.element,{data:e.dataProvider,column:e.columnProvider,dimension:e.dimensionProvider,viewport:e.viewportProvider,selection:e.selectionStoreConnector}))}))}this.applyStretch(this.stretch);this.themeChanged(this.theme);this.columnChanged(this.columns);this.dataChanged(this.source);this.dataTopChanged(this.pinnedTopSource);this.dataBottomChanged(this.pinnedBottomSource);this.trimmedRowsChanged(this.trimmedRows);this.rowDefChanged(this.rowDefinitions);this.groupingChanged(this.grouping);this.scrollingService=new ef((function(t){e.dimensionProvider.setViewPortCoordinate({coordinate:t.coordinate,type:t.dimension});e.viewportscroll.emit(t)}));this.subscribers={click:this.handleOutsideClick.bind(this)};for(var r in this.subscribers){document.addEventListener(r,this.subscribers[r])}};e.prototype.disconnectedCallback=function(){Mt(this.internalPlugins,(function(e){return e.destroy()}));this.internalPlugins=[];for(var e in this.subscribers){document.removeEventListener(e,this.subscribers[e]);delete this.subscribers[e]}};e.prototype.render=function(){var e;var t=this;var r=this.dimensionProvider.stores["rgRow"].store.get("realSize");this.viewport=new Jc({columnProvider:this.columnProvider,dataProvider:this.dataProvider,dimensionProvider:this.dimensionProvider,viewportProvider:this.viewportProvider,uuid:this.uuid,scrollingService:this.scrollingService,orderService:this.orderService,selectionStoreConnector:this.selectionStoreConnector,resize:function(e){return t.aftercolumnresize.emit(e)}},r);var n=[];if(this.rowHeaders&&this.viewport.columns.length){var o=this.viewport.columns[0];n.push(i("revogr-row-headers",{height:r,resize:this.resize,dataPorts:o.dataPorts,headerProp:o.headerProp,uiid:o.prop[Hl],rowHeaderColumn:typeof this.rowHeaders==="object"?this.rowHeaders:undefined,onScrollViewport:function(e){var r=e.detail;return t.scrollingService.onScroll(r,"headerRow")},onElementToScroll:function(e){var r=e.detail;return t.scrollingService.registerElement(r,"headerRow")}}))}n.push(i(Qc,{columnFilter:!!this.filter,resize:this.resize,readonly:this.readonly,range:this.range,rowClass:this.rowClass,editors:this.editors,useClipboard:this.useClipboard,columns:this.viewport.columns,onEdit:function(e){var r=t.beforeeditstart.emit(e);if(!r.defaultPrevented){t.selectionStoreConnector.setEdit(e.isCancel?false:e.val)}},registerElement:function(e,r){return t.scrollingService.registerElement(e,r)},onScroll:function(e){return t.scrollingService.onScroll(e)}}));return i(s,Object.assign({},(e={},e[""+Hl]=this.uuid,e)),i(Mc,{viewports:this.viewportProvider.stores,dimensions:this.dimensionProvider.stores,orderRef:function(e){return t.orderService=e},registerElement:function(e,r){return t.scrollingService.registerElement(e,r)},nakedClick:function(){return t.viewport.clearEdit()},onScroll:function(e){return t.scrollingService.onScroll(e)}},n),this.extraElements)};Object.defineProperty(e.prototype,"element",{get:function(){return u(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{columns:["columnChanged"],theme:["themeChanged"],source:["dataChanged"],pinnedBottomSource:["dataBottomChanged"],pinnedTopSource:["dataTopChanged"],rowDefinitions:["rowDefChanged"],trimmedRows:["trimmedRowsChanged"],grouping:["groupingChanged"],stretch:["applyStretch"]}},enumerable:false,configurable:true});return e}());uf.style=sf;var lf=function(){function e(e,t){var r=this;this.dataStore=e;this.source=t;this.unsubscribe=[];this.hasGrouping=false;this.unsubscribe.push(t.onChange("source",(function(e){return r.checkGrouping(e)})));this.checkGrouping(t.get("source"))}Object.defineProperty(e.prototype,"columns",{get:function(){return ys(this.source)},enumerable:false,configurable:true});e.prototype.checkGrouping=function(e){for(var t=0,r=e;t<r.length;t++){var n=r[t];if(gc(n)){this.hasGrouping=true;return}this.hasGrouping=false}};e.prototype.isReadOnly=function(e,t){var r;var n=(r=this.columns[t])===null||r===void 0?void 0:r.readonly;if(typeof n==="function"){var i=this.rowDataModel(e,t);return n(i)}return n};e.doMerge=function(e,t){var r=Object.assign(Object.assign({},t),e);if(t.class){if(typeof t.class==="object"&&typeof r.class==="object"){r.class=Object.assign(Object.assign({},t.class),r.class)}else if(typeof t.class==="string"&&typeof r.class==="object"){r.class[t.class]=true}else if(typeof r.class==="string"){r.class+=" "+t.class}}if(t.style){r.style=Object.assign(Object.assign({},t.style),r.style)}return r};e.prototype.mergeProperties=function(t,r,n){var i;var o;var a=(i={},i[Ul]=true,i[Wl]=this.isReadOnly(t,r),i);var s=Object.assign(Object.assign({},n),{class:a});var u=(o=this.columns[r])===null||o===void 0?void 0:o.cellProperties;if(u){var l=this.rowDataModel(t,r);var c=u(l);if(!c){return s}return e.doMerge(s,c)}return s};e.prototype.customRenderer=function(e,t,r,n){var o;var a=(o=this.columns[t])===null||o===void 0?void 0:o.cellTemplate;if(a){return a(i,Object.assign(Object.assign({},r),{providers:n}))}return};e.prototype.getRowClass=function(e,t){var r=bs(this.dataStore,e)||{};return r[t]||""};e.prototype.getCellData=function(t,r){var n=this.rowDataModel(t,r);return e.getData(n.model[n.prop])};e.prototype.getSaveData=function(e,t,r){if(typeof r==="undefined"){r=this.getCellData(e,t)}var n=this.rowDataModel(e,t);return{prop:n.prop,rowIndex:e,val:r,model:n.model,type:this.dataStore.get("type")}};e.prototype.getCellEditor=function(e,t,r){var n;var i=(n=this.columns[t])===null||n===void 0?void 0:n.editor;if(!i){return undefined}if(typeof i==="string"){return r[i]}return i};e.prototype.rowDataModel=function(e,t){var r=this.columns[t];var n=r===null||r===void 0?void 0:r.prop;var i=bs(this.dataStore,e)||{};return{prop:n,model:i,data:this.dataStore.get("source"),column:r,rowIndex:e}};e.prototype.getRangeData=function(e){var t={};var r=e.oldProps.length;var n=this.copyRangeArray(e.oldRange,e.oldProps,this.dataStore);var i=n.length;for(var o=e.newRange.y,a=0;o<e.newRange.y1+1;o++,a++){var s=n[a%i];for(var u=e.newRange.x,l=0;u<e.newRange.x1+1;u++,l++){if(o>=e.oldRange.y&&o<=e.oldRange.y1&&u>=e.oldRange.x&&u<=e.oldRange.x1){continue}var c=this.columns[u].prop;var f=l%r;if(!this.isReadOnly(o,u)){if(!t[o]){t[o]={}}t[o][c]=s[f]}}}return t};e.prototype.getTransformedDataToApply=function(e,t){var r={};var n=t.length;var i=this.columns.length;var o=this.dataStore.get("items").length;var a=e.y;var s=0;for(var u=0;a<o&&u<n;a++,u++){var l=t[u%n];var c=(l===null||l===void 0?void 0:l.length)||0;var f=e.x;for(var v=0;f<i&&v<c;f++,v++){var h=this.columns[f].prop;var d=v%i;if(!this.isReadOnly(a,f)){if(!r[a]){r[a]={}}r[a][h]=l[d]}}s=Math.max(s,f-1)}var p=Wc(e,{y:a-1,x:s});return{changed:r,range:p}};e.prototype.applyRangeData=function(e){var t={};for(var r in e){var n=t[r]=bs(this.dataStore,parseInt(r,10));for(var i in e[r]){n[i]=e[r][i]}}Ls(this.dataStore,t)};e.prototype.getRangeStaticData=function(e,t){var r={};for(var n=e.y,i=0;n<e.y1+1;n++,i++){for(var o=e.x,a=0;o<e.x1+1;o++,a++){var s=this.columns[o].prop;if(!this.isReadOnly(n,o)){if(!r[n]){r[n]={}}r[n][s]=t}}}return r};e.prototype.copyRangeArray=function(e,t,r){var n=[];for(var i=e.y;i<e.y1+1;i++){var o=[];for(var a=0,s=t;a<s.length;a++){var u=s[a];var l=bs(r,i);o.push(l[u])}n.push(o)}return n};e.getData=function(e){if(typeof e==="undefined"||e===null){return""}return e.toString()};e.prototype.destroy=function(){this.unsubscribe.forEach((function(e){return e()}))};return e}();var cf=function(e){var t=e.model,r=e.onDragStart;var n=[];if(t.column.rowDrag&&ff(t.column.rowDrag,t)){n.push(i("span",{class:Xl,onMouseDown:function(e){return r(e)}},i("span",{class:$l})))}n.push(""+lf.getData(t.model[t.prop]));return n};function ff(e,t){if(typeof e==="function"){return e(t)}return!!e}var vf=10;var hf=function(e,t){var r=e.rowClass,n=e.size,o=e.start,a=e.style,s=e.depth;return i("div",{class:"rgRow "+(r||""),style:Object.assign(Object.assign({},a),{height:n+"px",transform:"translateY("+o+"px)",paddingLeft:s?vf*s+"px":undefined})},t)};function df(e,t,r){var n=new CustomEvent(lc,{detail:{model:t,virtualIndex:r},cancelable:true,bubbles:true});e.target.dispatchEvent(n)}var pf=function(e){var t;var r=e.model,n=e.itemIndex,o=e.hasExpand;var a=r[nc];var s=r[sc];var u=parseInt(r[rc],10)||0;if(!o){return i(hf,Object.assign({},e,{rowClass:"groupingRow",depth:u}))}return i(hf,Object.assign({},e,{rowClass:"groupingRow",depth:u}),i("button",{class:(t={},t[uc]=true,t),onClick:function(e){return df(e,r,n)}},i("svg",{"aria-hidden":"true",style:{transform:"rotate("+(!s?-90:0)+"deg)"},focusable:"false",viewBox:"0 0 448 512"},i("path",{fill:"currentColor",d:"M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"}))),a)};var gf=".revo-drag-icon{-webkit-mask-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 438 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M421.875,70.40625 C426.432292,70.40625 430.175781,68.9414062 433.105469,66.0117188 C436.035156,63.0820312 437.5,59.3385417 437.5,54.78125 L437.5,54.78125 L437.5,15.71875 C437.5,11.1614583 436.035156,7.41796875 433.105469,4.48828125 C430.175781,1.55859375 426.432292,0.09375 421.875,0.09375 L421.875,0.09375 L15.625,0.09375 C11.0677083,0.09375 7.32421875,1.55859375 4.39453125,4.48828125 C1.46484375,7.41796875 0,11.1614583 0,15.71875 L0,15.71875 L0,54.78125 C0,59.3385417 1.46484375,63.0820312 4.39453125,66.0117188 C7.32421875,68.9414062 11.0677083,70.40625 15.625,70.40625 L15.625,70.40625 L421.875,70.40625 Z M421.875,226.65625 C426.432292,226.65625 430.175781,225.191406 433.105469,222.261719 C436.035156,219.332031 437.5,215.588542 437.5,211.03125 L437.5,211.03125 L437.5,171.96875 C437.5,167.411458 436.035156,163.667969 433.105469,160.738281 C430.175781,157.808594 426.432292,156.34375 421.875,156.34375 L421.875,156.34375 L15.625,156.34375 C11.0677083,156.34375 7.32421875,157.808594 4.39453125,160.738281 C1.46484375,163.667969 0,167.411458 0,171.96875 L0,171.96875 L0,211.03125 C0,215.588542 1.46484375,219.332031 4.39453125,222.261719 C7.32421875,225.191406 11.0677083,226.65625 15.625,226.65625 L15.625,226.65625 L421.875,226.65625 Z M421.875,382.90625 C426.432292,382.90625 430.175781,381.441406 433.105469,378.511719 C436.035156,375.582031 437.5,371.838542 437.5,367.28125 L437.5,367.28125 L437.5,328.21875 C437.5,323.661458 436.035156,319.917969 433.105469,316.988281 C430.175781,314.058594 426.432292,312.59375 421.875,312.59375 L421.875,312.59375 L15.625,312.59375 C11.0677083,312.59375 7.32421875,314.058594 4.39453125,316.988281 C1.46484375,319.917969 0,323.661458 0,328.21875 L0,328.21875 L0,367.28125 C0,371.838542 1.46484375,375.582031 4.39453125,378.511719 C7.32421875,381.441406 11.0677083,382.90625 15.625,382.90625 L15.625,382.90625 L421.875,382.90625 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 438 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M421.875,70.40625 C426.432292,70.40625 430.175781,68.9414062 433.105469,66.0117188 C436.035156,63.0820312 437.5,59.3385417 437.5,54.78125 L437.5,54.78125 L437.5,15.71875 C437.5,11.1614583 436.035156,7.41796875 433.105469,4.48828125 C430.175781,1.55859375 426.432292,0.09375 421.875,0.09375 L421.875,0.09375 L15.625,0.09375 C11.0677083,0.09375 7.32421875,1.55859375 4.39453125,4.48828125 C1.46484375,7.41796875 0,11.1614583 0,15.71875 L0,15.71875 L0,54.78125 C0,59.3385417 1.46484375,63.0820312 4.39453125,66.0117188 C7.32421875,68.9414062 11.0677083,70.40625 15.625,70.40625 L15.625,70.40625 L421.875,70.40625 Z M421.875,226.65625 C426.432292,226.65625 430.175781,225.191406 433.105469,222.261719 C436.035156,219.332031 437.5,215.588542 437.5,211.03125 L437.5,211.03125 L437.5,171.96875 C437.5,167.411458 436.035156,163.667969 433.105469,160.738281 C430.175781,157.808594 426.432292,156.34375 421.875,156.34375 L421.875,156.34375 L15.625,156.34375 C11.0677083,156.34375 7.32421875,157.808594 4.39453125,160.738281 C1.46484375,163.667969 0,167.411458 0,171.96875 L0,171.96875 L0,211.03125 C0,215.588542 1.46484375,219.332031 4.39453125,222.261719 C7.32421875,225.191406 11.0677083,226.65625 15.625,226.65625 L15.625,226.65625 L421.875,226.65625 Z M421.875,382.90625 C426.432292,382.90625 430.175781,381.441406 433.105469,378.511719 C436.035156,375.582031 437.5,371.838542 437.5,367.28125 L437.5,367.28125 L437.5,328.21875 C437.5,323.661458 436.035156,319.917969 433.105469,316.988281 C430.175781,314.058594 426.432292,312.59375 421.875,312.59375 L421.875,312.59375 L15.625,312.59375 C11.0677083,312.59375 7.32421875,314.058594 4.39453125,316.988281 C1.46484375,319.917969 0,323.661458 0,328.21875 L0,328.21875 L0,367.28125 C0,371.838542 1.46484375,375.582031 4.39453125,378.511719 C7.32421875,381.441406 11.0677083,382.90625 15.625,382.90625 L15.625,382.90625 L421.875,382.90625 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E\");width:11px;height:7px;background-size:cover;background-repeat:no-repeat}.revo-alt-icon{-webkit-mask-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 384 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M192.4375,383 C197.424479,383 201.663411,381.254557 205.154297,377.763672 L205.154297,377.763672 L264.25,318.667969 C270.234375,312.683594 271.605794,306.075846 268.364258,298.844727 C265.122721,291.613607 259.51237,287.998047 251.533203,287.998047 L251.533203,287.998047 L213.382812,287.998047 L213.382812,212.445312 L288.935547,212.445312 L288.935547,250.595703 C288.935547,258.57487 292.551107,264.185221 299.782227,267.426758 C307.013346,270.668294 313.621094,269.296875 319.605469,263.3125 L319.605469,263.3125 L378.701172,204.216797 C382.192057,200.725911 383.9375,196.486979 383.9375,191.5 C383.9375,186.513021 382.192057,182.274089 378.701172,178.783203 L378.701172,178.783203 L319.605469,119.6875 C313.621094,114.201823 307.013346,112.955078 299.782227,115.947266 C292.551107,118.939453 288.935547,124.42513 288.935547,132.404297 L288.935547,132.404297 L288.935547,170.554688 L213.382812,170.554688 L213.382812,95.0019531 L251.533203,95.0019531 C259.51237,95.0019531 264.998047,91.3863932 267.990234,84.1552734 C270.982422,76.9241536 269.735677,70.3164062 264.25,64.3320312 L264.25,64.3320312 L205.154297,5.23632812 C201.663411,1.74544271 197.424479,0 192.4375,0 C187.450521,0 183.211589,1.74544271 179.720703,5.23632812 L179.720703,5.23632812 L120.625,64.3320312 C114.640625,70.3164062 113.269206,76.9241536 116.510742,84.1552734 C119.752279,91.3863932 125.36263,95.0019531 133.341797,95.0019531 L133.341797,95.0019531 L171.492188,95.0019531 L171.492188,170.554688 L95.9394531,170.554688 L95.9394531,132.404297 C95.9394531,124.42513 92.3238932,118.814779 85.0927734,115.573242 C77.8616536,112.331706 71.2539062,113.703125 65.2695312,119.6875 L65.2695312,119.6875 L6.17382812,178.783203 C2.68294271,182.274089 0.9375,186.513021 0.9375,191.5 C0.9375,196.486979 2.68294271,200.725911 6.17382812,204.216797 L6.17382812,204.216797 L65.2695312,263.3125 C71.2539062,268.798177 77.8616536,270.044922 85.0927734,267.052734 C92.3238932,264.060547 95.9394531,258.57487 95.9394531,250.595703 L95.9394531,250.595703 L95.9394531,212.445312 L171.492188,212.445312 L171.492188,287.998047 L133.341797,287.998047 C125.36263,287.998047 119.876953,291.613607 116.884766,298.844727 C113.892578,306.075846 115.139323,312.683594 120.625,318.667969 L120.625,318.667969 L179.720703,377.763672 C183.211589,381.254557 187.450521,383 192.4375,383 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 384 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M192.4375,383 C197.424479,383 201.663411,381.254557 205.154297,377.763672 L205.154297,377.763672 L264.25,318.667969 C270.234375,312.683594 271.605794,306.075846 268.364258,298.844727 C265.122721,291.613607 259.51237,287.998047 251.533203,287.998047 L251.533203,287.998047 L213.382812,287.998047 L213.382812,212.445312 L288.935547,212.445312 L288.935547,250.595703 C288.935547,258.57487 292.551107,264.185221 299.782227,267.426758 C307.013346,270.668294 313.621094,269.296875 319.605469,263.3125 L319.605469,263.3125 L378.701172,204.216797 C382.192057,200.725911 383.9375,196.486979 383.9375,191.5 C383.9375,186.513021 382.192057,182.274089 378.701172,178.783203 L378.701172,178.783203 L319.605469,119.6875 C313.621094,114.201823 307.013346,112.955078 299.782227,115.947266 C292.551107,118.939453 288.935547,124.42513 288.935547,132.404297 L288.935547,132.404297 L288.935547,170.554688 L213.382812,170.554688 L213.382812,95.0019531 L251.533203,95.0019531 C259.51237,95.0019531 264.998047,91.3863932 267.990234,84.1552734 C270.982422,76.9241536 269.735677,70.3164062 264.25,64.3320312 L264.25,64.3320312 L205.154297,5.23632812 C201.663411,1.74544271 197.424479,0 192.4375,0 C187.450521,0 183.211589,1.74544271 179.720703,5.23632812 L179.720703,5.23632812 L120.625,64.3320312 C114.640625,70.3164062 113.269206,76.9241536 116.510742,84.1552734 C119.752279,91.3863932 125.36263,95.0019531 133.341797,95.0019531 L133.341797,95.0019531 L171.492188,95.0019531 L171.492188,170.554688 L95.9394531,170.554688 L95.9394531,132.404297 C95.9394531,124.42513 92.3238932,118.814779 85.0927734,115.573242 C77.8616536,112.331706 71.2539062,113.703125 65.2695312,119.6875 L65.2695312,119.6875 L6.17382812,178.783203 C2.68294271,182.274089 0.9375,186.513021 0.9375,191.5 C0.9375,196.486979 2.68294271,200.725911 6.17382812,204.216797 L6.17382812,204.216797 L65.2695312,263.3125 C71.2539062,268.798177 77.8616536,270.044922 85.0927734,267.052734 C92.3238932,264.060547 95.9394531,258.57487 95.9394531,250.595703 L95.9394531,250.595703 L95.9394531,212.445312 L171.492188,212.445312 L171.492188,287.998047 L133.341797,287.998047 C125.36263,287.998047 119.876953,291.613607 116.884766,298.844727 C113.892578,306.075846 115.139323,312.683594 120.625,318.667969 L120.625,318.667969 L179.720703,377.763672 C183.211589,381.254557 187.450521,383 192.4375,383 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E\");width:11px;height:11px;background-size:cover;background-repeat:no-repeat}.arrow-down{position:absolute;right:5px;top:0}.arrow-down svg{width:8px;margin-top:5px;margin-left:5px;opacity:0.4}.cell-value-wrapper{margin-right:10px;overflow:hidden;text-overflow:ellipsis}.revo-button{position:relative;overflow:hidden;color:#fff;background-color:#6200ee;height:34px;line-height:34px;padding:0 15px;outline:0;border:0;border-radius:7px;box-sizing:border-box;cursor:pointer}.revo-button.green{background-color:#2ee072;border:1px solid #20d565}.revo-button.light{border:2px solid #cedefa;line-height:32px;background:none;color:#4876ca;box-shadow:none}revogr-data{display:block;width:100%;position:relative}revogr-data .rgRow{position:absolute;width:100%;left:0}revogr-data .rgRow.groupingRow{font-weight:600}revogr-data .rgRow.groupingRow .group-expand{width:25px;height:100%;max-height:25px;margin-right:2px;background-color:transparent;border-color:transparent}revogr-data .rgRow.groupingRow .group-expand svg{width:7px}revogr-data .revo-draggable{border:none;height:32px;display:inline-flex;outline:0;padding:0;font-size:0.8125rem;box-sizing:border-box;align-items:center;white-space:nowrap;vertical-align:middle;justify-content:center;text-decoration:none;width:24px;height:100%;cursor:pointer}revogr-data .revo-draggable>.revo-drag-icon{vertical-align:middle;display:inline-block;pointer-events:none;transition:background-color 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms}revogr-data .rgCell{top:0;position:absolute;box-sizing:border-box;height:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}revogr-data .rgCell.align-center{text-align:center}revogr-data .rgCell.align-left{text-align:left}revogr-data .rgCell.align-right{text-align:right}";var mf=e("revogr_data",function(){function e(e){o(this,e);this.dragStartCell=a(this,"dragStartCell",7)}e.prototype.onStoreChange=function(){var e;(e=this.columnService)===null||e===void 0?void 0:e.destroy();this.columnService=new lf(this.dataStore,this.colData)};e.prototype.connectedCallback=function(){this.onStoreChange()};e.prototype.disconnectedCallback=function(){var e;(e=this.columnService)===null||e===void 0?void 0:e.destroy()};e.prototype.render=function(){var e;var t=this.viewportRow.get("items");var r=this.viewportCol.get("items");if(!this.columnService.columns.length||!t.length||!r.length){return""}var n=(e=this.rowSelectionStore)===null||e===void 0?void 0:e.get("range");var o=[];var a=this.dataStore.get("groupingDepth");for(var s=0,u=t;s<u.length;s++){var l=u[s];var c=bs(this.dataStore,l.itemIndex);if(pc(c)){o.push(i(pf,Object.assign({},l,{model:c,hasExpand:this.columnService.hasGrouping})));continue}var f=[];var v=this.rowClass?this.columnService.getRowClass(l.itemIndex,this.rowClass):"";if(n&&l.itemIndex>=n.y&&l.itemIndex<=n.y1){v+=" focused-rgRow"}for(var h=0,d=r;h<d.length;h++){var p=d[h];f.push(this.getCellRenderer(l,p,this.columnService.hasGrouping?a:0))}o.push(i(hf,{rowClass:v,size:l.size,start:l.start},f))}return o};e.prototype.getCellRenderer=function(e,t,r){var n;var o=this;if(r===void 0){r=0}var a=this.columnService.rowDataModel(e.itemIndex,t.itemIndex);var s=(n={},n[Il]=t.itemIndex,n[Bl]=e.itemIndex,n.style={width:t.size+"px",transform:"translateX("+t.start+"px)"},n);if(r&&!t.itemIndex){s.style.paddingLeft=vf*r+"px"}var u=this.columnService.mergeProperties(e.itemIndex,t.itemIndex,s);var l=this.columnService.customRenderer(e.itemIndex,t.itemIndex,a,this.providers);if(typeof l!=="undefined"){return i("div",Object.assign({},u),l)}if(!a.column){console.error("Investigate column problem");return}return i("div",Object.assign({},u),i(cf,{model:a,onDragStart:function(e){return o.dragStartCell.emit(e)}}))};Object.defineProperty(e.prototype,"providers",{get:function(){return{viewport:this.viewportCol,dimension:this.dimensionRow,selection:this.rowSelectionStore}},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"element",{get:function(){return u(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{dataStore:["onStoreChange"],colData:["onStoreChange"]}},enumerable:false,configurable:true});return e}());mf.style=gf;var Cf;(function(e){e[e["MOUSE_LEFT"]=1]="MOUSE_LEFT";e[e["MOUSE_RIGHT"]=3]="MOUSE_RIGHT";e[e["MOUSE_MIDDLE"]=2]="MOUSE_MIDDLE";e[e["BACKSPACE"]=8]="BACKSPACE";e[e["COMMA"]=188]="COMMA";e[e["INSERT"]=45]="INSERT";e[e["DELETE"]=46]="DELETE";e[e["END"]=35]="END";e[e["ENTER"]=13]="ENTER";e[e["ESCAPE"]=27]="ESCAPE";e[e["CONTROL"]=17]="CONTROL";e[e["COMMAND_LEFT"]=91]="COMMAND_LEFT";e[e["COMMAND_RIGHT"]=93]="COMMAND_RIGHT";e[e["COMMAND_FIREFOX"]=224]="COMMAND_FIREFOX";e[e["ALT"]=18]="ALT";e[e["HOME"]=36]="HOME";e[e["PAGE_DOWN"]=34]="PAGE_DOWN";e[e["PAGE_UP"]=33]="PAGE_UP";e[e["PERIOD"]=190]="PERIOD";e[e["SPACE"]=32]="SPACE";e[e["SHIFT"]=16]="SHIFT";e[e["CAPS_LOCK"]=20]="CAPS_LOCK";e[e["TAB"]=9]="TAB";e[e["ARROW_RIGHT"]=39]="ARROW_RIGHT";e[e["ARROW_LEFT"]=37]="ARROW_LEFT";e[e["ARROW_UP"]=38]="ARROW_UP";e[e["ARROW_DOWN"]=40]="ARROW_DOWN";e[e["F1"]=112]="F1";e[e["F2"]=113]="F2";e[e["F3"]=114]="F3";e[e["F4"]=115]="F4";e[e["F5"]=116]="F5";e[e["F6"]=117]="F6";e[e["F7"]=118]="F7";e[e["F8"]=119]="F8";e[e["F9"]=120]="F9";e[e["F10"]=121]="F10";e[e["F11"]=122]="F11";e[e["F12"]=123]="F12";e[e["A"]=65]="A";e[e["C"]=67]="C";e[e["D"]=68]="D";e[e["F"]=70]="F";e[e["L"]=76]="L";e[e["O"]=79]="O";e[e["P"]=80]="P";e[e["S"]=83]="S";e[e["V"]=86]="V";e[e["X"]=88]="X"})(Cf||(Cf={}));var wf;(function(e){e["ENTER"]="Enter";e["ENTER_NUM"]="NumpadEnter";e["V"]="KeyV";e["C"]="KeyC";e["ESCAPE"]="Escape";e["TAB"]="Tab";e["BACKSPACE"]="Backspace";e["DELETE"]="Delete";e["ARROW_RIGHT"]="ArrowRight";e["ARROW_LEFT"]="ArrowLeft";e["ARROW_UP"]="ArrowUp";e["ARROW_DOWN"]="ArrowDown";e["SHIFT"]="Shift"})(wf||(wf={}));var yf=Cf;var bf;(function(e){e["mac"]="Mac"})(bf||(bf={}));var Lf=bf;function xf(e){return e!==e}var _f=xf;function Sf(e,t,r){var n=r-1,i=e.length;while(++n<i){if(e[n]===t){return n}}return-1}var Ef=Sf;function zf(e,t,r){return t===t?Ef(e,t,r):_a(e,_f,r)}var kf=zf;function Rf(e,t){return Do(t,(function(t){return e[t]}))}var Of=Rf;function jf(e){return e==null?[]:Of(e,_t(e))}var Pf=jf;var Ff=Math.max;function Tf(e,t,r,n){e=Lt(e)?e:Pf(e);r=r&&!n?Na(r):0;var i=e.length;if(r<0){r=Ff(i+r,0)}return Hu(e)?r<=i&&e.indexOf(t,r)>-1:!!i&&kf(e,t,r)>-1}var Af=Tf;function Df(e){return e===32||e>=48&&e<=57||e>=96&&e<=111||e>=186&&e<=192||e>=219&&e<=222||e>=226||e>=65&&e<=90}function Mf(e,t){if(t.includes(Lf.mac)){return Af([yf.COMMAND_LEFT,yf.COMMAND_RIGHT,yf.COMMAND_FIREFOX],e)}return yf.CONTROL===e}function If(e){return wf.BACKSPACE===e||wf.DELETE===e}function Bf(e){return wf.TAB===e}function Hf(e){return e===wf.ENTER||e===wf.ENTER_NUM}var Wf=function(){function e(e,t){this.column=e;this.saveCallback=t;this.element=null;this.editCell=null}e.prototype.componentDidRender=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:if(!this.editInput)return[3,2];return[4,Js()];case 1:t.sent();(e=this.editInput)===null||e===void 0?void 0:e.focus();t.label=2;case 2:return[2]}}))}))};e.prototype.onKeyDown=function(e){var t=Hf(e.code);var r=Bf(e.code);if((r||t)&&e.target&&this.saveCallback){this.editInput.blur();this.saveCallback(e.target.value,r)}};e.prototype.render=function(){var e=this;var t;return i("input",{type:"text",value:((t=this.editCell)===null||t===void 0?void 0:t.val)||"",ref:function(t){e.editInput=t},onKeyDown:function(t){return e.onKeyDown(t)}})};return e}();var Uf=".revo-drag-icon{-webkit-mask-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 438 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M421.875,70.40625 C426.432292,70.40625 430.175781,68.9414062 433.105469,66.0117188 C436.035156,63.0820312 437.5,59.3385417 437.5,54.78125 L437.5,54.78125 L437.5,15.71875 C437.5,11.1614583 436.035156,7.41796875 433.105469,4.48828125 C430.175781,1.55859375 426.432292,0.09375 421.875,0.09375 L421.875,0.09375 L15.625,0.09375 C11.0677083,0.09375 7.32421875,1.55859375 4.39453125,4.48828125 C1.46484375,7.41796875 0,11.1614583 0,15.71875 L0,15.71875 L0,54.78125 C0,59.3385417 1.46484375,63.0820312 4.39453125,66.0117188 C7.32421875,68.9414062 11.0677083,70.40625 15.625,70.40625 L15.625,70.40625 L421.875,70.40625 Z M421.875,226.65625 C426.432292,226.65625 430.175781,225.191406 433.105469,222.261719 C436.035156,219.332031 437.5,215.588542 437.5,211.03125 L437.5,211.03125 L437.5,171.96875 C437.5,167.411458 436.035156,163.667969 433.105469,160.738281 C430.175781,157.808594 426.432292,156.34375 421.875,156.34375 L421.875,156.34375 L15.625,156.34375 C11.0677083,156.34375 7.32421875,157.808594 4.39453125,160.738281 C1.46484375,163.667969 0,167.411458 0,171.96875 L0,171.96875 L0,211.03125 C0,215.588542 1.46484375,219.332031 4.39453125,222.261719 C7.32421875,225.191406 11.0677083,226.65625 15.625,226.65625 L15.625,226.65625 L421.875,226.65625 Z M421.875,382.90625 C426.432292,382.90625 430.175781,381.441406 433.105469,378.511719 C436.035156,375.582031 437.5,371.838542 437.5,367.28125 L437.5,367.28125 L437.5,328.21875 C437.5,323.661458 436.035156,319.917969 433.105469,316.988281 C430.175781,314.058594 426.432292,312.59375 421.875,312.59375 L421.875,312.59375 L15.625,312.59375 C11.0677083,312.59375 7.32421875,314.058594 4.39453125,316.988281 C1.46484375,319.917969 0,323.661458 0,328.21875 L0,328.21875 L0,367.28125 C0,371.838542 1.46484375,375.582031 4.39453125,378.511719 C7.32421875,381.441406 11.0677083,382.90625 15.625,382.90625 L15.625,382.90625 L421.875,382.90625 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 438 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M421.875,70.40625 C426.432292,70.40625 430.175781,68.9414062 433.105469,66.0117188 C436.035156,63.0820312 437.5,59.3385417 437.5,54.78125 L437.5,54.78125 L437.5,15.71875 C437.5,11.1614583 436.035156,7.41796875 433.105469,4.48828125 C430.175781,1.55859375 426.432292,0.09375 421.875,0.09375 L421.875,0.09375 L15.625,0.09375 C11.0677083,0.09375 7.32421875,1.55859375 4.39453125,4.48828125 C1.46484375,7.41796875 0,11.1614583 0,15.71875 L0,15.71875 L0,54.78125 C0,59.3385417 1.46484375,63.0820312 4.39453125,66.0117188 C7.32421875,68.9414062 11.0677083,70.40625 15.625,70.40625 L15.625,70.40625 L421.875,70.40625 Z M421.875,226.65625 C426.432292,226.65625 430.175781,225.191406 433.105469,222.261719 C436.035156,219.332031 437.5,215.588542 437.5,211.03125 L437.5,211.03125 L437.5,171.96875 C437.5,167.411458 436.035156,163.667969 433.105469,160.738281 C430.175781,157.808594 426.432292,156.34375 421.875,156.34375 L421.875,156.34375 L15.625,156.34375 C11.0677083,156.34375 7.32421875,157.808594 4.39453125,160.738281 C1.46484375,163.667969 0,167.411458 0,171.96875 L0,171.96875 L0,211.03125 C0,215.588542 1.46484375,219.332031 4.39453125,222.261719 C7.32421875,225.191406 11.0677083,226.65625 15.625,226.65625 L15.625,226.65625 L421.875,226.65625 Z M421.875,382.90625 C426.432292,382.90625 430.175781,381.441406 433.105469,378.511719 C436.035156,375.582031 437.5,371.838542 437.5,367.28125 L437.5,367.28125 L437.5,328.21875 C437.5,323.661458 436.035156,319.917969 433.105469,316.988281 C430.175781,314.058594 426.432292,312.59375 421.875,312.59375 L421.875,312.59375 L15.625,312.59375 C11.0677083,312.59375 7.32421875,314.058594 4.39453125,316.988281 C1.46484375,319.917969 0,323.661458 0,328.21875 L0,328.21875 L0,367.28125 C0,371.838542 1.46484375,375.582031 4.39453125,378.511719 C7.32421875,381.441406 11.0677083,382.90625 15.625,382.90625 L15.625,382.90625 L421.875,382.90625 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E\");width:11px;height:7px;background-size:cover;background-repeat:no-repeat}.revo-alt-icon{-webkit-mask-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 384 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M192.4375,383 C197.424479,383 201.663411,381.254557 205.154297,377.763672 L205.154297,377.763672 L264.25,318.667969 C270.234375,312.683594 271.605794,306.075846 268.364258,298.844727 C265.122721,291.613607 259.51237,287.998047 251.533203,287.998047 L251.533203,287.998047 L213.382812,287.998047 L213.382812,212.445312 L288.935547,212.445312 L288.935547,250.595703 C288.935547,258.57487 292.551107,264.185221 299.782227,267.426758 C307.013346,270.668294 313.621094,269.296875 319.605469,263.3125 L319.605469,263.3125 L378.701172,204.216797 C382.192057,200.725911 383.9375,196.486979 383.9375,191.5 C383.9375,186.513021 382.192057,182.274089 378.701172,178.783203 L378.701172,178.783203 L319.605469,119.6875 C313.621094,114.201823 307.013346,112.955078 299.782227,115.947266 C292.551107,118.939453 288.935547,124.42513 288.935547,132.404297 L288.935547,132.404297 L288.935547,170.554688 L213.382812,170.554688 L213.382812,95.0019531 L251.533203,95.0019531 C259.51237,95.0019531 264.998047,91.3863932 267.990234,84.1552734 C270.982422,76.9241536 269.735677,70.3164062 264.25,64.3320312 L264.25,64.3320312 L205.154297,5.23632812 C201.663411,1.74544271 197.424479,0 192.4375,0 C187.450521,0 183.211589,1.74544271 179.720703,5.23632812 L179.720703,5.23632812 L120.625,64.3320312 C114.640625,70.3164062 113.269206,76.9241536 116.510742,84.1552734 C119.752279,91.3863932 125.36263,95.0019531 133.341797,95.0019531 L133.341797,95.0019531 L171.492188,95.0019531 L171.492188,170.554688 L95.9394531,170.554688 L95.9394531,132.404297 C95.9394531,124.42513 92.3238932,118.814779 85.0927734,115.573242 C77.8616536,112.331706 71.2539062,113.703125 65.2695312,119.6875 L65.2695312,119.6875 L6.17382812,178.783203 C2.68294271,182.274089 0.9375,186.513021 0.9375,191.5 C0.9375,196.486979 2.68294271,200.725911 6.17382812,204.216797 L6.17382812,204.216797 L65.2695312,263.3125 C71.2539062,268.798177 77.8616536,270.044922 85.0927734,267.052734 C92.3238932,264.060547 95.9394531,258.57487 95.9394531,250.595703 L95.9394531,250.595703 L95.9394531,212.445312 L171.492188,212.445312 L171.492188,287.998047 L133.341797,287.998047 C125.36263,287.998047 119.876953,291.613607 116.884766,298.844727 C113.892578,306.075846 115.139323,312.683594 120.625,318.667969 L120.625,318.667969 L179.720703,377.763672 C183.211589,381.254557 187.450521,383 192.4375,383 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 384 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M192.4375,383 C197.424479,383 201.663411,381.254557 205.154297,377.763672 L205.154297,377.763672 L264.25,318.667969 C270.234375,312.683594 271.605794,306.075846 268.364258,298.844727 C265.122721,291.613607 259.51237,287.998047 251.533203,287.998047 L251.533203,287.998047 L213.382812,287.998047 L213.382812,212.445312 L288.935547,212.445312 L288.935547,250.595703 C288.935547,258.57487 292.551107,264.185221 299.782227,267.426758 C307.013346,270.668294 313.621094,269.296875 319.605469,263.3125 L319.605469,263.3125 L378.701172,204.216797 C382.192057,200.725911 383.9375,196.486979 383.9375,191.5 C383.9375,186.513021 382.192057,182.274089 378.701172,178.783203 L378.701172,178.783203 L319.605469,119.6875 C313.621094,114.201823 307.013346,112.955078 299.782227,115.947266 C292.551107,118.939453 288.935547,124.42513 288.935547,132.404297 L288.935547,132.404297 L288.935547,170.554688 L213.382812,170.554688 L213.382812,95.0019531 L251.533203,95.0019531 C259.51237,95.0019531 264.998047,91.3863932 267.990234,84.1552734 C270.982422,76.9241536 269.735677,70.3164062 264.25,64.3320312 L264.25,64.3320312 L205.154297,5.23632812 C201.663411,1.74544271 197.424479,0 192.4375,0 C187.450521,0 183.211589,1.74544271 179.720703,5.23632812 L179.720703,5.23632812 L120.625,64.3320312 C114.640625,70.3164062 113.269206,76.9241536 116.510742,84.1552734 C119.752279,91.3863932 125.36263,95.0019531 133.341797,95.0019531 L133.341797,95.0019531 L171.492188,95.0019531 L171.492188,170.554688 L95.9394531,170.554688 L95.9394531,132.404297 C95.9394531,124.42513 92.3238932,118.814779 85.0927734,115.573242 C77.8616536,112.331706 71.2539062,113.703125 65.2695312,119.6875 L65.2695312,119.6875 L6.17382812,178.783203 C2.68294271,182.274089 0.9375,186.513021 0.9375,191.5 C0.9375,196.486979 2.68294271,200.725911 6.17382812,204.216797 L6.17382812,204.216797 L65.2695312,263.3125 C71.2539062,268.798177 77.8616536,270.044922 85.0927734,267.052734 C92.3238932,264.060547 95.9394531,258.57487 95.9394531,250.595703 L95.9394531,250.595703 L95.9394531,212.445312 L171.492188,212.445312 L171.492188,287.998047 L133.341797,287.998047 C125.36263,287.998047 119.876953,291.613607 116.884766,298.844727 C113.892578,306.075846 115.139323,312.683594 120.625,318.667969 L120.625,318.667969 L179.720703,377.763672 C183.211589,381.254557 187.450521,383 192.4375,383 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E\");width:11px;height:11px;background-size:cover;background-repeat:no-repeat}.arrow-down{position:absolute;right:5px;top:0}.arrow-down svg{width:8px;margin-top:5px;margin-left:5px;opacity:0.4}.cell-value-wrapper{margin-right:10px;overflow:hidden;text-overflow:ellipsis}.revo-button{position:relative;overflow:hidden;color:#fff;background-color:#6200ee;height:34px;line-height:34px;padding:0 15px;outline:0;border:0;border-radius:7px;box-sizing:border-box;cursor:pointer}.revo-button.green{background-color:#2ee072;border:1px solid #20d565}.revo-button.light{border:2px solid #cedefa;line-height:32px;background:none;color:#4876ca;box-shadow:none}revogr-edit{display:block;position:absolute;background-color:#fff}revogr-edit input{height:100%;width:100%;box-sizing:border-box}revogr-edit revo-dropdown{height:100%}revogr-edit revo-dropdown.shrink fieldset legend>span{display:none}";var Nf=e("revogr_edit",function(){function e(e){o(this,e);this.cellEdit=a(this,"cellEdit",3);this.closeEdit=a(this,"closeEdit",3);this.currentEditor=null}e.prototype.onSave=function(e,t){if(this.editCell){this.cellEdit.emit({rgCol:this.editCell.x,rgRow:this.editCell.y,val:e,preventFocus:t})}};e.prototype.componentWillRender=function(){var e=this;if(this.currentEditor){return}if(this.editor){this.currentEditor=new this.editor(this.column,(function(t,r){return e.onSave(t,r)}),(function(t){return e.closeEdit.emit(t)}));return}this.currentEditor=new Wf(this.column,(function(t,r){return e.onSave(t,r)}))};e.prototype.componentDidRender=function(){if(!this.currentEditor){return}this.currentEditor.element=this.element.firstElementChild;this.currentEditor.componentDidRender&&this.currentEditor.componentDidRender()};e.prototype.disconnectedCallback=function(){if(!this.currentEditor){return}this.currentEditor.disconnectedCallback&&this.currentEditor.disconnectedCallback();if(this.currentEditor.element){this.currentEditor.element=null}this.currentEditor=null};e.prototype.render=function(){if(this.currentEditor){this.currentEditor.editCell=this.editCell;return i(s,{class:Ql},this.currentEditor.render(i))}return""};Object.defineProperty(e.prototype,"element",{get:function(){return u(this)},enumerable:false,configurable:true});return e}());Nf.style=Uf;function Vf(e,t){var r=e.x,n=e.y;var i=t.el,o=t.rows,a=t.cols;var s=i.getBoundingClientRect(),u=s.top,l=s.left,c=s.height,f=s.width;var v=n-u;if(v>=c){v=c-1}var h=r-l;if(h>=f){h=f-1}var d=eu(o,v);var p=eu(a,h);if(p.itemIndex<0){p.itemIndex=0}if(d.itemIndex<0){d.itemIndex=0}return{x:p.itemIndex,y:d.itemIndex}}function Zf(e,t,r,n){if(n===void 0){n=false}var i=function(i){var o={x:e.x,y:e.y};var a=n?{x:e.x1,y:e.y1}:o;var s=a[i]>t[i]?a:o;s[i]+=r[i];return{start:o,end:a}};if(r.x){return i("x")}if(r.y){return i("y")}return null}function Gf(e,t){var r=e.x,n=e.y;var i=t.lastCell;return r>=i.x||n>=i.y}function $f(e){var t=e.x,r=e.y;return t<0||r<0}function Xf(e,t){var r;var n=["x","y"];for(var i=0,o=n;i<o.length;i++){var a=o[i];if(e[a]!==t[a]){return r={},r[a]=1,r}}return null}function qf(e,t){var r={};var n=["x","y"];for(var i=0,o=n;i<o.length;i++){var a=o[i];r[a]=Math.abs(e[a]-t[a])}if(r.x>r.y){return{x:1}}if(r.y>r.x){return{y:1}}return null}function Yf(e){return{left:e.left+"px",top:e.top+"px",width:e.width+"px",height:e.height+"px"}}function Kf(e,t,r){var n=e.x,i=e.y,o=e.x1,a=e.y1;var s=tu(t,i).start;var u=tu(r,n).start;var l=tu(t,a).end;var c=tu(r,o).end;return{left:u,right:c,top:s,bottom:l,width:c-u,height:l-s}}function Jf(e,t,r){var n=Kf(e,t,r);return Yf(n)}var Qf=".revo-drag-icon{-webkit-mask-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 438 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M421.875,70.40625 C426.432292,70.40625 430.175781,68.9414062 433.105469,66.0117188 C436.035156,63.0820312 437.5,59.3385417 437.5,54.78125 L437.5,54.78125 L437.5,15.71875 C437.5,11.1614583 436.035156,7.41796875 433.105469,4.48828125 C430.175781,1.55859375 426.432292,0.09375 421.875,0.09375 L421.875,0.09375 L15.625,0.09375 C11.0677083,0.09375 7.32421875,1.55859375 4.39453125,4.48828125 C1.46484375,7.41796875 0,11.1614583 0,15.71875 L0,15.71875 L0,54.78125 C0,59.3385417 1.46484375,63.0820312 4.39453125,66.0117188 C7.32421875,68.9414062 11.0677083,70.40625 15.625,70.40625 L15.625,70.40625 L421.875,70.40625 Z M421.875,226.65625 C426.432292,226.65625 430.175781,225.191406 433.105469,222.261719 C436.035156,219.332031 437.5,215.588542 437.5,211.03125 L437.5,211.03125 L437.5,171.96875 C437.5,167.411458 436.035156,163.667969 433.105469,160.738281 C430.175781,157.808594 426.432292,156.34375 421.875,156.34375 L421.875,156.34375 L15.625,156.34375 C11.0677083,156.34375 7.32421875,157.808594 4.39453125,160.738281 C1.46484375,163.667969 0,167.411458 0,171.96875 L0,171.96875 L0,211.03125 C0,215.588542 1.46484375,219.332031 4.39453125,222.261719 C7.32421875,225.191406 11.0677083,226.65625 15.625,226.65625 L15.625,226.65625 L421.875,226.65625 Z M421.875,382.90625 C426.432292,382.90625 430.175781,381.441406 433.105469,378.511719 C436.035156,375.582031 437.5,371.838542 437.5,367.28125 L437.5,367.28125 L437.5,328.21875 C437.5,323.661458 436.035156,319.917969 433.105469,316.988281 C430.175781,314.058594 426.432292,312.59375 421.875,312.59375 L421.875,312.59375 L15.625,312.59375 C11.0677083,312.59375 7.32421875,314.058594 4.39453125,316.988281 C1.46484375,319.917969 0,323.661458 0,328.21875 L0,328.21875 L0,367.28125 C0,371.838542 1.46484375,375.582031 4.39453125,378.511719 C7.32421875,381.441406 11.0677083,382.90625 15.625,382.90625 L15.625,382.90625 L421.875,382.90625 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 438 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M421.875,70.40625 C426.432292,70.40625 430.175781,68.9414062 433.105469,66.0117188 C436.035156,63.0820312 437.5,59.3385417 437.5,54.78125 L437.5,54.78125 L437.5,15.71875 C437.5,11.1614583 436.035156,7.41796875 433.105469,4.48828125 C430.175781,1.55859375 426.432292,0.09375 421.875,0.09375 L421.875,0.09375 L15.625,0.09375 C11.0677083,0.09375 7.32421875,1.55859375 4.39453125,4.48828125 C1.46484375,7.41796875 0,11.1614583 0,15.71875 L0,15.71875 L0,54.78125 C0,59.3385417 1.46484375,63.0820312 4.39453125,66.0117188 C7.32421875,68.9414062 11.0677083,70.40625 15.625,70.40625 L15.625,70.40625 L421.875,70.40625 Z M421.875,226.65625 C426.432292,226.65625 430.175781,225.191406 433.105469,222.261719 C436.035156,219.332031 437.5,215.588542 437.5,211.03125 L437.5,211.03125 L437.5,171.96875 C437.5,167.411458 436.035156,163.667969 433.105469,160.738281 C430.175781,157.808594 426.432292,156.34375 421.875,156.34375 L421.875,156.34375 L15.625,156.34375 C11.0677083,156.34375 7.32421875,157.808594 4.39453125,160.738281 C1.46484375,163.667969 0,167.411458 0,171.96875 L0,171.96875 L0,211.03125 C0,215.588542 1.46484375,219.332031 4.39453125,222.261719 C7.32421875,225.191406 11.0677083,226.65625 15.625,226.65625 L15.625,226.65625 L421.875,226.65625 Z M421.875,382.90625 C426.432292,382.90625 430.175781,381.441406 433.105469,378.511719 C436.035156,375.582031 437.5,371.838542 437.5,367.28125 L437.5,367.28125 L437.5,328.21875 C437.5,323.661458 436.035156,319.917969 433.105469,316.988281 C430.175781,314.058594 426.432292,312.59375 421.875,312.59375 L421.875,312.59375 L15.625,312.59375 C11.0677083,312.59375 7.32421875,314.058594 4.39453125,316.988281 C1.46484375,319.917969 0,323.661458 0,328.21875 L0,328.21875 L0,367.28125 C0,371.838542 1.46484375,375.582031 4.39453125,378.511719 C7.32421875,381.441406 11.0677083,382.90625 15.625,382.90625 L15.625,382.90625 L421.875,382.90625 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E\");width:11px;height:7px;background-size:cover;background-repeat:no-repeat}.revo-alt-icon{-webkit-mask-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 384 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M192.4375,383 C197.424479,383 201.663411,381.254557 205.154297,377.763672 L205.154297,377.763672 L264.25,318.667969 C270.234375,312.683594 271.605794,306.075846 268.364258,298.844727 C265.122721,291.613607 259.51237,287.998047 251.533203,287.998047 L251.533203,287.998047 L213.382812,287.998047 L213.382812,212.445312 L288.935547,212.445312 L288.935547,250.595703 C288.935547,258.57487 292.551107,264.185221 299.782227,267.426758 C307.013346,270.668294 313.621094,269.296875 319.605469,263.3125 L319.605469,263.3125 L378.701172,204.216797 C382.192057,200.725911 383.9375,196.486979 383.9375,191.5 C383.9375,186.513021 382.192057,182.274089 378.701172,178.783203 L378.701172,178.783203 L319.605469,119.6875 C313.621094,114.201823 307.013346,112.955078 299.782227,115.947266 C292.551107,118.939453 288.935547,124.42513 288.935547,132.404297 L288.935547,132.404297 L288.935547,170.554688 L213.382812,170.554688 L213.382812,95.0019531 L251.533203,95.0019531 C259.51237,95.0019531 264.998047,91.3863932 267.990234,84.1552734 C270.982422,76.9241536 269.735677,70.3164062 264.25,64.3320312 L264.25,64.3320312 L205.154297,5.23632812 C201.663411,1.74544271 197.424479,0 192.4375,0 C187.450521,0 183.211589,1.74544271 179.720703,5.23632812 L179.720703,5.23632812 L120.625,64.3320312 C114.640625,70.3164062 113.269206,76.9241536 116.510742,84.1552734 C119.752279,91.3863932 125.36263,95.0019531 133.341797,95.0019531 L133.341797,95.0019531 L171.492188,95.0019531 L171.492188,170.554688 L95.9394531,170.554688 L95.9394531,132.404297 C95.9394531,124.42513 92.3238932,118.814779 85.0927734,115.573242 C77.8616536,112.331706 71.2539062,113.703125 65.2695312,119.6875 L65.2695312,119.6875 L6.17382812,178.783203 C2.68294271,182.274089 0.9375,186.513021 0.9375,191.5 C0.9375,196.486979 2.68294271,200.725911 6.17382812,204.216797 L6.17382812,204.216797 L65.2695312,263.3125 C71.2539062,268.798177 77.8616536,270.044922 85.0927734,267.052734 C92.3238932,264.060547 95.9394531,258.57487 95.9394531,250.595703 L95.9394531,250.595703 L95.9394531,212.445312 L171.492188,212.445312 L171.492188,287.998047 L133.341797,287.998047 C125.36263,287.998047 119.876953,291.613607 116.884766,298.844727 C113.892578,306.075846 115.139323,312.683594 120.625,318.667969 L120.625,318.667969 L179.720703,377.763672 C183.211589,381.254557 187.450521,383 192.4375,383 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 384 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M192.4375,383 C197.424479,383 201.663411,381.254557 205.154297,377.763672 L205.154297,377.763672 L264.25,318.667969 C270.234375,312.683594 271.605794,306.075846 268.364258,298.844727 C265.122721,291.613607 259.51237,287.998047 251.533203,287.998047 L251.533203,287.998047 L213.382812,287.998047 L213.382812,212.445312 L288.935547,212.445312 L288.935547,250.595703 C288.935547,258.57487 292.551107,264.185221 299.782227,267.426758 C307.013346,270.668294 313.621094,269.296875 319.605469,263.3125 L319.605469,263.3125 L378.701172,204.216797 C382.192057,200.725911 383.9375,196.486979 383.9375,191.5 C383.9375,186.513021 382.192057,182.274089 378.701172,178.783203 L378.701172,178.783203 L319.605469,119.6875 C313.621094,114.201823 307.013346,112.955078 299.782227,115.947266 C292.551107,118.939453 288.935547,124.42513 288.935547,132.404297 L288.935547,132.404297 L288.935547,170.554688 L213.382812,170.554688 L213.382812,95.0019531 L251.533203,95.0019531 C259.51237,95.0019531 264.998047,91.3863932 267.990234,84.1552734 C270.982422,76.9241536 269.735677,70.3164062 264.25,64.3320312 L264.25,64.3320312 L205.154297,5.23632812 C201.663411,1.74544271 197.424479,0 192.4375,0 C187.450521,0 183.211589,1.74544271 179.720703,5.23632812 L179.720703,5.23632812 L120.625,64.3320312 C114.640625,70.3164062 113.269206,76.9241536 116.510742,84.1552734 C119.752279,91.3863932 125.36263,95.0019531 133.341797,95.0019531 L133.341797,95.0019531 L171.492188,95.0019531 L171.492188,170.554688 L95.9394531,170.554688 L95.9394531,132.404297 C95.9394531,124.42513 92.3238932,118.814779 85.0927734,115.573242 C77.8616536,112.331706 71.2539062,113.703125 65.2695312,119.6875 L65.2695312,119.6875 L6.17382812,178.783203 C2.68294271,182.274089 0.9375,186.513021 0.9375,191.5 C0.9375,196.486979 2.68294271,200.725911 6.17382812,204.216797 L6.17382812,204.216797 L65.2695312,263.3125 C71.2539062,268.798177 77.8616536,270.044922 85.0927734,267.052734 C92.3238932,264.060547 95.9394531,258.57487 95.9394531,250.595703 L95.9394531,250.595703 L95.9394531,212.445312 L171.492188,212.445312 L171.492188,287.998047 L133.341797,287.998047 C125.36263,287.998047 119.876953,291.613607 116.884766,298.844727 C113.892578,306.075846 115.139323,312.683594 120.625,318.667969 L120.625,318.667969 L179.720703,377.763672 C183.211589,381.254557 187.450521,383 192.4375,383 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E\");width:11px;height:11px;background-size:cover;background-repeat:no-repeat}.arrow-down{position:absolute;right:5px;top:0}.arrow-down svg{width:8px;margin-top:5px;margin-left:5px;opacity:0.4}.cell-value-wrapper{margin-right:10px;overflow:hidden;text-overflow:ellipsis}.revo-button{position:relative;overflow:hidden;color:#fff;background-color:#6200ee;height:34px;line-height:34px;padding:0 15px;outline:0;border:0;border-radius:7px;box-sizing:border-box;cursor:pointer}.revo-button.green{background-color:#2ee072;border:1px solid #20d565}.revo-button.light{border:2px solid #cedefa;line-height:32px;background:none;color:#4876ca;box-shadow:none}revogr-focus.focused-cell{box-shadow:-1px 0 0 #0d63e8 inset, 1px 0 0 #0d63e8 inset, 0 -1px 0 #0d63e8 inset, 0 1px 0 #0d63e8 inset;position:absolute;pointer-events:none;z-index:9;display:block}";var ev=e("revogr_focus",function(){function e(e){o(this,e)}e.prototype.changed=function(e){e===null||e===void 0?void 0:e.scrollIntoView({block:"nearest",inline:"nearest"})};e.prototype.componentDidRender=function(){this.el&&this.changed(this.el)};e.prototype.render=function(){var e=this.selectionStore.get("focus");if(e){var t=Jf(Object.assign(Object.assign({},e),{x1:e.x,y1:e.y}),this.dimensionRow.state,this.dimensionCol.state);return i(s,{class:ql,style:t,hidden:false})}};Object.defineProperty(e.prototype,"el",{get:function(){return u(this)},enumerable:false,configurable:true});return e}());ev.style=Qf;var tv=function(){try{var e=Fr(Object,"defineProperty");e({},"",{});return e}catch(e){}}();var rv=tv;function nv(e,t,r){if(t=="__proto__"&&rv){rv(e,t,{configurable:true,enumerable:true,value:r,writable:true})}else{e[t]=r}}var iv=nv;function ov(e,t,r,n){var i=-1,o=e==null?0:e.length;while(++i<o){var a=e[i];t(n,a,r(a),e)}return n}var av=ov;function sv(e,t,r,n){Ot(e,(function(e,i,o){t(n,e,r(e),o)}));return n}var uv=sv;function lv(e,t){return function(r,n){var i=ue(r)?av:uv,o=t?t():{};return i(r,e,ga(n),o)}}var cv=lv;var fv=cv((function(e,t,r){iv(e,r,t)}));var vv=fv;var hv=function(e){var t=e.column;return i("i",{class:t.order})};var dv;(function(e){e["start"]="resize:start";e["move"]="resize:move";e["end"]="resize:end"})(dv||(dv={}));var pv={"resizable-r":{bit:1,cursor:"ew-resize"},"resizable-rb":{bit:3,cursor:"se-resize"},"resizable-b":{bit:2,cursor:"s-resize"},"resizable-lb":{bit:6,cursor:"sw-resize"},"resizable-l":{bit:4,cursor:"w-resize"},"resizable-lt":{bit:12,cursor:"nw-resize"},"resizable-t":{bit:8,cursor:"n-resize"},"resizable-rt":{bit:9,cursor:"ne-resize"}};var gv={l:1,t:2,w:4,h:8};var mv=function(e){return Object.assign(Object.assign({},e),{fitParent:e.fitParent||false,active:e.active||[],disableAttributes:e.disableAttributes||[],minWidth:e.minWidth||0,minHeight:e.minHeight||0})};var Cv=function(){function e(e,t){this.initialProps=e;this.$event=t;this.mouseX=0;this.mouseY=0;this.width=0;this.height=0;this.changeX=0;this.changeY=0;this.disableCalcMap=15;this.props=mv(e);this.mouseMoveFunc=this.handleMove.bind(this);this.mouseUpFunc=this.handleUp.bind(this);this.minW=this.props.minWidth;this.minH=this.props.minHeight;this.maxW=this.props.maxWidth;this.maxH=this.props.maxHeight;this.parent={width:0,height:0};this.resizeState=0}e.prototype.set=function(e){var t=this;this.$el=e;this.props.disableAttributes.forEach((function(e){switch(e){case"l":t.disableCalcMap&=~gv.l;break;case"t":t.disableCalcMap&=~gv.t;break;case"w":t.disableCalcMap&=~gv.w;break;case"h":t.disableCalcMap&=~gv.h}}))};e.prototype.emitEvent=function(e,t){if(!this.$event){return}this.$event(Object.assign({eventName:e,width:this.width+this.changeX,height:this.height+this.changeY,changedX:this.changeX,changedY:this.changeY},t))};e.isTouchEvent=function(e){var t;var r=e;return((t=r.touches)===null||t===void 0?void 0:t.length)>=0};e.prototype.handleMove=function(t){if(!this.resizeState){return}var r,n;if(e.isTouchEvent(t)){r=t.touches[0].clientY;n=t.touches[0].clientX}else{r=t.clientY;n=t.clientX}var i=this.resizeState&pv["resizable-r"].bit||this.resizeState&pv["resizable-l"].bit;var o=this.resizeState&pv["resizable-t"].bit||this.resizeState&pv["resizable-b"].bit;if(o&&this.disableCalcMap&gv.h){var a=r-this.mouseY;var s=this.changeY+a;var u=this.height+s;if(u<this.minH){s=-(this.height-this.minH)}if(this.maxH&&u>this.maxH){s=this.maxH-this.height}this.changeY=s;this.mouseY=r;if(this.activeResizer){this.activeResizer.style.bottom=-this.changeY+"px"}}if(i&&this.disableCalcMap&gv.w){var l=n-this.mouseX;var c=this.changeX+l;var f=this.width+c;if(f<this.minW){c=-(this.width-this.minW)}if(this.maxW&&f>this.maxW){c=this.maxW-this.width}this.changeX=c;this.mouseX=n;if(this.activeResizer){this.activeResizer.style.right=-this.changeX+"px"}}this.emitEvent(dv.move)};e.prototype.handleDown=function(t){if(t.defaultPrevented){return}this.dropInitial();for(var r in pv){var n=t.target;if(this.$el.contains(n)&&(n===null||n===void 0?void 0:n.classList.contains(r))){document.body.style.cursor=pv[r].cursor;if(e.isTouchEvent(t)){this.setInitials(t.touches[0],n)}else{t.preventDefault&&t.preventDefault();this.setInitials(t,n)}this.resizeState=pv[r].bit;var i=dv.start;this.emitEvent(i);break}}this.bindMove()};e.prototype.handleUp=function(e){e.preventDefault();if(this.resizeState!==0){this.resizeState=0;document.body.style.cursor="";var t=dv.end;this.emitEvent(t)}this.dropInitial();this.unbindMove()};e.prototype.setInitials=function(e,t){var r=e.clientX,n=e.clientY;var i=getComputedStyle(this.$el);this.$el.classList.add("active");this.activeResizer=t;if(this.disableCalcMap&gv.w){this.mouseX=r;this.width=this.$el.clientWidth;this.parent.width=this.$el.parentElement.clientWidth;var o=parseFloat(i.paddingLeft)+parseFloat(i.paddingRight);this.minW=Math.max(o,this.initialProps.minWidth||0);if(this.initialProps.maxWidth){this.maxW=Math.max(this.width,this.initialProps.maxWidth)}}if(this.disableCalcMap&gv.h){this.mouseY=n;this.height=this.$el.clientHeight;this.parent.height=this.$el.parentElement.clientHeight;var a=parseFloat(i.paddingTop)+parseFloat(i.paddingBottom);this.minH=Math.max(a,this.initialProps.minHeight||0);if(this.initialProps.maxHeight){this.maxH=Math.max(this.height,this.initialProps.maxHeight)}}};e.prototype.dropInitial=function(){this.changeX=this.changeY=this.minW=this.minH;this.width=this.height=0;if(this.activeResizer){this.activeResizer.removeAttribute("style")}this.$el.classList.remove("active");this.activeResizer=null};e.prototype.bindMove=function(){document.documentElement.addEventListener("mouseup",this.mouseUpFunc,true);document.documentElement.addEventListener("touchend",this.mouseUpFunc,true);document.documentElement.addEventListener("mousemove",this.mouseMoveFunc,true);document.documentElement.addEventListener("touchmove",this.mouseMoveFunc,true);document.documentElement.addEventListener("mouseleave",this.mouseUpFunc)};e.prototype.unbindMove=function(){document.documentElement.removeEventListener("mouseup",this.mouseUpFunc,true);document.documentElement.removeEventListener("touchend",this.mouseUpFunc,true);document.documentElement.removeEventListener("mousemove",this.mouseMoveFunc,true);document.documentElement.removeEventListener("touchmove",this.mouseMoveFunc,true);document.documentElement.removeEventListener("mouseleave",this.mouseUpFunc)};return e}();var wv=function(e,t){var r=[];var n=e.canResize&&new Cv(e,(function(t){if(t.eventName===dv.end){e.onResize&&e.onResize(t)}}))||null;if(e.canResize){if(e.active){for(var o in e.active){r.push(i("div",{onClick:function(e){return e.preventDefault()},onDblClick:function(t){t.preventDefault();e.onDoubleClick&&e.onDoubleClick()},onMouseDown:function(e){return n===null||n===void 0?void 0:n.handleDown(e)},onTouchStart:function(e){return n===null||n===void 0?void 0:n.handleDown(e)},class:"resizable resizable-"+e.active[o]}))}}}else{if(e.active){for(var o in e.active){r.push(i("div",{onClick:function(e){return e.preventDefault()},onDblClick:function(t){t.preventDefault();e.onDoubleClick&&e.onDoubleClick()},class:"no-resize resizable resizable-"+e.active[o]}))}}}return i("div",Object.assign({},e,{ref:function(e){return n===null||n===void 0?void 0:n.set(e)}}),t,r)};var yv=function(e,t){var r=e.data,n=e.props;var o=(r===null||r===void 0?void 0:r.name)||"";var a=n;if(r===null||r===void 0?void 0:r.columnTemplate){o=r.columnTemplate(i,r)}if(r===null||r===void 0?void 0:r.columnProperties){var s=r.columnProperties(r);if(s&&typeof s==="object"){a=lf.doMerge(n,s)}}return i(wv,Object.assign({},a),i("div",{class:"header-content"},o),t)};var bv=function(e){var t,r;var n,o,a,s,u,l;var c=(t={},t[Nl]=true,t[Vl]=!!((n=e.data)===null||n===void 0?void 0:n.sortable),t);if((o=e.data)===null||o===void 0?void 0:o.order){c[e.data.order]=true}var v=(r={},r[Il]=e.column.itemIndex,r.canResize=e.canResize,r.minWidth=((a=e.data)===null||a===void 0?void 0:a.minSize)||Ml,r.maxWidth=(s=e.data)===null||s===void 0?void 0:s.maxSize,r.active=["r"],r.class=c,r.style={width:e.column.size+"px",transform:"translateX("+e.column.start+"px)"},r.onResize=e.onResize,r.onDoubleClick=function(t){e.onDoubleClick({column:e.data,index:e.column.itemIndex,originalEvent:t})},r.onClick=function(t){if(t.defaultPrevented||!e.onClick){return}e.onClick({column:e.data,index:e.column.itemIndex,originalEvent:t})},r);if(e.range){if(e.column.itemIndex>=e.range.x&&e.column.itemIndex<=e.range.x1){if(typeof v.class==="object"){v.class[ql]=true}}}return i(yv,{data:e.data,props:v},((u=e.data)===null||u===void 0?void 0:u.order)?i(hv,{column:e.data}):"",e.canFilter&&((l=e.data)===null||l===void 0?void 0:l.filter)!==false?i(f,{column:e.data}):"")};var Lv=function(e){var t;var r={canResize:e.canResize,minWidth:e.group.ids.length*Ml,maxWidth:0,active:["r"],class:(t={},t[Nl]=true,t),style:{transform:"translateX("+e.start+"px)",width:e.end-e.start+"px"},onResize:e.onResize};return i(yv,{data:Object.assign(Object.assign({},e.group),{providers:e.providers,index:e.start}),props:r})};var xv=function(e){var t=e.providers,r=e.depth,n=e.groups,o=e.visibleProps,a=e.dimensionCol,s=e.canResize,u=e.onResize;var l=[];for(var c=0;c<r;c++){if(n[c]){var f=function(e){var r=Ga(e.ids,(function(e){return typeof o[e]==="number"}));if(r>-1){var n=o[e.ids[r]];var c=n-r;var f=c+e.ids.length-1;var v=tu(a,c).start;var h=tu(a,f).end;l.push(i(Lv,{providers:t,start:v,end:h,group:e,canResize:s,onResize:function(e){return u(e.changedX,c,f)}}))}};for(var v=0,h=n[c];v<h.length;v++){var d=h[v];f(d)}}l.push(i("div",{class:Zl+" group"}))}return l};var _v="@charset \"UTF-8\";.revo-drag-icon{-webkit-mask-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 438 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M421.875,70.40625 C426.432292,70.40625 430.175781,68.9414062 433.105469,66.0117188 C436.035156,63.0820312 437.5,59.3385417 437.5,54.78125 L437.5,54.78125 L437.5,15.71875 C437.5,11.1614583 436.035156,7.41796875 433.105469,4.48828125 C430.175781,1.55859375 426.432292,0.09375 421.875,0.09375 L421.875,0.09375 L15.625,0.09375 C11.0677083,0.09375 7.32421875,1.55859375 4.39453125,4.48828125 C1.46484375,7.41796875 0,11.1614583 0,15.71875 L0,15.71875 L0,54.78125 C0,59.3385417 1.46484375,63.0820312 4.39453125,66.0117188 C7.32421875,68.9414062 11.0677083,70.40625 15.625,70.40625 L15.625,70.40625 L421.875,70.40625 Z M421.875,226.65625 C426.432292,226.65625 430.175781,225.191406 433.105469,222.261719 C436.035156,219.332031 437.5,215.588542 437.5,211.03125 L437.5,211.03125 L437.5,171.96875 C437.5,167.411458 436.035156,163.667969 433.105469,160.738281 C430.175781,157.808594 426.432292,156.34375 421.875,156.34375 L421.875,156.34375 L15.625,156.34375 C11.0677083,156.34375 7.32421875,157.808594 4.39453125,160.738281 C1.46484375,163.667969 0,167.411458 0,171.96875 L0,171.96875 L0,211.03125 C0,215.588542 1.46484375,219.332031 4.39453125,222.261719 C7.32421875,225.191406 11.0677083,226.65625 15.625,226.65625 L15.625,226.65625 L421.875,226.65625 Z M421.875,382.90625 C426.432292,382.90625 430.175781,381.441406 433.105469,378.511719 C436.035156,375.582031 437.5,371.838542 437.5,367.28125 L437.5,367.28125 L437.5,328.21875 C437.5,323.661458 436.035156,319.917969 433.105469,316.988281 C430.175781,314.058594 426.432292,312.59375 421.875,312.59375 L421.875,312.59375 L15.625,312.59375 C11.0677083,312.59375 7.32421875,314.058594 4.39453125,316.988281 C1.46484375,319.917969 0,323.661458 0,328.21875 L0,328.21875 L0,367.28125 C0,371.838542 1.46484375,375.582031 4.39453125,378.511719 C7.32421875,381.441406 11.0677083,382.90625 15.625,382.90625 L15.625,382.90625 L421.875,382.90625 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 438 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M421.875,70.40625 C426.432292,70.40625 430.175781,68.9414062 433.105469,66.0117188 C436.035156,63.0820312 437.5,59.3385417 437.5,54.78125 L437.5,54.78125 L437.5,15.71875 C437.5,11.1614583 436.035156,7.41796875 433.105469,4.48828125 C430.175781,1.55859375 426.432292,0.09375 421.875,0.09375 L421.875,0.09375 L15.625,0.09375 C11.0677083,0.09375 7.32421875,1.55859375 4.39453125,4.48828125 C1.46484375,7.41796875 0,11.1614583 0,15.71875 L0,15.71875 L0,54.78125 C0,59.3385417 1.46484375,63.0820312 4.39453125,66.0117188 C7.32421875,68.9414062 11.0677083,70.40625 15.625,70.40625 L15.625,70.40625 L421.875,70.40625 Z M421.875,226.65625 C426.432292,226.65625 430.175781,225.191406 433.105469,222.261719 C436.035156,219.332031 437.5,215.588542 437.5,211.03125 L437.5,211.03125 L437.5,171.96875 C437.5,167.411458 436.035156,163.667969 433.105469,160.738281 C430.175781,157.808594 426.432292,156.34375 421.875,156.34375 L421.875,156.34375 L15.625,156.34375 C11.0677083,156.34375 7.32421875,157.808594 4.39453125,160.738281 C1.46484375,163.667969 0,167.411458 0,171.96875 L0,171.96875 L0,211.03125 C0,215.588542 1.46484375,219.332031 4.39453125,222.261719 C7.32421875,225.191406 11.0677083,226.65625 15.625,226.65625 L15.625,226.65625 L421.875,226.65625 Z M421.875,382.90625 C426.432292,382.90625 430.175781,381.441406 433.105469,378.511719 C436.035156,375.582031 437.5,371.838542 437.5,367.28125 L437.5,367.28125 L437.5,328.21875 C437.5,323.661458 436.035156,319.917969 433.105469,316.988281 C430.175781,314.058594 426.432292,312.59375 421.875,312.59375 L421.875,312.59375 L15.625,312.59375 C11.0677083,312.59375 7.32421875,314.058594 4.39453125,316.988281 C1.46484375,319.917969 0,323.661458 0,328.21875 L0,328.21875 L0,367.28125 C0,371.838542 1.46484375,375.582031 4.39453125,378.511719 C7.32421875,381.441406 11.0677083,382.90625 15.625,382.90625 L15.625,382.90625 L421.875,382.90625 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E\");width:11px;height:7px;background-size:cover;background-repeat:no-repeat}.revo-alt-icon{-webkit-mask-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 384 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M192.4375,383 C197.424479,383 201.663411,381.254557 205.154297,377.763672 L205.154297,377.763672 L264.25,318.667969 C270.234375,312.683594 271.605794,306.075846 268.364258,298.844727 C265.122721,291.613607 259.51237,287.998047 251.533203,287.998047 L251.533203,287.998047 L213.382812,287.998047 L213.382812,212.445312 L288.935547,212.445312 L288.935547,250.595703 C288.935547,258.57487 292.551107,264.185221 299.782227,267.426758 C307.013346,270.668294 313.621094,269.296875 319.605469,263.3125 L319.605469,263.3125 L378.701172,204.216797 C382.192057,200.725911 383.9375,196.486979 383.9375,191.5 C383.9375,186.513021 382.192057,182.274089 378.701172,178.783203 L378.701172,178.783203 L319.605469,119.6875 C313.621094,114.201823 307.013346,112.955078 299.782227,115.947266 C292.551107,118.939453 288.935547,124.42513 288.935547,132.404297 L288.935547,132.404297 L288.935547,170.554688 L213.382812,170.554688 L213.382812,95.0019531 L251.533203,95.0019531 C259.51237,95.0019531 264.998047,91.3863932 267.990234,84.1552734 C270.982422,76.9241536 269.735677,70.3164062 264.25,64.3320312 L264.25,64.3320312 L205.154297,5.23632812 C201.663411,1.74544271 197.424479,0 192.4375,0 C187.450521,0 183.211589,1.74544271 179.720703,5.23632812 L179.720703,5.23632812 L120.625,64.3320312 C114.640625,70.3164062 113.269206,76.9241536 116.510742,84.1552734 C119.752279,91.3863932 125.36263,95.0019531 133.341797,95.0019531 L133.341797,95.0019531 L171.492188,95.0019531 L171.492188,170.554688 L95.9394531,170.554688 L95.9394531,132.404297 C95.9394531,124.42513 92.3238932,118.814779 85.0927734,115.573242 C77.8616536,112.331706 71.2539062,113.703125 65.2695312,119.6875 L65.2695312,119.6875 L6.17382812,178.783203 C2.68294271,182.274089 0.9375,186.513021 0.9375,191.5 C0.9375,196.486979 2.68294271,200.725911 6.17382812,204.216797 L6.17382812,204.216797 L65.2695312,263.3125 C71.2539062,268.798177 77.8616536,270.044922 85.0927734,267.052734 C92.3238932,264.060547 95.9394531,258.57487 95.9394531,250.595703 L95.9394531,250.595703 L95.9394531,212.445312 L171.492188,212.445312 L171.492188,287.998047 L133.341797,287.998047 C125.36263,287.998047 119.876953,291.613607 116.884766,298.844727 C113.892578,306.075846 115.139323,312.683594 120.625,318.667969 L120.625,318.667969 L179.720703,377.763672 C183.211589,381.254557 187.450521,383 192.4375,383 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 384 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M192.4375,383 C197.424479,383 201.663411,381.254557 205.154297,377.763672 L205.154297,377.763672 L264.25,318.667969 C270.234375,312.683594 271.605794,306.075846 268.364258,298.844727 C265.122721,291.613607 259.51237,287.998047 251.533203,287.998047 L251.533203,287.998047 L213.382812,287.998047 L213.382812,212.445312 L288.935547,212.445312 L288.935547,250.595703 C288.935547,258.57487 292.551107,264.185221 299.782227,267.426758 C307.013346,270.668294 313.621094,269.296875 319.605469,263.3125 L319.605469,263.3125 L378.701172,204.216797 C382.192057,200.725911 383.9375,196.486979 383.9375,191.5 C383.9375,186.513021 382.192057,182.274089 378.701172,178.783203 L378.701172,178.783203 L319.605469,119.6875 C313.621094,114.201823 307.013346,112.955078 299.782227,115.947266 C292.551107,118.939453 288.935547,124.42513 288.935547,132.404297 L288.935547,132.404297 L288.935547,170.554688 L213.382812,170.554688 L213.382812,95.0019531 L251.533203,95.0019531 C259.51237,95.0019531 264.998047,91.3863932 267.990234,84.1552734 C270.982422,76.9241536 269.735677,70.3164062 264.25,64.3320312 L264.25,64.3320312 L205.154297,5.23632812 C201.663411,1.74544271 197.424479,0 192.4375,0 C187.450521,0 183.211589,1.74544271 179.720703,5.23632812 L179.720703,5.23632812 L120.625,64.3320312 C114.640625,70.3164062 113.269206,76.9241536 116.510742,84.1552734 C119.752279,91.3863932 125.36263,95.0019531 133.341797,95.0019531 L133.341797,95.0019531 L171.492188,95.0019531 L171.492188,170.554688 L95.9394531,170.554688 L95.9394531,132.404297 C95.9394531,124.42513 92.3238932,118.814779 85.0927734,115.573242 C77.8616536,112.331706 71.2539062,113.703125 65.2695312,119.6875 L65.2695312,119.6875 L6.17382812,178.783203 C2.68294271,182.274089 0.9375,186.513021 0.9375,191.5 C0.9375,196.486979 2.68294271,200.725911 6.17382812,204.216797 L6.17382812,204.216797 L65.2695312,263.3125 C71.2539062,268.798177 77.8616536,270.044922 85.0927734,267.052734 C92.3238932,264.060547 95.9394531,258.57487 95.9394531,250.595703 L95.9394531,250.595703 L95.9394531,212.445312 L171.492188,212.445312 L171.492188,287.998047 L133.341797,287.998047 C125.36263,287.998047 119.876953,291.613607 116.884766,298.844727 C113.892578,306.075846 115.139323,312.683594 120.625,318.667969 L120.625,318.667969 L179.720703,377.763672 C183.211589,381.254557 187.450521,383 192.4375,383 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E\");width:11px;height:11px;background-size:cover;background-repeat:no-repeat}.arrow-down{position:absolute;right:5px;top:0}.arrow-down svg{width:8px;margin-top:5px;margin-left:5px;opacity:0.4}.cell-value-wrapper{margin-right:10px;overflow:hidden;text-overflow:ellipsis}.revo-button{position:relative;overflow:hidden;color:#fff;background-color:#6200ee;height:34px;line-height:34px;padding:0 15px;outline:0;border:0;border-radius:7px;box-sizing:border-box;cursor:pointer}.revo-button.green{background-color:#2ee072;border:1px solid #20d565}.revo-button.light{border:2px solid #cedefa;line-height:32px;background:none;color:#4876ca;box-shadow:none}revogr-header{position:relative;z-index:5;display:block}revogr-header .rgHeaderCell{display:flex}revogr-header .rgHeaderCell.align-center{text-align:center}revogr-header .rgHeaderCell.align-left{text-align:left}revogr-header .rgHeaderCell.align-right{text-align:right}revogr-header .rgHeaderCell.sortable{cursor:pointer}revogr-header .rgHeaderCell i.asc:after,revogr-header .rgHeaderCell i.desc:after{font-size:13px}revogr-header .rgHeaderCell i.asc:after{content:\"↑\"}revogr-header .rgHeaderCell i.desc:after{content:\"↓\"}revogr-header .rgHeaderCell,revogr-header .grouped-cell{position:absolute;box-sizing:border-box;height:100%;z-index:1}revogr-header .header-rgRow{display:block;position:relative}revogr-header .header-rgRow.group{z-index:0}revogr-header .group-rgRow{position:relative}revogr-header .rgHeaderCell.active{z-index:10}revogr-header .rgHeaderCell.active .resizable{background-color:deepskyblue}revogr-header .rgHeaderCell .header-content{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-grow:1}revogr-header .rgHeaderCell .resizable{display:block;position:absolute;z-index:90;touch-action:none;user-select:none}revogr-header .rgHeaderCell .resizable:hover{background-color:deepskyblue}revogr-header .rgHeaderCell>.resizable-r{cursor:ew-resize;width:6px;right:0;top:0;height:100%}revogr-header .rgHeaderCell>.resizable-rb{cursor:se-resize;width:6px;height:6px;right:0;bottom:0}revogr-header .rgHeaderCell>.resizable-b{cursor:s-resize;height:6px;bottom:0;width:100%;left:0}revogr-header .rgHeaderCell>.resizable-lb{cursor:sw-resize;width:6px;height:6px;left:0;bottom:0}revogr-header .rgHeaderCell>.resizable-l{cursor:w-resize;width:6px;left:0;height:100%;top:0}revogr-header .rgHeaderCell>.resizable-lt{cursor:nw-resize;width:6px;height:6px;left:0;top:0}revogr-header .rgHeaderCell>.resizable-t{cursor:n-resize;height:6px;top:0;width:100%;left:0}revogr-header .rgHeaderCell>.resizable-rt{cursor:ne-resize;width:6px;height:6px;right:0;top:0}revogr-header .rv-filter{visibility:hidden}";var Sv=e("revogr_header",function(){function e(e){o(this,e);this.initialHeaderClick=a(this,"initialHeaderClick",7);this.headerresize=a(this,"headerresize",7);this.headerdblClick=a(this,"headerdblClick",7);this.parent="";this.groupingDepth=0}e.prototype.onResize=function(e,t){var r;var n=e.width;this.headerresize.emit((r={},r[t]=n||0,r))};e.prototype.onResizeGroup=function(e,t,r){var n={};var i=vv(this.viewportCol.get("items"),"itemIndex");var o=e/(r-t+1);for(var a=t;a<=r;a++){var s=i[a];if(s){n[a]=s.size+o}}this.headerresize.emit(n)};e.prototype.render=function(){var e=this;var t;var r=this.viewportCol.get("items");var n=(t=this.selectionStore)===null||t===void 0?void 0:t.get("range");var o=[];var a={};var s=function(t){var r=u.colData[t.itemIndex];o.push(i(bv,{range:n,column:t,data:Object.assign(Object.assign({},r),{index:t.itemIndex,providers:u.providers}),canFilter:!!u.columnFilter,canResize:u.canResize,onResize:function(r){return e.onResize(r,t.itemIndex)},onDoubleClick:function(t){return e.headerdblClick.emit(t)},onClick:function(t){return e.initialHeaderClick.emit(t)}}));a[r===null||r===void 0?void 0:r.prop]=t.itemIndex};var u=this;for(var l=0,c=r;l<c.length;l++){var f=c[l];s(f)}return[i("div",{class:"group-rgRow"},i(xv,{canResize:this.canResize,visibleProps:a,providers:this.providers,groups:this.groups,dimensionCol:this.dimensionCol.state,depth:this.groupingDepth,onResize:function(t,r,n){return e.onResizeGroup(t,r,n)}})),i("div",{class:Zl+" "+Gl},o)]};Object.defineProperty(e.prototype,"providers",{get:function(){return{viewport:this.viewportCol,dimension:this.dimensionCol,selection:this.selectionStore}},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"element",{get:function(){return u(this)},enumerable:false,configurable:true});return e}());Sv.style=_v;var Ev=function(){return F.Date.now()};var zv=Ev;var kv="Expected a function";var Rv=Math.max,Ov=Math.min;function jv(e,t,r){var n,i,o,a,s,u,l=0,c=false,f=false,v=true;if(typeof e!="function"){throw new TypeError(kv)}t=Ma(t)||0;if(dt(r)){c=!!r.leading;f="maxWait"in r;o=f?Rv(Ma(r.maxWait)||0,t):o;v="trailing"in r?!!r.trailing:v}function h(t){var r=n,o=i;n=i=undefined;l=t;a=e.apply(o,r);return a}function d(e){l=e;s=setTimeout(m,t);return c?h(e):a}function p(e){var r=e-u,n=e-l,i=t-r;return f?Ov(i,o-n):i}function g(e){var r=e-u,n=e-l;return u===undefined||r>=t||r<0||f&&n>=o}function m(){var e=zv();if(g(e)){return C(e)}s=setTimeout(m,p(e))}function C(e){s=undefined;if(v&&n){return h(e)}n=i=undefined;return a}function w(){if(s!==undefined){clearTimeout(s)}l=0;n=u=i=s=undefined}function y(){return s===undefined?a:C(zv())}function b(){var e=zv(),r=g(e);n=arguments;i=this;u=e;if(r){if(s===undefined){return d(u)}if(f){clearTimeout(s);s=setTimeout(m,t);return h(u)}}if(s===undefined){s=setTimeout(m,t)}return a}b.cancel=w;b.flush=y;return b}var Pv=jv;var Fv=function(){function e(e){this.config=e;this.currentCell=null;this.previousRow=null}e.prototype.endOrder=function(e,t){if(this.currentCell===null){return}var r=this.getCell(e,t);if(r.y!==this.currentCell.y){if(r.y<0){r.y=0}else if(r.y<this.currentCell.y){r.y++}this.config.positionChanged(this.currentCell.y,r.y)}this.clear()};e.prototype.startOrder=function(e,t){this.currentCell=this.getCell(e,t);return this.currentCell};e.prototype.move=function(e,t){var r=this.getRow(e,t);if(this.previousRow===r.itemIndex||r.itemIndex<-1){return null}this.previousRow=r.itemIndex;return r};e.prototype.clear=function(){this.currentCell=null;this.previousRow=null};e.prototype.getRow=function(e,t){var r=t.el,n=t.rows;var i=r.getBoundingClientRect().top;var o=e-i;var a=eu(n,o);var s={itemIndex:a.itemIndex,start:a.start+i,end:a.end+i};return s};e.prototype.getCell=function(e,t){var r=e.x,n=e.y;var i=t.el,o=t.rows,a=t.cols;var s=i.getBoundingClientRect(),u=s.top,l=s.left;var c=n-u;var f=r-l;var v=eu(o,c);var h=eu(a,f);return{x:h.itemIndex,y:v.itemIndex}};return e}();var Tv=e("revogr_order_editor",function(){function e(e){var t=this;o(this,e);this.internalRowDragStart=a(this,"internalRowDragStart",7);this.internalRowDragEnd=a(this,"internalRowDragEnd",7);this.internalRowDrag=a(this,"internalRowDrag",7);this.internalRowMouseMove=a(this,"internalRowMouseMove",7);this.initialRowDropped=a(this,"initialRowDropped",7);this.rowMoveFunc=Pv((function(e){var r=t.rowOrderService.move(e,t.getData());if(r!==null){t.internalRowDrag.emit(r)}}),5)}e.prototype.onMouseOut=function(){this.clearOrder()};e.prototype.onMouseUp=function(e){this.endOrder(e)};e.prototype.dragStart=function(e){return __awaiter(this,void 0,void 0,(function(){var t,r,n,i;var o=this;return __generator(this,(function(a){e.preventDefault();if(this.moveFunc){this.clearOrder()}t=this.getData();r=this.rowOrderService.startOrder(e,t);n=this.rowOrderService.getRow(e.y,t);i=this.internalRowDragStart.emit({cell:r,text:ec,pos:n,event:e});if(i.defaultPrevented){return[2]}this.moveFunc=function(e){return o.move(e)};document.addEventListener("mousemove",this.moveFunc);return[2]}))}))};e.prototype.endOrder=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.rowOrderService.endOrder(e,this.getData());this.clearOrder();return[2]}))}))};e.prototype.clearOrder=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.rowOrderService.clear();document.removeEventListener("mousemove",this.moveFunc);this.moveFunc=null;this.internalRowDragEnd.emit();return[2]}))}))};e.prototype.move=function(e){var t=e.x,r=e.y;this.internalRowMouseMove.emit({x:t,y:r});this.rowMoveFunc(r)};e.prototype.connectedCallback=function(){var e=this;this.rowOrderService=new Fv({positionChanged:function(t,r){return e.onPositionChanged(t,r)}})};e.prototype.onPositionChanged=function(e,t){var r=this.initialRowDropped.emit({from:e,to:t});if(r.defaultPrevented){return}var n=__spreadArray([],this.dataStore.get("items"));var i=n.splice(e,1);n.splice.apply(n,__spreadArray([t,0],i));xs(this.dataStore,n)};e.prototype.getData=function(){return{el:this.parent,rows:this.dimensionRow.state,cols:this.dimensionCol.state}};return e}());var Av=function(){function e(e,t){this.store=e;this.config=t;this.store=e}Object.defineProperty(e.prototype,"edited",{get:function(){return this.store.get("edit")},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"focused",{get:function(){return this.store.get("focus")},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"ranged",{get:function(){return this.store.get("range")},enumerable:false,configurable:true});e.prototype.changeRange=function(e){return this.config.changeRange(e)};e.prototype.focus=function(e,t){if(t===void 0){t=false}if(!e){return false}var r=e;if(t){var n=this.store.get("focus");if(n){return this.config.changeRange(Wc(n,r))}}return this.config.focus(e,r)};return e}();function Dv(e){return!!(e===null||e===void 0?void 0:e.closest("."+Ql))}var Mv=function(){function e(e){this.sv=e;this.ctrlDown=false}e.prototype.keyDown=function(e,t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){switch(r.label){case 0:if(!this.sv.selectionStoreService.focused){return[2]}if(Mf(e.keyCode,navigator.platform)){this.ctrlDown=true}if(wf.TAB===e.code){this.keyChangeSelection(e,t);return[2]}if(this.sv.selectionStoreService.edited){switch(e.code){case wf.ESCAPE:this.sv.doEdit(undefined,true);break}return[2]}if(If(e.code)){this.sv.clearCell();return[2]}if(Hf(e.code)){this.sv.doEdit();return[2]}if(this.isCopy(e)){return[2]}if(this.isPaste(e)){this.sv.internalPaste();return[2]}if(Df(e.keyCode)){this.sv.doEdit(e.key);return[2]}return[4,this.keyChangeSelection(e,t)];case 1:if(r.sent()){return[2]}return[2]}}))}))};e.prototype.keyChangeSelection=function(e,t){return __awaiter(this,void 0,void 0,(function(){var r,n,i;return __generator(this,(function(o){switch(o.label){case 0:r=this.changeDirectionKey(e,t);if(!r){return[2,false]}return[4,Js()];case 1:o.sent();n=this.sv.selectionStore.get("range");i=this.sv.selectionStore.get("focus");return[2,this.keyPositionChange(r.changes,this.sv.getData(),n,i,r.isMulti)]}}))}))};e.prototype.keyPositionChange=function(e,t,r,n,i){if(i===void 0){i=false}if(!r||!n){return false}var o=Zf(r,n,e,i);if(!o){return false}if(i){if(Gf(o.end,t)||$f(o.start)){return false}var a=Wc(o.start,o.end);return this.sv.selectionStoreService.changeRange(a)}return this.sv.selectionStoreService.focus(o.start)};e.prototype.keyUp=function(e){if(Mf(e.keyCode,navigator.platform)){this.ctrlDown=false}};e.prototype.isCopy=function(e){return this.ctrlDown&&e.code==wf.C};e.prototype.isPaste=function(e){return this.ctrlDown&&e.code==wf.V};e.prototype.changeDirectionKey=function(e,t){var r=t&&e.shiftKey;switch(e.code){case wf.TAB:case wf.ARROW_UP:case wf.ARROW_DOWN:case wf.ARROW_LEFT:case wf.ARROW_RIGHT:e.preventDefault();break}switch(e.code){case wf.ARROW_UP:return{changes:{y:-1},isMulti:r};case wf.ARROW_DOWN:return{changes:{y:1},isMulti:r};case wf.ARROW_LEFT:return{changes:{x:-1},isMulti:r};case wf.TAB:case wf.ARROW_RIGHT:return{changes:{x:1},isMulti:r}}};return e}();function Iv(e,t,r){var n=-1,i=e.length;if(t<0){t=-t>i?0:i+t}r=r>i?i:r;if(r<0){r+=i}i=t>r?0:r-t>>>0;t>>>=0;var o=Array(i);while(++n<i){o[n]=e[n+t]}return o}var Bv=Iv;function Hv(e,t,r){var n=e==null?0:e.length;if(!n){return[]}if(r&&typeof r!="number"&&us(e,t,r)){t=0;r=n}else{t=t==null?0:Na(t);r=r===undefined?n:Na(r)}return Bv(e,t,r)}var Wv=Hv;var Uv;(function(e){e["selection"]="Selection";e["autoFill"]="AutoFill"})(Uv||(Uv={}));var Nv=function(){function e(e){this.sv=e;this.autoFillType=null;this.autoFillInitial=null;this.autoFillStart=null;this.autoFillLast=null}e.prototype.renderAutofill=function(e,t){var r=this;var n;if(e){n=Kf(e,this.sv.dimensionRow.state,this.sv.dimensionCol.state)}else{n=Kf(Object.assign(Object.assign({},t),{x1:t.x,y1:t.y}),this.sv.dimensionRow.state,this.sv.dimensionCol.state)}return i("div",{class:Jl,style:{left:n.right+"px",top:n.bottom+"px"},onMouseDown:function(e){return r.selectionStart(e,r.sv.getData(),Uv.autoFill)}})};Object.defineProperty(e.prototype,"isAutoFill",{get:function(){return!!this.autoFillType},enumerable:false,configurable:true});e.prototype.selectionMouseMove=function(e){var t=this;if(!this.onMouseMoveAutofill){this.onMouseMoveAutofill=Pv((function(e,r){return t.doAutofillMouseMove(e,r)}),5)}if(this.isAutoFill){this.onMouseMoveAutofill(e,this.sv.getData())}};e.prototype.getFocus=function(){var e=this.sv.selectionStoreService.focused;var t=this.sv.selectionStoreService.ranged;if(t){e={x:t.x,y:t.y}}if(!e&&!t){return null}return e};e.prototype.doAutofillMouseMove=function(e,t){var r=this;var n=e.x,i=e.y;if(!this.autoFillInitial){return}var o=Vf({x:n,y:i},t);var a;if(this.autoFillLast){a=Xf(this.autoFillStart,this.autoFillLast)}if(!this.autoFillLast||!a){a=qf(this.autoFillStart,o);if(!this.autoFillLast){this.autoFillLast=this.autoFillStart}}if(!a){return}Mt(a,(function(e,t){var n;if(e){o=Object.assign(Object.assign({},r.autoFillLast),(n={},n[t]=o[t],n))}}));if(Gf(o,t)){return}this.autoFillLast=o;this.sv.setTempRange({area:Wc(this.autoFillInitial,this.autoFillLast),type:this.autoFillType})};e.prototype.selectionStart=function(e,t,r){if(r===void 0){r=Uv.selection}var n=e.target.getBoundingClientRect(),i=n.top,o=n.left;this.autoFillInitial=this.getFocus();this.autoFillType=r;this.autoFillStart=Vf({x:o,y:i},t);e.preventDefault()};e.prototype.clearAutoFillSelection=function(){if(this.autoFillInitial){this.autoFillInitial=this.getFocus();if(this.autoFillType===Uv.autoFill){this.applyRangeWithData(this.autoFillInitial,this.autoFillLast)}else{this.applyRangeOnly(this.autoFillInitial,this.autoFillLast)}}this.autoFillType=null;this.autoFillInitial=null;this.autoFillLast=null;this.autoFillStart=null};e.prototype.onRangeApply=function(e,t){var r={};for(var n in e){r[n]=bs(this.sv.dataStore,parseInt(n,10))}var i=this.sv.internalRangeDataApply({data:e,models:r,type:this.sv.dataStore.get("type")});if(!i.defaultPrevented){this.sv.columnService.applyRangeData(e)}this.sv.setRange(t)};e.prototype.applyRangeWithData=function(e,t){if(!e||!t){return}var r=this.sv.selectionStoreService.ranged;var n=Wc(e,t);var i=__spreadArray([],this.sv.columnService.columns);var o={type:this.sv.dataStore.get("type"),newData:{},newRange:n,oldRange:r,newProps:Wv(i,n.x,n.x1+1).map((function(e){return e.prop})),oldProps:Wv(i,r.x,r.x1+1).map((function(e){return e.prop}))};o.newData=this.sv.columnService.getRangeData(o);var a=this.sv.internalSelectionChanged(o);if(a.defaultPrevented){this.sv.setTempRange(null);return}this.onRangeApply(o.newData,n)};e.prototype.applyRangeOnly=function(e,t){if(!e||!t){return}var r=Wc(e,t);this.sv.setRange(r)};return e}();var Vv=function(){function e(e){this.sv=e}e.prototype.onCopy=function(e){var t=this.sv.internalCopy();if(t.defaultPrevented){return false}var r=this.sv.selectionStoreService.focused;var n=this.sv.selectionStoreService.ranged;var i;if(!n){n=Wc(r,r)}if(n){var o=__spreadArray([],this.sv.columnService.columns);var a=Wv(o,n.x,n.x1+1).map((function(e){return e.prop}));i=this.sv.columnService.copyRangeArray(n,a,this.sv.dataStore)}this.clipboard.doCopy(e,i);return true};e.prototype.renderClipboard=function(){var e=this;return i("revogr-clipboard",{onCopyRegion:function(t){return e.onCopy(t.detail)},ref:function(t){return e.clipboard=t},onPasteRegion:function(t){return e.onPaste(t.detail)}})};e.prototype.onPaste=function(e){var t=this.sv.selectionStoreService.focused;var r=this.sv.selectionStoreService.edited!==null;if(!t||r){return}var n=this.sv.columnService.getTransformedDataToApply(t,e),i=n.changed,o=n.range;this.sv.onRangeApply(i,o)};return e}();var Zv=".revo-drag-icon{-webkit-mask-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 438 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M421.875,70.40625 C426.432292,70.40625 430.175781,68.9414062 433.105469,66.0117188 C436.035156,63.0820312 437.5,59.3385417 437.5,54.78125 L437.5,54.78125 L437.5,15.71875 C437.5,11.1614583 436.035156,7.41796875 433.105469,4.48828125 C430.175781,1.55859375 426.432292,0.09375 421.875,0.09375 L421.875,0.09375 L15.625,0.09375 C11.0677083,0.09375 7.32421875,1.55859375 4.39453125,4.48828125 C1.46484375,7.41796875 0,11.1614583 0,15.71875 L0,15.71875 L0,54.78125 C0,59.3385417 1.46484375,63.0820312 4.39453125,66.0117188 C7.32421875,68.9414062 11.0677083,70.40625 15.625,70.40625 L15.625,70.40625 L421.875,70.40625 Z M421.875,226.65625 C426.432292,226.65625 430.175781,225.191406 433.105469,222.261719 C436.035156,219.332031 437.5,215.588542 437.5,211.03125 L437.5,211.03125 L437.5,171.96875 C437.5,167.411458 436.035156,163.667969 433.105469,160.738281 C430.175781,157.808594 426.432292,156.34375 421.875,156.34375 L421.875,156.34375 L15.625,156.34375 C11.0677083,156.34375 7.32421875,157.808594 4.39453125,160.738281 C1.46484375,163.667969 0,167.411458 0,171.96875 L0,171.96875 L0,211.03125 C0,215.588542 1.46484375,219.332031 4.39453125,222.261719 C7.32421875,225.191406 11.0677083,226.65625 15.625,226.65625 L15.625,226.65625 L421.875,226.65625 Z M421.875,382.90625 C426.432292,382.90625 430.175781,381.441406 433.105469,378.511719 C436.035156,375.582031 437.5,371.838542 437.5,367.28125 L437.5,367.28125 L437.5,328.21875 C437.5,323.661458 436.035156,319.917969 433.105469,316.988281 C430.175781,314.058594 426.432292,312.59375 421.875,312.59375 L421.875,312.59375 L15.625,312.59375 C11.0677083,312.59375 7.32421875,314.058594 4.39453125,316.988281 C1.46484375,319.917969 0,323.661458 0,328.21875 L0,328.21875 L0,367.28125 C0,371.838542 1.46484375,375.582031 4.39453125,378.511719 C7.32421875,381.441406 11.0677083,382.90625 15.625,382.90625 L15.625,382.90625 L421.875,382.90625 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 438 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M421.875,70.40625 C426.432292,70.40625 430.175781,68.9414062 433.105469,66.0117188 C436.035156,63.0820312 437.5,59.3385417 437.5,54.78125 L437.5,54.78125 L437.5,15.71875 C437.5,11.1614583 436.035156,7.41796875 433.105469,4.48828125 C430.175781,1.55859375 426.432292,0.09375 421.875,0.09375 L421.875,0.09375 L15.625,0.09375 C11.0677083,0.09375 7.32421875,1.55859375 4.39453125,4.48828125 C1.46484375,7.41796875 0,11.1614583 0,15.71875 L0,15.71875 L0,54.78125 C0,59.3385417 1.46484375,63.0820312 4.39453125,66.0117188 C7.32421875,68.9414062 11.0677083,70.40625 15.625,70.40625 L15.625,70.40625 L421.875,70.40625 Z M421.875,226.65625 C426.432292,226.65625 430.175781,225.191406 433.105469,222.261719 C436.035156,219.332031 437.5,215.588542 437.5,211.03125 L437.5,211.03125 L437.5,171.96875 C437.5,167.411458 436.035156,163.667969 433.105469,160.738281 C430.175781,157.808594 426.432292,156.34375 421.875,156.34375 L421.875,156.34375 L15.625,156.34375 C11.0677083,156.34375 7.32421875,157.808594 4.39453125,160.738281 C1.46484375,163.667969 0,167.411458 0,171.96875 L0,171.96875 L0,211.03125 C0,215.588542 1.46484375,219.332031 4.39453125,222.261719 C7.32421875,225.191406 11.0677083,226.65625 15.625,226.65625 L15.625,226.65625 L421.875,226.65625 Z M421.875,382.90625 C426.432292,382.90625 430.175781,381.441406 433.105469,378.511719 C436.035156,375.582031 437.5,371.838542 437.5,367.28125 L437.5,367.28125 L437.5,328.21875 C437.5,323.661458 436.035156,319.917969 433.105469,316.988281 C430.175781,314.058594 426.432292,312.59375 421.875,312.59375 L421.875,312.59375 L15.625,312.59375 C11.0677083,312.59375 7.32421875,314.058594 4.39453125,316.988281 C1.46484375,319.917969 0,323.661458 0,328.21875 L0,328.21875 L0,367.28125 C0,371.838542 1.46484375,375.582031 4.39453125,378.511719 C7.32421875,381.441406 11.0677083,382.90625 15.625,382.90625 L15.625,382.90625 L421.875,382.90625 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E\");width:11px;height:7px;background-size:cover;background-repeat:no-repeat}.revo-alt-icon{-webkit-mask-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 384 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M192.4375,383 C197.424479,383 201.663411,381.254557 205.154297,377.763672 L205.154297,377.763672 L264.25,318.667969 C270.234375,312.683594 271.605794,306.075846 268.364258,298.844727 C265.122721,291.613607 259.51237,287.998047 251.533203,287.998047 L251.533203,287.998047 L213.382812,287.998047 L213.382812,212.445312 L288.935547,212.445312 L288.935547,250.595703 C288.935547,258.57487 292.551107,264.185221 299.782227,267.426758 C307.013346,270.668294 313.621094,269.296875 319.605469,263.3125 L319.605469,263.3125 L378.701172,204.216797 C382.192057,200.725911 383.9375,196.486979 383.9375,191.5 C383.9375,186.513021 382.192057,182.274089 378.701172,178.783203 L378.701172,178.783203 L319.605469,119.6875 C313.621094,114.201823 307.013346,112.955078 299.782227,115.947266 C292.551107,118.939453 288.935547,124.42513 288.935547,132.404297 L288.935547,132.404297 L288.935547,170.554688 L213.382812,170.554688 L213.382812,95.0019531 L251.533203,95.0019531 C259.51237,95.0019531 264.998047,91.3863932 267.990234,84.1552734 C270.982422,76.9241536 269.735677,70.3164062 264.25,64.3320312 L264.25,64.3320312 L205.154297,5.23632812 C201.663411,1.74544271 197.424479,0 192.4375,0 C187.450521,0 183.211589,1.74544271 179.720703,5.23632812 L179.720703,5.23632812 L120.625,64.3320312 C114.640625,70.3164062 113.269206,76.9241536 116.510742,84.1552734 C119.752279,91.3863932 125.36263,95.0019531 133.341797,95.0019531 L133.341797,95.0019531 L171.492188,95.0019531 L171.492188,170.554688 L95.9394531,170.554688 L95.9394531,132.404297 C95.9394531,124.42513 92.3238932,118.814779 85.0927734,115.573242 C77.8616536,112.331706 71.2539062,113.703125 65.2695312,119.6875 L65.2695312,119.6875 L6.17382812,178.783203 C2.68294271,182.274089 0.9375,186.513021 0.9375,191.5 C0.9375,196.486979 2.68294271,200.725911 6.17382812,204.216797 L6.17382812,204.216797 L65.2695312,263.3125 C71.2539062,268.798177 77.8616536,270.044922 85.0927734,267.052734 C92.3238932,264.060547 95.9394531,258.57487 95.9394531,250.595703 L95.9394531,250.595703 L95.9394531,212.445312 L171.492188,212.445312 L171.492188,287.998047 L133.341797,287.998047 C125.36263,287.998047 119.876953,291.613607 116.884766,298.844727 C113.892578,306.075846 115.139323,312.683594 120.625,318.667969 L120.625,318.667969 L179.720703,377.763672 C183.211589,381.254557 187.450521,383 192.4375,383 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 384 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M192.4375,383 C197.424479,383 201.663411,381.254557 205.154297,377.763672 L205.154297,377.763672 L264.25,318.667969 C270.234375,312.683594 271.605794,306.075846 268.364258,298.844727 C265.122721,291.613607 259.51237,287.998047 251.533203,287.998047 L251.533203,287.998047 L213.382812,287.998047 L213.382812,212.445312 L288.935547,212.445312 L288.935547,250.595703 C288.935547,258.57487 292.551107,264.185221 299.782227,267.426758 C307.013346,270.668294 313.621094,269.296875 319.605469,263.3125 L319.605469,263.3125 L378.701172,204.216797 C382.192057,200.725911 383.9375,196.486979 383.9375,191.5 C383.9375,186.513021 382.192057,182.274089 378.701172,178.783203 L378.701172,178.783203 L319.605469,119.6875 C313.621094,114.201823 307.013346,112.955078 299.782227,115.947266 C292.551107,118.939453 288.935547,124.42513 288.935547,132.404297 L288.935547,132.404297 L288.935547,170.554688 L213.382812,170.554688 L213.382812,95.0019531 L251.533203,95.0019531 C259.51237,95.0019531 264.998047,91.3863932 267.990234,84.1552734 C270.982422,76.9241536 269.735677,70.3164062 264.25,64.3320312 L264.25,64.3320312 L205.154297,5.23632812 C201.663411,1.74544271 197.424479,0 192.4375,0 C187.450521,0 183.211589,1.74544271 179.720703,5.23632812 L179.720703,5.23632812 L120.625,64.3320312 C114.640625,70.3164062 113.269206,76.9241536 116.510742,84.1552734 C119.752279,91.3863932 125.36263,95.0019531 133.341797,95.0019531 L133.341797,95.0019531 L171.492188,95.0019531 L171.492188,170.554688 L95.9394531,170.554688 L95.9394531,132.404297 C95.9394531,124.42513 92.3238932,118.814779 85.0927734,115.573242 C77.8616536,112.331706 71.2539062,113.703125 65.2695312,119.6875 L65.2695312,119.6875 L6.17382812,178.783203 C2.68294271,182.274089 0.9375,186.513021 0.9375,191.5 C0.9375,196.486979 2.68294271,200.725911 6.17382812,204.216797 L6.17382812,204.216797 L65.2695312,263.3125 C71.2539062,268.798177 77.8616536,270.044922 85.0927734,267.052734 C92.3238932,264.060547 95.9394531,258.57487 95.9394531,250.595703 L95.9394531,250.595703 L95.9394531,212.445312 L171.492188,212.445312 L171.492188,287.998047 L133.341797,287.998047 C125.36263,287.998047 119.876953,291.613607 116.884766,298.844727 C113.892578,306.075846 115.139323,312.683594 120.625,318.667969 L120.625,318.667969 L179.720703,377.763672 C183.211589,381.254557 187.450521,383 192.4375,383 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E\");width:11px;height:11px;background-size:cover;background-repeat:no-repeat}.arrow-down{position:absolute;right:5px;top:0}.arrow-down svg{width:8px;margin-top:5px;margin-left:5px;opacity:0.4}.cell-value-wrapper{margin-right:10px;overflow:hidden;text-overflow:ellipsis}.revo-button{position:relative;overflow:hidden;color:#fff;background-color:#6200ee;height:34px;line-height:34px;padding:0 15px;outline:0;border:0;border-radius:7px;box-sizing:border-box;cursor:pointer}.revo-button.green{background-color:#2ee072;border:1px solid #20d565}.revo-button.light{border:2px solid #cedefa;line-height:32px;background:none;color:#4876ca;box-shadow:none}revogr-overlay-selection{display:block;position:relative;width:100%}revogr-overlay-selection .autofill-handle{position:absolute;width:10px;height:10px;background:#0d63e8;margin-left:-9px;margin-top:-9px;border:1px solid white;box-sizing:border-box;z-index:10;cursor:crosshair}revogr-overlay-selection .selection-border-range{position:absolute;pointer-events:none;z-index:9}revogr-overlay-selection .selection-border-range{box-shadow:-1px 0 0 #0d63e8 inset, 1px 0 0 #0d63e8 inset, 0 -1px 0 #0d63e8 inset, 0 1px 0 #0d63e8 inset}revogr-overlay-selection revogr-edit{z-index:10}";var Gv=e("revogr_overlay_selection",function(){function e(e){o(this,e);this.internalCopy=a(this,"internalCopy",7);this.internalPaste=a(this,"internalPaste",7);this.internalCellEdit=a(this,"internalCellEdit",7);this.internalFocusCell=a(this,"internalFocusCell",7);this.setEdit=a(this,"setEdit",3);this.setRange=a(this,"setRange",7);this.setTempRange=a(this,"setTempRange",7);this.focusCell=a(this,"focusCell",3);this.internalSelectionChanged=a(this,"internalSelectionChanged",7);this.internalRangeDataApply=a(this,"internalRangeDataApply",7);this.keyboardService=null;this.autoFillService=null;this.clipboardService=null}e.prototype.onMouseMove=function(e){if(this.selectionStoreService.focused){this.autoFillService.selectionMouseMove(e)}};e.prototype.onMouseOut=function(){this.autoFillService.clearAutoFillSelection()};e.prototype.onMouseUp=function(){this.autoFillService.clearAutoFillSelection()};e.prototype.onCellDrag=function(e){var t;(t=this.orderEditor)===null||t===void 0?void 0:t.dragStart(e.detail)};e.prototype.onKeyUp=function(e){var t;(t=this.keyboardService)===null||t===void 0?void 0:t.keyUp(e)};e.prototype.onKeyDown=function(e){var t;(t=this.keyboardService)===null||t===void 0?void 0:t.keyDown(e,this.range)};e.prototype.selectionServiceSet=function(e){var t=this;this.selectionStoreService=new Av(e,{changeRange:function(e){var r;return!((r=t.setRange.emit(e))===null||r===void 0?void 0:r.defaultPrevented)},focus:function(e,r){var n;var i={focus:e,end:r};var o=t.internalFocusCell.emit(t.columnService.getSaveData(e.y,e.x)).defaultPrevented;if(o){return false}return!((n=t.focusCell.emit(i))===null||n===void 0?void 0:n.defaultPrevented)}});this.keyboardService=new Mv({selectionStoreService:this.selectionStoreService,selectionStore:e,doEdit:function(e,r){return t.doEdit(e,r)},clearCell:function(){return t.clearCell()},getData:function(){return t.getData()},internalPaste:function(){return t.internalPaste.emit()}});this.createAutoFillService();this.createClipboardService()};e.prototype.createAutoFillService=function(){var e=this;this.autoFillService=new Nv({selectionStoreService:this.selectionStoreService,dimensionRow:this.dimensionRow,dimensionCol:this.dimensionCol,columnService:this.columnService,dataStore:this.dataStore,setTempRange:function(t){return e.setTempRange.emit(t)},internalSelectionChanged:function(t){return e.internalSelectionChanged.emit(t)},internalRangeDataApply:function(t){return e.internalRangeDataApply.emit(t)},setRange:function(t){return e.setRange.emit(t)},getData:function(){return e.getData()}})};e.prototype.columnServiceSet=function(){var e;(e=this.columnService)===null||e===void 0?void 0:e.destroy();this.columnService=new lf(this.dataStore,this.colData);this.createAutoFillService();this.createClipboardService()};e.prototype.createClipboardService=function(){var e=this;this.clipboardService=new Vv({selectionStoreService:this.selectionStoreService,columnService:this.columnService,dataStore:this.dataStore,onRangeApply:function(t,r){return e.autoFillService.onRangeApply(t,r)},internalCopy:function(){return e.internalCopy.emit()}})};e.prototype.connectedCallback=function(){this.columnServiceSet();this.selectionServiceSet(this.selectionStore)};e.prototype.disconnectedCallback=function(){var e;(e=this.columnService)===null||e===void 0?void 0:e.destroy()};e.prototype.renderRange=function(e){var t=Jf(e,this.dimensionRow.state,this.dimensionCol.state);return[i("div",{class:Yl,style:t})]};e.prototype.renderEditCell=function(){var e=this;var t=this.selectionStore.get("edit");if(this.readonly||!t){return}var r=t.val||this.columnService.getCellData(t.y,t.x);var n=Object.assign(Object.assign({},t),this.columnService.getSaveData(t.y,t.x,r));var o=Jf(Object.assign(Object.assign({},t),{x1:t.x,y1:t.y}),this.dimensionRow.state,this.dimensionCol.state);return i("revogr-edit",{onCellEdit:function(t){return e.onCellEdit(t.detail)},onCloseEdit:function(t){return e.closeEdit(t)},editCell:n,column:this.columnService.columns[t.x],editor:this.columnService.getCellEditor(t.y,t.x,this.editors),style:o})};e.prototype.render=function(){var e=this;var t=this.selectionStoreService.ranged;var r=this.selectionStoreService.focused;var n=[];if((t||r)&&this.useClipboard){n.push(this.clipboardService.renderClipboard())}if(t){n.push.apply(n,this.renderRange(t))}var o=this.renderEditCell();if(o){n.push(o)}if(r&&!this.readonly&&!o&&this.range){n.push(this.autoFillService.renderAutofill(t,r))}if(this.canDrag){n.push(i("revogr-order-editor",{ref:function(t){return e.orderEditor=t},dataStore:this.dataStore,dimensionRow:this.dimensionRow,dimensionCol:this.dimensionCol,parent:this.element,onInternalRowDragStart:function(t){return e.onRowDragStart(t)}}))}return i(s,{onDblClick:function(){return e.doEdit()},onMouseDown:function(t){return e.onElementMouseDown(t)}},n,i("slot",{name:"data"}))};e.prototype.onElementMouseDown=function(e){if(Dv(e.target)){return}var t=this.getData();if(e.defaultPrevented){return}var r=Vf({x:e.x,y:e.y},t);this.selectionStoreService.focus(r,this.range&&e.shiftKey);if(this.range){this.autoFillService.selectionStart(e,t)}};e.prototype.doEdit=function(e,t){if(e===void 0){e=""}if(t===void 0){t=false}var r;if(this.canEdit()){var n=this.selectionStore.get("focus");var i=this.columnService.getSaveData(n.y,n.x);(r=this.setEdit)===null||r===void 0?void 0:r.emit(Object.assign(Object.assign({},i),{isCancel:t,val:e}))}};e.prototype.closeEdit=function(e){this.doEdit(undefined,true);if(e===null||e===void 0?void 0:e.detail){this.focusNext()}};e.prototype.focusNext=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:return[4,this.keyboardService.keyChangeSelection(new KeyboardEvent("keydown",{code:wf.ARROW_DOWN}),this.range)];case 1:e=t.sent();if(!e){this.closeEdit()}return[2]}}))}))};e.prototype.clearCell=function(){if(this.selectionStoreService.ranged&&!Uc(this.selectionStoreService.ranged)){var e=this.columnService.getRangeStaticData(this.selectionStoreService.ranged,"");this.autoFillService.onRangeApply(e,this.selectionStoreService.ranged)}else if(this.canEdit()){var t=this.selectionStoreService.focused;this.onCellEdit({rgRow:t.y,rgCol:t.x,val:""},true)}};e.prototype.onCellEdit=function(e,t){if(t===void 0){t=false}var r=this.columnService.getSaveData(e.rgRow,e.rgCol,e.val);this.internalCellEdit.emit(r);if(!t&&!e.preventFocus){this.focusNext()}};e.prototype.onRowDragStart=function(e){var t=e.detail;t.text=this.columnService.getCellData(t.cell.y,t.cell.x)};e.prototype.canEdit=function(){var e;if(this.readonly){return false}var t=this.selectionStoreService.focused;return t&&!((e=this.columnService)===null||e===void 0?void 0:e.isReadOnly(t.y,t.x))};e.prototype.getData=function(){return{el:this.element,rows:this.dimensionRow.state,cols:this.dimensionCol.state,lastCell:this.lastCell}};Object.defineProperty(e.prototype,"element",{get:function(){return u(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{selectionStore:["selectionServiceSet"],dimensionRow:["createAutoFillService"],dimensionCol:["createAutoFillService"],dataStore:["columnServiceSet"],colData:["columnServiceSet"]}},enumerable:false,configurable:true});return e}());Gv.style=Zv;var $v=function(e){return function(t,r){var n=r.rowIndex;return e+n}};var Xv=e("revogr_row_headers",function(){function e(e){o(this,e);this.scrollViewport=a(this,"scrollViewport",3);this.elementToScroll=a(this,"elementToScroll",3)}e.prototype.render=function(){var e;var t=this;var r=[];var n=new mu;var o=1;for(var a=0,u=this.dataPorts;a<u.length;a++){var l=u[a];var c=l.dataStore.get("items").length;var f=new Cs(l.type);f.updateData(l.dataStore.get("source"));var v=new Cs("colPinStart");var h=Object.assign({cellTemplate:$v(o)},this.rowHeaderColumn);v.updateData([h]);var d=Object.assign(Object.assign({},l),{dataStore:f.store,colData:v.store,viewportCol:n.store,readonly:true,range:false});r.push(i("revogr-data",Object.assign({},d)));o+=c}var p=rf(o,this.rowHeaderColumn);n.setViewport({realCount:1,virtualSize:0,items:[{size:p,start:0,end:p,itemIndex:0}]});var g=this.uiid+"-rowHeaders";var m=(e={},e[Hl]=g,e.contentHeight=this.height,e.contentWidth=0,e.style={minWidth:p+"px"},e.ref=function(e){return t.elementToScroll.emit(e)},e.onScrollViewport=function(e){return t.scrollViewport.emit(e.detail)},e);var C=Object.assign(Object.assign({},this.headerProp),{colData:typeof this.rowHeaderColumn==="object"?[this.rowHeaderColumn]:[],viewportCol:n.store,canResize:false,parent:g,slot:"header"});return i(s,{class:"rowHeaders",key:"rowHeaders"},i("revogr-viewport-scroll",Object.assign({},m),i("revogr-header",Object.assign({},C)),r))};return e}());var qv={contentSize:0,clientSize:0,virtualSize:0,maxSize:0};var Yv=function(){function e(e){this.cfg=e;this.preventArtificialScroll={rgRow:null,rgCol:null};this.previousScroll={rgRow:0,rgCol:0};this.params={rgRow:Object.assign({},qv),rgCol:Object.assign({},qv)}}e.getVirtualContentSize=function(e,t,r){if(r===void 0){r=0}return e+(r?t-r:0)};e.prototype.setParams=function(t,r){var n=e.getVirtualContentSize(t.contentSize,t.clientSize,t.virtualSize);this.params[r]=Object.assign(Object.assign({},t),{maxSize:n-t.clientSize,virtualContentSize:n})};e.prototype.setScroll=function(e){var t=this;this.cancelScroll(e.dimension);this.preventArtificialScroll[e.dimension]=window.requestAnimationFrame((function(){var r=t.getParams(e.dimension);e.coordinate=Math.ceil(e.coordinate);t.previousScroll[e.dimension]=t.wrapCoordinate(e.coordinate,r);t.preventArtificialScroll[e.dimension]=null;t.cfg.afterScroll(Object.assign(Object.assign({},e),{coordinate:r.virtualSize?t.convert(e.coordinate,r,false):e.coordinate}))}))};e.prototype.scroll=function(e,t,r,n){if(r===void 0){r=false}this.cancelScroll(t);if(!r&&this.previousScroll[t]===e){this.previousScroll[t]=0;return}var i=this.getParams(t);this.cfg.beforeScroll({dimension:t,coordinate:i.virtualSize?this.convert(e,i):e,delta:n})};e.prototype.getParams=function(e){return this.params[e]};e.prototype.wrapCoordinate=function(e,t){if(e<0){return 0}if(e>t.maxSize){return t.maxSize}return e};e.prototype.cancelScroll=function(e){if(typeof this.preventArtificialScroll[e]==="number"){window.cancelAnimationFrame(this.preventArtificialScroll[e]);this.preventArtificialScroll[e]=null;return true}return false};e.prototype.convert=function(e,t,r){if(r===void 0){r=true}var n=t.clientSize;var i=[0,t.virtualContentSize-n];var o=[0,t.contentSize-t.virtualSize];if(r){return Ks(e,i,o)}return Ks(e,o,i)};return e}();var Kv=".revo-drag-icon{-webkit-mask-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 438 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M421.875,70.40625 C426.432292,70.40625 430.175781,68.9414062 433.105469,66.0117188 C436.035156,63.0820312 437.5,59.3385417 437.5,54.78125 L437.5,54.78125 L437.5,15.71875 C437.5,11.1614583 436.035156,7.41796875 433.105469,4.48828125 C430.175781,1.55859375 426.432292,0.09375 421.875,0.09375 L421.875,0.09375 L15.625,0.09375 C11.0677083,0.09375 7.32421875,1.55859375 4.39453125,4.48828125 C1.46484375,7.41796875 0,11.1614583 0,15.71875 L0,15.71875 L0,54.78125 C0,59.3385417 1.46484375,63.0820312 4.39453125,66.0117188 C7.32421875,68.9414062 11.0677083,70.40625 15.625,70.40625 L15.625,70.40625 L421.875,70.40625 Z M421.875,226.65625 C426.432292,226.65625 430.175781,225.191406 433.105469,222.261719 C436.035156,219.332031 437.5,215.588542 437.5,211.03125 L437.5,211.03125 L437.5,171.96875 C437.5,167.411458 436.035156,163.667969 433.105469,160.738281 C430.175781,157.808594 426.432292,156.34375 421.875,156.34375 L421.875,156.34375 L15.625,156.34375 C11.0677083,156.34375 7.32421875,157.808594 4.39453125,160.738281 C1.46484375,163.667969 0,167.411458 0,171.96875 L0,171.96875 L0,211.03125 C0,215.588542 1.46484375,219.332031 4.39453125,222.261719 C7.32421875,225.191406 11.0677083,226.65625 15.625,226.65625 L15.625,226.65625 L421.875,226.65625 Z M421.875,382.90625 C426.432292,382.90625 430.175781,381.441406 433.105469,378.511719 C436.035156,375.582031 437.5,371.838542 437.5,367.28125 L437.5,367.28125 L437.5,328.21875 C437.5,323.661458 436.035156,319.917969 433.105469,316.988281 C430.175781,314.058594 426.432292,312.59375 421.875,312.59375 L421.875,312.59375 L15.625,312.59375 C11.0677083,312.59375 7.32421875,314.058594 4.39453125,316.988281 C1.46484375,319.917969 0,323.661458 0,328.21875 L0,328.21875 L0,367.28125 C0,371.838542 1.46484375,375.582031 4.39453125,378.511719 C7.32421875,381.441406 11.0677083,382.90625 15.625,382.90625 L15.625,382.90625 L421.875,382.90625 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 438 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M421.875,70.40625 C426.432292,70.40625 430.175781,68.9414062 433.105469,66.0117188 C436.035156,63.0820312 437.5,59.3385417 437.5,54.78125 L437.5,54.78125 L437.5,15.71875 C437.5,11.1614583 436.035156,7.41796875 433.105469,4.48828125 C430.175781,1.55859375 426.432292,0.09375 421.875,0.09375 L421.875,0.09375 L15.625,0.09375 C11.0677083,0.09375 7.32421875,1.55859375 4.39453125,4.48828125 C1.46484375,7.41796875 0,11.1614583 0,15.71875 L0,15.71875 L0,54.78125 C0,59.3385417 1.46484375,63.0820312 4.39453125,66.0117188 C7.32421875,68.9414062 11.0677083,70.40625 15.625,70.40625 L15.625,70.40625 L421.875,70.40625 Z M421.875,226.65625 C426.432292,226.65625 430.175781,225.191406 433.105469,222.261719 C436.035156,219.332031 437.5,215.588542 437.5,211.03125 L437.5,211.03125 L437.5,171.96875 C437.5,167.411458 436.035156,163.667969 433.105469,160.738281 C430.175781,157.808594 426.432292,156.34375 421.875,156.34375 L421.875,156.34375 L15.625,156.34375 C11.0677083,156.34375 7.32421875,157.808594 4.39453125,160.738281 C1.46484375,163.667969 0,167.411458 0,171.96875 L0,171.96875 L0,211.03125 C0,215.588542 1.46484375,219.332031 4.39453125,222.261719 C7.32421875,225.191406 11.0677083,226.65625 15.625,226.65625 L15.625,226.65625 L421.875,226.65625 Z M421.875,382.90625 C426.432292,382.90625 430.175781,381.441406 433.105469,378.511719 C436.035156,375.582031 437.5,371.838542 437.5,367.28125 L437.5,367.28125 L437.5,328.21875 C437.5,323.661458 436.035156,319.917969 433.105469,316.988281 C430.175781,314.058594 426.432292,312.59375 421.875,312.59375 L421.875,312.59375 L15.625,312.59375 C11.0677083,312.59375 7.32421875,314.058594 4.39453125,316.988281 C1.46484375,319.917969 0,323.661458 0,328.21875 L0,328.21875 L0,367.28125 C0,371.838542 1.46484375,375.582031 4.39453125,378.511719 C7.32421875,381.441406 11.0677083,382.90625 15.625,382.90625 L15.625,382.90625 L421.875,382.90625 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E\");width:11px;height:7px;background-size:cover;background-repeat:no-repeat}.revo-alt-icon{-webkit-mask-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 384 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M192.4375,383 C197.424479,383 201.663411,381.254557 205.154297,377.763672 L205.154297,377.763672 L264.25,318.667969 C270.234375,312.683594 271.605794,306.075846 268.364258,298.844727 C265.122721,291.613607 259.51237,287.998047 251.533203,287.998047 L251.533203,287.998047 L213.382812,287.998047 L213.382812,212.445312 L288.935547,212.445312 L288.935547,250.595703 C288.935547,258.57487 292.551107,264.185221 299.782227,267.426758 C307.013346,270.668294 313.621094,269.296875 319.605469,263.3125 L319.605469,263.3125 L378.701172,204.216797 C382.192057,200.725911 383.9375,196.486979 383.9375,191.5 C383.9375,186.513021 382.192057,182.274089 378.701172,178.783203 L378.701172,178.783203 L319.605469,119.6875 C313.621094,114.201823 307.013346,112.955078 299.782227,115.947266 C292.551107,118.939453 288.935547,124.42513 288.935547,132.404297 L288.935547,132.404297 L288.935547,170.554688 L213.382812,170.554688 L213.382812,95.0019531 L251.533203,95.0019531 C259.51237,95.0019531 264.998047,91.3863932 267.990234,84.1552734 C270.982422,76.9241536 269.735677,70.3164062 264.25,64.3320312 L264.25,64.3320312 L205.154297,5.23632812 C201.663411,1.74544271 197.424479,0 192.4375,0 C187.450521,0 183.211589,1.74544271 179.720703,5.23632812 L179.720703,5.23632812 L120.625,64.3320312 C114.640625,70.3164062 113.269206,76.9241536 116.510742,84.1552734 C119.752279,91.3863932 125.36263,95.0019531 133.341797,95.0019531 L133.341797,95.0019531 L171.492188,95.0019531 L171.492188,170.554688 L95.9394531,170.554688 L95.9394531,132.404297 C95.9394531,124.42513 92.3238932,118.814779 85.0927734,115.573242 C77.8616536,112.331706 71.2539062,113.703125 65.2695312,119.6875 L65.2695312,119.6875 L6.17382812,178.783203 C2.68294271,182.274089 0.9375,186.513021 0.9375,191.5 C0.9375,196.486979 2.68294271,200.725911 6.17382812,204.216797 L6.17382812,204.216797 L65.2695312,263.3125 C71.2539062,268.798177 77.8616536,270.044922 85.0927734,267.052734 C92.3238932,264.060547 95.9394531,258.57487 95.9394531,250.595703 L95.9394531,250.595703 L95.9394531,212.445312 L171.492188,212.445312 L171.492188,287.998047 L133.341797,287.998047 C125.36263,287.998047 119.876953,291.613607 116.884766,298.844727 C113.892578,306.075846 115.139323,312.683594 120.625,318.667969 L120.625,318.667969 L179.720703,377.763672 C183.211589,381.254557 187.450521,383 192.4375,383 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 384 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M192.4375,383 C197.424479,383 201.663411,381.254557 205.154297,377.763672 L205.154297,377.763672 L264.25,318.667969 C270.234375,312.683594 271.605794,306.075846 268.364258,298.844727 C265.122721,291.613607 259.51237,287.998047 251.533203,287.998047 L251.533203,287.998047 L213.382812,287.998047 L213.382812,212.445312 L288.935547,212.445312 L288.935547,250.595703 C288.935547,258.57487 292.551107,264.185221 299.782227,267.426758 C307.013346,270.668294 313.621094,269.296875 319.605469,263.3125 L319.605469,263.3125 L378.701172,204.216797 C382.192057,200.725911 383.9375,196.486979 383.9375,191.5 C383.9375,186.513021 382.192057,182.274089 378.701172,178.783203 L378.701172,178.783203 L319.605469,119.6875 C313.621094,114.201823 307.013346,112.955078 299.782227,115.947266 C292.551107,118.939453 288.935547,124.42513 288.935547,132.404297 L288.935547,132.404297 L288.935547,170.554688 L213.382812,170.554688 L213.382812,95.0019531 L251.533203,95.0019531 C259.51237,95.0019531 264.998047,91.3863932 267.990234,84.1552734 C270.982422,76.9241536 269.735677,70.3164062 264.25,64.3320312 L264.25,64.3320312 L205.154297,5.23632812 C201.663411,1.74544271 197.424479,0 192.4375,0 C187.450521,0 183.211589,1.74544271 179.720703,5.23632812 L179.720703,5.23632812 L120.625,64.3320312 C114.640625,70.3164062 113.269206,76.9241536 116.510742,84.1552734 C119.752279,91.3863932 125.36263,95.0019531 133.341797,95.0019531 L133.341797,95.0019531 L171.492188,95.0019531 L171.492188,170.554688 L95.9394531,170.554688 L95.9394531,132.404297 C95.9394531,124.42513 92.3238932,118.814779 85.0927734,115.573242 C77.8616536,112.331706 71.2539062,113.703125 65.2695312,119.6875 L65.2695312,119.6875 L6.17382812,178.783203 C2.68294271,182.274089 0.9375,186.513021 0.9375,191.5 C0.9375,196.486979 2.68294271,200.725911 6.17382812,204.216797 L6.17382812,204.216797 L65.2695312,263.3125 C71.2539062,268.798177 77.8616536,270.044922 85.0927734,267.052734 C92.3238932,264.060547 95.9394531,258.57487 95.9394531,250.595703 L95.9394531,250.595703 L95.9394531,212.445312 L171.492188,212.445312 L171.492188,287.998047 L133.341797,287.998047 C125.36263,287.998047 119.876953,291.613607 116.884766,298.844727 C113.892578,306.075846 115.139323,312.683594 120.625,318.667969 L120.625,318.667969 L179.720703,377.763672 C183.211589,381.254557 187.450521,383 192.4375,383 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E\");width:11px;height:11px;background-size:cover;background-repeat:no-repeat}.arrow-down{position:absolute;right:5px;top:0}.arrow-down svg{width:8px;margin-top:5px;margin-left:5px;opacity:0.4}.cell-value-wrapper{margin-right:10px;overflow:hidden;text-overflow:ellipsis}.revo-button{position:relative;overflow:hidden;color:#fff;background-color:#6200ee;height:34px;line-height:34px;padding:0 15px;outline:0;border:0;border-radius:7px;box-sizing:border-box;cursor:pointer}.revo-button.green{background-color:#2ee072;border:1px solid #20d565}.revo-button.light{border:2px solid #cedefa;line-height:32px;background:none;color:#4876ca;box-shadow:none}revogr-scroll-virtual[auto-hide]{position:absolute;z-index:100}revogr-scroll-virtual[auto-hide].vertical{right:0;top:0}revogr-scroll-virtual[auto-hide].vertical:hover{min-width:20px}revogr-scroll-virtual[auto-hide].horizontal{bottom:0;left:0}revogr-scroll-virtual[auto-hide].horizontal:hover{min-height:20px}revogr-scroll-virtual.vertical{overflow-y:auto;overflow-x:hidden;height:100%}revogr-scroll-virtual.vertical>div{width:1px}revogr-scroll-virtual.horizontal{overflow-x:auto;overflow-y:hidden;width:100%}revogr-scroll-virtual.horizontal>div{height:1px}";var Jv=e("revogr_scroll_virtual",function(){function e(e){o(this,e);this.scrollVirtual=a(this,"scrollVirtual",7);this.scrollSize=0;this.isAutoHide=false;this.autoHideTimeout=0;this.dimension="rgRow"}e.prototype.setScroll=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(r){if(this.dimension!==e.dimension){return[2]}(t=this.scrollService)===null||t===void 0?void 0:t.setScroll(e);return[2]}))}))};e.prototype.changeScroll=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(e.delta){switch(e.dimension){case"rgCol":e.coordinate=this.element.scrollLeft+e.delta;break;case"rgRow":e.coordinate=this.element.scrollTop+e.delta;break}this.setScroll(e)}return[2,e]}))}))};Object.defineProperty(e.prototype,"size",{get:function(){if(this.dimension==="rgRow"){return this.element.clientHeight}return this.element.clientWidth},set:function(e){if(this.dimension==="rgRow"){this.element.style.minWidth=e+"px";return}this.element.style.minHeight=e+"px"},enumerable:false,configurable:true});e.prototype.connectedCallback=function(){var e=this;this.scrollService=new Yv({beforeScroll:function(t){return e.scrollVirtual.emit(t)},afterScroll:function(t){var r=t.dimension==="rgRow"?"scrollTop":"scrollLeft";e.element[r]=t.coordinate}})};e.prototype.disconnectedCallback=function(){clearTimeout(this.autoHideTimeout)};e.prototype.componentWillLoad=function(){this.scrollSize=Ys(document);this.isAutoHide=!this.scrollSize};e.prototype.componentDidRender=function(){var e=this.dimension==="rgRow"?"scrollHeight":"scrollWidth";if(this.element[e]>this.size){this.size=this.scrollSize}else{this.size=0}this.scrollService.setParams({contentSize:this.dimensionStore.get("realSize"),clientSize:this.size,virtualSize:this.viewportStore.get("virtualSize")},this.dimension)};e.prototype.onScroll=function(e){var t;var r="scrollLeft";if(this.dimension==="rgRow"){r="scrollTop"}if(this.isAutoHide){this.size=20;this.autoHideTimeout=this.autoHide(this.autoHideTimeout)}var n=e.target;(t=this.scrollService)===null||t===void 0?void 0:t.scroll(n[r]||0,this.dimension)};e.prototype.autoHide=function(e){var t=this;clearTimeout(e);return setTimeout((function(){t.size=0}),6e3)};e.prototype.render=function(){var e;var t=this;var r=this.dimension==="rgRow"?"height":"width";return i(s,Object.assign({},{"auto-hide":this.isAutoHide},{onScroll:function(e){return t.onScroll(e)}}),i("div",{style:(e={},e[r]=this.extContentSize(this.viewportStore.get("virtualSize"),this.dimensionStore.get("realSize"))+"px",e)}))};e.prototype.extContentSize=function(e,t){return Yv.getVirtualContentSize(t,this.size,e)};Object.defineProperty(e.prototype,"element",{get:function(){return u(this)},enumerable:false,configurable:true});return e}());Jv.style=Kv;var Qv=".revo-drag-icon{-webkit-mask-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 438 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M421.875,70.40625 C426.432292,70.40625 430.175781,68.9414062 433.105469,66.0117188 C436.035156,63.0820312 437.5,59.3385417 437.5,54.78125 L437.5,54.78125 L437.5,15.71875 C437.5,11.1614583 436.035156,7.41796875 433.105469,4.48828125 C430.175781,1.55859375 426.432292,0.09375 421.875,0.09375 L421.875,0.09375 L15.625,0.09375 C11.0677083,0.09375 7.32421875,1.55859375 4.39453125,4.48828125 C1.46484375,7.41796875 0,11.1614583 0,15.71875 L0,15.71875 L0,54.78125 C0,59.3385417 1.46484375,63.0820312 4.39453125,66.0117188 C7.32421875,68.9414062 11.0677083,70.40625 15.625,70.40625 L15.625,70.40625 L421.875,70.40625 Z M421.875,226.65625 C426.432292,226.65625 430.175781,225.191406 433.105469,222.261719 C436.035156,219.332031 437.5,215.588542 437.5,211.03125 L437.5,211.03125 L437.5,171.96875 C437.5,167.411458 436.035156,163.667969 433.105469,160.738281 C430.175781,157.808594 426.432292,156.34375 421.875,156.34375 L421.875,156.34375 L15.625,156.34375 C11.0677083,156.34375 7.32421875,157.808594 4.39453125,160.738281 C1.46484375,163.667969 0,167.411458 0,171.96875 L0,171.96875 L0,211.03125 C0,215.588542 1.46484375,219.332031 4.39453125,222.261719 C7.32421875,225.191406 11.0677083,226.65625 15.625,226.65625 L15.625,226.65625 L421.875,226.65625 Z M421.875,382.90625 C426.432292,382.90625 430.175781,381.441406 433.105469,378.511719 C436.035156,375.582031 437.5,371.838542 437.5,367.28125 L437.5,367.28125 L437.5,328.21875 C437.5,323.661458 436.035156,319.917969 433.105469,316.988281 C430.175781,314.058594 426.432292,312.59375 421.875,312.59375 L421.875,312.59375 L15.625,312.59375 C11.0677083,312.59375 7.32421875,314.058594 4.39453125,316.988281 C1.46484375,319.917969 0,323.661458 0,328.21875 L0,328.21875 L0,367.28125 C0,371.838542 1.46484375,375.582031 4.39453125,378.511719 C7.32421875,381.441406 11.0677083,382.90625 15.625,382.90625 L15.625,382.90625 L421.875,382.90625 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 438 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M421.875,70.40625 C426.432292,70.40625 430.175781,68.9414062 433.105469,66.0117188 C436.035156,63.0820312 437.5,59.3385417 437.5,54.78125 L437.5,54.78125 L437.5,15.71875 C437.5,11.1614583 436.035156,7.41796875 433.105469,4.48828125 C430.175781,1.55859375 426.432292,0.09375 421.875,0.09375 L421.875,0.09375 L15.625,0.09375 C11.0677083,0.09375 7.32421875,1.55859375 4.39453125,4.48828125 C1.46484375,7.41796875 0,11.1614583 0,15.71875 L0,15.71875 L0,54.78125 C0,59.3385417 1.46484375,63.0820312 4.39453125,66.0117188 C7.32421875,68.9414062 11.0677083,70.40625 15.625,70.40625 L15.625,70.40625 L421.875,70.40625 Z M421.875,226.65625 C426.432292,226.65625 430.175781,225.191406 433.105469,222.261719 C436.035156,219.332031 437.5,215.588542 437.5,211.03125 L437.5,211.03125 L437.5,171.96875 C437.5,167.411458 436.035156,163.667969 433.105469,160.738281 C430.175781,157.808594 426.432292,156.34375 421.875,156.34375 L421.875,156.34375 L15.625,156.34375 C11.0677083,156.34375 7.32421875,157.808594 4.39453125,160.738281 C1.46484375,163.667969 0,167.411458 0,171.96875 L0,171.96875 L0,211.03125 C0,215.588542 1.46484375,219.332031 4.39453125,222.261719 C7.32421875,225.191406 11.0677083,226.65625 15.625,226.65625 L15.625,226.65625 L421.875,226.65625 Z M421.875,382.90625 C426.432292,382.90625 430.175781,381.441406 433.105469,378.511719 C436.035156,375.582031 437.5,371.838542 437.5,367.28125 L437.5,367.28125 L437.5,328.21875 C437.5,323.661458 436.035156,319.917969 433.105469,316.988281 C430.175781,314.058594 426.432292,312.59375 421.875,312.59375 L421.875,312.59375 L15.625,312.59375 C11.0677083,312.59375 7.32421875,314.058594 4.39453125,316.988281 C1.46484375,319.917969 0,323.661458 0,328.21875 L0,328.21875 L0,367.28125 C0,371.838542 1.46484375,375.582031 4.39453125,378.511719 C7.32421875,381.441406 11.0677083,382.90625 15.625,382.90625 L15.625,382.90625 L421.875,382.90625 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E\");width:11px;height:7px;background-size:cover;background-repeat:no-repeat}.revo-alt-icon{-webkit-mask-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 384 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M192.4375,383 C197.424479,383 201.663411,381.254557 205.154297,377.763672 L205.154297,377.763672 L264.25,318.667969 C270.234375,312.683594 271.605794,306.075846 268.364258,298.844727 C265.122721,291.613607 259.51237,287.998047 251.533203,287.998047 L251.533203,287.998047 L213.382812,287.998047 L213.382812,212.445312 L288.935547,212.445312 L288.935547,250.595703 C288.935547,258.57487 292.551107,264.185221 299.782227,267.426758 C307.013346,270.668294 313.621094,269.296875 319.605469,263.3125 L319.605469,263.3125 L378.701172,204.216797 C382.192057,200.725911 383.9375,196.486979 383.9375,191.5 C383.9375,186.513021 382.192057,182.274089 378.701172,178.783203 L378.701172,178.783203 L319.605469,119.6875 C313.621094,114.201823 307.013346,112.955078 299.782227,115.947266 C292.551107,118.939453 288.935547,124.42513 288.935547,132.404297 L288.935547,132.404297 L288.935547,170.554688 L213.382812,170.554688 L213.382812,95.0019531 L251.533203,95.0019531 C259.51237,95.0019531 264.998047,91.3863932 267.990234,84.1552734 C270.982422,76.9241536 269.735677,70.3164062 264.25,64.3320312 L264.25,64.3320312 L205.154297,5.23632812 C201.663411,1.74544271 197.424479,0 192.4375,0 C187.450521,0 183.211589,1.74544271 179.720703,5.23632812 L179.720703,5.23632812 L120.625,64.3320312 C114.640625,70.3164062 113.269206,76.9241536 116.510742,84.1552734 C119.752279,91.3863932 125.36263,95.0019531 133.341797,95.0019531 L133.341797,95.0019531 L171.492188,95.0019531 L171.492188,170.554688 L95.9394531,170.554688 L95.9394531,132.404297 C95.9394531,124.42513 92.3238932,118.814779 85.0927734,115.573242 C77.8616536,112.331706 71.2539062,113.703125 65.2695312,119.6875 L65.2695312,119.6875 L6.17382812,178.783203 C2.68294271,182.274089 0.9375,186.513021 0.9375,191.5 C0.9375,196.486979 2.68294271,200.725911 6.17382812,204.216797 L6.17382812,204.216797 L65.2695312,263.3125 C71.2539062,268.798177 77.8616536,270.044922 85.0927734,267.052734 C92.3238932,264.060547 95.9394531,258.57487 95.9394531,250.595703 L95.9394531,250.595703 L95.9394531,212.445312 L171.492188,212.445312 L171.492188,287.998047 L133.341797,287.998047 C125.36263,287.998047 119.876953,291.613607 116.884766,298.844727 C113.892578,306.075846 115.139323,312.683594 120.625,318.667969 L120.625,318.667969 L179.720703,377.763672 C183.211589,381.254557 187.450521,383 192.4375,383 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 384 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M192.4375,383 C197.424479,383 201.663411,381.254557 205.154297,377.763672 L205.154297,377.763672 L264.25,318.667969 C270.234375,312.683594 271.605794,306.075846 268.364258,298.844727 C265.122721,291.613607 259.51237,287.998047 251.533203,287.998047 L251.533203,287.998047 L213.382812,287.998047 L213.382812,212.445312 L288.935547,212.445312 L288.935547,250.595703 C288.935547,258.57487 292.551107,264.185221 299.782227,267.426758 C307.013346,270.668294 313.621094,269.296875 319.605469,263.3125 L319.605469,263.3125 L378.701172,204.216797 C382.192057,200.725911 383.9375,196.486979 383.9375,191.5 C383.9375,186.513021 382.192057,182.274089 378.701172,178.783203 L378.701172,178.783203 L319.605469,119.6875 C313.621094,114.201823 307.013346,112.955078 299.782227,115.947266 C292.551107,118.939453 288.935547,124.42513 288.935547,132.404297 L288.935547,132.404297 L288.935547,170.554688 L213.382812,170.554688 L213.382812,95.0019531 L251.533203,95.0019531 C259.51237,95.0019531 264.998047,91.3863932 267.990234,84.1552734 C270.982422,76.9241536 269.735677,70.3164062 264.25,64.3320312 L264.25,64.3320312 L205.154297,5.23632812 C201.663411,1.74544271 197.424479,0 192.4375,0 C187.450521,0 183.211589,1.74544271 179.720703,5.23632812 L179.720703,5.23632812 L120.625,64.3320312 C114.640625,70.3164062 113.269206,76.9241536 116.510742,84.1552734 C119.752279,91.3863932 125.36263,95.0019531 133.341797,95.0019531 L133.341797,95.0019531 L171.492188,95.0019531 L171.492188,170.554688 L95.9394531,170.554688 L95.9394531,132.404297 C95.9394531,124.42513 92.3238932,118.814779 85.0927734,115.573242 C77.8616536,112.331706 71.2539062,113.703125 65.2695312,119.6875 L65.2695312,119.6875 L6.17382812,178.783203 C2.68294271,182.274089 0.9375,186.513021 0.9375,191.5 C0.9375,196.486979 2.68294271,200.725911 6.17382812,204.216797 L6.17382812,204.216797 L65.2695312,263.3125 C71.2539062,268.798177 77.8616536,270.044922 85.0927734,267.052734 C92.3238932,264.060547 95.9394531,258.57487 95.9394531,250.595703 L95.9394531,250.595703 L95.9394531,212.445312 L171.492188,212.445312 L171.492188,287.998047 L133.341797,287.998047 C125.36263,287.998047 119.876953,291.613607 116.884766,298.844727 C113.892578,306.075846 115.139323,312.683594 120.625,318.667969 L120.625,318.667969 L179.720703,377.763672 C183.211589,381.254557 187.450521,383 192.4375,383 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E\");width:11px;height:11px;background-size:cover;background-repeat:no-repeat}.arrow-down{position:absolute;right:5px;top:0}.arrow-down svg{width:8px;margin-top:5px;margin-left:5px;opacity:0.4}.cell-value-wrapper{margin-right:10px;overflow:hidden;text-overflow:ellipsis}.revo-button{position:relative;overflow:hidden;color:#fff;background-color:#6200ee;height:34px;line-height:34px;padding:0 15px;outline:0;border:0;border-radius:7px;box-sizing:border-box;cursor:pointer}.revo-button.green{background-color:#2ee072;border:1px solid #20d565}.revo-button.light{border:2px solid #cedefa;line-height:32px;background:none;color:#4876ca;box-shadow:none}.temp-bg-range{display:block !important;position:absolute;pointer-events:none;z-index:9;border:1px solid #ff5e00;box-sizing:border-box}.temp-bg-range.Selection{border:1px dashed gray}.temp-bg-range>div{width:1px;height:1px;position:absolute}.temp-bg-range>div.top{top:-1px}.temp-bg-range>div.bottom{bottom:-1px}.temp-bg-range>div.left{left:-1px}.temp-bg-range>div.right{right:-1px}";var eh=e("revogr_temp_range",function(){function e(e){var t=this;o(this,e);this.onChange=ou.throttle((function(e){return t.doChange(e)}),300)}e.prototype.doChange=function(e){e===null||e===void 0?void 0:e.scrollIntoView({block:"nearest",inline:"nearest"})};e.prototype.componentDidRender=function(){if(this.el){this.onChange(this.el)}};e.prototype.render=function(){var e;var t=this;var r=this.selectionStore.get("tempRange");var n=this.selectionStore.get("tempRangeType");if(!r){return}var o="bottom";var a="right";var u=this.getRange();if(!u){return}if(r.y<u.y){o="top"}if(r.x<u.x){a="left"}var l=a+" "+o;var c=Jf(r,this.dimensionRow.state,this.dimensionCol.state);return i(s,{class:(e={},e[Kl]=true,e[n||""]=true,e),style:c,hidden:false},i("div",{class:l,ref:function(e){return t.el=e}}))};e.prototype.getRange=function(){var e=this.selectionStore.get("range");if(e){return e}var t=this.selectionStore.get("focus");if(!t){return null}return Object.assign(Object.assign({},t),{x1:t.x,y1:t.y})};return e}());eh.style=Qv;var th="Expected a function";function rh(e,t,r){var n=true,i=true;if(typeof e!="function"){throw new TypeError(th)}if(dt(r)){n="leading"in r?!!r.leading:n;i="trailing"in r?!!r.trailing:i}return Pv(e,t,{leading:n,maxWait:t,trailing:i})}var nh=rh;function ih(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(r){switch(r.label){case 0:if(!!("ResizeObserver"in window))return[3,2];return[4,t.import("./resize-observer-7a7b9757.system.js")];case 1:e=r.sent();window.ResizeObserver=e.ResizeObserver;r.label=2;case 2:return[2]}}))}))}var oh=function(){function e(e,t){var r=this;this.events=t;this.resizeObserver=null;this.resize=nh((function(e,t){var n;return(n=r.events)===null||n===void 0?void 0:n.resize(e,t)}),10);this.init(e)}e.prototype.init=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(r){switch(r.label){case 0:return[4,ih()];case 1:r.sent();this.resizeObserver=new ResizeObserver(this.resize);(t=this.resizeObserver)===null||t===void 0?void 0:t.observe(e);return[2]}}))}))};e.prototype.destroy=function(){var e;(e=this.resizeObserver)===null||e===void 0?void 0:e.disconnect();this.resizeObserver=null};return e}();var ah=".revo-drag-icon{-webkit-mask-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 438 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M421.875,70.40625 C426.432292,70.40625 430.175781,68.9414062 433.105469,66.0117188 C436.035156,63.0820312 437.5,59.3385417 437.5,54.78125 L437.5,54.78125 L437.5,15.71875 C437.5,11.1614583 436.035156,7.41796875 433.105469,4.48828125 C430.175781,1.55859375 426.432292,0.09375 421.875,0.09375 L421.875,0.09375 L15.625,0.09375 C11.0677083,0.09375 7.32421875,1.55859375 4.39453125,4.48828125 C1.46484375,7.41796875 0,11.1614583 0,15.71875 L0,15.71875 L0,54.78125 C0,59.3385417 1.46484375,63.0820312 4.39453125,66.0117188 C7.32421875,68.9414062 11.0677083,70.40625 15.625,70.40625 L15.625,70.40625 L421.875,70.40625 Z M421.875,226.65625 C426.432292,226.65625 430.175781,225.191406 433.105469,222.261719 C436.035156,219.332031 437.5,215.588542 437.5,211.03125 L437.5,211.03125 L437.5,171.96875 C437.5,167.411458 436.035156,163.667969 433.105469,160.738281 C430.175781,157.808594 426.432292,156.34375 421.875,156.34375 L421.875,156.34375 L15.625,156.34375 C11.0677083,156.34375 7.32421875,157.808594 4.39453125,160.738281 C1.46484375,163.667969 0,167.411458 0,171.96875 L0,171.96875 L0,211.03125 C0,215.588542 1.46484375,219.332031 4.39453125,222.261719 C7.32421875,225.191406 11.0677083,226.65625 15.625,226.65625 L15.625,226.65625 L421.875,226.65625 Z M421.875,382.90625 C426.432292,382.90625 430.175781,381.441406 433.105469,378.511719 C436.035156,375.582031 437.5,371.838542 437.5,367.28125 L437.5,367.28125 L437.5,328.21875 C437.5,323.661458 436.035156,319.917969 433.105469,316.988281 C430.175781,314.058594 426.432292,312.59375 421.875,312.59375 L421.875,312.59375 L15.625,312.59375 C11.0677083,312.59375 7.32421875,314.058594 4.39453125,316.988281 C1.46484375,319.917969 0,323.661458 0,328.21875 L0,328.21875 L0,367.28125 C0,371.838542 1.46484375,375.582031 4.39453125,378.511719 C7.32421875,381.441406 11.0677083,382.90625 15.625,382.90625 L15.625,382.90625 L421.875,382.90625 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 438 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M421.875,70.40625 C426.432292,70.40625 430.175781,68.9414062 433.105469,66.0117188 C436.035156,63.0820312 437.5,59.3385417 437.5,54.78125 L437.5,54.78125 L437.5,15.71875 C437.5,11.1614583 436.035156,7.41796875 433.105469,4.48828125 C430.175781,1.55859375 426.432292,0.09375 421.875,0.09375 L421.875,0.09375 L15.625,0.09375 C11.0677083,0.09375 7.32421875,1.55859375 4.39453125,4.48828125 C1.46484375,7.41796875 0,11.1614583 0,15.71875 L0,15.71875 L0,54.78125 C0,59.3385417 1.46484375,63.0820312 4.39453125,66.0117188 C7.32421875,68.9414062 11.0677083,70.40625 15.625,70.40625 L15.625,70.40625 L421.875,70.40625 Z M421.875,226.65625 C426.432292,226.65625 430.175781,225.191406 433.105469,222.261719 C436.035156,219.332031 437.5,215.588542 437.5,211.03125 L437.5,211.03125 L437.5,171.96875 C437.5,167.411458 436.035156,163.667969 433.105469,160.738281 C430.175781,157.808594 426.432292,156.34375 421.875,156.34375 L421.875,156.34375 L15.625,156.34375 C11.0677083,156.34375 7.32421875,157.808594 4.39453125,160.738281 C1.46484375,163.667969 0,167.411458 0,171.96875 L0,171.96875 L0,211.03125 C0,215.588542 1.46484375,219.332031 4.39453125,222.261719 C7.32421875,225.191406 11.0677083,226.65625 15.625,226.65625 L15.625,226.65625 L421.875,226.65625 Z M421.875,382.90625 C426.432292,382.90625 430.175781,381.441406 433.105469,378.511719 C436.035156,375.582031 437.5,371.838542 437.5,367.28125 L437.5,367.28125 L437.5,328.21875 C437.5,323.661458 436.035156,319.917969 433.105469,316.988281 C430.175781,314.058594 426.432292,312.59375 421.875,312.59375 L421.875,312.59375 L15.625,312.59375 C11.0677083,312.59375 7.32421875,314.058594 4.39453125,316.988281 C1.46484375,319.917969 0,323.661458 0,328.21875 L0,328.21875 L0,367.28125 C0,371.838542 1.46484375,375.582031 4.39453125,378.511719 C7.32421875,381.441406 11.0677083,382.90625 15.625,382.90625 L15.625,382.90625 L421.875,382.90625 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E\");width:11px;height:7px;background-size:cover;background-repeat:no-repeat}.revo-alt-icon{-webkit-mask-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 384 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M192.4375,383 C197.424479,383 201.663411,381.254557 205.154297,377.763672 L205.154297,377.763672 L264.25,318.667969 C270.234375,312.683594 271.605794,306.075846 268.364258,298.844727 C265.122721,291.613607 259.51237,287.998047 251.533203,287.998047 L251.533203,287.998047 L213.382812,287.998047 L213.382812,212.445312 L288.935547,212.445312 L288.935547,250.595703 C288.935547,258.57487 292.551107,264.185221 299.782227,267.426758 C307.013346,270.668294 313.621094,269.296875 319.605469,263.3125 L319.605469,263.3125 L378.701172,204.216797 C382.192057,200.725911 383.9375,196.486979 383.9375,191.5 C383.9375,186.513021 382.192057,182.274089 378.701172,178.783203 L378.701172,178.783203 L319.605469,119.6875 C313.621094,114.201823 307.013346,112.955078 299.782227,115.947266 C292.551107,118.939453 288.935547,124.42513 288.935547,132.404297 L288.935547,132.404297 L288.935547,170.554688 L213.382812,170.554688 L213.382812,95.0019531 L251.533203,95.0019531 C259.51237,95.0019531 264.998047,91.3863932 267.990234,84.1552734 C270.982422,76.9241536 269.735677,70.3164062 264.25,64.3320312 L264.25,64.3320312 L205.154297,5.23632812 C201.663411,1.74544271 197.424479,0 192.4375,0 C187.450521,0 183.211589,1.74544271 179.720703,5.23632812 L179.720703,5.23632812 L120.625,64.3320312 C114.640625,70.3164062 113.269206,76.9241536 116.510742,84.1552734 C119.752279,91.3863932 125.36263,95.0019531 133.341797,95.0019531 L133.341797,95.0019531 L171.492188,95.0019531 L171.492188,170.554688 L95.9394531,170.554688 L95.9394531,132.404297 C95.9394531,124.42513 92.3238932,118.814779 85.0927734,115.573242 C77.8616536,112.331706 71.2539062,113.703125 65.2695312,119.6875 L65.2695312,119.6875 L6.17382812,178.783203 C2.68294271,182.274089 0.9375,186.513021 0.9375,191.5 C0.9375,196.486979 2.68294271,200.725911 6.17382812,204.216797 L6.17382812,204.216797 L65.2695312,263.3125 C71.2539062,268.798177 77.8616536,270.044922 85.0927734,267.052734 C92.3238932,264.060547 95.9394531,258.57487 95.9394531,250.595703 L95.9394531,250.595703 L95.9394531,212.445312 L171.492188,212.445312 L171.492188,287.998047 L133.341797,287.998047 C125.36263,287.998047 119.876953,291.613607 116.884766,298.844727 C113.892578,306.075846 115.139323,312.683594 120.625,318.667969 L120.625,318.667969 L179.720703,377.763672 C183.211589,381.254557 187.450521,383 192.4375,383 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 384 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M192.4375,383 C197.424479,383 201.663411,381.254557 205.154297,377.763672 L205.154297,377.763672 L264.25,318.667969 C270.234375,312.683594 271.605794,306.075846 268.364258,298.844727 C265.122721,291.613607 259.51237,287.998047 251.533203,287.998047 L251.533203,287.998047 L213.382812,287.998047 L213.382812,212.445312 L288.935547,212.445312 L288.935547,250.595703 C288.935547,258.57487 292.551107,264.185221 299.782227,267.426758 C307.013346,270.668294 313.621094,269.296875 319.605469,263.3125 L319.605469,263.3125 L378.701172,204.216797 C382.192057,200.725911 383.9375,196.486979 383.9375,191.5 C383.9375,186.513021 382.192057,182.274089 378.701172,178.783203 L378.701172,178.783203 L319.605469,119.6875 C313.621094,114.201823 307.013346,112.955078 299.782227,115.947266 C292.551107,118.939453 288.935547,124.42513 288.935547,132.404297 L288.935547,132.404297 L288.935547,170.554688 L213.382812,170.554688 L213.382812,95.0019531 L251.533203,95.0019531 C259.51237,95.0019531 264.998047,91.3863932 267.990234,84.1552734 C270.982422,76.9241536 269.735677,70.3164062 264.25,64.3320312 L264.25,64.3320312 L205.154297,5.23632812 C201.663411,1.74544271 197.424479,0 192.4375,0 C187.450521,0 183.211589,1.74544271 179.720703,5.23632812 L179.720703,5.23632812 L120.625,64.3320312 C114.640625,70.3164062 113.269206,76.9241536 116.510742,84.1552734 C119.752279,91.3863932 125.36263,95.0019531 133.341797,95.0019531 L133.341797,95.0019531 L171.492188,95.0019531 L171.492188,170.554688 L95.9394531,170.554688 L95.9394531,132.404297 C95.9394531,124.42513 92.3238932,118.814779 85.0927734,115.573242 C77.8616536,112.331706 71.2539062,113.703125 65.2695312,119.6875 L65.2695312,119.6875 L6.17382812,178.783203 C2.68294271,182.274089 0.9375,186.513021 0.9375,191.5 C0.9375,196.486979 2.68294271,200.725911 6.17382812,204.216797 L6.17382812,204.216797 L65.2695312,263.3125 C71.2539062,268.798177 77.8616536,270.044922 85.0927734,267.052734 C92.3238932,264.060547 95.9394531,258.57487 95.9394531,250.595703 L95.9394531,250.595703 L95.9394531,212.445312 L171.492188,212.445312 L171.492188,287.998047 L133.341797,287.998047 C125.36263,287.998047 119.876953,291.613607 116.884766,298.844727 C113.892578,306.075846 115.139323,312.683594 120.625,318.667969 L120.625,318.667969 L179.720703,377.763672 C183.211589,381.254557 187.450521,383 192.4375,383 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E\");width:11px;height:11px;background-size:cover;background-repeat:no-repeat}.arrow-down{position:absolute;right:5px;top:0}.arrow-down svg{width:8px;margin-top:5px;margin-left:5px;opacity:0.4}.cell-value-wrapper{margin-right:10px;overflow:hidden;text-overflow:ellipsis}.revo-button{position:relative;overflow:hidden;color:#fff;background-color:#6200ee;height:34px;line-height:34px;padding:0 15px;outline:0;border:0;border-radius:7px;box-sizing:border-box;cursor:pointer}.revo-button.green{background-color:#2ee072;border:1px solid #20d565}.revo-button.light{border:2px solid #cedefa;line-height:32px;background:none;color:#4876ca;box-shadow:none}.rowHeaders{z-index:2;font-size:10px;display:flex;height:100%}.rowHeaders revogr-data .rgCell{text-align:center}.rowHeaders .rgCell{padding:0 1em !important;min-width:100%}revogr-viewport-scroll{-ms-overflow-style:none;scrollbar-width:none;overflow-x:auto;overflow-y:hidden;position:relative;z-index:1;height:100%}revogr-viewport-scroll::-webkit-scrollbar{display:none;-webkit-appearance:none}revogr-viewport-scroll.colPinStart,revogr-viewport-scroll.colPinEnd{z-index:2}revogr-viewport-scroll.rgCol{flex-grow:1}revogr-viewport-scroll .content-wrapper{overflow:hidden}revogr-viewport-scroll .inner-content-table{display:flex;flex-direction:column;max-height:100%;width:100%;min-width:100%;position:relative;z-index:0}revogr-viewport-scroll .vertical-inner{overflow-y:auto;position:relative;width:100%;flex-grow:1;-ms-overflow-style:none;scrollbar-width:none;}revogr-viewport-scroll .vertical-inner::-webkit-scrollbar{display:none;-webkit-appearance:none}revogr-viewport-scroll .vertical-inner revogr-data,revogr-viewport-scroll .vertical-inner revogr-overlay-selection{height:100%}";var sh=e("revogr_viewport_scroll",function(){function e(e){o(this,e);this.scrollViewport=a(this,"scrollViewport",3);this.resizeViewport=a(this,"resizeViewport",7);this.scrollchange=a(this,"scrollchange",7);this.scrollThrottling=30;this.contentWidth=0;this.contentHeight=0;this.oldValY=this.contentHeight;this.oldValX=this.contentWidth;this.mouseWheelScroll={rgCol:0,rgRow:0}}e.prototype.setScroll=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(r){this.latestScrollUpdate(e.dimension);(t=this.scrollService)===null||t===void 0?void 0:t.setScroll(e);return[2]}))}))};e.prototype.changeScroll=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(e.delta){switch(e.dimension){case"rgCol":e.coordinate=this.horizontalScroll.scrollLeft+e.delta;break;case"rgRow":e.coordinate=this.verticalScroll.scrollTop+e.delta;break}this.setScroll(e)}return[2,e]}))}))};e.prototype.connectedCallback=function(){var e=this;if("ontouchstart"in document.documentElement){this.scrollThrottling=0}else{this.verticalMouseWheel=this.onVerticalMouseWheel.bind(this,"rgRow","deltaY");this.horizontalMouseWheel=this.onHorizontalMouseWheel.bind(this,"rgCol","deltaX")}this.scrollService=new Yv({beforeScroll:function(t){return e.scrollViewport.emit(t)},afterScroll:function(t){switch(t.dimension){case"rgCol":e.horizontalScroll.scrollLeft=t.coordinate;break;case"rgRow":e.verticalScroll.scrollTop=t.coordinate;break}}})};e.prototype.componentDidLoad=function(){var e=this;this.horisontalResize=new oh(this.horizontalScroll,{resize:function(t){var r,n;var i=((r=t[0])===null||r===void 0?void 0:r.contentRect.height)||0;if(i){i-=e.header.clientHeight+e.footer.clientHeight}var o={rgRow:{size:i,contentSize:e.contentHeight,scroll:e.verticalScroll.scrollTop},rgCol:{size:((n=t[0])===null||n===void 0?void 0:n.contentRect.width)||0,contentSize:e.contentWidth,scroll:e.horizontalScroll.scrollLeft}};Mt(o,(function(t,r){var n;e.resizeViewport.emit({dimension:r,size:t.size});(n=e.scrollService)===null||n===void 0?void 0:n.scroll(t.scroll,r,true);e.setScrollVisibility(r,t.size,t.contentSize)}))}})};e.prototype.setScrollVisibility=function(e,t,r){var n=t<r;var i;var o;switch(e){case"rgCol":i=this.horizontalScroll;o=this.horizontalMouseWheel;break;case"rgRow":i=this.verticalScroll;o=this.verticalMouseWheel;break}if(n){i.classList.add("scroll-"+e);i.addEventListener("mousewheel",o)}else{i.classList.remove("scroll-"+e);i.removeEventListener("mousewheel",o)}this.scrollchange.emit({type:e,hasScroll:n})};e.prototype.disconnectedCallback=function(){this.verticalScroll.removeEventListener("mousewheel",this.verticalMouseWheel);this.horizontalScroll.removeEventListener("mousewheel",this.horizontalMouseWheel);this.horisontalResize.destroy()};e.prototype.componentDidRender=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.contentHeight<this.oldValY&&this.verticalScroll){this.verticalScroll.scrollTop+=this.contentHeight-this.oldValY}this.oldValY=this.contentHeight;if(this.contentWidth<this.oldValX){this.horizontalScroll.scrollLeft+=this.contentWidth-this.oldValX}this.oldValX=this.contentWidth;this.scrollService.setParams({contentSize:this.contentHeight,clientSize:this.verticalScroll.clientHeight,virtualSize:0},"rgRow");this.scrollService.setParams({contentSize:this.contentWidth,clientSize:this.horizontalScroll.clientWidth,virtualSize:0},"rgCol");this.setScrollVisibility("rgRow",this.verticalScroll.clientHeight,this.contentHeight);this.setScrollVisibility("rgCol",this.horizontalScroll.clientWidth,this.contentWidth);return[2]}))}))};e.prototype.render=function(){var e=this;return i(s,{onScroll:function(t){return e.onScroll("rgCol",t)}},i("div",{class:"inner-content-table",style:{width:this.contentWidth+"px"}},i("div",{class:"header-wrapper",ref:function(t){return e.header=t}},i("slot",{name:$c})),i("div",{class:"vertical-inner",ref:function(t){return e.verticalScroll=t},onScroll:function(t){return e.onScroll("rgRow",t)}},i("div",{class:"content-wrapper",style:{height:this.contentHeight+"px"}},i("slot",{name:qc}))),i("div",{class:"footer-wrapper",ref:function(t){return e.footer=t}},i("slot",{name:Xc}))))};e.prototype.onScroll=function(e,t){var r;var n=t.target;var i=0;switch(e){case"rgCol":i=n===null||n===void 0?void 0:n.scrollLeft;break;case"rgRow":i=n===null||n===void 0?void 0:n.scrollTop;break}var o=(new Date).getTime()-this.mouseWheelScroll[e];if(o>this.scrollThrottling){(r=this.scrollService)===null||r===void 0?void 0:r.scroll(i,e)}};e.prototype.latestScrollUpdate=function(e){this.mouseWheelScroll[e]=(new Date).getTime()};e.prototype.onVerticalMouseWheel=function(e,t,r){var n;r.preventDefault();var i=this.verticalScroll.scrollTop+r[t];(n=this.scrollService)===null||n===void 0?void 0:n.scroll(i,e,undefined,r[t]);this.latestScrollUpdate(e)};e.prototype.onHorizontalMouseWheel=function(e,t,r){var n;r.preventDefault();var i=this.horizontalScroll.scrollLeft+r[t];(n=this.scrollService)===null||n===void 0?void 0:n.scroll(i,e,undefined,r[t]);this.latestScrollUpdate(e)};Object.defineProperty(e.prototype,"horizontalScroll",{get:function(){return u(this)},enumerable:false,configurable:true});return e}());sh.style=ah}}}));
|