From 8bc5f448df4bab470aadbe4e587f1707b2c455d6 Mon Sep 17 00:00:00 2001 From: Alexander Milevski Date: Tue, 19 Apr 2022 19:17:34 +0200 Subject: [PATCH] Initial commit --- .bumpversion.cfg | 12 + .gitignore | 4 + .version | 1 + .vscode/settings.json | 6 + Jenkinsfile | 7 + LICENSE | 201 + README.md | 488 ++ package-lock.json | 4549 +++++++++++++++++ package.json | 108 + scripts/prepublish.js | 30 + src/context.tsx | 20 + src/geo.tsx | 18 + src/index.ts | 7 + src/ogma.tsx | 85 + src/overlay/canvas.tsx | 61 + src/overlay/index.tsx | 3 + src/overlay/layer.tsx | 22 + src/overlay/popup.tsx | 138 + src/overlay/tooltip.tsx | 109 + src/overlay/types.ts | 11 + src/overlay/utils.ts | 65 + src/styles/edgeStyle.tsx | 43 + src/styles/index.ts | 2 + src/styles/nodeStyle.tsx | 42 + src/transformations/edgeGrouping.tsx | 46 + src/transformations/index.tsx | 5 + src/transformations/neighborGeneration.tsx | 49 + src/transformations/neighborMerging.tsx | 49 + src/transformations/nodeCollapsing.tsx | 50 + src/transformations/nodeGrouping.tsx | 48 + src/transformations/types.ts | 3 + src/transformations/utils.ts | 12 + src/utils.ts | 1 + src/uuid.ts | 22 + test/fixtures/simple_graph.json | 11 + test/ogma.test.tsx | 73 + test/popup.test.tsx | 173 + test/setup.ts | 1 + test/styles.test.tsx | 147 + test/transformations/edgegrouping.test.tsx | 120 + .../neighborgeneration.test.tsx | 24 + test/transformations/neighbormerging.test.tsx | 23 + test/transformations/nodecollapsing.test.tsx | 23 + test/transformations/nodegrouping.test.tsx | 111 + tsconfig.json | 38 + web/.gitignore | 23 + web/data.json | 938 ++++ web/index.html | 14 + web/index.tsx | 15 + web/src/App.tsx | 169 + web/src/components/Controls.tsx | 109 + web/src/components/GraphOutlines.tsx | 38 + web/src/components/Layout.tsx | 26 + web/src/components/Logo.tsx | 22 + web/src/components/ReactIcon.tsx | 16 + web/src/index.css | 157 + 56 files changed, 8588 insertions(+) create mode 100644 .bumpversion.cfg create mode 100755 .gitignore create mode 100644 .version create mode 100644 .vscode/settings.json create mode 100644 Jenkinsfile create mode 100755 LICENSE create mode 100755 README.md create mode 100644 package-lock.json create mode 100755 package.json create mode 100755 scripts/prepublish.js create mode 100755 src/context.tsx create mode 100644 src/geo.tsx create mode 100755 src/index.ts create mode 100755 src/ogma.tsx create mode 100644 src/overlay/canvas.tsx create mode 100644 src/overlay/index.tsx create mode 100644 src/overlay/layer.tsx create mode 100644 src/overlay/popup.tsx create mode 100755 src/overlay/tooltip.tsx create mode 100644 src/overlay/types.ts create mode 100644 src/overlay/utils.ts create mode 100644 src/styles/edgeStyle.tsx create mode 100644 src/styles/index.ts create mode 100644 src/styles/nodeStyle.tsx create mode 100644 src/transformations/edgeGrouping.tsx create mode 100644 src/transformations/index.tsx create mode 100644 src/transformations/neighborGeneration.tsx create mode 100644 src/transformations/neighborMerging.tsx create mode 100644 src/transformations/nodeCollapsing.tsx create mode 100644 src/transformations/nodeGrouping.tsx create mode 100644 src/transformations/types.ts create mode 100644 src/transformations/utils.ts create mode 100644 src/utils.ts create mode 100755 src/uuid.ts create mode 100644 test/fixtures/simple_graph.json create mode 100644 test/ogma.test.tsx create mode 100644 test/popup.test.tsx create mode 100644 test/setup.ts create mode 100644 test/styles.test.tsx create mode 100644 test/transformations/edgegrouping.test.tsx create mode 100644 test/transformations/neighborgeneration.test.tsx create mode 100644 test/transformations/neighbormerging.test.tsx create mode 100644 test/transformations/nodecollapsing.test.tsx create mode 100644 test/transformations/nodegrouping.test.tsx create mode 100755 tsconfig.json create mode 100644 web/.gitignore create mode 100644 web/data.json create mode 100644 web/index.html create mode 100644 web/index.tsx create mode 100644 web/src/App.tsx create mode 100644 web/src/components/Controls.tsx create mode 100644 web/src/components/GraphOutlines.tsx create mode 100644 web/src/components/Layout.tsx create mode 100644 web/src/components/Logo.tsx create mode 100644 web/src/components/ReactIcon.tsx create mode 100644 web/src/index.css diff --git a/.bumpversion.cfg b/.bumpversion.cfg new file mode 100644 index 0000000..1b457ca --- /dev/null +++ b/.bumpversion.cfg @@ -0,0 +1,12 @@ +[bumpversion] +current_version = 0.5.6 +commit = False +tag = False +serialize = + {major}.{minor}.{patch}-{build} + {major}.{minor}.{patch} +parse = (?P\d+)\.(?P\d+)\.(?P\d+)(-(?P[\w_-]+\.\d+))? + +[bumpversion:file:.version] +[bumpversion:file:package.json] +[bumpversion:file:package-lock.json] diff --git a/.gitignore b/.gitignore new file mode 100755 index 0000000..9149b7c --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +node_modules +dist +reports +web/index-bundle.* diff --git a/.version b/.version new file mode 100644 index 0000000..ad83b1b --- /dev/null +++ b/.version @@ -0,0 +1 @@ +0.5.6 \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..8c3ca5d --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,6 @@ +{ + "editor.formatOnSave": true, + "[markdown]": { + "editor.formatOnSave": false + } +} diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..acf7a99 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,7 @@ +@Library('linkurious-shared')_ + +nodeJob { + projectName = "linkurious/ogma-react" + runPreReleaseOnUpload = false + npmPackPath = './dist' +} diff --git a/LICENSE b/LICENSE new file mode 100755 index 0000000..c61b663 --- /dev/null +++ b/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. diff --git a/README.md b/README.md new file mode 100755 index 0000000..7c2697f --- /dev/null +++ b/README.md @@ -0,0 +1,488 @@ +# `@linkurious/react-ogma` + +An wrapper of [`@linkurious/ogma`](https://ogma.linkurio.us) for use with [React](https://reactjs.org). + + * [Getting started](#getting-started) + * [Usage](#usage) + * [API](#api) + - [``](#ogma-) + - Styles: + - [``](#nodestyle-) + - [``](#edgestyle-) + - Overlays: + - [``](#popup-) + - [``](#tooltip-) + - [``](#canvaslayer-) + - Transformations: + - [``](#nodegrouping-) + - [``](#edgegrouping-) + - [``](#neighborgeneration-) + - [``](#neighbormerging-) + - [``](#nodecollapsing-) + - [``](#geo-) + +## Getting Started + +Add `@linkurious/ogma` and `@linkurious/ogma-react` to your project. For Ogma, you should use you NPM link from [get.linkuri.us](https://get.linkurio.us). + +```bash +npm install +npm i @linkurious/ogma-react --save +``` + +Or, with yarn: + +``` +yanpm i +yarn add @linkurious/ogma-react +``` + +You will need the CSS or Styled Components (see `web/src/styles.css` for an example). No CSS is included by default. + +```tsx +import { Ogma, NodeStyle, Popup } from '@linkurious/ogma-react'; +import { MouseButtonEvent, Node as OgmaNode } from '@linkurious/ogma'; +... +const [clickedNode, setClickedNode] = useState(null); +const onMouseMove = ({ target }: MouseButtonEvent) => { + setClickedNode((target && target.isNode) ? target : null); +} + + { + ogma.events.on('click', onClick); + }} +> + + clickedNode ? clickedNode.getPosition() : null} + > +
Popup content here!
+
+
+``` + + +## Usage + +See the [`web/src/App.tsx`](https://github.com/Linkurious/ogma-react/blob/develop/web/src/App.tsx) file for a complete example. + +```tsx +const graph: Ogma.RawGraph = ...; +return +``` + +### Custom components + +You can (and should) create your own components to implement different behaviors. It's easy, you just need to use the `useOgma` hook to get access to the instance of Ogma. + +```tsx +import { useOgma } from '@linkurious/ogma-react'; + +export function MyComponent() { + const ogma = useOgma(); + const onClick = useCallback(() => { + ogma.getNodes([1,2,3,4]).setSelected(true); + }, []); + + return ( +
+ +
+ ); +} +``` + +### How to apply the layouts + +It's unintuitive to implement the layouts as a React component declaratively. We suggest using custom components and hook to ogma events to apply the layouts. + +`components/LayoutService.tsx`: + + ```tsx + import { useEffect } from 'react'; + import { useOgma } from '@linkurious/react-ogma'; + export function LayoutService () { + const ogma = useOgma(); // hook to get the ogma instance + + useEffect(() => { + const onNodesAdded = () => { + // apply your layout + } + ogma.events.on('addNodes', onNodesAdded); + + // cleanup + return () => { + ogma.events.off(onNodesAdded); + }); + }, []); + + return null; + } + ``` + + +`App.tsx`: +```tsx +import { LayoutService } from './components/LayoutService'; + +export default function App() { + ... // retrive the graph here + + return ( + + ); +} +``` + +### How to load the graph + +```tsx +import { useState, useEffect } from 'react'; +import { RawGraph } from '@linkurious/ogma'; + +export default function App () { + const [isLoading, setIsLoading] = useState(true); + const [graph, setGraph] = useState(); + + useEffect(() => { + fetch('/graph.json') + .then(res => res.json()) + .then(json => { + setGraph(json); + setIsLoading(false); + }); + }, []); + + if (isLoading) return (
Loading...
); + return (); +} +``` +Using the parsers: + +```tsx +import { useState, useEffect } from 'react'; +import Ogma, { RawGraph } from '@linkurious/ogma'; + +export default function App () { + const [isLoading, setIsLoading] = useState(true); + const [graph, setGraph] = useState(); + + // using ogma parser to parse GEXF format + useEffect(() => { + fetch('/graph.gexf') + .then(res => res.text()) + .then(gexf => Ogma.parse.gexf(gexf)) + .then(jsonGraph => { + setGraph(jsonGraph); + setIsLoading(false); + }); + }, []); + + if (isLoading) return (
Loading...
); + + return () +} +``` + +## Components + +- [``](#ogma-) +- Styles: + - [``](#nodestyle-) + - [``](#edgestyle-) +- Overlays: + - [``](#popup-) + - [``](#tooltip-) + - [``](#canvaslayer-) +- Transformations: + - [``](#nodegrouping-) + - [``](#edgegrouping-) + - [``](#neighborgeneration-) + - [``](#neighbormerging-) + - [``](#nodecollapsing-) +- [``](#geo-) + +## API + +### `` + +Main visualisation component. You can use `onReady` or `ref` prop to get a reference to the Ogma instance. + +#### Props + +| Prop | Type | Default | Description | +| ---------- | ---------------------- | ------- | ----------- | +| `options?` | `Ogma.Options` | `{}` | Ogma options | +| `graph?` | `Ogma.RawGraph` | `null` | The graph to render | +| `onReady?` | `(ogma: Ogma) => void` | `null` | Callback when the Ogma instance is ready | +| `ref?` | `React.Ref` | `null` | Reference to the Ogma instance | +| `children` | `React.ReactNode` | `null` | The children of the component, such as `` or `` or your custom component. Ogma instance is avalable to the children components through `useOgma()` hook | + +### `` + +Node style component. + +#### Props + +| Prop | Type | Default | Description | +| ------------ | ------------------------------ | ------- | -------------------------------------------- | +| `attributes` | `Ogma.NodeAttributeValue` | `{}` | Attributes to apply to the node | +| `selector?` | `(node: Ogma.Node) => boolean` | `null` | Selector to apply the attributes to the node | +| `ref?` | `React.Ref` | `null` | Reference to the style rule | + +#### Example + +```tsx + + + +``` + +### `` + +Edge style component. + +#### Props + +| Prop | Type | Default | Description | +| ------------ | ------------------------------ | ------- | -------------------------------------------- | +| `attributes` | `Ogma.EdgeAttributeValue` | `{}` | Attributes to apply to the edge | +| `selector?` | `(edge: Ogma.Edge) => boolean` | `null` | Selector to apply the attributes to the edge | +| `ref?` | `React.Ref` | `null` | Reference to the style rule | + +#### Example + +```tsx + + + +``` + +### `` + +Custom popup UI layer. + +#### Props + +| Prop | Type | Default | Description | +| ------------------ | ------------------ | ----------------------- | ----------------------------------------------------------- | +| `position` | `Point \| (ogma: Ogma) => Point` | `null` | Position of the popup | +| `size?` | `{ width: number \| 'auto'; height: number \| 'auto'; }` | `{ width: 'auto', height: 'auto' }` | Size of the popup | +| `children` | `React.ReactNode` | `null` | The children of the component | +| `isOpen` | `boolean` | `true` | Whether the popup is open | +| `onClose` | `() => void` | `null` | Callback when the popup is closed | +| `placement` | `'top' \| 'bottom' \| 'right'\| 'left'` | Placement of the popup | +| `ref?` | `React.Ref` | `null` | Reference to the popup | +| `closeOnEsc?` | `boolean` | `true` | Whether to close the popup when the user presses the ESC key | +| `popupClass?` | `string` | `'ogma-popup'` | Class name to apply to the popup container | +| `contentClass?` | `string` | `'ogma-popup--content'` | Class name to apply to the popup content | +| `popupBodyClass?` | `string` | `'ogma-popup--body'` | Class name to apply to the popup body | +| `closePopupClass?` | `string` | `'ogma-popup--close'` | Class name to apply to the close button | + +#### Example + +```tsx + + (clickedNode ? clickedNode.getPosition() : null)} + size={{ width: 200, height: 200 }} + > +
Popup content here!
+
+
+``` + +### `` + +Tooltip component. Use it for cutom movable tooltips. It automatically adjusts the placement of the tooltip to conainer bounds. + +#### Props + +| Prop | Type | Default | Description | +| ----------- | ----------------- | ---------------------- | ----------------------------- | +| `position` | `Point \| (ogma: Ogma) => Point` | | Position of the tooltip | +| `size?` | `{ width: number \| 'auto'; height: number \| 'auto'; }` | `{ width: 'auto', height: 'auto' }` | Size of the tooltip | +| `children` | `React.ReactNode` | `null` | The children of the component | +| `visible` | `boolean` | `true` | Whether the tooltip is open | +| `placement` | `Placement` | `right` | Placement of the tooltip | +| `ref?` | `React.Ref` | `null` | Reference to the tooltip | +| `tooltipClass` | `string` | `'ogma-tooltip'` | Class name to apply to the tooltip container | + +#### Example + +```tsx + + (hoveredNode ? hoveredNode.getPosition() : null)} + size={{ width: 200, height: 200 }} + > +
Tooltip content here!
+
+
+``` + +### `` + +Custom canvas layer. + +#### Props + +| Prop | Type | Default | Description | +| ---- | ---- | ------- | ----------- | +| `ref` | `React.Ref` | `null` | Reference to the canvas layer | +| `render` | `(ctx: CanvasRenderingContext2D) => void` | `null` | Callback to render the canvas layer | +| `index?` | `number` | `1` | Index of the layer | +| `isStatic?` | `boolean` | `false` | Whether the layer is static | +| `noClear?` | `boolean` | `false` | Whether to clear the canvas before rendering | + +#### Example + +```tsx + + { + ctx.fillStyle = 'red'; + ctx.fillRect(0, 0, 100, 100); + }} + /> + +``` + +### `` + +Node grouping transformation. See [`ogma.transformations.addNodeGrouping()`](https://doc.linkurio.us/ogma/latest/api.html#Ogma-transformations-addNodeGrouping) for more details. + +#### Props + +| Prop | Type | Default | Description | +| ------------ | ------------------------------ | ------- | ----------- | +| `selector` | `(node: Ogma.Node) => boolean` | `null` | Selector to apply the attributes to the node | +| `groupIdFunction` | `(node: Ogma.Node) => string \| undefined` | | Grouping function | +| `ref?` | `React.Ref` | `null` | Reference to the transformation | +| `...rest` | See [`ogma.transformations.addNodeGrouping()`](https://doc.linkurio.us/ogma/latest/api.html#Ogma-transformations-addNodeGrouping) properties | | Node grouping transformation properties | + +#### Example + +```tsx + + node.getAttribute('type') === 'type1'} + groupIdFunction={node => node.getAttribute('type')} + disabled={false} + /> + +``` + +### `` + +Edge grouping transformation. See [`ogma.transformations.addEdgeGrouping()`](https://doc.linkurio.us/ogma/latest/api.html#Ogma-transformations-addEdgeGrouping) for more information. + +#### Props + +| Prop | Type | Default | Description | +| ------------ | ------------------------------ | ------- | ----------- | +| `selector` | `(edge: Ogma.Edge) => boolean` | `null` | Selector for the edges | +| `groupIdFunction` | `(edge: Ogma.Edge) => string \| undefined` | | Grouping function | +| `ref?` | `React.Ref` | `null` | Reference to the transformation | +| `...rest` | See [`ogma.transformations.addEdgeGrouping()`](https://doc.linkurio.us/ogma/latest/api.html#Ogma-transformations-addEdgeGrouping) properties | | Edge grouping transformation properties | + + +#### Example + +```tsx + + edge.getAttribute('type') === 'type1'} + groupIdFunction={edge => edge.getAttribute('type')} + disabled={false} + /> + +``` + +### `` + +Neighbor merging transformation. See [`ogma.transformations.addNeighborMerging()`](https://doc.linkurio.us/ogma/latest/api.html#Ogma-transformations-addNeighborMerging) for more information. + +#### Props + +| Prop | Type | Default | Description | +| ------------ | ------------------------------ | ------- | ----------- | +| `selector` | `(node: Ogma.Node) => boolean` | `null` | Selector | +| `dataFunction` | `(node: Ogma.Node) => object | undefined;` | | Neighbor data function | +| `ref?` | `React.Ref` | `null` | Reference to the transformation | +| `...rest` | See [`ogma.transformations.addNeighborMerging()`](https://doc.linkurio.us/ogma/latest/api.html#Ogma-transformations-addNeighborMerging) properties | | Neighbor merging transformation properties | + +#### Example + +```tsx + + node.getAttribute('type') === 'type1'} + dataFunction={node => ({ + type: node.getAttribute('type'), + label: node.getAttribute('label'), + })} + disabled={false} + /> + +``` + +### `` + +Neighbor generation transformation. See [`ogma.transformations.addNeighborGeneration()`](https://doc.linkurio.us/ogma/latest/api.html#Ogma-transformations-addNeighborGeneration) for more information. + +#### Props + +| Prop | Type | Default | Description | +| ------------ | ------------------------------ | ------- | ----------- | +| `selector` | `(node: Ogma.Node) => boolean` | `null` | Selector | +| `neighborIdFunction` | `(node: Ogma.Node) => string|Array|null;` | | Neighbor data function | +| `ref?` | `React.Ref` | `null` | Reference to the transformation | +| `...rest` | See [`ogma.transformations.addNeighborMerging()`](https://doc.linkurio.us/ogma/latest/api.html#Ogma-transformations-addNeighborGeneration) properties | | Transformation properties | + +#### Example + +```tsx + + node.getAttribute('type') === 'type1'} + neighborIdFunction={node => node.getAttribute('type')} + disabled={false} + /> + +``` + +### `` + +Node collapsing transformation. See [`ogma.transformations.addNodeCollapsing()`](https://doc.linkurio.us/ogma/latest/api.html#Ogma-transformations-addNodeCollapsing) for more information. + +#### Props + +| Prop | Type | Default | Description | +| ------------ | ------------------------------ | ------- | ----------- | +| `selector` | `(node: Ogma.Node) => boolean` | `null` | Selector | +| `edgeGenerator?` | `(hiddenNode: Ogma.Node, node1: Ogma.Node, node2: Ogma.Node, edges1: Ogma.EdgeList, edges2: Ogma.EdgeList): RawEdge|null)` | | Edge generator function | +| `ref?` | `React.Ref` | `null` | Reference to the transformation | +| `...rest` | See [`ogma.transformations.addNodeCollapsing()`](https://doc.linkurio.us/ogma/latest/api.html#Ogma-transformations-addNodeCollapsing) properties | | Transformation properties | + + +### `` + +Geo mode component. It's the first version of this component and we are still gathering feedback on how you can use it. + +#### Props + +| Prop | Type | Default | Description | +| ------------ | ------------------------------ | ------- | ----------- | +| `enabled?` | `boolean` | `false` | On/off toggle | +| `...rest` | `Ogma.GeomModeOptions` | | See [`GeoModeOptions`](https://doc.linkurio.us/ogma/latest/api.html#GeoModeOptions) properties | + + +## License + +Apache 2.0 + + diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..fd37b3a --- /dev/null +++ b/package-lock.json @@ -0,0 +1,4549 @@ +{ + "name": "@linkurious/ogma-react", + "version": "0.5.6", + "lockfileVersion": 1, + "requires": true, + "dependencies": { + "@ampproject/remapping": { + "version": "2.1.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/@ampproject/remapping/-/remapping-2.1.2.tgz", + "integrity": "sha512-hoyByceqwKirw7w3Z7gnIIZC3Wx3J484Y3L/cMpXFbr7d9ZQj2mODrirNzcJa+SM3UlpWXYvKV4RlRpFXlWgXg==", + "dev": true, + "requires": { + "@jridgewell/trace-mapping": "^0.3.0" + } + }, + "@babel/code-frame": { + "version": "7.16.7", + "resolved": "https://nexus3.linkurious.net/repository/npm/@babel/code-frame/-/code-frame-7.16.7.tgz", + "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", + "dev": true, + "requires": { + "@babel/highlight": "^7.16.7" + } + }, + "@babel/compat-data": { + "version": "7.17.7", + "resolved": "https://nexus3.linkurious.net/repository/npm/@babel/compat-data/-/compat-data-7.17.7.tgz", + "integrity": "sha512-p8pdE6j0a29TNGebNm7NzYZWB3xVZJBZ7XGs42uAKzQo8VQ3F0By/cQCtUEABwIqw5zo6WA4NbmxsfzADzMKnQ==", + "dev": true + }, + "@babel/core": { + "version": "7.17.9", + "resolved": "https://nexus3.linkurious.net/repository/npm/@babel/core/-/core-7.17.9.tgz", + "integrity": "sha512-5ug+SfZCpDAkVp9SFIZAzlW18rlzsOcJGaetCjkySnrXXDUw9AR8cDUm1iByTmdWM6yxX6/zycaV76w3YTF2gw==", + "dev": true, + "requires": { + "@ampproject/remapping": "^2.1.0", + "@babel/code-frame": "^7.16.7", + "@babel/generator": "^7.17.9", + "@babel/helper-compilation-targets": "^7.17.7", + "@babel/helper-module-transforms": "^7.17.7", + "@babel/helpers": "^7.17.9", + "@babel/parser": "^7.17.9", + "@babel/template": "^7.16.7", + "@babel/traverse": "^7.17.9", + "@babel/types": "^7.17.0", + "convert-source-map": "^1.7.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.1", + "semver": "^6.3.0" + }, + "dependencies": { + "semver": { + "version": "6.3.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true + } + } + }, + "@babel/generator": { + "version": "7.17.9", + "resolved": "https://nexus3.linkurious.net/repository/npm/@babel/generator/-/generator-7.17.9.tgz", + "integrity": "sha512-rAdDousTwxbIxbz5I7GEQ3lUip+xVCXooZNbsydCWs3xA7ZsYOv+CFRdzGxRX78BmQHu9B1Eso59AOZQOJDEdQ==", + "dev": true, + "requires": { + "@babel/types": "^7.17.0", + "jsesc": "^2.5.1", + "source-map": "^0.5.0" + }, + "dependencies": { + "source-map": { + "version": "0.5.7", + "resolved": "https://nexus3.linkurious.net/repository/npm/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "dev": true + } + } + }, + "@babel/helper-compilation-targets": { + "version": "7.17.7", + "resolved": "https://nexus3.linkurious.net/repository/npm/@babel/helper-compilation-targets/-/helper-compilation-targets-7.17.7.tgz", + "integrity": "sha512-UFzlz2jjd8kroj0hmCFV5zr+tQPi1dpC2cRsDV/3IEW8bJfCPrPpmcSN6ZS8RqIq4LXcmpipCQFPddyFA5Yc7w==", + "dev": true, + "requires": { + "@babel/compat-data": "^7.17.7", + "@babel/helper-validator-option": "^7.16.7", + "browserslist": "^4.17.5", + "semver": "^6.3.0" + }, + "dependencies": { + "semver": { + "version": "6.3.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true + } + } + }, + "@babel/helper-environment-visitor": { + "version": "7.16.7", + "resolved": "https://nexus3.linkurious.net/repository/npm/@babel/helper-environment-visitor/-/helper-environment-visitor-7.16.7.tgz", + "integrity": "sha512-SLLb0AAn6PkUeAfKJCCOl9e1R53pQlGAfc4y4XuMRZfqeMYLE0dM1LMhqbGAlGQY0lfw5/ohoYWAe9V1yibRag==", + "dev": true, + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-function-name": { + "version": "7.17.9", + "resolved": "https://nexus3.linkurious.net/repository/npm/@babel/helper-function-name/-/helper-function-name-7.17.9.tgz", + "integrity": "sha512-7cRisGlVtiVqZ0MW0/yFB4atgpGLWEHUVYnb448hZK4x+vih0YO5UoS11XIYtZYqHd0dIPMdUSv8q5K4LdMnIg==", + "dev": true, + "requires": { + "@babel/template": "^7.16.7", + "@babel/types": "^7.17.0" + } + }, + "@babel/helper-hoist-variables": { + "version": "7.16.7", + "resolved": "https://nexus3.linkurious.net/repository/npm/@babel/helper-hoist-variables/-/helper-hoist-variables-7.16.7.tgz", + "integrity": "sha512-m04d/0Op34H5v7pbZw6pSKP7weA6lsMvfiIAMeIvkY/R4xQtBSMFEigu9QTZ2qB/9l22vsxtM8a+Q8CzD255fg==", + "dev": true, + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-module-imports": { + "version": "7.16.7", + "resolved": "https://nexus3.linkurious.net/repository/npm/@babel/helper-module-imports/-/helper-module-imports-7.16.7.tgz", + "integrity": "sha512-LVtS6TqjJHFc+nYeITRo6VLXve70xmq7wPhWTqDJusJEgGmkAACWwMiTNrvfoQo6hEhFwAIixNkvB0jPXDL8Wg==", + "dev": true, + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-module-transforms": { + "version": "7.17.7", + "resolved": "https://nexus3.linkurious.net/repository/npm/@babel/helper-module-transforms/-/helper-module-transforms-7.17.7.tgz", + "integrity": "sha512-VmZD99F3gNTYB7fJRDTi+u6l/zxY0BE6OIxPSU7a50s6ZUQkHwSDmV92FfM+oCG0pZRVojGYhkR8I0OGeCVREw==", + "dev": true, + "requires": { + "@babel/helper-environment-visitor": "^7.16.7", + "@babel/helper-module-imports": "^7.16.7", + "@babel/helper-simple-access": "^7.17.7", + "@babel/helper-split-export-declaration": "^7.16.7", + "@babel/helper-validator-identifier": "^7.16.7", + "@babel/template": "^7.16.7", + "@babel/traverse": "^7.17.3", + "@babel/types": "^7.17.0" + } + }, + "@babel/helper-plugin-utils": { + "version": "7.16.7", + "resolved": "https://nexus3.linkurious.net/repository/npm/@babel/helper-plugin-utils/-/helper-plugin-utils-7.16.7.tgz", + "integrity": "sha512-Qg3Nk7ZxpgMrsox6HreY1ZNKdBq7K72tDSliA6dCl5f007jR4ne8iD5UzuNnCJH2xBf2BEEVGr+/OL6Gdp7RxA==", + "dev": true + }, + "@babel/helper-simple-access": { + "version": "7.17.7", + "resolved": "https://nexus3.linkurious.net/repository/npm/@babel/helper-simple-access/-/helper-simple-access-7.17.7.tgz", + "integrity": "sha512-txyMCGroZ96i+Pxr3Je3lzEJjqwaRC9buMUgtomcrLe5Nd0+fk1h0LLA+ixUF5OW7AhHuQ7Es1WcQJZmZsz2XA==", + "dev": true, + "requires": { + "@babel/types": "^7.17.0" + } + }, + "@babel/helper-split-export-declaration": { + "version": "7.16.7", + "resolved": "https://nexus3.linkurious.net/repository/npm/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz", + "integrity": "sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==", + "dev": true, + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-validator-identifier": { + "version": "7.16.7", + "resolved": "https://nexus3.linkurious.net/repository/npm/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", + "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==", + "dev": true + }, + "@babel/helper-validator-option": { + "version": "7.16.7", + "resolved": "https://nexus3.linkurious.net/repository/npm/@babel/helper-validator-option/-/helper-validator-option-7.16.7.tgz", + "integrity": "sha512-TRtenOuRUVo9oIQGPC5G9DgK4743cdxvtOw0weQNpZXaS16SCBi5MNjZF8vba3ETURjZpTbVn7Vvcf2eAwFozQ==", + "dev": true + }, + "@babel/helpers": { + "version": "7.17.9", + "resolved": "https://nexus3.linkurious.net/repository/npm/@babel/helpers/-/helpers-7.17.9.tgz", + "integrity": "sha512-cPCt915ShDWUEzEp3+UNRktO2n6v49l5RSnG9M5pS24hA+2FAc5si+Pn1i4VVbQQ+jh+bIZhPFQOJOzbrOYY1Q==", + "dev": true, + "requires": { + "@babel/template": "^7.16.7", + "@babel/traverse": "^7.17.9", + "@babel/types": "^7.17.0" + } + }, + "@babel/highlight": { + "version": "7.17.9", + "resolved": "https://nexus3.linkurious.net/repository/npm/@babel/highlight/-/highlight-7.17.9.tgz", + "integrity": "sha512-J9PfEKCbFIv2X5bjTMiZu6Vf341N05QIY+d6FvVKynkG1S7G0j3I0QoRtWIrXhZ+/Nlb5Q0MzqL7TokEJ5BNHg==", + "dev": true, + "requires": { + "@babel/helper-validator-identifier": "^7.16.7", + "chalk": "^2.0.0", + "js-tokens": "^4.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://nexus3.linkurious.net/repository/npm/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://nexus3.linkurious.net/repository/npm/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "dev": true + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "@babel/parser": { + "version": "7.17.9", + "resolved": "https://nexus3.linkurious.net/repository/npm/@babel/parser/-/parser-7.17.9.tgz", + "integrity": "sha512-vqUSBLP8dQHFPdPi9bc5GK9vRkYHJ49fsZdtoJ8EQ8ibpwk5rPKfvNIwChB0KVXcIjcepEBBd2VHC5r9Gy8ueg==", + "dev": true + }, + "@babel/plugin-syntax-async-generators": { + "version": "7.8.4", + "resolved": "https://nexus3.linkurious.net/repository/npm/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", + "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-bigint": { + "version": "7.8.3", + "resolved": "https://nexus3.linkurious.net/repository/npm/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz", + "integrity": "sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-class-properties": { + "version": "7.12.13", + "resolved": "https://nexus3.linkurious.net/repository/npm/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", + "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.12.13" + } + }, + "@babel/plugin-syntax-import-meta": { + "version": "7.10.4", + "resolved": "https://nexus3.linkurious.net/repository/npm/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz", + "integrity": "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.10.4" + } + }, + "@babel/plugin-syntax-json-strings": { + "version": "7.8.3", + "resolved": "https://nexus3.linkurious.net/repository/npm/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", + "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-logical-assignment-operators": { + "version": "7.10.4", + "resolved": "https://nexus3.linkurious.net/repository/npm/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", + "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.10.4" + } + }, + "@babel/plugin-syntax-nullish-coalescing-operator": { + "version": "7.8.3", + "resolved": "https://nexus3.linkurious.net/repository/npm/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", + "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-numeric-separator": { + "version": "7.10.4", + "resolved": "https://nexus3.linkurious.net/repository/npm/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", + "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.10.4" + } + }, + "@babel/plugin-syntax-object-rest-spread": { + "version": "7.8.3", + "resolved": "https://nexus3.linkurious.net/repository/npm/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", + "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-optional-catch-binding": { + "version": "7.8.3", + "resolved": "https://nexus3.linkurious.net/repository/npm/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", + "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-optional-chaining": { + "version": "7.8.3", + "resolved": "https://nexus3.linkurious.net/repository/npm/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", + "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-top-level-await": { + "version": "7.14.5", + "resolved": "https://nexus3.linkurious.net/repository/npm/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", + "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.14.5" + } + }, + "@babel/plugin-syntax-typescript": { + "version": "7.16.7", + "resolved": "https://nexus3.linkurious.net/repository/npm/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.16.7.tgz", + "integrity": "sha512-YhUIJHHGkqPgEcMYkPCKTyGUdoGKWtopIycQyjJH8OjvRgOYsXsaKehLVPScKJWAULPxMa4N1vCe6szREFlZ7A==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/runtime": { + "version": "7.17.9", + "resolved": "https://nexus3.linkurious.net/repository/npm/@babel/runtime/-/runtime-7.17.9.tgz", + "integrity": "sha512-lSiBBvodq29uShpWGNbgFdKYNiFDo5/HIYsaCEY9ff4sb10x9jizo2+pRrSyF4jKZCXqgzuqBOQKbUm90gQwJg==", + "dev": true, + "requires": { + "regenerator-runtime": "^0.13.4" + } + }, + "@babel/template": { + "version": "7.16.7", + "resolved": "https://nexus3.linkurious.net/repository/npm/@babel/template/-/template-7.16.7.tgz", + "integrity": "sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.16.7", + "@babel/parser": "^7.16.7", + "@babel/types": "^7.16.7" + } + }, + "@babel/traverse": { + "version": "7.17.9", + "resolved": "https://nexus3.linkurious.net/repository/npm/@babel/traverse/-/traverse-7.17.9.tgz", + "integrity": "sha512-PQO8sDIJ8SIwipTPiR71kJQCKQYB5NGImbOviK8K+kg5xkNSYXLBupuX9QhatFowrsvo9Hj8WgArg3W7ijNAQw==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.16.7", + "@babel/generator": "^7.17.9", + "@babel/helper-environment-visitor": "^7.16.7", + "@babel/helper-function-name": "^7.17.9", + "@babel/helper-hoist-variables": "^7.16.7", + "@babel/helper-split-export-declaration": "^7.16.7", + "@babel/parser": "^7.17.9", + "@babel/types": "^7.17.0", + "debug": "^4.1.0", + "globals": "^11.1.0" + } + }, + "@babel/types": { + "version": "7.17.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/@babel/types/-/types-7.17.0.tgz", + "integrity": "sha512-TmKSNO4D5rzhL5bjWFcVHHLETzfQ/AmbKpKPOSjlP0WoHZ6L911fgoOKY4Alp/emzG4cHJdyN49zpgkbXFEHHw==", + "dev": true, + "requires": { + "@babel/helper-validator-identifier": "^7.16.7", + "to-fast-properties": "^2.0.0" + } + }, + "@bcoe/v8-coverage": { + "version": "0.2.3", + "resolved": "https://nexus3.linkurious.net/repository/npm/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz", + "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", + "dev": true + }, + "@geist-ui/core": { + "version": "2.3.8", + "resolved": "https://nexus3.linkurious.net/repository/npm/@geist-ui/core/-/core-2.3.8.tgz", + "integrity": "sha512-OKwGgTA4+fBM41eQbqDoUj4XBycZbYH7Ynrn6LPO5yKX7zeWPu/R7HN3vB4/oHt34VTDQI5sDNb1SirHvNyB5w==", + "dev": true, + "requires": { + "@babel/runtime": "^7.16.7" + } + }, + "@geist-ui/icons": { + "version": "1.0.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/@geist-ui/icons/-/icons-1.0.1.tgz", + "integrity": "sha512-W+ol1DOk9MNjY9IV0gKbhaKIjif6O+5wxM31CIUUAl6shjRjmwVPxVNFoaVJwiTp0Chp5BQyluHmCWaOOZQCtA==", + "dev": true + }, + "@istanbuljs/load-nyc-config": { + "version": "1.1.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", + "integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==", + "dev": true, + "requires": { + "camelcase": "^5.3.1", + "find-up": "^4.1.0", + "get-package-type": "^0.1.0", + "js-yaml": "^3.13.1", + "resolve-from": "^5.0.0" + }, + "dependencies": { + "resolve-from": { + "version": "5.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "dev": true + } + } + }, + "@istanbuljs/schema": { + "version": "0.1.3", + "resolved": "https://nexus3.linkurious.net/repository/npm/@istanbuljs/schema/-/schema-0.1.3.tgz", + "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==", + "dev": true + }, + "@jest/console": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/@jest/console/-/console-27.5.1.tgz", + "integrity": "sha512-kZ/tNpS3NXn0mlXXXPNuDZnb4c0oZ20r4K5eemM2k30ZC3G0T02nXUvyhf5YdbXWHPEJLc9qGLxEZ216MdL+Zg==", + "dev": true, + "requires": { + "@jest/types": "^27.5.1", + "@types/node": "*", + "chalk": "^4.0.0", + "jest-message-util": "^27.5.1", + "jest-util": "^27.5.1", + "slash": "^3.0.0" + } + }, + "@jest/core": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/@jest/core/-/core-27.5.1.tgz", + "integrity": "sha512-AK6/UTrvQD0Cd24NSqmIA6rKsu0tKIxfiCducZvqxYdmMisOYAsdItspT+fQDQYARPf8XgjAFZi0ogW2agH5nQ==", + "dev": true, + "requires": { + "@jest/console": "^27.5.1", + "@jest/reporters": "^27.5.1", + "@jest/test-result": "^27.5.1", + "@jest/transform": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/node": "*", + "ansi-escapes": "^4.2.1", + "chalk": "^4.0.0", + "emittery": "^0.8.1", + "exit": "^0.1.2", + "graceful-fs": "^4.2.9", + "jest-changed-files": "^27.5.1", + "jest-config": "^27.5.1", + "jest-haste-map": "^27.5.1", + "jest-message-util": "^27.5.1", + "jest-regex-util": "^27.5.1", + "jest-resolve": "^27.5.1", + "jest-resolve-dependencies": "^27.5.1", + "jest-runner": "^27.5.1", + "jest-runtime": "^27.5.1", + "jest-snapshot": "^27.5.1", + "jest-util": "^27.5.1", + "jest-validate": "^27.5.1", + "jest-watcher": "^27.5.1", + "micromatch": "^4.0.4", + "rimraf": "^3.0.0", + "slash": "^3.0.0", + "strip-ansi": "^6.0.0" + } + }, + "@jest/environment": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/@jest/environment/-/environment-27.5.1.tgz", + "integrity": "sha512-/WQjhPJe3/ghaol/4Bq480JKXV/Rfw8nQdN7f41fM8VDHLcxKXou6QyXAh3EFr9/bVG3x74z1NWDkP87EiY8gA==", + "dev": true, + "requires": { + "@jest/fake-timers": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/node": "*", + "jest-mock": "^27.5.1" + } + }, + "@jest/fake-timers": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/@jest/fake-timers/-/fake-timers-27.5.1.tgz", + "integrity": "sha512-/aPowoolwa07k7/oM3aASneNeBGCmGQsc3ugN4u6s4C/+s5M64MFo/+djTdiwcbQlRfFElGuDXWzaWj6QgKObQ==", + "dev": true, + "requires": { + "@jest/types": "^27.5.1", + "@sinonjs/fake-timers": "^8.0.1", + "@types/node": "*", + "jest-message-util": "^27.5.1", + "jest-mock": "^27.5.1", + "jest-util": "^27.5.1" + } + }, + "@jest/globals": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/@jest/globals/-/globals-27.5.1.tgz", + "integrity": "sha512-ZEJNB41OBQQgGzgyInAv0UUfDDj3upmHydjieSxFvTRuZElrx7tXg/uVQ5hYVEwiXs3+aMsAeEc9X7xiSKCm4Q==", + "dev": true, + "requires": { + "@jest/environment": "^27.5.1", + "@jest/types": "^27.5.1", + "expect": "^27.5.1" + } + }, + "@jest/reporters": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/@jest/reporters/-/reporters-27.5.1.tgz", + "integrity": "sha512-cPXh9hWIlVJMQkVk84aIvXuBB4uQQmFqZiacloFuGiP3ah1sbCxCosidXFDfqG8+6fO1oR2dTJTlsOy4VFmUfw==", + "dev": true, + "requires": { + "@bcoe/v8-coverage": "^0.2.3", + "@jest/console": "^27.5.1", + "@jest/test-result": "^27.5.1", + "@jest/transform": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/node": "*", + "chalk": "^4.0.0", + "collect-v8-coverage": "^1.0.0", + "exit": "^0.1.2", + "glob": "^7.1.2", + "graceful-fs": "^4.2.9", + "istanbul-lib-coverage": "^3.0.0", + "istanbul-lib-instrument": "^5.1.0", + "istanbul-lib-report": "^3.0.0", + "istanbul-lib-source-maps": "^4.0.0", + "istanbul-reports": "^3.1.3", + "jest-haste-map": "^27.5.1", + "jest-resolve": "^27.5.1", + "jest-util": "^27.5.1", + "jest-worker": "^27.5.1", + "slash": "^3.0.0", + "source-map": "^0.6.0", + "string-length": "^4.0.1", + "terminal-link": "^2.0.0", + "v8-to-istanbul": "^8.1.0" + } + }, + "@jest/source-map": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/@jest/source-map/-/source-map-27.5.1.tgz", + "integrity": "sha512-y9NIHUYF3PJRlHk98NdC/N1gl88BL08aQQgu4k4ZopQkCw9t9cV8mtl3TV8b/YCB8XaVTFrmUTAJvjsntDireg==", + "dev": true, + "requires": { + "callsites": "^3.0.0", + "graceful-fs": "^4.2.9", + "source-map": "^0.6.0" + } + }, + "@jest/test-result": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/@jest/test-result/-/test-result-27.5.1.tgz", + "integrity": "sha512-EW35l2RYFUcUQxFJz5Cv5MTOxlJIQs4I7gxzi2zVU7PJhOwfYq1MdC5nhSmYjX1gmMmLPvB3sIaC+BkcHRBfag==", + "dev": true, + "requires": { + "@jest/console": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/istanbul-lib-coverage": "^2.0.0", + "collect-v8-coverage": "^1.0.0" + } + }, + "@jest/test-sequencer": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/@jest/test-sequencer/-/test-sequencer-27.5.1.tgz", + "integrity": "sha512-LCheJF7WB2+9JuCS7VB/EmGIdQuhtqjRNI9A43idHv3E4KltCTsPsLxvdaubFHSYwY/fNjMWjl6vNRhDiN7vpQ==", + "dev": true, + "requires": { + "@jest/test-result": "^27.5.1", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^27.5.1", + "jest-runtime": "^27.5.1" + } + }, + "@jest/transform": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/@jest/transform/-/transform-27.5.1.tgz", + "integrity": "sha512-ipON6WtYgl/1329g5AIJVbUuEh0wZVbdpGwC99Jw4LwuoBNS95MVphU6zOeD9pDkon+LLbFL7lOQRapbB8SCHw==", + "dev": true, + "requires": { + "@babel/core": "^7.1.0", + "@jest/types": "^27.5.1", + "babel-plugin-istanbul": "^6.1.1", + "chalk": "^4.0.0", + "convert-source-map": "^1.4.0", + "fast-json-stable-stringify": "^2.0.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^27.5.1", + "jest-regex-util": "^27.5.1", + "jest-util": "^27.5.1", + "micromatch": "^4.0.4", + "pirates": "^4.0.4", + "slash": "^3.0.0", + "source-map": "^0.6.1", + "write-file-atomic": "^3.0.0" + } + }, + "@jest/types": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/@jest/types/-/types-27.5.1.tgz", + "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", + "dev": true, + "requires": { + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^3.0.0", + "@types/node": "*", + "@types/yargs": "^16.0.0", + "chalk": "^4.0.0" + } + }, + "@jridgewell/resolve-uri": { + "version": "3.0.5", + "resolved": "https://nexus3.linkurious.net/repository/npm/@jridgewell/resolve-uri/-/resolve-uri-3.0.5.tgz", + "integrity": "sha512-VPeQ7+wH0itvQxnG+lIzWgkysKIr3L9sslimFW55rHMdGu/qCQ5z5h9zq4gI8uBtqkpHhsF4Z/OwExufUCThew==", + "dev": true + }, + "@jridgewell/sourcemap-codec": { + "version": "1.4.11", + "resolved": "https://nexus3.linkurious.net/repository/npm/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.11.tgz", + "integrity": "sha512-Fg32GrJo61m+VqYSdRSjRXMjQ06j8YIYfcTqndLYVAaHmroZHLJZCydsWBOTDqXS2v+mjxohBWEMfg97GXmYQg==", + "dev": true + }, + "@jridgewell/trace-mapping": { + "version": "0.3.4", + "resolved": "https://nexus3.linkurious.net/repository/npm/@jridgewell/trace-mapping/-/trace-mapping-0.3.4.tgz", + "integrity": "sha512-vFv9ttIedivx0ux3QSjhgtCVjPZd5l46ZOMDSCwnH1yUO2e964gO8LZGyv2QkqcgR6TnBU1v+1IFqmeoG+0UJQ==", + "dev": true, + "requires": { + "@jridgewell/resolve-uri": "^3.0.3", + "@jridgewell/sourcemap-codec": "^1.4.10" + } + }, + "@linkurious/code-tools": { + "version": "0.0.6", + "resolved": "https://nexus3.linkurious.net/repository/npm/@linkurious/code-tools/-/code-tools-0.0.6.tgz", + "integrity": "sha512-o87OttgIJ95NLcaWCPKx49eaUd0CT/U3aZvV+x2mcrNTB8w9QFG9s9Ww7sWgJHWOGPB9Es+Ahox0b0K080zgyQ==", + "dev": true + }, + "@linkurious/ogma": { + "version": "4.1.0-PR-2905.9", + "resolved": "https://nexus3.linkurious.net/repository/npm/@linkurious/ogma/-/ogma-4.1.0-PR-2905.9.tgz", + "integrity": "sha512-yTtJz8s0TQ+fcEjHbsorX9dOmIP8kPNgACGUmEygpFUBQFgLFTcNq4e2pQmOn463xXfTneIgjkImNM2CDcG3/Q==", + "dev": true, + "requires": { + "@mapbox/mapbox-gl-rtl-text": "^0.2.0", + "@types/leaflet": ">=1.x", + "leaflet": ">=1.x", + "xlsx": "0.17.0" + } + }, + "@mapbox/mapbox-gl-rtl-text": { + "version": "0.2.3", + "resolved": "https://nexus3.linkurious.net/repository/npm/@mapbox/mapbox-gl-rtl-text/-/mapbox-gl-rtl-text-0.2.3.tgz", + "integrity": "sha512-RaCYfnxULUUUxNwcUimV9C/o2295ktTyLEUzD/+VWkqXqvaVfFcZ5slytGzb2Sd/Jj4MlbxD0DCZbfa6CzcmMw==", + "dev": true, + "optional": true + }, + "@mapbox/node-pre-gyp": { + "version": "1.0.9", + "resolved": "https://nexus3.linkurious.net/repository/npm/@mapbox/node-pre-gyp/-/node-pre-gyp-1.0.9.tgz", + "integrity": "sha512-aDF3S3rK9Q2gey/WAttUlISduDItz5BU3306M9Eyv6/oS40aMprnopshtlKTykxRNIBEZuRMaZAnbrQ4QtKGyw==", + "dev": true, + "requires": { + "detect-libc": "^2.0.0", + "https-proxy-agent": "^5.0.0", + "make-dir": "^3.1.0", + "node-fetch": "^2.6.7", + "nopt": "^5.0.0", + "npmlog": "^5.0.1", + "rimraf": "^3.0.2", + "semver": "^7.3.5", + "tar": "^6.1.11" + } + }, + "@mapbox/typehead": { + "version": "1.2.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/@mapbox/typehead/-/typehead-1.2.1.tgz", + "integrity": "sha512-gdQqSSzFiT8+UosjxtAoGpe7BioirmcyO3qXG0YB3KZZAomfjAMQ1kc4K2TjA0/fOXfY/4Sy9Yqo7N1d22j4SA==", + "dev": true, + "requires": { + "chalk": "^4.1.2", + "commander": "^8.1.0", + "cosmiconfig": "^7.0.1", + "deepmerge": "^4.2.2", + "esbuild": "^0.14.19", + "esbuild-plugin-lodash": "^1.1.0" + }, + "dependencies": { + "commander": { + "version": "8.3.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/commander/-/commander-8.3.0.tgz", + "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==", + "dev": true + } + } + }, + "@next/bundle-analyzer": { + "version": "12.1.5", + "resolved": "https://nexus3.linkurious.net/repository/npm/@next/bundle-analyzer/-/bundle-analyzer-12.1.5.tgz", + "integrity": "sha512-A9MkhWCPvSp1vl0Ox7IjJ/qpugDC5YAb40btGGIPPXHQtkal107Sf8dbay4fqw4Hekee5gdS0WUMfe1BaSur7w==", + "dev": true, + "requires": { + "webpack-bundle-analyzer": "4.3.0" + } + }, + "@polka/url": { + "version": "1.0.0-next.21", + "resolved": "https://nexus3.linkurious.net/repository/npm/@polka/url/-/url-1.0.0-next.21.tgz", + "integrity": "sha512-a5Sab1C4/icpTZVzZc5Ghpz88yQtGOyNqYXcZgOssB2uuAr+wF/MvN6bgtW32q7HHrvBki+BsZ0OuNv6EV3K9g==", + "dev": true + }, + "@sinonjs/commons": { + "version": "1.8.3", + "resolved": "https://nexus3.linkurious.net/repository/npm/@sinonjs/commons/-/commons-1.8.3.tgz", + "integrity": "sha512-xkNcLAn/wZaX14RPlwizcKicDk9G3F8m2nU3L7Ukm5zBgTwiT0wsoFAHx9Jq56fJA1z/7uKGtCRu16sOUCLIHQ==", + "dev": true, + "requires": { + "type-detect": "4.0.8" + } + }, + "@sinonjs/fake-timers": { + "version": "8.1.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/@sinonjs/fake-timers/-/fake-timers-8.1.0.tgz", + "integrity": "sha512-OAPJUAtgeINhh/TAlUID4QTs53Njm7xzddaVlEs/SXwgtiD1tW22zAB/W1wdqfrpmikgaWQ9Fw6Ws+hsiRm5Vg==", + "dev": true, + "requires": { + "@sinonjs/commons": "^1.7.0" + } + }, + "@tootallnate/once": { + "version": "1.1.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/@tootallnate/once/-/once-1.1.2.tgz", + "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==", + "dev": true + }, + "@types/babel__core": { + "version": "7.1.19", + "resolved": "https://nexus3.linkurious.net/repository/npm/@types/babel__core/-/babel__core-7.1.19.tgz", + "integrity": "sha512-WEOTgRsbYkvA/KCsDwVEGkd7WAr1e3g31VHQ8zy5gul/V1qKullU/BU5I68X5v7V3GnB9eotmom4v5a5gjxorw==", + "dev": true, + "requires": { + "@babel/parser": "^7.1.0", + "@babel/types": "^7.0.0", + "@types/babel__generator": "*", + "@types/babel__template": "*", + "@types/babel__traverse": "*" + } + }, + "@types/babel__generator": { + "version": "7.6.4", + "resolved": "https://nexus3.linkurious.net/repository/npm/@types/babel__generator/-/babel__generator-7.6.4.tgz", + "integrity": "sha512-tFkciB9j2K755yrTALxD44McOrk+gfpIpvC3sxHjRawj6PfnQxrse4Clq5y/Rq+G3mrBurMax/lG8Qn2t9mSsg==", + "dev": true, + "requires": { + "@babel/types": "^7.0.0" + } + }, + "@types/babel__template": { + "version": "7.4.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/@types/babel__template/-/babel__template-7.4.1.tgz", + "integrity": "sha512-azBFKemX6kMg5Io+/rdGT0dkGreboUVR0Cdm3fz9QJWpaQGJRQXl7C+6hOTCZcMll7KFyEQpgbYI2lHdsS4U7g==", + "dev": true, + "requires": { + "@babel/parser": "^7.1.0", + "@babel/types": "^7.0.0" + } + }, + "@types/babel__traverse": { + "version": "7.17.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/@types/babel__traverse/-/babel__traverse-7.17.0.tgz", + "integrity": "sha512-r8aveDbd+rzGP+ykSdF3oPuTVRWRfbBiHl0rVDM2yNEmSMXfkObQLV46b4RnCv3Lra51OlfnZhkkFaDl2MIRaA==", + "dev": true, + "requires": { + "@babel/types": "^7.3.0" + } + }, + "@types/cheerio": { + "version": "0.22.31", + "resolved": "https://nexus3.linkurious.net/repository/npm/@types/cheerio/-/cheerio-0.22.31.tgz", + "integrity": "sha512-Kt7Cdjjdi2XWSfrZ53v4Of0wG3ZcmaegFXjMmz9tfNrZSkzzo36G0AL1YqSdcIA78Etjt6E609pt5h1xnQkPUw==", + "dev": true, + "requires": { + "@types/node": "*" + } + }, + "@types/enzyme": { + "version": "3.10.12", + "resolved": "https://nexus3.linkurious.net/repository/npm/@types/enzyme/-/enzyme-3.10.12.tgz", + "integrity": "sha512-xryQlOEIe1TduDWAOphR0ihfebKFSWOXpIsk+70JskCfRfW+xALdnJ0r1ZOTo85F9Qsjk6vtlU7edTYHbls9tA==", + "dev": true, + "requires": { + "@types/cheerio": "*", + "@types/react": "*" + } + }, + "@types/geojson": { + "version": "7946.0.8", + "resolved": "https://nexus3.linkurious.net/repository/npm/@types/geojson/-/geojson-7946.0.8.tgz", + "integrity": "sha512-1rkryxURpr6aWP7R786/UQOkJ3PcpQiWkAXBmdWc7ryFWqN6a4xfK7BtjXvFBKO9LjQ+MWQSWxYeZX1OApnArA==", + "dev": true + }, + "@types/graceful-fs": { + "version": "4.1.5", + "resolved": "https://nexus3.linkurious.net/repository/npm/@types/graceful-fs/-/graceful-fs-4.1.5.tgz", + "integrity": "sha512-anKkLmZZ+xm4p8JWBf4hElkM4XR+EZeA2M9BAkkTldmcyDY4mbdIJnRghDJH3Ov5ooY7/UAoENtmdMSkaAd7Cw==", + "dev": true, + "requires": { + "@types/node": "*" + } + }, + "@types/istanbul-lib-coverage": { + "version": "2.0.4", + "resolved": "https://nexus3.linkurious.net/repository/npm/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz", + "integrity": "sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g==", + "dev": true + }, + "@types/istanbul-lib-report": { + "version": "3.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", + "integrity": "sha512-plGgXAPfVKFoYfa9NpYDAkseG+g6Jr294RqeqcqDixSbU34MZVJRi/P+7Y8GDpzkEwLaGZZOpKIEmeVZNtKsrg==", + "dev": true, + "requires": { + "@types/istanbul-lib-coverage": "*" + } + }, + "@types/istanbul-reports": { + "version": "3.0.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/@types/istanbul-reports/-/istanbul-reports-3.0.1.tgz", + "integrity": "sha512-c3mAZEuK0lvBp8tmuL74XRKn1+y2dcwOUpH7x4WrF6gk1GIgiluDRgMYQtw2OFcBvAJWlt6ASU3tSqxp0Uu0Aw==", + "dev": true, + "requires": { + "@types/istanbul-lib-report": "*" + } + }, + "@types/jest": { + "version": "27.4.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/@types/jest/-/jest-27.4.1.tgz", + "integrity": "sha512-23iPJADSmicDVrWk+HT58LMJtzLAnB2AgIzplQuq/bSrGaxCrlvRFjGbXmamnnk/mAmCdLStiGqggu28ocUyiw==", + "dev": true, + "requires": { + "jest-matcher-utils": "^27.0.0", + "pretty-format": "^27.0.0" + } + }, + "@types/leaflet": { + "version": "1.7.9", + "resolved": "https://nexus3.linkurious.net/repository/npm/@types/leaflet/-/leaflet-1.7.9.tgz", + "integrity": "sha512-H8vPgD49HKzqM41ArHGZM70g/tfhp8W+JcPxfnF+5H/Xvp+xiP+KQOUNWU8U89fqS1Jj3cpRY/+nbnaHFzwnFA==", + "dev": true, + "requires": { + "@types/geojson": "*" + } + }, + "@types/lodash": { + "version": "4.14.181", + "resolved": "https://nexus3.linkurious.net/repository/npm/@types/lodash/-/lodash-4.14.181.tgz", + "integrity": "sha512-n3tyKthHJbkiWhDZs3DkhkCzt2MexYHXlX0td5iMplyfwketaOeKboEVBqzceH7juqvEg3q5oUoBFxSLu7zFag==" + }, + "@types/lodash.throttle": { + "version": "4.1.6", + "resolved": "https://nexus3.linkurious.net/repository/npm/@types/lodash.throttle/-/lodash.throttle-4.1.6.tgz", + "integrity": "sha512-/UIH96i/sIRYGC60NoY72jGkCJtFN5KVPhEMMMTjol65effe1gPn0tycJqV5tlSwMTzX8FqzB5yAj0rfGHTPNg==", + "requires": { + "@types/lodash": "*" + } + }, + "@types/node": { + "version": "17.0.24", + "resolved": "https://nexus3.linkurious.net/repository/npm/@types/node/-/node-17.0.24.tgz", + "integrity": "sha512-aveCYRQbgTH9Pssp1voEP7HiuWlD2jW2BO56w+bVrJn04i61yh6mRfoKO6hEYQD9vF+W8Chkwc6j1M36uPkx4g==", + "dev": true + }, + "@types/parse-json": { + "version": "4.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/@types/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==", + "dev": true + }, + "@types/prettier": { + "version": "2.6.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/@types/prettier/-/prettier-2.6.0.tgz", + "integrity": "sha512-G/AdOadiZhnJp0jXCaBQU449W2h716OW/EoXeYkCytxKL06X1WCXB4DZpp8TpZ8eyIJVS1cw4lrlkkSYU21cDw==", + "dev": true + }, + "@types/prop-types": { + "version": "15.7.5", + "resolved": "https://nexus3.linkurious.net/repository/npm/@types/prop-types/-/prop-types-15.7.5.tgz", + "integrity": "sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==", + "dev": true + }, + "@types/react": { + "version": "17.0.44", + "resolved": "https://nexus3.linkurious.net/repository/npm/@types/react/-/react-17.0.44.tgz", + "integrity": "sha512-Ye0nlw09GeMp2Suh8qoOv0odfgCoowfM/9MG6WeRD60Gq9wS90bdkdRtYbRkNhXOpG4H+YXGvj4wOWhAC0LJ1g==", + "dev": true, + "requires": { + "@types/prop-types": "*", + "@types/scheduler": "*", + "csstype": "^3.0.2" + } + }, + "@types/react-dom": { + "version": "17.0.15", + "resolved": "https://nexus3.linkurious.net/repository/npm/@types/react-dom/-/react-dom-17.0.15.tgz", + "integrity": "sha512-Tr9VU9DvNoHDWlmecmcsE5ZZiUkYx+nKBzum4Oxe1K0yJVyBlfbq7H3eXjxXqJczBKqPGq3EgfTru4MgKb9+Yw==", + "dev": true, + "requires": { + "@types/react": "^17" + } + }, + "@types/scheduler": { + "version": "0.16.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/@types/scheduler/-/scheduler-0.16.2.tgz", + "integrity": "sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew==", + "dev": true + }, + "@types/stack-utils": { + "version": "2.0.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/@types/stack-utils/-/stack-utils-2.0.1.tgz", + "integrity": "sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw==", + "dev": true + }, + "@types/yargs": { + "version": "16.0.4", + "resolved": "https://nexus3.linkurious.net/repository/npm/@types/yargs/-/yargs-16.0.4.tgz", + "integrity": "sha512-T8Yc9wt/5LbJyCaLiHPReJa0kApcIgJ7Bn735GjItUfh08Z1pJvu8QZqb9s+mMvKV6WUQRV7K2R46YbjMXTTJw==", + "dev": true, + "requires": { + "@types/yargs-parser": "*" + } + }, + "@types/yargs-parser": { + "version": "21.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/@types/yargs-parser/-/yargs-parser-21.0.0.tgz", + "integrity": "sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA==", + "dev": true + }, + "abab": { + "version": "2.0.5", + "resolved": "https://nexus3.linkurious.net/repository/npm/abab/-/abab-2.0.5.tgz", + "integrity": "sha512-9IK9EadsbHo6jLWIpxpR6pL0sazTXV6+SQv25ZB+F7Bj9mJNaOc4nCRabwd5M/JwmUa8idz6Eci6eKfJryPs6Q==", + "dev": true + }, + "abbrev": { + "version": "1.1.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/abbrev/-/abbrev-1.1.1.tgz", + "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", + "dev": true + }, + "acorn": { + "version": "8.7.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/acorn/-/acorn-8.7.0.tgz", + "integrity": "sha512-V/LGr1APy+PXIwKebEWrkZPwoeoF+w1jiOBUmuxuiUIaOHtob8Qc9BTrYo7VuI5fR8tqsy+buA2WFooR5olqvQ==", + "dev": true + }, + "acorn-globals": { + "version": "6.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/acorn-globals/-/acorn-globals-6.0.0.tgz", + "integrity": "sha512-ZQl7LOWaF5ePqqcX4hLuv/bLXYQNfNWw2c0/yX/TsPRKamzHcTGQnlCjHT3TsmkOUVEPS3crCxiPfdzE/Trlhg==", + "dev": true, + "requires": { + "acorn": "^7.1.1", + "acorn-walk": "^7.1.1" + }, + "dependencies": { + "acorn": { + "version": "7.4.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/acorn/-/acorn-7.4.1.tgz", + "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", + "dev": true + }, + "acorn-walk": { + "version": "7.2.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/acorn-walk/-/acorn-walk-7.2.0.tgz", + "integrity": "sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==", + "dev": true + } + } + }, + "acorn-walk": { + "version": "8.2.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/acorn-walk/-/acorn-walk-8.2.0.tgz", + "integrity": "sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==", + "dev": true + }, + "adler-32": { + "version": "1.2.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/adler-32/-/adler-32-1.2.0.tgz", + "integrity": "sha1-aj5r8KY5ALoVZSgIyxXGgT0aXyU=", + "dev": true, + "optional": true, + "requires": { + "exit-on-epipe": "~1.0.1", + "printj": "~1.1.0" + } + }, + "agent-base": { + "version": "6.0.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/agent-base/-/agent-base-6.0.2.tgz", + "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", + "dev": true, + "requires": { + "debug": "4" + } + }, + "ansi-escapes": { + "version": "4.3.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/ansi-escapes/-/ansi-escapes-4.3.2.tgz", + "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", + "dev": true, + "requires": { + "type-fest": "^0.21.3" + } + }, + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true + }, + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "anymatch": { + "version": "3.1.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/anymatch/-/anymatch-3.1.2.tgz", + "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", + "dev": true, + "requires": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + } + }, + "aproba": { + "version": "2.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/aproba/-/aproba-2.0.0.tgz", + "integrity": "sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==", + "dev": true + }, + "are-we-there-yet": { + "version": "2.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/are-we-there-yet/-/are-we-there-yet-2.0.0.tgz", + "integrity": "sha512-Ci/qENmwHnsYo9xKIcUJN5LeDKdJ6R1Z1j9V/J5wyq8nh/mYPEpIKJbBZXtZjG04HiK7zV/p6Vs9952MrMeUIw==", + "dev": true, + "requires": { + "delegates": "^1.0.0", + "readable-stream": "^3.6.0" + } + }, + "argparse": { + "version": "1.0.10", + "resolved": "https://nexus3.linkurious.net/repository/npm/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dev": true, + "requires": { + "sprintf-js": "~1.0.2" + } + }, + "array-union": { + "version": "1.0.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/array-union/-/array-union-1.0.2.tgz", + "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=", + "dev": true, + "requires": { + "array-uniq": "^1.0.1" + } + }, + "array-uniq": { + "version": "1.0.3", + "resolved": "https://nexus3.linkurious.net/repository/npm/array-uniq/-/array-uniq-1.0.3.tgz", + "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=", + "dev": true + }, + "async": { + "version": "2.6.3", + "resolved": "https://nexus3.linkurious.net/repository/npm/async/-/async-2.6.3.tgz", + "integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==", + "dev": true, + "requires": { + "lodash": "^4.17.14" + } + }, + "asynckit": { + "version": "0.4.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", + "dev": true + }, + "babel-jest": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/babel-jest/-/babel-jest-27.5.1.tgz", + "integrity": "sha512-cdQ5dXjGRd0IBRATiQ4mZGlGlRE8kJpjPOixdNRdT+m3UcNqmYWN6rK6nvtXYfY3D76cb8s/O1Ss8ea24PIwcg==", + "dev": true, + "requires": { + "@jest/transform": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/babel__core": "^7.1.14", + "babel-plugin-istanbul": "^6.1.1", + "babel-preset-jest": "^27.5.1", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "slash": "^3.0.0" + } + }, + "babel-plugin-istanbul": { + "version": "6.1.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz", + "integrity": "sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.0.0", + "@istanbuljs/load-nyc-config": "^1.0.0", + "@istanbuljs/schema": "^0.1.2", + "istanbul-lib-instrument": "^5.0.4", + "test-exclude": "^6.0.0" + } + }, + "babel-plugin-jest-hoist": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-27.5.1.tgz", + "integrity": "sha512-50wCwD5EMNW4aRpOwtqzyZHIewTYNxLA4nhB+09d8BIssfNfzBRhkBIHiaPv1Si226TQSvp8gxAJm2iY2qs2hQ==", + "dev": true, + "requires": { + "@babel/template": "^7.3.3", + "@babel/types": "^7.3.3", + "@types/babel__core": "^7.0.0", + "@types/babel__traverse": "^7.0.6" + } + }, + "babel-preset-current-node-syntax": { + "version": "1.0.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz", + "integrity": "sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ==", + "dev": true, + "requires": { + "@babel/plugin-syntax-async-generators": "^7.8.4", + "@babel/plugin-syntax-bigint": "^7.8.3", + "@babel/plugin-syntax-class-properties": "^7.8.3", + "@babel/plugin-syntax-import-meta": "^7.8.3", + "@babel/plugin-syntax-json-strings": "^7.8.3", + "@babel/plugin-syntax-logical-assignment-operators": "^7.8.3", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", + "@babel/plugin-syntax-numeric-separator": "^7.8.3", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", + "@babel/plugin-syntax-optional-chaining": "^7.8.3", + "@babel/plugin-syntax-top-level-await": "^7.8.3" + } + }, + "babel-preset-jest": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/babel-preset-jest/-/babel-preset-jest-27.5.1.tgz", + "integrity": "sha512-Nptf2FzlPCWYuJg41HBqXVT8ym6bXOevuCTbhxlUpjwtysGaIWFvDEjp4y+G7fl13FgOdjs7P/DmErqH7da0Ag==", + "dev": true, + "requires": { + "babel-plugin-jest-hoist": "^27.5.1", + "babel-preset-current-node-syntax": "^1.0.0" + } + }, + "balanced-match": { + "version": "1.0.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true + }, + "brace-expansion": { + "version": "1.1.11", + "resolved": "https://nexus3.linkurious.net/repository/npm/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "braces": { + "version": "3.0.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dev": true, + "requires": { + "fill-range": "^7.0.1" + } + }, + "browser-process-hrtime": { + "version": "1.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz", + "integrity": "sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow==", + "dev": true + }, + "browserslist": { + "version": "4.20.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/browserslist/-/browserslist-4.20.2.tgz", + "integrity": "sha512-CQOBCqp/9pDvDbx3xfMi+86pr4KXIf2FDkTTdeuYw8OxS9t898LA1Khq57gtufFILXpfgsSx5woNgsBgvGjpsA==", + "dev": true, + "requires": { + "caniuse-lite": "^1.0.30001317", + "electron-to-chromium": "^1.4.84", + "escalade": "^3.1.1", + "node-releases": "^2.0.2", + "picocolors": "^1.0.0" + } + }, + "bs-logger": { + "version": "0.2.6", + "resolved": "https://nexus3.linkurious.net/repository/npm/bs-logger/-/bs-logger-0.2.6.tgz", + "integrity": "sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==", + "dev": true, + "requires": { + "fast-json-stable-stringify": "2.x" + } + }, + "bser": { + "version": "2.1.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/bser/-/bser-2.1.1.tgz", + "integrity": "sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==", + "dev": true, + "requires": { + "node-int64": "^0.4.0" + } + }, + "buffer-from": { + "version": "1.1.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", + "dev": true + }, + "callsites": { + "version": "3.1.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true + }, + "camelcase": { + "version": "5.3.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "dev": true + }, + "caniuse-lite": { + "version": "1.0.30001332", + "resolved": "https://nexus3.linkurious.net/repository/npm/caniuse-lite/-/caniuse-lite-1.0.30001332.tgz", + "integrity": "sha512-10T30NYOEQtN6C11YGg411yebhvpnC6Z102+B95eAsN0oB6KUs01ivE8u+G6FMIRtIrVlYXhL+LUwQ3/hXwDWw==", + "dev": true + }, + "canvas": { + "version": "2.9.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/canvas/-/canvas-2.9.1.tgz", + "integrity": "sha512-vSQti1uG/2gjv3x6QLOZw7TctfufaerTWbVe+NSduHxxLGB+qf3kFgQ6n66DSnuoINtVUjrLLIK2R+lxrBG07A==", + "dev": true, + "requires": { + "@mapbox/node-pre-gyp": "^1.0.0", + "nan": "^2.15.0", + "simple-get": "^3.0.3" + } + }, + "cfb": { + "version": "1.2.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/cfb/-/cfb-1.2.2.tgz", + "integrity": "sha512-KfdUZsSOw19/ObEWasvBP/Ac4reZvAGauZhs6S/gqNhXhI7cKwvlH7ulj+dOEYnca4bm4SGo8C1bTAQvnTjgQA==", + "dev": true, + "optional": true, + "requires": { + "adler-32": "~1.3.0", + "crc-32": "~1.2.0" + }, + "dependencies": { + "adler-32": { + "version": "1.3.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/adler-32/-/adler-32-1.3.1.tgz", + "integrity": "sha512-ynZ4w/nUUv5rrsR8UUGoe1VC9hZj6V5hU9Qw1HlMDJGEJw5S7TfTErWTjMys6M7vr0YWcPqs3qAr4ss0nDfP+A==", + "dev": true, + "optional": true + } + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "char-regex": { + "version": "1.0.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/char-regex/-/char-regex-1.0.2.tgz", + "integrity": "sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==", + "dev": true + }, + "chownr": { + "version": "2.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/chownr/-/chownr-2.0.0.tgz", + "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==", + "dev": true + }, + "ci-info": { + "version": "3.3.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/ci-info/-/ci-info-3.3.0.tgz", + "integrity": "sha512-riT/3vI5YpVH6/qomlDnJow6TBee2PBKSEpx3O32EGPYbWGIRsIlGRms3Sm74wYE1JMo8RnO04Hb12+v1J5ICw==", + "dev": true + }, + "cjs-module-lexer": { + "version": "1.2.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/cjs-module-lexer/-/cjs-module-lexer-1.2.2.tgz", + "integrity": "sha512-cOU9usZw8/dXIXKtwa8pM0OTJQuJkxMN6w30csNRUerHfeQ5R6U3kkU/FtJeIf3M202OHfY2U8ccInBG7/xogA==", + "dev": true + }, + "cliui": { + "version": "7.0.4", + "resolved": "https://nexus3.linkurious.net/repository/npm/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dev": true, + "requires": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "co": { + "version": "4.6.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/co/-/co-4.6.0.tgz", + "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=", + "dev": true + }, + "codepage": { + "version": "1.14.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/codepage/-/codepage-1.14.0.tgz", + "integrity": "sha1-jL4lSBMjVZ19MHVxsP/5HnodL5k=", + "dev": true, + "optional": true, + "requires": { + "commander": "~2.14.1", + "exit-on-epipe": "~1.0.1" + }, + "dependencies": { + "commander": { + "version": "2.14.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/commander/-/commander-2.14.1.tgz", + "integrity": "sha512-+YR16o3rK53SmWHU3rEM3tPAh2rwb1yPcQX5irVn7mb0gXbwuCCrnkbV5+PBfETdfg1vui07nM6PCG1zndcjQw==", + "dev": true, + "optional": true + } + } + }, + "collect-v8-coverage": { + "version": "1.0.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/collect-v8-coverage/-/collect-v8-coverage-1.0.1.tgz", + "integrity": "sha512-iBPtljfCNcTKNAto0KEtDfZ3qzjJvqE3aTGZsbhjSBlorqpXJlaWWtPO35D+ZImoC3KWejX64o+yPGxhWSTzfg==", + "dev": true + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://nexus3.linkurious.net/repository/npm/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "color-support": { + "version": "1.1.3", + "resolved": "https://nexus3.linkurious.net/repository/npm/color-support/-/color-support-1.1.3.tgz", + "integrity": "sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==", + "dev": true + }, + "combined-stream": { + "version": "1.0.8", + "resolved": "https://nexus3.linkurious.net/repository/npm/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dev": true, + "requires": { + "delayed-stream": "~1.0.0" + } + }, + "commander": { + "version": "2.17.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/commander/-/commander-2.17.1.tgz", + "integrity": "sha512-wPMUt6FnH2yzG95SA6mzjQOEKUU3aLaDEmzs1ti+1E9h+CsrZghRlqEM/EJ4KscsQVG8uNN4uVreUeT8+drlgg==", + "dev": true, + "optional": true + }, + "commondir": { + "version": "1.0.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/commondir/-/commondir-1.0.1.tgz", + "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", + "dev": true + }, + "concat-map": { + "version": "0.0.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", + "dev": true + }, + "console-control-strings": { + "version": "1.1.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/console-control-strings/-/console-control-strings-1.1.0.tgz", + "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=", + "dev": true + }, + "convert-source-map": { + "version": "1.8.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/convert-source-map/-/convert-source-map-1.8.0.tgz", + "integrity": "sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==", + "dev": true, + "requires": { + "safe-buffer": "~5.1.1" + }, + "dependencies": { + "safe-buffer": { + "version": "5.1.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true + } + } + }, + "cosmiconfig": { + "version": "7.0.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/cosmiconfig/-/cosmiconfig-7.0.1.tgz", + "integrity": "sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ==", + "dev": true, + "requires": { + "@types/parse-json": "^4.0.0", + "import-fresh": "^3.2.1", + "parse-json": "^5.0.0", + "path-type": "^4.0.0", + "yaml": "^1.10.0" + } + }, + "crc-32": { + "version": "1.2.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/crc-32/-/crc-32-1.2.2.tgz", + "integrity": "sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ==", + "dev": true, + "optional": true + }, + "cross-spawn": { + "version": "7.0.3", + "resolved": "https://nexus3.linkurious.net/repository/npm/cross-spawn/-/cross-spawn-7.0.3.tgz", + "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "dev": true, + "requires": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + } + }, + "cssom": { + "version": "0.4.4", + "resolved": "https://nexus3.linkurious.net/repository/npm/cssom/-/cssom-0.4.4.tgz", + "integrity": "sha512-p3pvU7r1MyyqbTk+WbNJIgJjG2VmTIaB10rI93LzVPrmDJKkzKYMtxxyAvQXR/NS6otuzveI7+7BBq3SjBS2mw==", + "dev": true + }, + "cssstyle": { + "version": "2.3.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/cssstyle/-/cssstyle-2.3.0.tgz", + "integrity": "sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A==", + "dev": true, + "requires": { + "cssom": "~0.3.6" + }, + "dependencies": { + "cssom": { + "version": "0.3.8", + "resolved": "https://nexus3.linkurious.net/repository/npm/cssom/-/cssom-0.3.8.tgz", + "integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==", + "dev": true + } + } + }, + "csstype": { + "version": "3.0.11", + "resolved": "https://nexus3.linkurious.net/repository/npm/csstype/-/csstype-3.0.11.tgz", + "integrity": "sha512-sa6P2wJ+CAbgyy4KFssIb/JNMLxFvKF1pCYCSXS8ZMuqZnMsrxqI2E5sPyoTpxoPU/gVZMzr2zjOfg8GIZOMsw==", + "dev": true + }, + "data-urls": { + "version": "2.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/data-urls/-/data-urls-2.0.0.tgz", + "integrity": "sha512-X5eWTSXO/BJmpdIKCRuKUgSCgAN0OwliVK3yPKbwIWU1Tdw5BRajxlzMidvh+gwko9AfQ9zIj52pzF91Q3YAvQ==", + "dev": true, + "requires": { + "abab": "^2.0.3", + "whatwg-mimetype": "^2.3.0", + "whatwg-url": "^8.0.0" + }, + "dependencies": { + "tr46": { + "version": "2.1.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/tr46/-/tr46-2.1.0.tgz", + "integrity": "sha512-15Ih7phfcdP5YxqiB+iDtLoaTz4Nd35+IiAv0kQ5FNKHzXgdWqPoTIqEDDJmXceQt4JZk6lVPT8lnDlPpGDppw==", + "dev": true, + "requires": { + "punycode": "^2.1.1" + } + }, + "webidl-conversions": { + "version": "6.1.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/webidl-conversions/-/webidl-conversions-6.1.0.tgz", + "integrity": "sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w==", + "dev": true + }, + "whatwg-url": { + "version": "8.7.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/whatwg-url/-/whatwg-url-8.7.0.tgz", + "integrity": "sha512-gAojqb/m9Q8a5IV96E3fHJM70AzCkgt4uXYX2O7EmuyOnLrViCQlsEBmF9UQIu3/aeAIp2U17rtbpZWNntQqdg==", + "dev": true, + "requires": { + "lodash": "^4.7.0", + "tr46": "^2.1.0", + "webidl-conversions": "^6.1.0" + } + } + } + }, + "debug": { + "version": "4.3.4", + "resolved": "https://nexus3.linkurious.net/repository/npm/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dev": true, + "requires": { + "ms": "2.1.2" + } + }, + "decimal.js": { + "version": "10.3.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/decimal.js/-/decimal.js-10.3.1.tgz", + "integrity": "sha512-V0pfhfr8suzyPGOx3nmq4aHqabehUZn6Ch9kyFpV79TGDTWFmHqUqXdabR7QHqxzrYolF4+tVmJhUG4OURg5dQ==", + "dev": true + }, + "decompress-response": { + "version": "4.2.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/decompress-response/-/decompress-response-4.2.1.tgz", + "integrity": "sha512-jOSne2qbyE+/r8G1VU+G/82LBs2Fs4LAsTiLSHOCOMZQl2OKZ6i8i4IyHemTe+/yIXOtTcRQMzPcgyhoFlqPkw==", + "dev": true, + "requires": { + "mimic-response": "^2.0.0" + } + }, + "dedent": { + "version": "0.7.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/dedent/-/dedent-0.7.0.tgz", + "integrity": "sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw=", + "dev": true + }, + "deep-is": { + "version": "0.1.4", + "resolved": "https://nexus3.linkurious.net/repository/npm/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "dev": true + }, + "deepmerge": { + "version": "4.2.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/deepmerge/-/deepmerge-4.2.2.tgz", + "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", + "dev": true + }, + "delayed-stream": { + "version": "1.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", + "dev": true + }, + "delegates": { + "version": "1.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/delegates/-/delegates-1.0.0.tgz", + "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=", + "dev": true + }, + "detect-libc": { + "version": "2.0.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/detect-libc/-/detect-libc-2.0.1.tgz", + "integrity": "sha512-463v3ZeIrcWtdgIg6vI6XUncguvr2TnGl4SzDXinkt9mSLpBJKXT3mW6xT3VQdDN11+WVs29pgvivTc4Lp8v+w==", + "dev": true + }, + "detect-newline": { + "version": "3.1.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/detect-newline/-/detect-newline-3.1.0.tgz", + "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==", + "dev": true + }, + "diff-sequences": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/diff-sequences/-/diff-sequences-27.5.1.tgz", + "integrity": "sha512-k1gCAXAsNgLwEL+Y8Wvl+M6oEFj5bgazfZULpS5CneoPPXRaCCW7dm+q21Ky2VEE5X+VeRDBVg1Pcvvsr4TtNQ==", + "dev": true + }, + "domexception": { + "version": "2.0.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/domexception/-/domexception-2.0.1.tgz", + "integrity": "sha512-yxJ2mFy/sibVQlu5qHjOkf9J3K6zgmCxgJ94u2EdvDOV09H+32LtRswEcUsmUWN72pVLOEnTSRaIVVzVQgS0dg==", + "dev": true, + "requires": { + "webidl-conversions": "^5.0.0" + }, + "dependencies": { + "webidl-conversions": { + "version": "5.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/webidl-conversions/-/webidl-conversions-5.0.0.tgz", + "integrity": "sha512-VlZwKPCkYKxQgeSbH5EyngOmRp7Ww7I9rQLERETtf5ofd9pGeswWiOtogpEO850jziPRarreGxn5QIiTqpb2wA==", + "dev": true + } + } + }, + "dts-bundle-generator": { + "version": "6.7.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/dts-bundle-generator/-/dts-bundle-generator-6.7.0.tgz", + "integrity": "sha512-Rg46ug107sbdQ9cY3Z54lUHixzrt3cZULInEGq0aYxm36UoKIEoPh1jPt/9qoHqZ1cUFmSOIpVfEbds68lhdJw==", + "dev": true, + "requires": { + "typescript": ">=3.0.1", + "yargs": "^17.2.1" + } + }, + "duplexer": { + "version": "0.1.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/duplexer/-/duplexer-0.1.2.tgz", + "integrity": "sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==", + "dev": true + }, + "electron-to-chromium": { + "version": "1.4.110", + "resolved": "https://nexus3.linkurious.net/repository/npm/electron-to-chromium/-/electron-to-chromium-1.4.110.tgz", + "integrity": "sha512-TvHZrkj9anfWkxgblHlNr4IMQdm2N6D0o8Wu1BDpSL/RKT4DHyUt/tvDFtApgZ+LGFL3U9EO4LRZ1eSlQ8xMYA==", + "dev": true + }, + "email-addresses": { + "version": "3.1.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/email-addresses/-/email-addresses-3.1.0.tgz", + "integrity": "sha512-k0/r7GrWVL32kZlGwfPNgB2Y/mMXVTq/decgLczm/j34whdaspNrZO8CnXPf1laaHxI6ptUlsnAxN+UAPw+fzg==", + "dev": true + }, + "emittery": { + "version": "0.8.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/emittery/-/emittery-0.8.1.tgz", + "integrity": "sha512-uDfvUjVrfGJJhymx/kz6prltenw1u7WrCg1oa94zYY8xxVpLLUu045LAT0dhDZdXG58/EpPL/5kA180fQ/qudg==", + "dev": true + }, + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "error-ex": { + "version": "1.3.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "dev": true, + "requires": { + "is-arrayish": "^0.2.1" + } + }, + "esbuild": { + "version": "0.14.36", + "resolved": "https://nexus3.linkurious.net/repository/npm/esbuild/-/esbuild-0.14.36.tgz", + "integrity": "sha512-HhFHPiRXGYOCRlrhpiVDYKcFJRdO0sBElZ668M4lh2ER0YgnkLxECuFe7uWCf23FrcLc59Pqr7dHkTqmRPDHmw==", + "dev": true, + "requires": { + "esbuild-android-64": "0.14.36", + "esbuild-android-arm64": "0.14.36", + "esbuild-darwin-64": "0.14.36", + "esbuild-darwin-arm64": "0.14.36", + "esbuild-freebsd-64": "0.14.36", + "esbuild-freebsd-arm64": "0.14.36", + "esbuild-linux-32": "0.14.36", + "esbuild-linux-64": "0.14.36", + "esbuild-linux-arm": "0.14.36", + "esbuild-linux-arm64": "0.14.36", + "esbuild-linux-mips64le": "0.14.36", + "esbuild-linux-ppc64le": "0.14.36", + "esbuild-linux-riscv64": "0.14.36", + "esbuild-linux-s390x": "0.14.36", + "esbuild-netbsd-64": "0.14.36", + "esbuild-openbsd-64": "0.14.36", + "esbuild-sunos-64": "0.14.36", + "esbuild-windows-32": "0.14.36", + "esbuild-windows-64": "0.14.36", + "esbuild-windows-arm64": "0.14.36" + } + }, + "esbuild-android-64": { + "version": "0.14.36", + "resolved": "https://nexus3.linkurious.net/repository/npm/esbuild-android-64/-/esbuild-android-64-0.14.36.tgz", + "integrity": "sha512-jwpBhF1jmo0tVCYC/ORzVN+hyVcNZUWuozGcLHfod0RJCedTDTvR4nwlTXdx1gtncDqjk33itjO+27OZHbiavw==", + "dev": true, + "optional": true + }, + "esbuild-android-arm64": { + "version": "0.14.36", + "resolved": "https://nexus3.linkurious.net/repository/npm/esbuild-android-arm64/-/esbuild-android-arm64-0.14.36.tgz", + "integrity": "sha512-/hYkyFe7x7Yapmfv4X/tBmyKnggUmdQmlvZ8ZlBnV4+PjisrEhAvC3yWpURuD9XoB8Wa1d5dGkTsF53pIvpjsg==", + "dev": true, + "optional": true + }, + "esbuild-darwin-64": { + "version": "0.14.36", + "resolved": "https://nexus3.linkurious.net/repository/npm/esbuild-darwin-64/-/esbuild-darwin-64-0.14.36.tgz", + "integrity": "sha512-kkl6qmV0dTpyIMKagluzYqlc1vO0ecgpviK/7jwPbRDEv5fejRTaBBEE2KxEQbTHcLhiiDbhG7d5UybZWo/1zQ==", + "dev": true, + "optional": true + }, + "esbuild-darwin-arm64": { + "version": "0.14.36", + "resolved": "https://nexus3.linkurious.net/repository/npm/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.14.36.tgz", + "integrity": "sha512-q8fY4r2Sx6P0Pr3VUm//eFYKVk07C5MHcEinU1BjyFnuYz4IxR/03uBbDwluR6ILIHnZTE7AkTUWIdidRi1Jjw==", + "dev": true, + "optional": true + }, + "esbuild-freebsd-64": { + "version": "0.14.36", + "resolved": "https://nexus3.linkurious.net/repository/npm/esbuild-freebsd-64/-/esbuild-freebsd-64-0.14.36.tgz", + "integrity": "sha512-Hn8AYuxXXRptybPqoMkga4HRFE7/XmhtlQjXFHoAIhKUPPMeJH35GYEUWGbjteai9FLFvBAjEAlwEtSGxnqWww==", + "dev": true, + "optional": true + }, + "esbuild-freebsd-arm64": { + "version": "0.14.36", + "resolved": "https://nexus3.linkurious.net/repository/npm/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.14.36.tgz", + "integrity": "sha512-S3C0attylLLRiCcHiJd036eDEMOY32+h8P+jJ3kTcfhJANNjP0TNBNL30TZmEdOSx/820HJFgRrqpNAvTbjnDA==", + "dev": true, + "optional": true + }, + "esbuild-linux-32": { + "version": "0.14.36", + "resolved": "https://nexus3.linkurious.net/repository/npm/esbuild-linux-32/-/esbuild-linux-32-0.14.36.tgz", + "integrity": "sha512-Eh9OkyTrEZn9WGO4xkI3OPPpUX7p/3QYvdG0lL4rfr73Ap2HAr6D9lP59VMF64Ex01LhHSXwIsFG/8AQjh6eNw==", + "dev": true, + "optional": true + }, + "esbuild-linux-64": { + "version": "0.14.36", + "resolved": "https://nexus3.linkurious.net/repository/npm/esbuild-linux-64/-/esbuild-linux-64-0.14.36.tgz", + "integrity": "sha512-vFVFS5ve7PuwlfgoWNyRccGDi2QTNkQo/2k5U5ttVD0jRFaMlc8UQee708fOZA6zTCDy5RWsT5MJw3sl2X6KDg==", + "dev": true, + "optional": true + }, + "esbuild-linux-arm": { + "version": "0.14.36", + "resolved": "https://nexus3.linkurious.net/repository/npm/esbuild-linux-arm/-/esbuild-linux-arm-0.14.36.tgz", + "integrity": "sha512-NhgU4n+NCsYgt7Hy61PCquEz5aevI6VjQvxwBxtxrooXsxt5b2xtOUXYZe04JxqQo+XZk3d1gcr7pbV9MAQ/Lg==", + "dev": true, + "optional": true + }, + "esbuild-linux-arm64": { + "version": "0.14.36", + "resolved": "https://nexus3.linkurious.net/repository/npm/esbuild-linux-arm64/-/esbuild-linux-arm64-0.14.36.tgz", + "integrity": "sha512-24Vq1M7FdpSmaTYuu1w0Hdhiqkbto1I5Pjyi+4Cdw5fJKGlwQuw+hWynTcRI/cOZxBcBpP21gND7W27gHAiftw==", + "dev": true, + "optional": true + }, + "esbuild-linux-mips64le": { + "version": "0.14.36", + "resolved": "https://nexus3.linkurious.net/repository/npm/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.14.36.tgz", + "integrity": "sha512-hZUeTXvppJN+5rEz2EjsOFM9F1bZt7/d2FUM1lmQo//rXh1RTFYzhC0txn7WV0/jCC7SvrGRaRz0NMsRPf8SIA==", + "dev": true, + "optional": true + }, + "esbuild-linux-ppc64le": { + "version": "0.14.36", + "resolved": "https://nexus3.linkurious.net/repository/npm/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.14.36.tgz", + "integrity": "sha512-1Bg3QgzZjO+QtPhP9VeIBhAduHEc2kzU43MzBnMwpLSZ890azr4/A9Dganun8nsqD/1TBcqhId0z4mFDO8FAvg==", + "dev": true, + "optional": true + }, + "esbuild-linux-riscv64": { + "version": "0.14.36", + "resolved": "https://nexus3.linkurious.net/repository/npm/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.14.36.tgz", + "integrity": "sha512-dOE5pt3cOdqEhaufDRzNCHf5BSwxgygVak9UR7PH7KPVHwSTDAZHDoEjblxLqjJYpc5XaU9+gKJ9F8mp9r5I4A==", + "dev": true, + "optional": true + }, + "esbuild-linux-s390x": { + "version": "0.14.36", + "resolved": "https://nexus3.linkurious.net/repository/npm/esbuild-linux-s390x/-/esbuild-linux-s390x-0.14.36.tgz", + "integrity": "sha512-g4FMdh//BBGTfVHjF6MO7Cz8gqRoDPzXWxRvWkJoGroKA18G9m0wddvPbEqcQf5Tbt2vSc1CIgag7cXwTmoTXg==", + "dev": true, + "optional": true + }, + "esbuild-netbsd-64": { + "version": "0.14.36", + "resolved": "https://nexus3.linkurious.net/repository/npm/esbuild-netbsd-64/-/esbuild-netbsd-64-0.14.36.tgz", + "integrity": "sha512-UB2bVImxkWk4vjnP62ehFNZ73lQY1xcnL5ZNYF3x0AG+j8HgdkNF05v67YJdCIuUJpBuTyCK8LORCYo9onSW+A==", + "dev": true, + "optional": true + }, + "esbuild-openbsd-64": { + "version": "0.14.36", + "resolved": "https://nexus3.linkurious.net/repository/npm/esbuild-openbsd-64/-/esbuild-openbsd-64-0.14.36.tgz", + "integrity": "sha512-NvGB2Chf8GxuleXRGk8e9zD3aSdRO5kLt9coTQbCg7WMGXeX471sBgh4kSg8pjx0yTXRt0MlrUDnjVYnetyivg==", + "dev": true, + "optional": true + }, + "esbuild-plugin-lodash": { + "version": "1.1.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/esbuild-plugin-lodash/-/esbuild-plugin-lodash-1.1.0.tgz", + "integrity": "sha512-DtvAnHuALecQguNWeIf2Ea3bCp0Pe9t+knjJNxHJE9PHagorZR92B1Xmx2cLKJz5fzkBzXLFnegiTdWYUi1AyQ==", + "dev": true + }, + "esbuild-sunos-64": { + "version": "0.14.36", + "resolved": "https://nexus3.linkurious.net/repository/npm/esbuild-sunos-64/-/esbuild-sunos-64-0.14.36.tgz", + "integrity": "sha512-VkUZS5ftTSjhRjuRLp+v78auMO3PZBXu6xl4ajomGenEm2/rGuWlhFSjB7YbBNErOchj51Jb2OK8lKAo8qdmsQ==", + "dev": true, + "optional": true + }, + "esbuild-windows-32": { + "version": "0.14.36", + "resolved": "https://nexus3.linkurious.net/repository/npm/esbuild-windows-32/-/esbuild-windows-32-0.14.36.tgz", + "integrity": "sha512-bIar+A6hdytJjZrDxfMBUSEHHLfx3ynoEZXx/39nxy86pX/w249WZm8Bm0dtOAByAf4Z6qV0LsnTIJHiIqbw0w==", + "dev": true, + "optional": true + }, + "esbuild-windows-64": { + "version": "0.14.36", + "resolved": "https://nexus3.linkurious.net/repository/npm/esbuild-windows-64/-/esbuild-windows-64-0.14.36.tgz", + "integrity": "sha512-+p4MuRZekVChAeueT1Y9LGkxrT5x7YYJxYE8ZOTcEfeUUN43vktSn6hUNsvxzzATrSgq5QqRdllkVBxWZg7KqQ==", + "dev": true, + "optional": true + }, + "esbuild-windows-arm64": { + "version": "0.14.36", + "resolved": "https://nexus3.linkurious.net/repository/npm/esbuild-windows-arm64/-/esbuild-windows-arm64-0.14.36.tgz", + "integrity": "sha512-fBB4WlDqV1m18EF/aheGYQkQZHfPHiHJSBYzXIo8yKehek+0BtBwo/4PNwKGJ5T0YK0oc8pBKjgwPbzSrPLb+Q==", + "dev": true, + "optional": true + }, + "escalade": { + "version": "3.1.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "dev": true + }, + "escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://nexus3.linkurious.net/repository/npm/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "dev": true + }, + "escodegen": { + "version": "2.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/escodegen/-/escodegen-2.0.0.tgz", + "integrity": "sha512-mmHKys/C8BFUGI+MAWNcSYoORYLMdPzjrknd2Vc+bUsjN5bXcr8EhrNB+UTqfL1y3I9c4fw2ihgtMPQLBRiQxw==", + "dev": true, + "requires": { + "esprima": "^4.0.1", + "estraverse": "^5.2.0", + "esutils": "^2.0.2", + "optionator": "^0.8.1", + "source-map": "~0.6.1" + } + }, + "esprima": { + "version": "4.0.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true + }, + "estraverse": { + "version": "5.3.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true + }, + "esutils": { + "version": "2.0.3", + "resolved": "https://nexus3.linkurious.net/repository/npm/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true + }, + "execa": { + "version": "5.1.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/execa/-/execa-5.1.1.tgz", + "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", + "dev": true, + "requires": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + } + }, + "exit": { + "version": "0.1.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/exit/-/exit-0.1.2.tgz", + "integrity": "sha1-BjJjj42HfMghB9MKD/8aF8uhzQw=", + "dev": true + }, + "exit-on-epipe": { + "version": "1.0.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/exit-on-epipe/-/exit-on-epipe-1.0.1.tgz", + "integrity": "sha512-h2z5mrROTxce56S+pnvAV890uu7ls7f1kEvVGJbw1OlFH3/mlJ5bkXu0KRyW94v37zzHPiUd55iLn3DA7TjWpw==", + "dev": true, + "optional": true + }, + "expect": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/expect/-/expect-27.5.1.tgz", + "integrity": "sha512-E1q5hSUG2AmYQwQJ041nvgpkODHQvB+RKlB4IYdru6uJsyFTRyZAP463M+1lINorwbqAmUggi6+WwkD8lCS/Dw==", + "dev": true, + "requires": { + "@jest/types": "^27.5.1", + "jest-get-type": "^27.5.1", + "jest-matcher-utils": "^27.5.1", + "jest-message-util": "^27.5.1" + } + }, + "fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true + }, + "fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://nexus3.linkurious.net/repository/npm/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", + "dev": true + }, + "fb-watchman": { + "version": "2.0.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/fb-watchman/-/fb-watchman-2.0.1.tgz", + "integrity": "sha512-DkPJKQeY6kKwmuMretBhr7G6Vodr7bFwDYTXIkfG1gjvNpaxBTQV3PbXg6bR1c1UP4jPOX0jHUbbHANL9vRjVg==", + "dev": true, + "requires": { + "bser": "2.1.1" + } + }, + "fflate": { + "version": "0.3.11", + "resolved": "https://nexus3.linkurious.net/repository/npm/fflate/-/fflate-0.3.11.tgz", + "integrity": "sha512-Rr5QlUeGN1mbOHlaqcSYMKVpPbgLy0AWT/W0EHxA6NGI12yO1jpoui2zBBvU2G824ltM6Ut8BFgfHSBGfkmS0A==", + "dev": true, + "optional": true + }, + "filename-reserved-regex": { + "version": "2.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/filename-reserved-regex/-/filename-reserved-regex-2.0.0.tgz", + "integrity": "sha1-q/c9+rc10EVECr/qLZHzieu/oik=", + "dev": true + }, + "filenamify": { + "version": "4.3.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/filenamify/-/filenamify-4.3.0.tgz", + "integrity": "sha512-hcFKyUG57yWGAzu1CMt/dPzYZuv+jAJUT85bL8mrXvNe6hWj6yEHEc4EdcgiA6Z3oi1/9wXJdZPXF2dZNgwgOg==", + "dev": true, + "requires": { + "filename-reserved-regex": "^2.0.0", + "strip-outer": "^1.0.1", + "trim-repeated": "^1.0.0" + } + }, + "fill-range": { + "version": "7.0.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dev": true, + "requires": { + "to-regex-range": "^5.0.1" + } + }, + "find-cache-dir": { + "version": "3.3.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/find-cache-dir/-/find-cache-dir-3.3.2.tgz", + "integrity": "sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==", + "dev": true, + "requires": { + "commondir": "^1.0.1", + "make-dir": "^3.0.2", + "pkg-dir": "^4.1.0" + } + }, + "find-up": { + "version": "4.1.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "requires": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + } + }, + "form-data": { + "version": "3.0.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/form-data/-/form-data-3.0.1.tgz", + "integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==", + "dev": true, + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + } + }, + "frac": { + "version": "1.1.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/frac/-/frac-1.1.2.tgz", + "integrity": "sha512-w/XBfkibaTl3YDqASwfDUqkna4Z2p9cFSr1aHDt0WoMTECnRfBOv2WArlZILlqgWlmdIlALXGpM2AOhEk5W3IA==", + "dev": true, + "optional": true + }, + "fs-extra": { + "version": "8.1.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/fs-extra/-/fs-extra-8.1.0.tgz", + "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", + "dev": true, + "requires": { + "graceful-fs": "^4.2.0", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "fs-minipass": { + "version": "2.1.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/fs-minipass/-/fs-minipass-2.1.0.tgz", + "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", + "dev": true, + "requires": { + "minipass": "^3.0.0" + } + }, + "fs.realpath": { + "version": "1.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", + "dev": true + }, + "fsevents": { + "version": "2.3.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "dev": true, + "optional": true + }, + "function-bind": { + "version": "1.1.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", + "dev": true + }, + "gauge": { + "version": "3.0.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/gauge/-/gauge-3.0.2.tgz", + "integrity": "sha512-+5J6MS/5XksCuXq++uFRsnUd7Ovu1XenbeuIuNRJxYWjgQbPuFhT14lAvsWfqfAmnwluf1OwMjz39HjfLPci0Q==", + "dev": true, + "requires": { + "aproba": "^1.0.3 || ^2.0.0", + "color-support": "^1.1.2", + "console-control-strings": "^1.0.0", + "has-unicode": "^2.0.1", + "object-assign": "^4.1.1", + "signal-exit": "^3.0.0", + "string-width": "^4.2.3", + "strip-ansi": "^6.0.1", + "wide-align": "^1.1.2" + } + }, + "gensync": { + "version": "1.0.0-beta.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/gensync/-/gensync-1.0.0-beta.2.tgz", + "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", + "dev": true + }, + "get-caller-file": { + "version": "2.0.5", + "resolved": "https://nexus3.linkurious.net/repository/npm/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "dev": true + }, + "get-package-type": { + "version": "0.1.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/get-package-type/-/get-package-type-0.1.0.tgz", + "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", + "dev": true + }, + "get-stream": { + "version": "6.0.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "dev": true + }, + "gh-pages": { + "version": "3.2.3", + "resolved": "https://nexus3.linkurious.net/repository/npm/gh-pages/-/gh-pages-3.2.3.tgz", + "integrity": "sha512-jA1PbapQ1jqzacECfjUaO9gV8uBgU6XNMV0oXLtfCX3haGLe5Atq8BxlrADhbD6/UdG9j6tZLWAkAybndOXTJg==", + "dev": true, + "requires": { + "async": "^2.6.1", + "commander": "^2.18.0", + "email-addresses": "^3.0.1", + "filenamify": "^4.3.0", + "find-cache-dir": "^3.3.1", + "fs-extra": "^8.1.0", + "globby": "^6.1.0" + }, + "dependencies": { + "commander": { + "version": "2.20.3", + "resolved": "https://nexus3.linkurious.net/repository/npm/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true + } + } + }, + "glob": { + "version": "7.2.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/glob/-/glob-7.2.0.tgz", + "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "globals": { + "version": "11.12.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "dev": true + }, + "globby": { + "version": "6.1.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/globby/-/globby-6.1.0.tgz", + "integrity": "sha1-9abXDoOV4hyFj7BInWTfAkJNUGw=", + "dev": true, + "requires": { + "array-union": "^1.0.1", + "glob": "^7.0.3", + "object-assign": "^4.0.1", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0" + } + }, + "graceful-fs": { + "version": "4.2.10", + "resolved": "https://nexus3.linkurious.net/repository/npm/graceful-fs/-/graceful-fs-4.2.10.tgz", + "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==", + "dev": true + }, + "gzip-size": { + "version": "6.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/gzip-size/-/gzip-size-6.0.0.tgz", + "integrity": "sha512-ax7ZYomf6jqPTQ4+XCpUGyXKHk5WweS+e05MBO4/y3WJ5RkmPXNKvX+bx1behVILVwr6JSQvZAku021CHPXG3Q==", + "dev": true, + "requires": { + "duplexer": "^0.1.2" + } + }, + "has": { + "version": "1.0.3", + "resolved": "https://nexus3.linkurious.net/repository/npm/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "dev": true, + "requires": { + "function-bind": "^1.1.1" + } + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "has-unicode": { + "version": "2.0.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/has-unicode/-/has-unicode-2.0.1.tgz", + "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=", + "dev": true + }, + "html-encoding-sniffer": { + "version": "2.0.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/html-encoding-sniffer/-/html-encoding-sniffer-2.0.1.tgz", + "integrity": "sha512-D5JbOMBIR/TVZkubHT+OyT2705QvogUW4IBn6nHd756OwieSF9aDYFj4dv6HHEVGYbHaLETa3WggZYWWMyy3ZQ==", + "dev": true, + "requires": { + "whatwg-encoding": "^1.0.5" + } + }, + "html-escaper": { + "version": "2.0.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/html-escaper/-/html-escaper-2.0.2.tgz", + "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", + "dev": true + }, + "http-proxy-agent": { + "version": "4.0.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz", + "integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==", + "dev": true, + "requires": { + "@tootallnate/once": "1", + "agent-base": "6", + "debug": "4" + } + }, + "https-proxy-agent": { + "version": "5.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz", + "integrity": "sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==", + "dev": true, + "requires": { + "agent-base": "6", + "debug": "4" + } + }, + "human-signals": { + "version": "2.1.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/human-signals/-/human-signals-2.1.0.tgz", + "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", + "dev": true + }, + "iconv-lite": { + "version": "0.4.24", + "resolved": "https://nexus3.linkurious.net/repository/npm/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dev": true, + "requires": { + "safer-buffer": ">= 2.1.2 < 3" + } + }, + "import-fresh": { + "version": "3.3.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "dev": true, + "requires": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + } + }, + "import-local": { + "version": "3.1.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/import-local/-/import-local-3.1.0.tgz", + "integrity": "sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==", + "dev": true, + "requires": { + "pkg-dir": "^4.2.0", + "resolve-cwd": "^3.0.0" + } + }, + "imurmurhash": { + "version": "0.1.4", + "resolved": "https://nexus3.linkurious.net/repository/npm/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", + "dev": true + }, + "inflight": { + "version": "1.0.6", + "resolved": "https://nexus3.linkurious.net/repository/npm/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "dev": true, + "requires": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "inherits": { + "version": "2.0.4", + "resolved": "https://nexus3.linkurious.net/repository/npm/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true + }, + "is-arrayish": { + "version": "0.2.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", + "dev": true + }, + "is-core-module": { + "version": "2.8.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/is-core-module/-/is-core-module-2.8.1.tgz", + "integrity": "sha512-SdNCUs284hr40hFTFP6l0IfZ/RSrMXF3qgoRHd3/79unUTvrFO/JoXwkGm+5J/Oe3E/b5GsnG330uUNgRpu1PA==", + "dev": true, + "requires": { + "has": "^1.0.3" + } + }, + "is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true + }, + "is-generator-fn": { + "version": "2.1.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/is-generator-fn/-/is-generator-fn-2.1.0.tgz", + "integrity": "sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==", + "dev": true + }, + "is-number": { + "version": "7.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true + }, + "is-potential-custom-element-name": { + "version": "1.0.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz", + "integrity": "sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==", + "dev": true + }, + "is-stream": { + "version": "2.0.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "dev": true + }, + "is-typedarray": { + "version": "1.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", + "dev": true + }, + "isexe": { + "version": "2.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", + "dev": true + }, + "istanbul-lib-coverage": { + "version": "3.2.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz", + "integrity": "sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==", + "dev": true + }, + "istanbul-lib-instrument": { + "version": "5.1.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/istanbul-lib-instrument/-/istanbul-lib-instrument-5.1.0.tgz", + "integrity": "sha512-czwUz525rkOFDJxfKK6mYfIs9zBKILyrZQxjz3ABhjQXhbhFsSbo1HW/BFcsDnfJYJWA6thRR5/TUY2qs5W99Q==", + "dev": true, + "requires": { + "@babel/core": "^7.12.3", + "@babel/parser": "^7.14.7", + "@istanbuljs/schema": "^0.1.2", + "istanbul-lib-coverage": "^3.2.0", + "semver": "^6.3.0" + }, + "dependencies": { + "semver": { + "version": "6.3.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true + } + } + }, + "istanbul-lib-report": { + "version": "3.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", + "integrity": "sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw==", + "dev": true, + "requires": { + "istanbul-lib-coverage": "^3.0.0", + "make-dir": "^3.0.0", + "supports-color": "^7.1.0" + } + }, + "istanbul-lib-source-maps": { + "version": "4.0.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz", + "integrity": "sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==", + "dev": true, + "requires": { + "debug": "^4.1.1", + "istanbul-lib-coverage": "^3.0.0", + "source-map": "^0.6.1" + } + }, + "istanbul-reports": { + "version": "3.1.4", + "resolved": "https://nexus3.linkurious.net/repository/npm/istanbul-reports/-/istanbul-reports-3.1.4.tgz", + "integrity": "sha512-r1/DshN4KSE7xWEknZLLLLDn5CJybV3nw01VTkp6D5jzLuELlcbudfj/eSQFvrKsJuTVCGnePO7ho82Nw9zzfw==", + "dev": true, + "requires": { + "html-escaper": "^2.0.0", + "istanbul-lib-report": "^3.0.0" + } + }, + "jest": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/jest/-/jest-27.5.1.tgz", + "integrity": "sha512-Yn0mADZB89zTtjkPJEXwrac3LHudkQMR+Paqa8uxJHCBr9agxztUifWCyiYrjhMPBoUVBjyny0I7XH6ozDr7QQ==", + "dev": true, + "requires": { + "@jest/core": "^27.5.1", + "import-local": "^3.0.2", + "jest-cli": "^27.5.1" + }, + "dependencies": { + "jest-cli": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/jest-cli/-/jest-cli-27.5.1.tgz", + "integrity": "sha512-Hc6HOOwYq4/74/c62dEE3r5elx8wjYqxY0r0G/nFrLDPMFRu6RA/u8qINOIkvhxG7mMQ5EJsOGfRpI8L6eFUVw==", + "dev": true, + "requires": { + "@jest/core": "^27.5.1", + "@jest/test-result": "^27.5.1", + "@jest/types": "^27.5.1", + "chalk": "^4.0.0", + "exit": "^0.1.2", + "graceful-fs": "^4.2.9", + "import-local": "^3.0.2", + "jest-config": "^27.5.1", + "jest-util": "^27.5.1", + "jest-validate": "^27.5.1", + "prompts": "^2.0.1", + "yargs": "^16.2.0" + } + }, + "yargs": { + "version": "16.2.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "dev": true, + "requires": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + } + }, + "yargs-parser": { + "version": "20.2.9", + "resolved": "https://nexus3.linkurious.net/repository/npm/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "dev": true + } + } + }, + "jest-changed-files": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/jest-changed-files/-/jest-changed-files-27.5.1.tgz", + "integrity": "sha512-buBLMiByfWGCoMsLLzGUUSpAmIAGnbR2KJoMN10ziLhOLvP4e0SlypHnAel8iqQXTrcbmfEY9sSqae5sgUsTvw==", + "dev": true, + "requires": { + "@jest/types": "^27.5.1", + "execa": "^5.0.0", + "throat": "^6.0.1" + } + }, + "jest-circus": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/jest-circus/-/jest-circus-27.5.1.tgz", + "integrity": "sha512-D95R7x5UtlMA5iBYsOHFFbMD/GVA4R/Kdq15f7xYWUfWHBto9NYRsOvnSauTgdF+ogCpJ4tyKOXhUifxS65gdw==", + "dev": true, + "requires": { + "@jest/environment": "^27.5.1", + "@jest/test-result": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/node": "*", + "chalk": "^4.0.0", + "co": "^4.6.0", + "dedent": "^0.7.0", + "expect": "^27.5.1", + "is-generator-fn": "^2.0.0", + "jest-each": "^27.5.1", + "jest-matcher-utils": "^27.5.1", + "jest-message-util": "^27.5.1", + "jest-runtime": "^27.5.1", + "jest-snapshot": "^27.5.1", + "jest-util": "^27.5.1", + "pretty-format": "^27.5.1", + "slash": "^3.0.0", + "stack-utils": "^2.0.3", + "throat": "^6.0.1" + } + }, + "jest-config": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/jest-config/-/jest-config-27.5.1.tgz", + "integrity": "sha512-5sAsjm6tGdsVbW9ahcChPAFCk4IlkQUknH5AvKjuLTSlcO/wCZKyFdn7Rg0EkC+OGgWODEy2hDpWB1PgzH0JNA==", + "dev": true, + "requires": { + "@babel/core": "^7.8.0", + "@jest/test-sequencer": "^27.5.1", + "@jest/types": "^27.5.1", + "babel-jest": "^27.5.1", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "deepmerge": "^4.2.2", + "glob": "^7.1.1", + "graceful-fs": "^4.2.9", + "jest-circus": "^27.5.1", + "jest-environment-jsdom": "^27.5.1", + "jest-environment-node": "^27.5.1", + "jest-get-type": "^27.5.1", + "jest-jasmine2": "^27.5.1", + "jest-regex-util": "^27.5.1", + "jest-resolve": "^27.5.1", + "jest-runner": "^27.5.1", + "jest-util": "^27.5.1", + "jest-validate": "^27.5.1", + "micromatch": "^4.0.4", + "parse-json": "^5.2.0", + "pretty-format": "^27.5.1", + "slash": "^3.0.0", + "strip-json-comments": "^3.1.1" + } + }, + "jest-diff": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/jest-diff/-/jest-diff-27.5.1.tgz", + "integrity": "sha512-m0NvkX55LDt9T4mctTEgnZk3fmEg3NRYutvMPWM/0iPnkFj2wIeF45O1718cMSOFO1vINkqmxqD8vE37uTEbqw==", + "dev": true, + "requires": { + "chalk": "^4.0.0", + "diff-sequences": "^27.5.1", + "jest-get-type": "^27.5.1", + "pretty-format": "^27.5.1" + } + }, + "jest-docblock": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/jest-docblock/-/jest-docblock-27.5.1.tgz", + "integrity": "sha512-rl7hlABeTsRYxKiUfpHrQrG4e2obOiTQWfMEH3PxPjOtdsfLQO4ReWSZaQ7DETm4xu07rl4q/h4zcKXyU0/OzQ==", + "dev": true, + "requires": { + "detect-newline": "^3.0.0" + } + }, + "jest-each": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/jest-each/-/jest-each-27.5.1.tgz", + "integrity": "sha512-1Ff6p+FbhT/bXQnEouYy00bkNSY7OUpfIcmdl8vZ31A1UUaurOLPA8a8BbJOF2RDUElwJhmeaV7LnagI+5UwNQ==", + "dev": true, + "requires": { + "@jest/types": "^27.5.1", + "chalk": "^4.0.0", + "jest-get-type": "^27.5.1", + "jest-util": "^27.5.1", + "pretty-format": "^27.5.1" + } + }, + "jest-environment-jsdom": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/jest-environment-jsdom/-/jest-environment-jsdom-27.5.1.tgz", + "integrity": "sha512-TFBvkTC1Hnnnrka/fUb56atfDtJ9VMZ94JkjTbggl1PEpwrYtUBKMezB3inLmWqQsXYLcMwNoDQwoBTAvFfsfw==", + "dev": true, + "requires": { + "@jest/environment": "^27.5.1", + "@jest/fake-timers": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/node": "*", + "jest-mock": "^27.5.1", + "jest-util": "^27.5.1", + "jsdom": "^16.6.0" + }, + "dependencies": { + "jsdom": { + "version": "16.7.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/jsdom/-/jsdom-16.7.0.tgz", + "integrity": "sha512-u9Smc2G1USStM+s/x1ru5Sxrl6mPYCbByG1U/hUmqaVsm4tbNyS7CicOSRyuGQYZhTu0h84qkZZQ/I+dzizSVw==", + "dev": true, + "requires": { + "abab": "^2.0.5", + "acorn": "^8.2.4", + "acorn-globals": "^6.0.0", + "cssom": "^0.4.4", + "cssstyle": "^2.3.0", + "data-urls": "^2.0.0", + "decimal.js": "^10.2.1", + "domexception": "^2.0.1", + "escodegen": "^2.0.0", + "form-data": "^3.0.0", + "html-encoding-sniffer": "^2.0.1", + "http-proxy-agent": "^4.0.1", + "https-proxy-agent": "^5.0.0", + "is-potential-custom-element-name": "^1.0.1", + "nwsapi": "^2.2.0", + "parse5": "6.0.1", + "saxes": "^5.0.1", + "symbol-tree": "^3.2.4", + "tough-cookie": "^4.0.0", + "w3c-hr-time": "^1.0.2", + "w3c-xmlserializer": "^2.0.0", + "webidl-conversions": "^6.1.0", + "whatwg-encoding": "^1.0.5", + "whatwg-mimetype": "^2.3.0", + "whatwg-url": "^8.5.0", + "ws": "^7.4.6", + "xml-name-validator": "^3.0.0" + } + }, + "tr46": { + "version": "2.1.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/tr46/-/tr46-2.1.0.tgz", + "integrity": "sha512-15Ih7phfcdP5YxqiB+iDtLoaTz4Nd35+IiAv0kQ5FNKHzXgdWqPoTIqEDDJmXceQt4JZk6lVPT8lnDlPpGDppw==", + "dev": true, + "requires": { + "punycode": "^2.1.1" + } + }, + "webidl-conversions": { + "version": "6.1.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/webidl-conversions/-/webidl-conversions-6.1.0.tgz", + "integrity": "sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w==", + "dev": true + }, + "whatwg-url": { + "version": "8.7.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/whatwg-url/-/whatwg-url-8.7.0.tgz", + "integrity": "sha512-gAojqb/m9Q8a5IV96E3fHJM70AzCkgt4uXYX2O7EmuyOnLrViCQlsEBmF9UQIu3/aeAIp2U17rtbpZWNntQqdg==", + "dev": true, + "requires": { + "lodash": "^4.7.0", + "tr46": "^2.1.0", + "webidl-conversions": "^6.1.0" + } + } + } + }, + "jest-environment-node": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/jest-environment-node/-/jest-environment-node-27.5.1.tgz", + "integrity": "sha512-Jt4ZUnxdOsTGwSRAfKEnE6BcwsSPNOijjwifq5sDFSA2kesnXTvNqKHYgM0hDq3549Uf/KzdXNYn4wMZJPlFLw==", + "dev": true, + "requires": { + "@jest/environment": "^27.5.1", + "@jest/fake-timers": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/node": "*", + "jest-mock": "^27.5.1", + "jest-util": "^27.5.1" + } + }, + "jest-get-type": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/jest-get-type/-/jest-get-type-27.5.1.tgz", + "integrity": "sha512-2KY95ksYSaK7DMBWQn6dQz3kqAf3BB64y2udeG+hv4KfSOb9qwcYQstTJc1KCbsix+wLZWZYN8t7nwX3GOBLRw==", + "dev": true + }, + "jest-haste-map": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/jest-haste-map/-/jest-haste-map-27.5.1.tgz", + "integrity": "sha512-7GgkZ4Fw4NFbMSDSpZwXeBiIbx+t/46nJ2QitkOjvwPYyZmqttu2TDSimMHP1EkPOi4xUZAN1doE5Vd25H4Jng==", + "dev": true, + "requires": { + "@jest/types": "^27.5.1", + "@types/graceful-fs": "^4.1.2", + "@types/node": "*", + "anymatch": "^3.0.3", + "fb-watchman": "^2.0.0", + "fsevents": "^2.3.2", + "graceful-fs": "^4.2.9", + "jest-regex-util": "^27.5.1", + "jest-serializer": "^27.5.1", + "jest-util": "^27.5.1", + "jest-worker": "^27.5.1", + "micromatch": "^4.0.4", + "walker": "^1.0.7" + } + }, + "jest-jasmine2": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/jest-jasmine2/-/jest-jasmine2-27.5.1.tgz", + "integrity": "sha512-jtq7VVyG8SqAorDpApwiJJImd0V2wv1xzdheGHRGyuT7gZm6gG47QEskOlzsN1PG/6WNaCo5pmwMHDf3AkG2pQ==", + "dev": true, + "requires": { + "@jest/environment": "^27.5.1", + "@jest/source-map": "^27.5.1", + "@jest/test-result": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/node": "*", + "chalk": "^4.0.0", + "co": "^4.6.0", + "expect": "^27.5.1", + "is-generator-fn": "^2.0.0", + "jest-each": "^27.5.1", + "jest-matcher-utils": "^27.5.1", + "jest-message-util": "^27.5.1", + "jest-runtime": "^27.5.1", + "jest-snapshot": "^27.5.1", + "jest-util": "^27.5.1", + "pretty-format": "^27.5.1", + "throat": "^6.0.1" + } + }, + "jest-junit": { + "version": "13.1.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/jest-junit/-/jest-junit-13.1.0.tgz", + "integrity": "sha512-ECbhzEG3Oe2IH3Mnwcv2vAXM4qTbcObN/gTUzwKPlpaNsf2G/zlj/teEUqRGV17YQiQ4AqzTf3pCO7W59DKVIw==", + "dev": true, + "requires": { + "mkdirp": "^1.0.4", + "strip-ansi": "^6.0.1", + "uuid": "^8.3.2", + "xml": "^1.0.1" + } + }, + "jest-leak-detector": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/jest-leak-detector/-/jest-leak-detector-27.5.1.tgz", + "integrity": "sha512-POXfWAMvfU6WMUXftV4HolnJfnPOGEu10fscNCA76KBpRRhcMN2c8d3iT2pxQS3HLbA+5X4sOUPzYO2NUyIlHQ==", + "dev": true, + "requires": { + "jest-get-type": "^27.5.1", + "pretty-format": "^27.5.1" + } + }, + "jest-matcher-utils": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/jest-matcher-utils/-/jest-matcher-utils-27.5.1.tgz", + "integrity": "sha512-z2uTx/T6LBaCoNWNFWwChLBKYxTMcGBRjAt+2SbP929/Fflb9aa5LGma654Rz8z9HLxsrUaYzxE9T/EFIL/PAw==", + "dev": true, + "requires": { + "chalk": "^4.0.0", + "jest-diff": "^27.5.1", + "jest-get-type": "^27.5.1", + "pretty-format": "^27.5.1" + } + }, + "jest-message-util": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/jest-message-util/-/jest-message-util-27.5.1.tgz", + "integrity": "sha512-rMyFe1+jnyAAf+NHwTclDz0eAaLkVDdKVHHBFWsBWHnnh5YeJMNWWsv7AbFYXfK3oTqvL7VTWkhNLu1jX24D+g==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.12.13", + "@jest/types": "^27.5.1", + "@types/stack-utils": "^2.0.0", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "micromatch": "^4.0.4", + "pretty-format": "^27.5.1", + "slash": "^3.0.0", + "stack-utils": "^2.0.3" + } + }, + "jest-mock": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/jest-mock/-/jest-mock-27.5.1.tgz", + "integrity": "sha512-K4jKbY1d4ENhbrG2zuPWaQBvDly+iZ2yAW+T1fATN78hc0sInwn7wZB8XtlNnvHug5RMwV897Xm4LqmPM4e2Og==", + "dev": true, + "requires": { + "@jest/types": "^27.5.1", + "@types/node": "*" + } + }, + "jest-pnp-resolver": { + "version": "1.2.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/jest-pnp-resolver/-/jest-pnp-resolver-1.2.2.tgz", + "integrity": "sha512-olV41bKSMm8BdnuMsewT4jqlZ8+3TCARAXjZGT9jcoSnrfUnRCqnMoF9XEeoWjbzObpqF9dRhHQj0Xb9QdF6/w==", + "dev": true + }, + "jest-regex-util": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/jest-regex-util/-/jest-regex-util-27.5.1.tgz", + "integrity": "sha512-4bfKq2zie+x16okqDXjXn9ql2B0dScQu+vcwe4TvFVhkVyuWLqpZrZtXxLLWoXYgn0E87I6r6GRYHF7wFZBUvg==", + "dev": true + }, + "jest-resolve": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/jest-resolve/-/jest-resolve-27.5.1.tgz", + "integrity": "sha512-FFDy8/9E6CV83IMbDpcjOhumAQPDyETnU2KZ1O98DwTnz8AOBsW/Xv3GySr1mOZdItLR+zDZ7I/UdTFbgSOVCw==", + "dev": true, + "requires": { + "@jest/types": "^27.5.1", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^27.5.1", + "jest-pnp-resolver": "^1.2.2", + "jest-util": "^27.5.1", + "jest-validate": "^27.5.1", + "resolve": "^1.20.0", + "resolve.exports": "^1.1.0", + "slash": "^3.0.0" + } + }, + "jest-resolve-dependencies": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/jest-resolve-dependencies/-/jest-resolve-dependencies-27.5.1.tgz", + "integrity": "sha512-QQOOdY4PE39iawDn5rzbIePNigfe5B9Z91GDD1ae/xNDlu9kaat8QQ5EKnNmVWPV54hUdxCVwwj6YMgR2O7IOg==", + "dev": true, + "requires": { + "@jest/types": "^27.5.1", + "jest-regex-util": "^27.5.1", + "jest-snapshot": "^27.5.1" + } + }, + "jest-runner": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/jest-runner/-/jest-runner-27.5.1.tgz", + "integrity": "sha512-g4NPsM4mFCOwFKXO4p/H/kWGdJp9V8kURY2lX8Me2drgXqG7rrZAx5kv+5H7wtt/cdFIjhqYx1HrlqWHaOvDaQ==", + "dev": true, + "requires": { + "@jest/console": "^27.5.1", + "@jest/environment": "^27.5.1", + "@jest/test-result": "^27.5.1", + "@jest/transform": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/node": "*", + "chalk": "^4.0.0", + "emittery": "^0.8.1", + "graceful-fs": "^4.2.9", + "jest-docblock": "^27.5.1", + "jest-environment-jsdom": "^27.5.1", + "jest-environment-node": "^27.5.1", + "jest-haste-map": "^27.5.1", + "jest-leak-detector": "^27.5.1", + "jest-message-util": "^27.5.1", + "jest-resolve": "^27.5.1", + "jest-runtime": "^27.5.1", + "jest-util": "^27.5.1", + "jest-worker": "^27.5.1", + "source-map-support": "^0.5.6", + "throat": "^6.0.1" + } + }, + "jest-runtime": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/jest-runtime/-/jest-runtime-27.5.1.tgz", + "integrity": "sha512-o7gxw3Gf+H2IGt8fv0RiyE1+r83FJBRruoA+FXrlHw6xEyBsU8ugA6IPfTdVyA0w8HClpbK+DGJxH59UrNMx8A==", + "dev": true, + "requires": { + "@jest/environment": "^27.5.1", + "@jest/fake-timers": "^27.5.1", + "@jest/globals": "^27.5.1", + "@jest/source-map": "^27.5.1", + "@jest/test-result": "^27.5.1", + "@jest/transform": "^27.5.1", + "@jest/types": "^27.5.1", + "chalk": "^4.0.0", + "cjs-module-lexer": "^1.0.0", + "collect-v8-coverage": "^1.0.0", + "execa": "^5.0.0", + "glob": "^7.1.3", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^27.5.1", + "jest-message-util": "^27.5.1", + "jest-mock": "^27.5.1", + "jest-regex-util": "^27.5.1", + "jest-resolve": "^27.5.1", + "jest-snapshot": "^27.5.1", + "jest-util": "^27.5.1", + "slash": "^3.0.0", + "strip-bom": "^4.0.0" + } + }, + "jest-serializer": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/jest-serializer/-/jest-serializer-27.5.1.tgz", + "integrity": "sha512-jZCyo6iIxO1aqUxpuBlwTDMkzOAJS4a3eYz3YzgxxVQFwLeSA7Jfq5cbqCY+JLvTDrWirgusI/0KwxKMgrdf7w==", + "dev": true, + "requires": { + "@types/node": "*", + "graceful-fs": "^4.2.9" + } + }, + "jest-snapshot": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/jest-snapshot/-/jest-snapshot-27.5.1.tgz", + "integrity": "sha512-yYykXI5a0I31xX67mgeLw1DZ0bJB+gpq5IpSuCAoyDi0+BhgU/RIrL+RTzDmkNTchvDFWKP8lp+w/42Z3us5sA==", + "dev": true, + "requires": { + "@babel/core": "^7.7.2", + "@babel/generator": "^7.7.2", + "@babel/plugin-syntax-typescript": "^7.7.2", + "@babel/traverse": "^7.7.2", + "@babel/types": "^7.0.0", + "@jest/transform": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/babel__traverse": "^7.0.4", + "@types/prettier": "^2.1.5", + "babel-preset-current-node-syntax": "^1.0.0", + "chalk": "^4.0.0", + "expect": "^27.5.1", + "graceful-fs": "^4.2.9", + "jest-diff": "^27.5.1", + "jest-get-type": "^27.5.1", + "jest-haste-map": "^27.5.1", + "jest-matcher-utils": "^27.5.1", + "jest-message-util": "^27.5.1", + "jest-util": "^27.5.1", + "natural-compare": "^1.4.0", + "pretty-format": "^27.5.1", + "semver": "^7.3.2" + } + }, + "jest-util": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/jest-util/-/jest-util-27.5.1.tgz", + "integrity": "sha512-Kv2o/8jNvX1MQ0KGtw480E/w4fBCDOnH6+6DmeKi6LZUIlKA5kwY0YNdlzaWTiVgxqAqik11QyxDOKk543aKXw==", + "dev": true, + "requires": { + "@jest/types": "^27.5.1", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" + } + }, + "jest-validate": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/jest-validate/-/jest-validate-27.5.1.tgz", + "integrity": "sha512-thkNli0LYTmOI1tDB3FI1S1RTp/Bqyd9pTarJwL87OIBFuqEb5Apv5EaApEudYg4g86e3CT6kM0RowkhtEnCBQ==", + "dev": true, + "requires": { + "@jest/types": "^27.5.1", + "camelcase": "^6.2.0", + "chalk": "^4.0.0", + "jest-get-type": "^27.5.1", + "leven": "^3.1.0", + "pretty-format": "^27.5.1" + }, + "dependencies": { + "camelcase": { + "version": "6.3.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/camelcase/-/camelcase-6.3.0.tgz", + "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", + "dev": true + } + } + }, + "jest-watcher": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/jest-watcher/-/jest-watcher-27.5.1.tgz", + "integrity": "sha512-z676SuD6Z8o8qbmEGhoEUFOM1+jfEiL3DXHK/xgEiG2EyNYfFG60jluWcupY6dATjfEsKQuibReS1djInQnoVw==", + "dev": true, + "requires": { + "@jest/test-result": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/node": "*", + "ansi-escapes": "^4.2.1", + "chalk": "^4.0.0", + "jest-util": "^27.5.1", + "string-length": "^4.0.1" + } + }, + "jest-worker": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/jest-worker/-/jest-worker-27.5.1.tgz", + "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==", + "dev": true, + "requires": { + "@types/node": "*", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + }, + "dependencies": { + "supports-color": { + "version": "8.1.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "js-tokens": { + "version": "4.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true + }, + "js-yaml": { + "version": "3.14.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/js-yaml/-/js-yaml-3.14.1.tgz", + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "dev": true, + "requires": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + } + }, + "jsdom": { + "version": "19.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/jsdom/-/jsdom-19.0.0.tgz", + "integrity": "sha512-RYAyjCbxy/vri/CfnjUWJQQtZ3LKlLnDqj+9XLNnJPgEGeirZs3hllKR20re8LUZ6o1b1X4Jat+Qd26zmP41+A==", + "dev": true, + "requires": { + "abab": "^2.0.5", + "acorn": "^8.5.0", + "acorn-globals": "^6.0.0", + "cssom": "^0.5.0", + "cssstyle": "^2.3.0", + "data-urls": "^3.0.1", + "decimal.js": "^10.3.1", + "domexception": "^4.0.0", + "escodegen": "^2.0.0", + "form-data": "^4.0.0", + "html-encoding-sniffer": "^3.0.0", + "http-proxy-agent": "^5.0.0", + "https-proxy-agent": "^5.0.0", + "is-potential-custom-element-name": "^1.0.1", + "nwsapi": "^2.2.0", + "parse5": "6.0.1", + "saxes": "^5.0.1", + "symbol-tree": "^3.2.4", + "tough-cookie": "^4.0.0", + "w3c-hr-time": "^1.0.2", + "w3c-xmlserializer": "^3.0.0", + "webidl-conversions": "^7.0.0", + "whatwg-encoding": "^2.0.0", + "whatwg-mimetype": "^3.0.0", + "whatwg-url": "^10.0.0", + "ws": "^8.2.3", + "xml-name-validator": "^4.0.0" + }, + "dependencies": { + "@tootallnate/once": { + "version": "2.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/@tootallnate/once/-/once-2.0.0.tgz", + "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", + "dev": true + }, + "cssom": { + "version": "0.5.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/cssom/-/cssom-0.5.0.tgz", + "integrity": "sha512-iKuQcq+NdHqlAcwUY0o/HL69XQrUaQdMjmStJ8JFmUaiiQErlhrmuigkg/CU4E2J0IyUKUrMAgl36TvN67MqTw==", + "dev": true + }, + "data-urls": { + "version": "3.0.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/data-urls/-/data-urls-3.0.1.tgz", + "integrity": "sha512-Ds554NeT5Gennfoo9KN50Vh6tpgtvYEwraYjejXnyTpu1C7oXKxdFk75REooENHE8ndTVOJuv+BEs4/J/xcozw==", + "dev": true, + "requires": { + "abab": "^2.0.3", + "whatwg-mimetype": "^3.0.0", + "whatwg-url": "^10.0.0" + } + }, + "domexception": { + "version": "4.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/domexception/-/domexception-4.0.0.tgz", + "integrity": "sha512-A2is4PLG+eeSfoTMA95/s4pvAoSo2mKtiM5jlHkAVewmiO8ISFTFKZjH7UAM1Atli/OT/7JHOrJRJiMKUZKYBw==", + "dev": true, + "requires": { + "webidl-conversions": "^7.0.0" + } + }, + "form-data": { + "version": "4.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "dev": true, + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + } + }, + "html-encoding-sniffer": { + "version": "3.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/html-encoding-sniffer/-/html-encoding-sniffer-3.0.0.tgz", + "integrity": "sha512-oWv4T4yJ52iKrufjnyZPkrN0CH3QnrUqdB6In1g5Fe1mia8GmF36gnfNySxoZtxD5+NmYw1EElVXiBk93UeskA==", + "dev": true, + "requires": { + "whatwg-encoding": "^2.0.0" + } + }, + "http-proxy-agent": { + "version": "5.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz", + "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==", + "dev": true, + "requires": { + "@tootallnate/once": "2", + "agent-base": "6", + "debug": "4" + } + }, + "iconv-lite": { + "version": "0.6.3", + "resolved": "https://nexus3.linkurious.net/repository/npm/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "dev": true, + "requires": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + } + }, + "tr46": { + "version": "3.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/tr46/-/tr46-3.0.0.tgz", + "integrity": "sha512-l7FvfAHlcmulp8kr+flpQZmVwtu7nfRV7NZujtN0OqES8EL4O4e0qqzL0DC5gAvx/ZC/9lk6rhcUwYvkBnBnYA==", + "dev": true, + "requires": { + "punycode": "^2.1.1" + } + }, + "w3c-xmlserializer": { + "version": "3.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/w3c-xmlserializer/-/w3c-xmlserializer-3.0.0.tgz", + "integrity": "sha512-3WFqGEgSXIyGhOmAFtlicJNMjEps8b1MG31NCA0/vOF9+nKMUW1ckhi9cnNHmf88Rzw5V+dwIwsm2C7X8k9aQg==", + "dev": true, + "requires": { + "xml-name-validator": "^4.0.0" + } + }, + "webidl-conversions": { + "version": "7.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/webidl-conversions/-/webidl-conversions-7.0.0.tgz", + "integrity": "sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==", + "dev": true + }, + "whatwg-encoding": { + "version": "2.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/whatwg-encoding/-/whatwg-encoding-2.0.0.tgz", + "integrity": "sha512-p41ogyeMUrw3jWclHWTQg1k05DSVXPLcVxRTYsXUk+ZooOCZLcoYgPZ/HL/D/N+uQPOtcp1me1WhBEaX02mhWg==", + "dev": true, + "requires": { + "iconv-lite": "0.6.3" + } + }, + "whatwg-mimetype": { + "version": "3.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/whatwg-mimetype/-/whatwg-mimetype-3.0.0.tgz", + "integrity": "sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q==", + "dev": true + }, + "whatwg-url": { + "version": "10.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/whatwg-url/-/whatwg-url-10.0.0.tgz", + "integrity": "sha512-CLxxCmdUby142H5FZzn4D8ikO1cmypvXVQktsgosNy4a4BHrDHeciBBGZhb0bNoR5/MltoCatso+vFjjGx8t0w==", + "dev": true, + "requires": { + "tr46": "^3.0.0", + "webidl-conversions": "^7.0.0" + } + }, + "ws": { + "version": "8.5.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/ws/-/ws-8.5.0.tgz", + "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "dev": true + }, + "xml-name-validator": { + "version": "4.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/xml-name-validator/-/xml-name-validator-4.0.0.tgz", + "integrity": "sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==", + "dev": true + } + } + }, + "jsdom-global": { + "version": "3.0.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/jsdom-global/-/jsdom-global-3.0.2.tgz", + "integrity": "sha1-a9KZwTsMRiay2iwDk81DhdYGrLk=", + "dev": true + }, + "jsesc": { + "version": "2.5.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/jsesc/-/jsesc-2.5.2.tgz", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", + "dev": true + }, + "json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "dev": true + }, + "json5": { + "version": "2.2.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/json5/-/json5-2.2.1.tgz", + "integrity": "sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==", + "dev": true + }, + "jsonfile": { + "version": "4.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/jsonfile/-/jsonfile-4.0.0.tgz", + "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6" + } + }, + "kleur": { + "version": "3.0.3", + "resolved": "https://nexus3.linkurious.net/repository/npm/kleur/-/kleur-3.0.3.tgz", + "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==", + "dev": true + }, + "leaflet": { + "version": "1.8.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/leaflet/-/leaflet-1.8.0.tgz", + "integrity": "sha512-gwhMjFCQiYs3x/Sf+d49f10ERXaEFCPr+nVTryhAW8DWbMGqJqt9G4XuIaHmFW08zYvhgdzqXGr8AlW8v8dQkA==", + "dev": true + }, + "leven": { + "version": "3.1.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/leven/-/leven-3.1.0.tgz", + "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==", + "dev": true + }, + "levn": { + "version": "0.3.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/levn/-/levn-0.3.0.tgz", + "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=", + "dev": true, + "requires": { + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2" + } + }, + "lines-and-columns": { + "version": "1.2.4", + "resolved": "https://nexus3.linkurious.net/repository/npm/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", + "dev": true + }, + "locate-path": { + "version": "5.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "requires": { + "p-locate": "^4.1.0" + } + }, + "lodash": { + "version": "4.17.21", + "resolved": "https://nexus3.linkurious.net/repository/npm/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true + }, + "lodash.memoize": { + "version": "4.1.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/lodash.memoize/-/lodash.memoize-4.1.2.tgz", + "integrity": "sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4=", + "dev": true + }, + "lodash.throttle": { + "version": "4.1.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/lodash.throttle/-/lodash.throttle-4.1.1.tgz", + "integrity": "sha1-wj6RtxAkKscMN/HhzaknTMOb8vQ=" + }, + "loose-envify": { + "version": "1.4.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "dev": true, + "requires": { + "js-tokens": "^3.0.0 || ^4.0.0" + } + }, + "lru-cache": { + "version": "6.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "requires": { + "yallist": "^4.0.0" + } + }, + "make-dir": { + "version": "3.1.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/make-dir/-/make-dir-3.1.0.tgz", + "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", + "dev": true, + "requires": { + "semver": "^6.0.0" + }, + "dependencies": { + "semver": { + "version": "6.3.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true + } + } + }, + "make-error": { + "version": "1.3.6", + "resolved": "https://nexus3.linkurious.net/repository/npm/make-error/-/make-error-1.3.6.tgz", + "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", + "dev": true + }, + "makeerror": { + "version": "1.0.12", + "resolved": "https://nexus3.linkurious.net/repository/npm/makeerror/-/makeerror-1.0.12.tgz", + "integrity": "sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==", + "dev": true, + "requires": { + "tmpl": "1.0.5" + } + }, + "merge-stream": { + "version": "2.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true + }, + "micromatch": { + "version": "4.0.5", + "resolved": "https://nexus3.linkurious.net/repository/npm/micromatch/-/micromatch-4.0.5.tgz", + "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "dev": true, + "requires": { + "braces": "^3.0.2", + "picomatch": "^2.3.1" + } + }, + "mime-db": { + "version": "1.52.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "dev": true + }, + "mime-types": { + "version": "2.1.35", + "resolved": "https://nexus3.linkurious.net/repository/npm/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dev": true, + "requires": { + "mime-db": "1.52.0" + } + }, + "mimic-fn": { + "version": "2.1.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/mimic-fn/-/mimic-fn-2.1.0.tgz", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "dev": true + }, + "mimic-response": { + "version": "2.1.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/mimic-response/-/mimic-response-2.1.0.tgz", + "integrity": "sha512-wXqjST+SLt7R009ySCglWBCFpjUygmCIfD790/kVbiGmUgfYGuB14PiTd5DwVxSV4NcYHjzMkoj5LjQZwTQLEA==", + "dev": true + }, + "minimatch": { + "version": "3.1.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "minipass": { + "version": "3.1.6", + "resolved": "https://nexus3.linkurious.net/repository/npm/minipass/-/minipass-3.1.6.tgz", + "integrity": "sha512-rty5kpw9/z8SX9dmxblFA6edItUmwJgMeYDZRrwlIVN27i8gysGbznJwUggw2V/FVqFSDdWy040ZPS811DYAqQ==", + "dev": true, + "requires": { + "yallist": "^4.0.0" + } + }, + "minizlib": { + "version": "2.1.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/minizlib/-/minizlib-2.1.2.tgz", + "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", + "dev": true, + "requires": { + "minipass": "^3.0.0", + "yallist": "^4.0.0" + } + }, + "mkdirp": { + "version": "1.0.4", + "resolved": "https://nexus3.linkurious.net/repository/npm/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "dev": true + }, + "mrmime": { + "version": "1.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/mrmime/-/mrmime-1.0.0.tgz", + "integrity": "sha512-a70zx7zFfVO7XpnQ2IX1Myh9yY4UYvfld/dikWRnsXxbyvMcfz+u6UfgNAtH+k2QqtJuzVpv6eLTx1G2+WKZbQ==", + "dev": true + }, + "ms": { + "version": "2.1.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + }, + "nan": { + "version": "2.15.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/nan/-/nan-2.15.0.tgz", + "integrity": "sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ==", + "dev": true + }, + "natural-compare": { + "version": "1.4.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", + "dev": true + }, + "node-fetch": { + "version": "2.6.7", + "resolved": "https://nexus3.linkurious.net/repository/npm/node-fetch/-/node-fetch-2.6.7.tgz", + "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", + "dev": true, + "requires": { + "whatwg-url": "^5.0.0" + } + }, + "node-int64": { + "version": "0.4.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/node-int64/-/node-int64-0.4.0.tgz", + "integrity": "sha1-h6kGXNs1XTGC2PlM4RGIuCXGijs=", + "dev": true + }, + "node-releases": { + "version": "2.0.3", + "resolved": "https://nexus3.linkurious.net/repository/npm/node-releases/-/node-releases-2.0.3.tgz", + "integrity": "sha512-maHFz6OLqYxz+VQyCAtA3PTX4UP/53pa05fyDNc9CwjvJ0yEh6+xBwKsgCxMNhS8taUKBFYxfuiaD9U/55iFaw==", + "dev": true + }, + "nopt": { + "version": "5.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/nopt/-/nopt-5.0.0.tgz", + "integrity": "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==", + "dev": true, + "requires": { + "abbrev": "1" + } + }, + "normalize-path": { + "version": "3.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true + }, + "npm-run-path": { + "version": "4.0.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/npm-run-path/-/npm-run-path-4.0.1.tgz", + "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", + "dev": true, + "requires": { + "path-key": "^3.0.0" + } + }, + "npmlog": { + "version": "5.0.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/npmlog/-/npmlog-5.0.1.tgz", + "integrity": "sha512-AqZtDUWOMKs1G/8lwylVjrdYgqA4d9nu8hc+0gzRxlDb1I10+FHBGMXs6aiQHFdCUUlqH99MUMuLfzWDNDtfxw==", + "dev": true, + "requires": { + "are-we-there-yet": "^2.0.0", + "console-control-strings": "^1.1.0", + "gauge": "^3.0.0", + "set-blocking": "^2.0.0" + } + }, + "nwsapi": { + "version": "2.2.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/nwsapi/-/nwsapi-2.2.0.tgz", + "integrity": "sha512-h2AatdwYH+JHiZpv7pt/gSX1XoRGb7L/qSIeuqA6GwYoF9w1vP1cw42TO0aI2pNyshRK5893hNSl+1//vHK7hQ==", + "dev": true + }, + "object-assign": { + "version": "4.1.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", + "dev": true + }, + "once": { + "version": "1.4.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "dev": true, + "requires": { + "wrappy": "1" + } + }, + "onetime": { + "version": "5.1.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/onetime/-/onetime-5.1.2.tgz", + "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "dev": true, + "requires": { + "mimic-fn": "^2.1.0" + } + }, + "opener": { + "version": "1.5.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/opener/-/opener-1.5.2.tgz", + "integrity": "sha512-ur5UIdyw5Y7yEj9wLzhqXiy6GZ3Mwx0yGI+5sMn2r0N0v3cKJvUmFH5yPP+WXh9e0xfyzyJX95D8l088DNFj7A==", + "dev": true + }, + "optionator": { + "version": "0.8.3", + "resolved": "https://nexus3.linkurious.net/repository/npm/optionator/-/optionator-0.8.3.tgz", + "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==", + "dev": true, + "requires": { + "deep-is": "~0.1.3", + "fast-levenshtein": "~2.0.6", + "levn": "~0.3.0", + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2", + "word-wrap": "~1.2.3" + } + }, + "p-limit": { + "version": "2.3.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "requires": { + "p-try": "^2.0.0" + } + }, + "p-locate": { + "version": "4.1.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "requires": { + "p-limit": "^2.2.0" + } + }, + "p-try": { + "version": "2.2.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "dev": true + }, + "parent-module": { + "version": "1.0.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, + "requires": { + "callsites": "^3.0.0" + } + }, + "parse-json": { + "version": "5.2.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/parse-json/-/parse-json-5.2.0.tgz", + "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" + } + }, + "parse5": { + "version": "6.0.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/parse5/-/parse5-6.0.1.tgz", + "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==", + "dev": true + }, + "path-exists": { + "version": "4.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true + }, + "path-is-absolute": { + "version": "1.0.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", + "dev": true + }, + "path-key": { + "version": "3.1.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true + }, + "path-parse": { + "version": "1.0.7", + "resolved": "https://nexus3.linkurious.net/repository/npm/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "dev": true + }, + "path-type": { + "version": "4.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "dev": true + }, + "picocolors": { + "version": "1.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "dev": true + }, + "picomatch": { + "version": "2.3.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true + }, + "pify": { + "version": "2.3.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + }, + "pinkie": { + "version": "2.0.4", + "resolved": "https://nexus3.linkurious.net/repository/npm/pinkie/-/pinkie-2.0.4.tgz", + "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=", + "dev": true + }, + "pinkie-promise": { + "version": "2.0.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/pinkie-promise/-/pinkie-promise-2.0.1.tgz", + "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", + "dev": true, + "requires": { + "pinkie": "^2.0.0" + } + }, + "pirates": { + "version": "4.0.5", + "resolved": "https://nexus3.linkurious.net/repository/npm/pirates/-/pirates-4.0.5.tgz", + "integrity": "sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ==", + "dev": true + }, + "pkg-dir": { + "version": "4.2.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/pkg-dir/-/pkg-dir-4.2.0.tgz", + "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", + "dev": true, + "requires": { + "find-up": "^4.0.0" + } + }, + "prelude-ls": { + "version": "1.1.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/prelude-ls/-/prelude-ls-1.1.2.tgz", + "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=", + "dev": true + }, + "prettier": { + "version": "2.6.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/prettier/-/prettier-2.6.2.tgz", + "integrity": "sha512-PkUpF+qoXTqhOeWL9fu7As8LXsIUZ1WYaJiY/a7McAQzxjk82OF0tibkFXVCDImZtWxbvojFjerkiLb0/q8mew==", + "dev": true + }, + "pretty-format": { + "version": "27.5.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/pretty-format/-/pretty-format-27.5.1.tgz", + "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1", + "ansi-styles": "^5.0.0", + "react-is": "^17.0.1" + }, + "dependencies": { + "ansi-styles": { + "version": "5.2.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/ansi-styles/-/ansi-styles-5.2.0.tgz", + "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", + "dev": true + } + } + }, + "printj": { + "version": "1.1.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/printj/-/printj-1.1.2.tgz", + "integrity": "sha512-zA2SmoLaxZyArQTOPj5LXecR+RagfPSU5Kw1qP+jkWeNlrq+eJZyY2oS68SU1Z/7/myXM4lo9716laOFAVStCQ==", + "dev": true, + "optional": true + }, + "prompts": { + "version": "2.4.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/prompts/-/prompts-2.4.2.tgz", + "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==", + "dev": true, + "requires": { + "kleur": "^3.0.3", + "sisteransi": "^1.0.5" + } + }, + "psl": { + "version": "1.8.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/psl/-/psl-1.8.0.tgz", + "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==", + "dev": true + }, + "punycode": { + "version": "2.1.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "dev": true + }, + "react": { + "version": "17.0.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/react/-/react-17.0.2.tgz", + "integrity": "sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==", + "dev": true, + "requires": { + "loose-envify": "^1.1.0", + "object-assign": "^4.1.1" + } + }, + "react-dom": { + "version": "17.0.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/react-dom/-/react-dom-17.0.2.tgz", + "integrity": "sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA==", + "dev": true, + "requires": { + "loose-envify": "^1.1.0", + "object-assign": "^4.1.1", + "scheduler": "^0.20.2" + } + }, + "react-is": { + "version": "17.0.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/react-is/-/react-is-17.0.2.tgz", + "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", + "dev": true + }, + "readable-stream": { + "version": "3.6.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + }, + "regenerator-runtime": { + "version": "0.13.9", + "resolved": "https://nexus3.linkurious.net/repository/npm/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz", + "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==", + "dev": true + }, + "require-directory": { + "version": "2.1.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", + "dev": true + }, + "resolve": { + "version": "1.22.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/resolve/-/resolve-1.22.0.tgz", + "integrity": "sha512-Hhtrw0nLeSrFQ7phPp4OOcVjLPIeMnRlr5mcnVuMe7M/7eBn98A3hmFRLoFo3DLZkivSYwhRUJTyPyWAk56WLw==", + "dev": true, + "requires": { + "is-core-module": "^2.8.1", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + } + }, + "resolve-cwd": { + "version": "3.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/resolve-cwd/-/resolve-cwd-3.0.0.tgz", + "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==", + "dev": true, + "requires": { + "resolve-from": "^5.0.0" + }, + "dependencies": { + "resolve-from": { + "version": "5.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "dev": true + } + } + }, + "resolve-from": { + "version": "4.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true + }, + "resolve.exports": { + "version": "1.1.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/resolve.exports/-/resolve.exports-1.1.0.tgz", + "integrity": "sha512-J1l+Zxxp4XK3LUDZ9m60LRJF/mAe4z6a4xyabPHk7pvK5t35dACV32iIjJDFeWZFfZlO29w6SZ67knR0tHzJtQ==", + "dev": true + }, + "rimraf": { + "version": "3.0.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dev": true, + "requires": { + "glob": "^7.1.3" + } + }, + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true + }, + "safer-buffer": { + "version": "2.1.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "dev": true + }, + "saxes": { + "version": "5.0.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/saxes/-/saxes-5.0.1.tgz", + "integrity": "sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw==", + "dev": true, + "requires": { + "xmlchars": "^2.2.0" + } + }, + "scheduler": { + "version": "0.20.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/scheduler/-/scheduler-0.20.2.tgz", + "integrity": "sha512-2eWfGgAqqWFGqtdMmcL5zCMK1U8KlXv8SQFGglL3CEtd0aDVDWgeF/YoCmvln55m5zSk3J/20hTaSBeSObsQDQ==", + "dev": true, + "requires": { + "loose-envify": "^1.1.0", + "object-assign": "^4.1.1" + } + }, + "semver": { + "version": "7.3.7", + "resolved": "https://nexus3.linkurious.net/repository/npm/semver/-/semver-7.3.7.tgz", + "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", + "dev": true, + "requires": { + "lru-cache": "^6.0.0" + } + }, + "set-blocking": { + "version": "2.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", + "dev": true + }, + "shebang-command": { + "version": "2.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "requires": { + "shebang-regex": "^3.0.0" + } + }, + "shebang-regex": { + "version": "3.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true + }, + "signal-exit": { + "version": "3.0.7", + "resolved": "https://nexus3.linkurious.net/repository/npm/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", + "dev": true + }, + "simple-concat": { + "version": "1.0.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/simple-concat/-/simple-concat-1.0.1.tgz", + "integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==", + "dev": true + }, + "simple-get": { + "version": "3.1.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/simple-get/-/simple-get-3.1.1.tgz", + "integrity": "sha512-CQ5LTKGfCpvE1K0n2us+kuMPbk/q0EKl82s4aheV9oXjFEz6W/Y7oQFVJuU6QG77hRT4Ghb5RURteF5vnWjupA==", + "dev": true, + "requires": { + "decompress-response": "^4.2.0", + "once": "^1.3.1", + "simple-concat": "^1.0.0" + } + }, + "sirv": { + "version": "1.0.19", + "resolved": "https://nexus3.linkurious.net/repository/npm/sirv/-/sirv-1.0.19.tgz", + "integrity": "sha512-JuLThK3TnZG1TAKDwNIqNq6QA2afLOCcm+iE8D1Kj3GA40pSPsxQjjJl0J8X3tsR7T+CP1GavpzLwYkgVLWrZQ==", + "dev": true, + "requires": { + "@polka/url": "^1.0.0-next.20", + "mrmime": "^1.0.0", + "totalist": "^1.0.0" + } + }, + "sisteransi": { + "version": "1.0.5", + "resolved": "https://nexus3.linkurious.net/repository/npm/sisteransi/-/sisteransi-1.0.5.tgz", + "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==", + "dev": true + }, + "slash": { + "version": "3.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "dev": true + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + }, + "source-map-support": { + "version": "0.5.21", + "resolved": "https://nexus3.linkurious.net/repository/npm/source-map-support/-/source-map-support-0.5.21.tgz", + "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", + "dev": true, + "requires": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "sprintf-js": { + "version": "1.0.3", + "resolved": "https://nexus3.linkurious.net/repository/npm/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", + "dev": true + }, + "ssf": { + "version": "0.11.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/ssf/-/ssf-0.11.2.tgz", + "integrity": "sha512-+idbmIXoYET47hH+d7dfm2epdOMUDjqcB4648sTZ+t2JwoyBFL/insLfB/racrDmsKB3diwsDA696pZMieAC5g==", + "dev": true, + "optional": true, + "requires": { + "frac": "~1.1.2" + } + }, + "stack-utils": { + "version": "2.0.5", + "resolved": "https://nexus3.linkurious.net/repository/npm/stack-utils/-/stack-utils-2.0.5.tgz", + "integrity": "sha512-xrQcmYhOsn/1kX+Vraq+7j4oE2j/6BFscZ0etmYg81xuM8Gq0022Pxb8+IqgOFUIaxHs0KaSb7T1+OegiNrNFA==", + "dev": true, + "requires": { + "escape-string-regexp": "^2.0.0" + }, + "dependencies": { + "escape-string-regexp": { + "version": "2.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", + "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", + "dev": true + } + } + }, + "string-length": { + "version": "4.0.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/string-length/-/string-length-4.0.2.tgz", + "integrity": "sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==", + "dev": true, + "requires": { + "char-regex": "^1.0.2", + "strip-ansi": "^6.0.0" + } + }, + "string-width": { + "version": "4.2.3", + "resolved": "https://nexus3.linkurious.net/repository/npm/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + }, + "string_decoder": { + "version": "1.3.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "dev": true, + "requires": { + "safe-buffer": "~5.2.0" + } + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + }, + "strip-bom": { + "version": "4.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/strip-bom/-/strip-bom-4.0.0.tgz", + "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", + "dev": true + }, + "strip-final-newline": { + "version": "2.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/strip-final-newline/-/strip-final-newline-2.0.0.tgz", + "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", + "dev": true + }, + "strip-json-comments": { + "version": "3.1.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true + }, + "strip-outer": { + "version": "1.0.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/strip-outer/-/strip-outer-1.0.1.tgz", + "integrity": "sha512-k55yxKHwaXnpYGsOzg4Vl8+tDrWylxDEpknGjhTiZB8dFRU5rTo9CAzeycivxV3s+zlTKwrs6WxMxR95n26kwg==", + "dev": true, + "requires": { + "escape-string-regexp": "^1.0.2" + } + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + }, + "supports-hyperlinks": { + "version": "2.2.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/supports-hyperlinks/-/supports-hyperlinks-2.2.0.tgz", + "integrity": "sha512-6sXEzV5+I5j8Bmq9/vUphGRM/RJNT9SCURJLjwfOg51heRtguGWDzcaBlgAzKhQa0EVNpPEKzQuBwZ8S8WaCeQ==", + "dev": true, + "requires": { + "has-flag": "^4.0.0", + "supports-color": "^7.0.0" + } + }, + "supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "dev": true + }, + "symbol-tree": { + "version": "3.2.4", + "resolved": "https://nexus3.linkurious.net/repository/npm/symbol-tree/-/symbol-tree-3.2.4.tgz", + "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==", + "dev": true + }, + "tar": { + "version": "6.1.11", + "resolved": "https://nexus3.linkurious.net/repository/npm/tar/-/tar-6.1.11.tgz", + "integrity": "sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA==", + "dev": true, + "requires": { + "chownr": "^2.0.0", + "fs-minipass": "^2.0.0", + "minipass": "^3.0.0", + "minizlib": "^2.1.1", + "mkdirp": "^1.0.3", + "yallist": "^4.0.0" + } + }, + "terminal-link": { + "version": "2.1.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/terminal-link/-/terminal-link-2.1.1.tgz", + "integrity": "sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ==", + "dev": true, + "requires": { + "ansi-escapes": "^4.2.1", + "supports-hyperlinks": "^2.0.0" + } + }, + "test-exclude": { + "version": "6.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/test-exclude/-/test-exclude-6.0.0.tgz", + "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==", + "dev": true, + "requires": { + "@istanbuljs/schema": "^0.1.2", + "glob": "^7.1.4", + "minimatch": "^3.0.4" + } + }, + "throat": { + "version": "6.0.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/throat/-/throat-6.0.1.tgz", + "integrity": "sha512-8hmiGIJMDlwjg7dlJ4yKGLK8EsYqKgPWbG3b4wjJddKNwc7N7Dpn08Df4szr/sZdMVeOstrdYSsqzX6BYbcB+w==", + "dev": true + }, + "tmpl": { + "version": "1.0.5", + "resolved": "https://nexus3.linkurious.net/repository/npm/tmpl/-/tmpl-1.0.5.tgz", + "integrity": "sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==", + "dev": true + }, + "to-fast-properties": { + "version": "2.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "dev": true + }, + "to-regex-range": { + "version": "5.0.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "requires": { + "is-number": "^7.0.0" + } + }, + "totalist": { + "version": "1.1.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/totalist/-/totalist-1.1.0.tgz", + "integrity": "sha512-gduQwd1rOdDMGxFG1gEvhV88Oirdo2p+KjoYFU7k2g+i7n6AFFbDQ5kMPUsW0pNbfQsB/cwXvT1i4Bue0s9g5g==", + "dev": true + }, + "tough-cookie": { + "version": "4.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/tough-cookie/-/tough-cookie-4.0.0.tgz", + "integrity": "sha512-tHdtEpQCMrc1YLrMaqXXcj6AxhYi/xgit6mZu1+EDWUn+qhUf8wMQoFIy9NXuq23zAwtcB0t/MjACGR18pcRbg==", + "dev": true, + "requires": { + "psl": "^1.1.33", + "punycode": "^2.1.1", + "universalify": "^0.1.2" + } + }, + "tr46": { + "version": "0.0.3", + "resolved": "https://nexus3.linkurious.net/repository/npm/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=", + "dev": true + }, + "trim-repeated": { + "version": "1.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/trim-repeated/-/trim-repeated-1.0.0.tgz", + "integrity": "sha1-42RqLqTokTEr9+rObPsFOAvAHCE=", + "dev": true, + "requires": { + "escape-string-regexp": "^1.0.2" + } + }, + "ts-jest": { + "version": "27.1.4", + "resolved": "https://nexus3.linkurious.net/repository/npm/ts-jest/-/ts-jest-27.1.4.tgz", + "integrity": "sha512-qjkZlVPWVctAezwsOD1OPzbZ+k7zA5z3oxII4dGdZo5ggX/PL7kvwTM0pXTr10fAtbiVpJaL3bWd502zAhpgSQ==", + "dev": true, + "requires": { + "bs-logger": "0.x", + "fast-json-stable-stringify": "2.x", + "jest-util": "^27.0.0", + "json5": "2.x", + "lodash.memoize": "4.x", + "make-error": "1.x", + "semver": "7.x", + "yargs-parser": "20.x" + }, + "dependencies": { + "yargs-parser": { + "version": "20.2.9", + "resolved": "https://nexus3.linkurious.net/repository/npm/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "dev": true + } + } + }, + "tslib": { + "version": "2.3.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/tslib/-/tslib-2.3.1.tgz", + "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==", + "dev": true + }, + "type-check": { + "version": "0.3.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/type-check/-/type-check-0.3.2.tgz", + "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=", + "dev": true, + "requires": { + "prelude-ls": "~1.1.2" + } + }, + "type-detect": { + "version": "4.0.8", + "resolved": "https://nexus3.linkurious.net/repository/npm/type-detect/-/type-detect-4.0.8.tgz", + "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", + "dev": true + }, + "type-fest": { + "version": "0.21.3", + "resolved": "https://nexus3.linkurious.net/repository/npm/type-fest/-/type-fest-0.21.3.tgz", + "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", + "dev": true + }, + "typedarray-to-buffer": { + "version": "3.1.5", + "resolved": "https://nexus3.linkurious.net/repository/npm/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", + "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", + "dev": true, + "requires": { + "is-typedarray": "^1.0.0" + } + }, + "typescript": { + "version": "4.6.3", + "resolved": "https://nexus3.linkurious.net/repository/npm/typescript/-/typescript-4.6.3.tgz", + "integrity": "sha512-yNIatDa5iaofVozS/uQJEl3JRWLKKGJKh6Yaiv0GLGSuhpFJe7P3SbHZ8/yjAHRQwKRoA6YZqlfjXWmVzoVSMw==", + "dev": true + }, + "universalify": { + "version": "0.1.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", + "dev": true + }, + "util-deprecate": { + "version": "1.0.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", + "dev": true + }, + "uuid": { + "version": "8.3.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "dev": true + }, + "v8-to-istanbul": { + "version": "8.1.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/v8-to-istanbul/-/v8-to-istanbul-8.1.1.tgz", + "integrity": "sha512-FGtKtv3xIpR6BYhvgH8MI/y78oT7d8Au3ww4QIxymrCtZEh5b8gCw2siywE+puhEmuWKDtmfrvF5UlB298ut3w==", + "dev": true, + "requires": { + "@types/istanbul-lib-coverage": "^2.0.1", + "convert-source-map": "^1.6.0", + "source-map": "^0.7.3" + }, + "dependencies": { + "source-map": { + "version": "0.7.3", + "resolved": "https://nexus3.linkurious.net/repository/npm/source-map/-/source-map-0.7.3.tgz", + "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==", + "dev": true + } + } + }, + "w3c-hr-time": { + "version": "1.0.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz", + "integrity": "sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ==", + "dev": true, + "requires": { + "browser-process-hrtime": "^1.0.0" + } + }, + "w3c-xmlserializer": { + "version": "2.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/w3c-xmlserializer/-/w3c-xmlserializer-2.0.0.tgz", + "integrity": "sha512-4tzD0mF8iSiMiNs30BiLO3EpfGLZUT2MSX/G+o7ZywDzliWQ3OPtTZ0PTC3B3ca1UAf4cJMHB+2Bf56EriJuRA==", + "dev": true, + "requires": { + "xml-name-validator": "^3.0.0" + } + }, + "walker": { + "version": "1.0.8", + "resolved": "https://nexus3.linkurious.net/repository/npm/walker/-/walker-1.0.8.tgz", + "integrity": "sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==", + "dev": true, + "requires": { + "makeerror": "1.0.12" + } + }, + "webidl-conversions": { + "version": "3.0.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=", + "dev": true + }, + "webpack-bundle-analyzer": { + "version": "4.3.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/webpack-bundle-analyzer/-/webpack-bundle-analyzer-4.3.0.tgz", + "integrity": "sha512-J3TPm54bPARx6QG8z4cKBszahnUglcv70+N+8gUqv2I5KOFHJbzBiLx+pAp606so0X004fxM7hqRu10MLjJifA==", + "dev": true, + "requires": { + "acorn": "^8.0.4", + "acorn-walk": "^8.0.0", + "chalk": "^4.1.0", + "commander": "^6.2.0", + "gzip-size": "^6.0.0", + "lodash": "^4.17.20", + "opener": "^1.5.2", + "sirv": "^1.0.7", + "ws": "^7.3.1" + }, + "dependencies": { + "commander": { + "version": "6.2.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/commander/-/commander-6.2.1.tgz", + "integrity": "sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==", + "dev": true + } + } + }, + "whatwg-encoding": { + "version": "1.0.5", + "resolved": "https://nexus3.linkurious.net/repository/npm/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz", + "integrity": "sha512-b5lim54JOPN9HtzvK9HFXvBma/rnfFeqsic0hSpjtDbVxR3dJKLc+KB4V6GgiGOvl7CY/KNh8rxSo9DKQrnUEw==", + "dev": true, + "requires": { + "iconv-lite": "0.4.24" + } + }, + "whatwg-mimetype": { + "version": "2.3.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz", + "integrity": "sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g==", + "dev": true + }, + "whatwg-url": { + "version": "5.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha1-lmRU6HZUYuN2RNNib2dCzotwll0=", + "dev": true, + "requires": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + }, + "which": { + "version": "2.0.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "requires": { + "isexe": "^2.0.0" + } + }, + "wide-align": { + "version": "1.1.5", + "resolved": "https://nexus3.linkurious.net/repository/npm/wide-align/-/wide-align-1.1.5.tgz", + "integrity": "sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==", + "dev": true, + "requires": { + "string-width": "^1.0.2 || 2 || 3 || 4" + } + }, + "wmf": { + "version": "1.0.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/wmf/-/wmf-1.0.2.tgz", + "integrity": "sha512-/p9K7bEh0Dj6WbXg4JG0xvLQmIadrner1bi45VMJTfnbVHsc7yIajZyoSoK60/dtVBs12Fm6WkUI5/3WAVsNMw==", + "dev": true, + "optional": true + }, + "word": { + "version": "0.3.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/word/-/word-0.3.0.tgz", + "integrity": "sha512-OELeY0Q61OXpdUfTp+oweA/vtLVg5VDOXh+3he3PNzLGG/y0oylSOC1xRVj0+l4vQ3tj/bB1HVHv1ocXkQceFA==", + "dev": true, + "optional": true + }, + "word-wrap": { + "version": "1.2.3", + "resolved": "https://nexus3.linkurious.net/repository/npm/word-wrap/-/word-wrap-1.2.3.tgz", + "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", + "dev": true + }, + "wrap-ansi": { + "version": "7.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + } + }, + "wrappy": { + "version": "1.0.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", + "dev": true + }, + "write-file-atomic": { + "version": "3.0.3", + "resolved": "https://nexus3.linkurious.net/repository/npm/write-file-atomic/-/write-file-atomic-3.0.3.tgz", + "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==", + "dev": true, + "requires": { + "imurmurhash": "^0.1.4", + "is-typedarray": "^1.0.0", + "signal-exit": "^3.0.2", + "typedarray-to-buffer": "^3.1.5" + } + }, + "ws": { + "version": "7.5.7", + "resolved": "https://nexus3.linkurious.net/repository/npm/ws/-/ws-7.5.7.tgz", + "integrity": "sha512-KMvVuFzpKBuiIXW3E4u3mySRO2/mCHSyZDJQM5NQ9Q9KHWHWh0NHgfbRMLLrceUK5qAL4ytALJbpRMjixFZh8A==", + "dev": true + }, + "xlsx": { + "version": "0.17.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/xlsx/-/xlsx-0.17.0.tgz", + "integrity": "sha512-bZ36FSACiAyjoldey1+7it50PMlDp1pcAJrZKcVZHzKd8BC/z6TQ/QAN8onuqcepifqSznR6uKnjPhaGt6ig9A==", + "dev": true, + "optional": true, + "requires": { + "adler-32": "~1.2.0", + "cfb": "^1.1.4", + "codepage": "~1.14.0", + "commander": "~2.17.1", + "crc-32": "~1.2.0", + "exit-on-epipe": "~1.0.1", + "fflate": "^0.3.8", + "ssf": "~0.11.2", + "wmf": "~1.0.1", + "word": "~0.3.0" + } + }, + "xml": { + "version": "1.0.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/xml/-/xml-1.0.1.tgz", + "integrity": "sha1-eLpyAgApxbyHuKgaPPzXS0ovweU=", + "dev": true + }, + "xml-name-validator": { + "version": "3.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/xml-name-validator/-/xml-name-validator-3.0.0.tgz", + "integrity": "sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw==", + "dev": true + }, + "xmlchars": { + "version": "2.2.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/xmlchars/-/xmlchars-2.2.0.tgz", + "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==", + "dev": true + }, + "y18n": { + "version": "5.0.8", + "resolved": "https://nexus3.linkurious.net/repository/npm/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "dev": true + }, + "yallist": { + "version": "4.0.0", + "resolved": "https://nexus3.linkurious.net/repository/npm/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "yaml": { + "version": "1.10.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/yaml/-/yaml-1.10.2.tgz", + "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", + "dev": true + }, + "yargs": { + "version": "17.4.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/yargs/-/yargs-17.4.1.tgz", + "integrity": "sha512-WSZD9jgobAg3ZKuCQZSa3g9QOJeCCqLoLAykiWgmXnDo9EPnn4RPf5qVTtzgOx66o6/oqhcA5tHtJXpG8pMt3g==", + "dev": true, + "requires": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.0.0" + } + }, + "yargs-parser": { + "version": "21.0.1", + "resolved": "https://nexus3.linkurious.net/repository/npm/yargs-parser/-/yargs-parser-21.0.1.tgz", + "integrity": "sha512-9BK1jFpLzJROCI5TzwZL/TU4gqjK5xiHV/RfWLOahrjAko/e4DJkRDZQXfvqAsiZzzYhgAzbgz6lg48jcm4GLg==", + "dev": true + } + } +} diff --git a/package.json b/package.json new file mode 100755 index 0000000..72f395d --- /dev/null +++ b/package.json @@ -0,0 +1,108 @@ +{ + "name": "@linkurious/ogma-react", + "version": "0.5.6", + "description": "A light adaptation of Ogma for React application", + "main": "dist/index.js", + "module": "dist/index-esm.js", + "typings": "dist/index.d.ts", + "private": false, + "files": [ + "dist/*.d.ts", + "dist/*.js", + "dist/*.js.map" + ], + "engines": { + "node": "14.19.1", + "npm": "6.14.16" + }, + "scripts": { + "tsc": "tsc", + "tsc:watch": "tsc --watch", + "start": "typehead serve", + "doc": "esbuild --bundle --minify --outfile=./web/index-bundle.js ./web/index.tsx", + "build": "npm run types && typehead build && scripts/prepublish.js", + "format": "prettier -w src/**/*.{ts,tsx} web/**/*.tsx", + "test": "jest", + "test:unit": "jest --ci --coverage --reporters=default --reporters=jest-junit", + "typecheck": "tsc --noEmit", + "types": "dts-bundle-generator -o ./dist/index.d.ts ./src/index.ts", + "postversion": "sync_versions", + "doc:publish": "npm run doc && gh-pages -d web" + }, + "peerDependencies": { + "@linkurious/ogma": ">=4.0.9", + "react": "^17.0.2", + "react-dom": "^17.0.2", + "typescript": "^4.5.4" + }, + "devDependencies": { + "@geist-ui/core": "^2.3.8", + "@geist-ui/icons": "^1.0.1", + "@linkurious/code-tools": "0.0.6", + "@linkurious/ogma": "4.1.0-PR-2905.9", + "@mapbox/typehead": "^1.1.0", + "@next/bundle-analyzer": "^12.1.4", + "@types/enzyme": "^3.10.11", + "@types/jest": "^27.4.1", + "@types/leaflet": "^1.7.9", + "@types/node": "^17.0.21", + "@types/react": "^17.0.40", + "@types/react-dom": "^17.0.13", + "canvas": "^2.9.1", + "dts-bundle-generator": "^6.5.0", + "gh-pages": "^3.2.3", + "jest": "^27.5.1", + "jest-junit": "^13.0.0", + "jsdom": "^19.0.0", + "jsdom-global": "^3.0.2", + "leaflet": "^1.8.0", + "prettier": "^2.6.2", + "react": "^17.0.2", + "react-dom": "^17.0.2", + "ts-jest": "^27.1.4", + "tslib": "^2.3.1", + "typescript": "^4.5.4" + }, + "jest": { + "globals": { + "ts-jest": { + "tsconfig": "tsconfig.json" + } + }, + "transform": { + "\\.(ts|tsx)$": "ts-jest" + }, + "moduleFileExtensions": [ + "js", + "ts", + "tsx", + "json" + ], + "testRegex": "/(test|__tests__)/.*\\.(test|spec)\\.tsx?", + "setupFiles": [ + "/test/setup.ts" + ], + "coverageReporters": [ + "text", + "cobertura" + ], + "coverageDirectory": "reports" + }, + "jest-junit": { + "outputFile": "reports/junit-test-results.xml" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/linkurious/ogma-react.git" + }, + "author": "", + "license": "ISC", + "bugs": { + "url": "https://github.com/linkurious/ogma-react/issues" + }, + "homepage": "https://github.com/linkurious/ogma-react#readme", + "dependencies": { + "@types/lodash.throttle": "^4.1.6", + "lodash.throttle": "^4.1.1" + } +} diff --git a/scripts/prepublish.js b/scripts/prepublish.js new file mode 100755 index 0000000..fec8c60 --- /dev/null +++ b/scripts/prepublish.js @@ -0,0 +1,30 @@ +#!/usr/bin/env node + +const fs = require("fs"); + +fs.readFile("package.json", "utf8", (err, data) => { + if (err) throw err; + const base = JSON.parse(data); + const overwrite = { + devDependencies: undefined, + scripts: undefined, + eslintConfig: undefined, + browserslist: undefined, + jest: undefined, + "jest-junit": undefined, + peerDependencies: base.peerDependencies, + private: undefined, + files: base.files.map((f) => f.replace("dist/", "")), + main: "lib.umd.js", + }; + ["main", "module", "typings"].forEach((field) => { + overwrite[field] = base[field].replace("dist/", ""); + }); + fs.writeFile( + "./dist/package.json", + JSON.stringify({ ...base, ...overwrite }, null, 2), + (err) => { + if (err) throw err; + } + ); +}); diff --git a/src/context.tsx b/src/context.tsx new file mode 100755 index 0000000..2dcbd75 --- /dev/null +++ b/src/context.tsx @@ -0,0 +1,20 @@ +import { createContext, useContext, Context } from "react"; +import OgmaLib from "@linkurious/ogma"; + +export function createOgmaContext() { + return createContext<{ ogma?: OgmaLib } | null>(null); +} + +export const OgmaContext = createContext(undefined) as Context< + OgmaLib | undefined +>; + +/** + * This is the hook that allows you to access the Ogma instance. + * It should only be used in the context of the `Ogma` component. + */ +export const useOgma = (): OgmaLib => { + const ogma = useContext(OgmaContext); + if (!ogma) throw new Error("useOgma must be used within an OgmaProvider"); + return ogma; +}; diff --git a/src/geo.tsx b/src/geo.tsx new file mode 100644 index 0000000..2b19ff8 --- /dev/null +++ b/src/geo.tsx @@ -0,0 +1,18 @@ +import { useEffect } from "react"; +import { GeoModeOptions } from "@linkurious/ogma"; +import { useOgma } from "./context"; + +interface GeoModeProps extends GeoModeOptions { + enabled?: boolean; +} + +export function Geo({ enabled = false, ...options }: GeoModeProps) { + const ogma = useOgma(); + + useEffect(() => { + if (enabled) ogma.geo.enable(options); + else ogma.geo.disable(); + }, [enabled]); + + return null; +} diff --git a/src/index.ts b/src/index.ts new file mode 100755 index 0000000..8696fa7 --- /dev/null +++ b/src/index.ts @@ -0,0 +1,7 @@ +export { Ogma } from "./ogma"; +export { useOgma } from "./context"; + +export * from "./styles"; +export * from "./transformations"; +export * from "./overlay"; +export * from "./geo"; diff --git a/src/ogma.tsx b/src/ogma.tsx new file mode 100755 index 0000000..4a00a72 --- /dev/null +++ b/src/ogma.tsx @@ -0,0 +1,85 @@ +import React, { + useState, + useEffect, + useLayoutEffect, + forwardRef, + useImperativeHandle, + ReactNode, + Ref, +} from "react"; +import OgmaLib, { Options as OgmaOptions, RawGraph } from "@linkurious/ogma"; +import { OgmaContext } from "./context"; + +interface OgmaProps { + options?: Partial; + onReady?: (ogma: OgmaLib) => void; + graph?: RawGraph; + children?: ReactNode; +} + +const defaultOptions = {}; + +/** + * Main component for the Ogma library. + */ +export const OgmaComponent = ( + { options = defaultOptions, children, graph, onReady }: OgmaProps, + ref?: Ref> +) => { + const [ready, setReady] = useState(false); + const [ogma, setOgma] = useState(); + const [container, setContainer] = useState(null); + const [graphData, setGraphData] = useState>(); + const [ogmaOptions, setOgmaOptions] = useState(defaultOptions); + + useImperativeHandle(ref, () => ogma as OgmaLib, [ogma]); + + useEffect(() => { + if (container) { + const instance = new OgmaLib({ + container, + graph, + options, + }); + + setOgma(instance); + setReady(true); + if (onReady) onReady(instance); + } + }, [setOgma, container]); + + // resize handler + useLayoutEffect(() => { + const updateSize = () => ogma?.view.forceResize(); + updateSize(); + + window.addEventListener("resize", updateSize); + return () => window.removeEventListener("resize", updateSize); + }, []); + + useEffect(() => { + if (ogma) { + if (graph && ogma && graph !== graphData) { + setGraphData(graph); + ogma.setGraph(graph); + } + if (options && ogmaOptions !== options) { + setOgmaOptions(options); + ogma.setOptions(options); + } + } + }, [graph, options]); + + return ( + +
setContainer(containerRef)} + > + {ready && children} +
+
+ ); +}; + +export const Ogma = forwardRef(OgmaComponent); diff --git a/src/overlay/canvas.tsx b/src/overlay/canvas.tsx new file mode 100644 index 0000000..7a28349 --- /dev/null +++ b/src/overlay/canvas.tsx @@ -0,0 +1,61 @@ +import { + useState, + useEffect, + useImperativeHandle, + forwardRef, + Ref, +} from "react"; +import { CanvasLayer as OgmaCanvasLayer } from "@linkurious/ogma"; +import { useOgma } from "../context"; + +interface CanvasLayerProps { + render: (ctx: CanvasRenderingContext2D) => void; + isStatic?: boolean; + noClear?: boolean; + index?: number; + visible?: boolean; +} + +const CanvasLayerComponent = ( + { + noClear = false, + isStatic = false, + render, + index, + visible, + }: CanvasLayerProps, + ref?: Ref +) => { + const ogma = useOgma(); + const [layer, setLayer] = useState(null); + + useImperativeHandle(ref, () => layer as OgmaCanvasLayer, [layer]); + + useEffect(() => { + const newLayer = ogma.layers.addCanvasLayer( + render, + { isStatic, noClear }, + index + ); + setLayer(newLayer); + + return () => { + if (newLayer) { + newLayer.destroy(); + setLayer(null); + } + }; + }, []); + + useEffect(() => { + if (layer) { + if (index !== undefined && isFinite(index)) layer.moveTo(index); + if (visible === layer.isHidden()) visible ? layer.show() : layer.hide(); + else layer.hide(); + } + }, [layer, index, visible]); + + return null; +}; + +export const CanvasLayer = forwardRef(CanvasLayerComponent); diff --git a/src/overlay/index.tsx b/src/overlay/index.tsx new file mode 100644 index 0000000..2b1eaa3 --- /dev/null +++ b/src/overlay/index.tsx @@ -0,0 +1,3 @@ +export * from "./popup"; +export * from "./tooltip"; +export * from "./canvas"; diff --git a/src/overlay/layer.tsx b/src/overlay/layer.tsx new file mode 100644 index 0000000..a96d0f6 --- /dev/null +++ b/src/overlay/layer.tsx @@ -0,0 +1,22 @@ +import React, { FC, useEffect } from "react"; +import { useOgma } from "../context"; + +export interface LayerProps { + id?: string; +} + +export const Layer: FC = ({ children }) => { + const ogma = useOgma(); + // unmount hook + useEffect(() => { + // events + + return () => { + // remove + }; + }, []); // eslint-disable-line react-hooks/exhaustive-deps + + // add to ogma/ + + return <>{children}; +}; diff --git a/src/overlay/popup.tsx b/src/overlay/popup.tsx new file mode 100644 index 0000000..e6d88d0 --- /dev/null +++ b/src/overlay/popup.tsx @@ -0,0 +1,138 @@ +import { + useEffect, + useState, + ReactNode, + ReactElement, + Ref, + forwardRef, + useImperativeHandle, +} from "react"; + +import OgmaLib, { Overlay, Size, Point } from "@linkurious/ogma"; +import { useOgma } from "../context"; +import { + getContent, + getPosition, + getContainerClass, + getCloseButton, +} from "./utils"; +import { noop } from "../utils"; +import { Placement } from "./types"; + +interface PopupProps { + content?: string | ReactElement; + position: Point | ((ogma: OgmaLib) => Point | null); + size?: Size; + isOpen?: boolean; + closeButton?: ReactNode | null; + onClose?: () => void; + placement?: Placement; + closeOnEsc?: boolean; + + popupClass?: string; + contentClass?: string; + popupBodyClass?: string; + closeButtonClass?: string; + + children?: ReactNode; +} + +const offScreenPos: Point = { x: -9999, y: -9999 }; + +// TODO: use props for these classes +const POPUP_CONTENT_CLASS = "ogma-popup--content"; +const POPUP_CLOSE_BUTTON_CLASS = "ogma-popup--close"; +const POPUP_BODY_CLASS = "ogma-popup--body"; +const POPUP_CLASS = "ogma-popup"; + +const PopupComponent = ( + { + content, + position, + children, + isOpen = true, + closeButton, + onClose = noop, + placement = "top", + popupClass = POPUP_CLASS, + closeButtonClass = POPUP_CLOSE_BUTTON_CLASS, + contentClass = POPUP_CONTENT_CLASS, + popupBodyClass = POPUP_BODY_CLASS, + size, + closeOnEsc = true, + }: PopupProps, + ref?: Ref +) => { + const ogma = useOgma(); + const [layer, setLayer] = useState(null); + + useImperativeHandle(ref, () => layer as Overlay); + + useEffect(() => { + // register listener + const pos = getPosition(position, ogma) || offScreenPos; + const html = getContent(ogma, pos, content, children); + + const popupLayer = ogma.layers.addOverlay({ + position: pos || offScreenPos, + element: `
+
+ ${getCloseButton(closeButton, closeButtonClass)} +
${html}
+
+
`, + size: size || ({ width: "auto", height: "auto" } as any as Size), + scaled: false, + }); + + const onClick = (evt: MouseEvent) => { + const closeButton = popupLayer.element.querySelector( + `.${closeButtonClass}` + ) as Element; + if (evt.target && closeButton.contains(evt.target as Node)) { + evt.stopPropagation(); + evt.preventDefault(); + onClose(); + } + }; + const onKeyDown = ({ code }: { code: number }) => { + if (code === 27) onClose(); + }; + if (closeOnEsc) ogma.events.on("keyup", onKeyDown); + popupLayer.element.addEventListener("click", onClick); + + setLayer(popupLayer); + if (!isOpen) popupLayer.hide(); + + return () => { + // unregister listener + if (layer) { + layer.element.removeEventListener("click", onClick); + ogma.events.off(onKeyDown); + layer.destroy(); + setLayer(null); + } + }; + }, []); + + useEffect(() => { + if (layer) { + const pos = getPosition(position, ogma) || offScreenPos; + const html = getContent(ogma, pos, content, children); + const { element } = layer; + element.className = getContainerClass(popupClass, placement); + element.querySelector(`.${popupBodyClass}`)!.innerHTML = ` + ${getCloseButton(closeButton, closeButtonClass)} +
${html}
`; + + layer.setPosition(pos); + + if (isOpen) layer.show(); + else layer.hide(); + } + }, [content, position, isOpen, placement]); + + return null; +}; + +export const Popup = forwardRef(PopupComponent); diff --git a/src/overlay/tooltip.tsx b/src/overlay/tooltip.tsx new file mode 100755 index 0000000..1d36a32 --- /dev/null +++ b/src/overlay/tooltip.tsx @@ -0,0 +1,109 @@ +import OgmaLib, { Point, Size, Overlay } from "@linkurious/ogma"; +import { + useEffect, + useState, + useRef, + ReactNode, + Ref, + useImperativeHandle, + forwardRef, +} from "react"; +import { useOgma } from "../context"; +import { Placement, Content } from "./types"; +import { + getAdjustedPlacement, + getContainerClass, + getContent, + getPosition, +} from "./utils"; + +type PositionGetter = (ogma: OgmaLib) => Point | null; + +interface TooltipProps { + id?: string; + position: Point | PositionGetter; + content?: Content; + size?: Size; + visible?: boolean; + placement?: Placement; + tooltipClass?: string; + + children?: ReactNode; +} + +const TooltipComponent = ( + { + tooltipClass = "ogma-tooltip", + placement = "right", + position, + size = { width: "auto", height: "auto" } as any as Size, + children, + content, + visible = true, + }: TooltipProps, + ref?: Ref +) => { + const ogma = useOgma(); + const [layer, setLayer] = useState(); + const [coords, setCoords] = useState(); + const [html, setHtml] = useState(""); + const [dimensions, setDimensions] = useState(); + const raf = useRef(); + + useImperativeHandle(ref, () => layer as Overlay, [layer]); + + // component is mounted + useEffect(() => { + const className = getContainerClass(tooltipClass, placement); + const wrapperHtml = `
`; + const newCoords = getPosition(position, ogma); + setCoords(newCoords); + const tooltip = ogma.layers.addOverlay({ + position: newCoords || { x: -9999, y: -9999 }, + element: wrapperHtml, + scaled: false, + size, + }); + setLayer(tooltip); + return () => { + tooltip.destroy(); + }; + }, []); + + // content or position has changed + useEffect(() => { + const newContent = getContent(ogma, coords!, content, children); + //console.log("re-render", newContent, getPosition(position, ogma)); + if (layer) { + if (newContent !== html) { + layer.element.firstElementChild!.innerHTML = newContent; + setHtml(newContent); + setDimensions({ + width: layer.element.offsetWidth, + height: layer.element.offsetHeight, + }); + } + const newCoords = getPosition(position, ogma); + if (coords !== newCoords) { + setCoords(newCoords); + } + if (visible) layer.show(); + else layer.hide(); + } + raf.current = requestAnimationFrame(() => { + if (layer && coords && dimensions) { + layer.element.className = getContainerClass( + tooltipClass, + getAdjustedPlacement(coords, placement, dimensions, ogma) + ); + layer.setPosition(coords); // throttledSetPosition(coords); + } + }); + + return () => cancelAnimationFrame(raf.current as number); + }, [children, content, position, visible]); + + return null; +}; + +export const Tooltip = forwardRef(TooltipComponent); diff --git a/src/overlay/types.ts b/src/overlay/types.ts new file mode 100644 index 0000000..f7e26bb --- /dev/null +++ b/src/overlay/types.ts @@ -0,0 +1,11 @@ +import { ReactElement } from "react"; +import OgmaLib, { Point } from "@linkurious/ogma"; + +export type Placement = "top" | "bottom" | "left" | "right" | "center"; + +export type PositionGetter = (ogma: OgmaLib) => Point | null; + +export type Content = + | string + | ReactElement + | ((ogma: OgmaLib, position: Point | null) => ReactElement); diff --git a/src/overlay/utils.ts b/src/overlay/utils.ts new file mode 100644 index 0000000..2561b1c --- /dev/null +++ b/src/overlay/utils.ts @@ -0,0 +1,65 @@ +import { ReactNode, ReactElement } from "react"; +import { renderToString } from "react-dom/server"; +import OgmaLib, { Point, Size } from "@linkurious/ogma"; +import { Content, PositionGetter, Placement } from "./types"; + +export function getContent( + ogma: OgmaLib, + position: Point, + content?: Content, + children?: ReactNode +): string { + if (typeof content === "string") return content; + else if (typeof content === "function") + return renderToString(content(ogma, position)); + return renderToString(children as any); +} + +export function getPosition(position: Point | PositionGetter, ogma: OgmaLib) { + if (typeof position === "function") return position(ogma); + return position; +} + +export const getContainerClass = (popupClass: string, placement: Placement) => + `${popupClass} ${popupClass}--${placement}`; + +export function getCloseButton( + closeButton: string | ReactNode | null = "×", + closeButtonClass: string +) { + if (closeButton) { + const closeButtonElement = + typeof closeButton === "string" + ? closeButton + : renderToString(closeButton as ReactElement); + return `
${closeButtonElement}
`; + } + return ""; +} + +export function getAdjustedPlacement( + coords: Point, + placement: Placement, + dimensions: Size, + ogma: OgmaLib +): Placement { + const { width: screenWidth, height: screenHeight } = ogma.view.getSize(); + const { x, y } = ogma.view.graphToScreenCoordinates(coords); + let res = placement; + const { width, height } = dimensions; + + if (placement === "left" && x - width < 0) res = "right"; + else if (placement === "right" && x + width > screenWidth) res = "left"; + else if (placement === "bottom" && y + height > screenHeight) res = "top"; + else if (placement === "top" && y - height < 0) res = "bottom"; + + if (res === "right" || res === "left") { + if (y + height / 2 > screenHeight) res = "top"; + else if (y - height / 2 < 0) res = "bottom"; + } else { + if (x + width / 2 > screenWidth) res = "left"; + else if (x - width / 2 < 0) res = "right"; + } + + return res; +} diff --git a/src/styles/edgeStyle.tsx b/src/styles/edgeStyle.tsx new file mode 100644 index 0000000..6ba5b43 --- /dev/null +++ b/src/styles/edgeStyle.tsx @@ -0,0 +1,43 @@ +import OgmaLib, { + EdgeSelector, + EdgeAttributesValue, + StyleRule, +} from "@linkurious/ogma"; +import { + useEffect, + useState, + Ref, + forwardRef, + useImperativeHandle, +} from "react"; +import { useOgma } from "../context"; + +interface EdgeRuleProps { + selector?: EdgeSelector; + attributes: EdgeAttributesValue; +} + +const EdgeStyleRuleComponent = ( + { selector, attributes }: EdgeRuleProps, + ref?: Ref> +) => { + const ogma = useOgma() as OgmaLib; + const [rule, setRule] = useState>(); + + useImperativeHandle(ref, () => rule as StyleRule, [rule]); + + useEffect(() => { + //if (rule) rule.destroy(); + const edgeRule = selector + ? ogma.styles.addEdgeRule(selector, attributes) + : ogma.styles.addEdgeRule(attributes); + setRule(edgeRule); + return () => { + edgeRule.destroy(); + setRule(undefined); + }; + }, [selector, attributes]); + return null; +}; + +export const EdgeStyleRule = forwardRef(EdgeStyleRuleComponent); diff --git a/src/styles/index.ts b/src/styles/index.ts new file mode 100644 index 0000000..9331f2e --- /dev/null +++ b/src/styles/index.ts @@ -0,0 +1,2 @@ +export * from "./nodeStyle"; +export * from "./edgeStyle"; diff --git a/src/styles/nodeStyle.tsx b/src/styles/nodeStyle.tsx new file mode 100644 index 0000000..e2df27b --- /dev/null +++ b/src/styles/nodeStyle.tsx @@ -0,0 +1,42 @@ +import OgmaLib, { + NodeSelector, + NodeAttributesValue, + StyleRule, +} from "@linkurious/ogma"; +import { + useEffect, + Ref, + forwardRef, + useState, + useImperativeHandle, +} from "react"; +import { useOgma } from "../context"; + +interface NodeRuleProps { + selector?: NodeSelector; + attributes: NodeAttributesValue; +} + +const NodeStyleRuleComponent = ( + { selector, attributes }: NodeRuleProps, + ref?: Ref> +) => { + const ogma = useOgma() as OgmaLib; + const [rule, setRule] = useState>(); + + useImperativeHandle(ref, () => rule as StyleRule, [rule]); + + useEffect(() => { + const nodeRule = selector + ? ogma.styles.addNodeRule(selector, attributes) + : ogma.styles.addNodeRule(attributes); + setRule(nodeRule); + return () => { + nodeRule.destroy(); + setRule(undefined); + }; + }, [selector, attributes]); + return null; +}; + +export const NodeStyleRule = forwardRef(NodeStyleRuleComponent); diff --git a/src/transformations/edgeGrouping.tsx b/src/transformations/edgeGrouping.tsx new file mode 100644 index 0000000..288bb47 --- /dev/null +++ b/src/transformations/edgeGrouping.tsx @@ -0,0 +1,46 @@ +import { + useEffect, + useState, + Ref, + useImperativeHandle, + forwardRef, +} from "react"; +import OgmaLib, { EdgeGroupingOptions, Transformation } from "@linkurious/ogma"; +import { useOgma } from "../context"; +import { EnabledState } from "./types"; +import { toggle } from "./utils"; + +interface EdgeGroupingProps + extends EdgeGroupingOptions, + EnabledState {} + +function EdgeGroupingComponent( + props: EdgeGroupingProps, + ref?: Ref> +) { + const ogma = useOgma() as OgmaLib; + const [transformation, setTransformation] = useState(); + + useImperativeHandle(ref, () => transformation as Transformation, [ + transformation, + ]); + + useEffect(() => { + const newTransformation = ogma.transformations.addEdgeGrouping(props); + setTransformation(newTransformation); + return () => { + newTransformation.destroy(); + setTransformation(undefined); + }; + }, []); + + useEffect(() => { + if (transformation) { + toggle(transformation, !!props.disabled, props.duration); + } + }, [props.disabled]); + + return null; +} + +export const EdgeGrouping = forwardRef(EdgeGroupingComponent); diff --git a/src/transformations/index.tsx b/src/transformations/index.tsx new file mode 100644 index 0000000..a366efb --- /dev/null +++ b/src/transformations/index.tsx @@ -0,0 +1,5 @@ +export * from "./nodeGrouping"; +export * from "./edgeGrouping"; +export * from "./nodeCollapsing"; +export * from "./neighborMerging"; +export * from "./neighborGeneration"; diff --git a/src/transformations/neighborGeneration.tsx b/src/transformations/neighborGeneration.tsx new file mode 100644 index 0000000..6a9b569 --- /dev/null +++ b/src/transformations/neighborGeneration.tsx @@ -0,0 +1,49 @@ +import { + useEffect, + useState, + Ref, + useImperativeHandle, + forwardRef, +} from "react"; +import OgmaLib, { + NeighborGenerationOptions, + Transformation, +} from "@linkurious/ogma"; +import { useOgma } from "../context"; +import { EnabledState } from "./types"; +import { toggle } from "./utils"; + +interface NeighborGenerationProps + extends NeighborGenerationOptions, + EnabledState {} + +function NeighborGenerationComponent( + props: NeighborGenerationProps, + ref: Ref> +) { + const ogma = useOgma() as OgmaLib; + const [transformation, setTransformation] = useState(); + + useImperativeHandle(ref, () => transformation as Transformation, [ + transformation, + ]); + + useEffect(() => { + const newTransformation = ogma.transformations.addNeighborGeneration(props); + setTransformation(newTransformation); + return () => { + newTransformation.destroy(); + setTransformation(undefined); + }; + }, []); + + useEffect(() => { + if (transformation) { + toggle(transformation, !!props.disabled, props.duration); + } + }, [props.disabled]); + + return null; +} + +export const NeighborGeneration = forwardRef(NeighborGenerationComponent); diff --git a/src/transformations/neighborMerging.tsx b/src/transformations/neighborMerging.tsx new file mode 100644 index 0000000..9aa429c --- /dev/null +++ b/src/transformations/neighborMerging.tsx @@ -0,0 +1,49 @@ +import { + useEffect, + useState, + Ref, + useImperativeHandle, + forwardRef, +} from "react"; +import OgmaLib, { + NeighborMergingOptions, + Transformation, +} from "@linkurious/ogma"; +import { useOgma } from "../context"; +import { EnabledState } from "./types"; +import { toggle } from "./utils"; + +interface NeighborMergingProps + extends NeighborMergingOptions, + EnabledState {} + +function NeighborMergingComponent( + props: NeighborMergingProps, + ref: Ref> +) { + const ogma = useOgma() as OgmaLib; + const [transformation, setTransformation] = useState(); + + useImperativeHandle(ref, () => transformation as Transformation, [ + transformation, + ]); + + useEffect(() => { + const newTransformation = ogma.transformations.addNeighborMerging(props); + setTransformation(newTransformation); + return () => { + newTransformation.destroy(); + setTransformation(undefined); + }; + }, []); + + useEffect(() => { + if (transformation) { + toggle(transformation, !!props.disabled, props.duration); + } + }, [props.disabled]); + + return null; +} + +export const NeighborMerging = forwardRef(NeighborMergingComponent); diff --git a/src/transformations/nodeCollapsing.tsx b/src/transformations/nodeCollapsing.tsx new file mode 100644 index 0000000..915e7e1 --- /dev/null +++ b/src/transformations/nodeCollapsing.tsx @@ -0,0 +1,50 @@ +import { + useEffect, + useState, + Ref, + useImperativeHandle, + forwardRef, +} from "react"; +import OgmaLib, { + NodeCollapsingOptions, + Transformation, +} from "@linkurious/ogma"; +import { useOgma } from "../context"; +import { EnabledState } from "./types"; +import { toggle } from "./utils"; + +interface NodeCollapsingProps + extends NodeCollapsingOptions, + EnabledState {} + +export function NodeCollapsingComponent( + props: NodeCollapsingProps, + ref: Ref> +) { + const ogma = useOgma() as OgmaLib; + const [transformation, setTransformation] = useState(); + + useImperativeHandle(ref, () => transformation as Transformation, [ + transformation, + ]); + + useEffect(() => { + const newTransformation = ogma.transformations.addNodeCollapsing(props); + setTransformation(newTransformation); + + return () => { + newTransformation.destroy(); + setTransformation(undefined); + }; + }, []); + + useEffect(() => { + if (transformation) { + toggle(transformation, !!props.disabled, props.duration); + } + }, [props.disabled]); + + return null; +} + +export const NodeCollapsing = forwardRef(NodeCollapsingComponent); diff --git a/src/transformations/nodeGrouping.tsx b/src/transformations/nodeGrouping.tsx new file mode 100644 index 0000000..7f734c8 --- /dev/null +++ b/src/transformations/nodeGrouping.tsx @@ -0,0 +1,48 @@ +import { + useEffect, + useState, + Ref, + useImperativeHandle, + forwardRef, +} from "react"; +import OgmaLib, { NodeGroupingOptions, Transformation } from "@linkurious/ogma"; +import { useOgma } from "../context"; +import { EnabledState } from "./types"; +import { toggle } from "./utils"; + +interface NodeGroupingProps + extends NodeGroupingOptions, + EnabledState {} + +function NodeGroupingComponent( + props: NodeGroupingProps, + ref?: Ref> +) { + const ogma = useOgma() as OgmaLib; + + const [transformation, setTransformation] = useState(); + + useImperativeHandle(ref, () => transformation as Transformation, [ + transformation, + ]); + + useEffect(() => { + const newTransformation = ogma.transformations.addNodeGrouping(props); + setTransformation(newTransformation); + + return () => { + newTransformation.destroy(); + setTransformation(undefined); + }; + }, []); + + useEffect(() => { + if (transformation) { + toggle(transformation, !!props.disabled, props.duration); + } + }, [props.disabled]); + + return null; +} + +export const NodeGrouping = forwardRef(NodeGroupingComponent); diff --git a/src/transformations/types.ts b/src/transformations/types.ts new file mode 100644 index 0000000..f711222 --- /dev/null +++ b/src/transformations/types.ts @@ -0,0 +1,3 @@ +export interface EnabledState { + disabled?: boolean; +} diff --git a/src/transformations/utils.ts b/src/transformations/utils.ts new file mode 100644 index 0000000..504ce81 --- /dev/null +++ b/src/transformations/utils.ts @@ -0,0 +1,12 @@ +import { Transformation } from "@linkurious/ogma"; + +export function toggle( + transformation: Transformation, + disabled: boolean, + duration?: number +) { + if (disabled === transformation.isEnabled()) { + if (disabled) transformation.disable(duration as number); + else transformation.enable(duration as number); + } +} diff --git a/src/utils.ts b/src/utils.ts new file mode 100644 index 0000000..177804c --- /dev/null +++ b/src/utils.ts @@ -0,0 +1 @@ +export function noop() {} diff --git a/src/uuid.ts b/src/uuid.ts new file mode 100755 index 0000000..39de135 --- /dev/null +++ b/src/uuid.ts @@ -0,0 +1,22 @@ +export function uuidv4() { + // Public Domain/MIT + var d = new Date().getTime(); //Timestamp + var d2 = + (typeof performance !== "undefined" && + performance.now && + performance.now() * 1000) || + 0; //Time in microseconds since page-load or 0 if unsupported + return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function (c) { + var r = Math.random() * 16; //random number between 0 and 16 + if (d > 0) { + //Use timestamp until depleted + r = (d + r) % 16 | 0; + d = Math.floor(d / 16); + } else { + //Use microseconds since page-load if supported + r = (d2 + r) % 16 | 0; + d2 = Math.floor(d2 / 16); + } + return (c === "x" ? r : (r & 0x3) | 0x8).toString(16); + }); +} diff --git a/test/fixtures/simple_graph.json b/test/fixtures/simple_graph.json new file mode 100644 index 0000000..342354d --- /dev/null +++ b/test/fixtures/simple_graph.json @@ -0,0 +1,11 @@ +{ + "nodes": [ + { "id": 0, "attributes": { "color": "blue", "x": 0, "y": 0 } }, + { "id": 1, "attributes": { "color": "cyan", "x": 25, "y": 0 } }, + { "id": 2, "attributes": { "color": "green", "x": 25, "y": 0 } } + ], + "edges": [ + { "id": 0, "source": 0, "target": 1 }, + { "id": 1, "source": 0, "target": 2 } + ] +} diff --git a/test/ogma.test.tsx b/test/ogma.test.tsx new file mode 100644 index 0000000..7711926 --- /dev/null +++ b/test/ogma.test.tsx @@ -0,0 +1,73 @@ +import React from "react"; +import { render } from "react-dom"; +import OgmaLib, { RawGraph } from "@linkurious/ogma"; +import { Ogma, useOgma } from "../src"; + +const graph: RawGraph = { + nodes: [ + { id: 0, attributes: { color: "red", x: 0, y: 0 } }, + { id: 1, attributes: { color: "green", x: 25, y: 0 } }, + { id: 2, attributes: { color: "green", x: 25, y: 0 } }, + ], + edges: [ + { source: 0, target: 1 }, + { source: 0, target: 2 }, + ], +}; + +describe("Ogma", () => { + let div: HTMLDivElement; + beforeEach(() => (div = document.createElement("div"))); + + it("Ogma container renders without crashing", () => { + render(, div); + }); + + it("Supports ref interface", () => { + const ref = React.createRef(); + render(, div); + expect(ref.current).toBeDefined(); + expect(ref.current).toBeInstanceOf(OgmaLib); + }); + + it("Ogma container renders with onReady callback", () => { + const onReady = jest.fn((ogma: OgmaLib) => ogma); + render(, div); + expect(onReady).toHaveBeenCalled(); + expect(onReady.mock.calls[0][0]).toBeInstanceOf(OgmaLib); + }); + + it("Ogma container renders and takes options", (done) => { + const backgroundColor = "red"; + const minimumWidth = 500; + const onReady = (ogma: OgmaLib) => { + const options = ogma.getOptions(); + expect(options.backgroundColor).toBe(backgroundColor); + expect(options.minimumWidth).toBe(minimumWidth); + done(); + }; + render( + , + div + ); + }); + + it("Ogma container passes the ogma instance to children", (done) => { + const Component = () => { + const ogma = useOgma(); + expect(ogma).toBeInstanceOf(OgmaLib); + done(); + return null; + }; + render( + + + , + div + ); + }); +}); diff --git a/test/popup.test.tsx b/test/popup.test.tsx new file mode 100644 index 0000000..e67afe3 --- /dev/null +++ b/test/popup.test.tsx @@ -0,0 +1,173 @@ +import React, { createRef } from "react"; +import { render } from "react-dom"; +import { Ogma, Popup } from "../src/"; +import { Overlay, Point } from "@linkurious/ogma"; +import graph from "./fixtures/simple_graph.json"; + +describe("Popup", () => { + let div: HTMLDivElement; + beforeEach(() => (div = document.createElement("div"))); + + it("should add popup", () => { + const text = "Custom popup text"; + render( + + +
{text}
+
+
, + div + ); + expect(div.querySelector(".ogma-popup")).toBeInstanceOf(HTMLElement); + expect(div.querySelector(".ogma-popup--close")).toBeDefined(); + expect(div.querySelector(".custom-child-div")).toBeInstanceOf(HTMLElement); + expect(div.querySelector(".custom-child-div")!.textContent).toBe(text); + }); + + it("should support positioning", () => { + let pos: Point; + render( + + { + const bbox = ogma.view.getGraphBoundingBox(); + pos = { x: bbox.cx, y: bbox.cy }; + return pos; + }} + > + Popup + + , + div + ); + expect( + (div.querySelector(".ogma-popup") as HTMLDivElement).style.transform + ).toContain(`translate(150px, 150px) rotate(0rad) translate(0px, 0px)`); + }); + + it("should support custom className", () => { + render( + + { + const bbox = ogma.view.getGraphBoundingBox(); + return { x: bbox.cx, y: bbox.cy }; + }} + > + Popup + + , + div + ); + expect(div.querySelector(".custom-class")).toBeInstanceOf(HTMLElement); + }); + + it("should support custom close button", () => { + render( + + { + const bbox = ogma.view.getGraphBoundingBox(); + return { x: bbox.cx, y: bbox.cy }; + }} + closeButton={X} + > + content + + , + div + ); + expect(div.querySelector(".custom-close-button")).toBeInstanceOf( + HTMLSpanElement + ); + }); + + it("should support custom bottom placement", () => { + render( + + { + const bbox = ogma.view.getGraphBoundingBox(); + return { x: bbox.cx, y: bbox.cy }; + }} + placement="bottom" + > + content + + , + div + ); + expect( + (div.querySelector(".ogma-popup") as HTMLDivElement).classList.contains( + "ogma-popup--bottom" + ) + ).toBe(true); + }); + + it("should support custom left placement", () => { + render( + + { + const bbox = ogma.view.getGraphBoundingBox(); + return { x: bbox.cx, y: bbox.cy }; + }} + placement="left" + > + content + + , + div + ); + expect( + (div.querySelector(".ogma-popup") as HTMLDivElement).classList.contains( + "ogma-popup--left" + ) + ).toBe(true); + }); + + it("should support custom right placement", () => { + render( + + { + const bbox = ogma.view.getGraphBoundingBox(); + return { x: bbox.cx, y: bbox.cy }; + }} + placement="right" + > + content + + , + div + ); + expect( + (div.querySelector(".ogma-popup") as HTMLDivElement).classList.contains( + "ogma-popup--right" + ) + ).toBe(true); + }); + + it("should support ref", () => { + const ref = createRef(); + render( + + { + const bbox = ogma.view.getGraphBoundingBox(); + return { x: bbox.cx, y: bbox.cy }; + }} + placement="right" + > + content + + , + div + ); + + expect(ref.current).toBeDefined(); + expect(ref.current!.hide).toBeDefined(); + }); +}); diff --git a/test/setup.ts b/test/setup.ts new file mode 100644 index 0000000..2542edd --- /dev/null +++ b/test/setup.ts @@ -0,0 +1 @@ +import "jsdom-global/register"; diff --git a/test/styles.test.tsx b/test/styles.test.tsx new file mode 100644 index 0000000..bc72f57 --- /dev/null +++ b/test/styles.test.tsx @@ -0,0 +1,147 @@ +import React from "react"; +import { render } from "react-dom"; +import { act } from "react-dom/test-utils"; +import OgmaLib from "@linkurious/ogma"; +import { Ogma, NodeStyleRule, EdgeStyleRule } from "../src"; +import graph from "./fixtures/simple_graph.json"; + +describe("styles", () => { + let div: HTMLDivElement; + beforeEach(() => (div = document.createElement("div"))); + + it("Node style component renders without crashing", () => { + render( + + + , + div + ); + }); + + it("Passes node attributes", (done) => { + const onReady = (ogma: OgmaLib) => { + ogma.view.afterNextFrame().then(() => { + expect(ogma.getNodes().getAttribute("color")).toStrictEqual([ + "red", + "red", + "red", + ]); + done(); + }); + }; + render( + + + , + div + ); + }); + + it("Uses selector for NodeStyle", (done) => { + const onReady = (ogma: OgmaLib) => { + ogma.view.afterNextFrame().then(() => { + expect(ogma.getNodes().getAttribute("color")).toStrictEqual([ + "red", + "red", + "green", + ]); + done(); + }); + }; + render( + + Number(node.getId()) < 2} + /> + , + div + ); + }); + + it("NodeStyle cleans up after being removed", () => { + const Test = ({ onReady }: { onReady: (ogma: OgmaLib) => void }) => { + const [style, setStyle] = React.useState(true); + return ( + + + {style && } + + ); + }; + let ogmaRef: OgmaLib; + act(() => { + render( (ogmaRef = ogma)} />, div); + }); + const button = div.querySelector("button") as HTMLButtonElement; + act(() => button.click()); + expect(ogmaRef!.styles.getNodeRules().length).toBe(0); + }); + + it("Edge style component renders without crashing", () => { + render( + + + , + div + ); + }); + + it("Passes edge attributes", (done) => { + const onReady = (ogma: OgmaLib) => { + ogma.view.afterNextFrame().then(() => { + expect(ogma.getEdges().getAttribute("color")).toStrictEqual([ + "red", + "red", + ]); + done(); + }); + }; + render( + + + , + div + ); + }); + + it("Uses selector for EdgeStyle", (done) => { + const onReady = (ogma: OgmaLib) => { + ogma.view.afterNextFrame().then(() => { + expect(ogma.getEdges().getAttribute("color")).toStrictEqual([ + "grey", + "green", + ]); + done(); + }); + }; + render( + + Number(edge.getId()) > 0} + /> + , + div + ); + }); + + it("EdgeStyle cleans up after being removed", () => { + const Test = ({ onReady }: { onReady: (ogma: OgmaLib) => void }) => { + const [style, setStyle] = React.useState(true); + return ( + + + {style && } + + ); + }; + let ogmaRef: OgmaLib; + act(() => { + render( (ogmaRef = ogma)} />, div); + }); + const button = div.querySelector("button") as HTMLButtonElement; + act(() => button.click()); + expect(ogmaRef!.styles.getEdgeRules().length).toBe(0); + }); +}); diff --git a/test/transformations/edgegrouping.test.tsx b/test/transformations/edgegrouping.test.tsx new file mode 100644 index 0000000..465740f --- /dev/null +++ b/test/transformations/edgegrouping.test.tsx @@ -0,0 +1,120 @@ +import React from "react"; +import { render } from "react-dom"; +import { act } from "react-dom/test-utils"; +import OgmaLib, { Transformation } from "@linkurious/ogma"; +import { Ogma, EdgeGrouping } from "../../src"; +import graph from "../fixtures/simple_graph.json"; + +describe("Edge grouping", () => { + let div: HTMLDivElement; + beforeEach(() => (div = document.createElement("div"))); + + it("Edge grouping component renders without crashing", () => { + render( + + edge.getId().toString()} /> + , + div + ); + }); + + it("should provide a transformation ref", () => { + const ref = React.createRef(); + render( + + node.getId().toString()} + /> + , + div + ); + expect(ref.current).toBeDefined(); + }); + + it("should group edges correctly", (done) => { + const ref = React.createRef(); + const graphWithDoubleEdge = { + ...graph, + edges: [ + ...graph.edges, + { + id: graph.edges.length + 1, + source: graph.edges[0].source, + target: graph.edges[0].target, + }, + ], + }; + render( + + + , + div + ); + ref.current?.view.afterNextFrame().then(() => { + expect(ref.current?.getEdges().size).toBe(2); + done(); + }); + }); + + it("should ungroup when the transformation is removed", (done) => { + const ogmaRef = React.createRef(); + const Test = () => { + const [grouped, setGrouped] = React.useState(true); + return ( + + + {grouped && } + + ); + }; + + act(() => { + render(, div); + }); + const button = div.querySelector("button") as HTMLButtonElement; + act(() => button.click()); + ogmaRef.current!.transformations.afterNextUpdate().then(() => { + expect(ogmaRef.current!.transformations.getList().length).toBe(0); + expect(ogmaRef.current!.getEdges().getId()).toStrictEqual([0, 1]); + done(); + }); + }); + + it("should ungroup when the transformation is disabled", () => { + const ogmaRef = React.createRef(); + const transformationRef = React.createRef(); + const graphWithDoubleEdge = { + ...graph, + edges: [ + ...graph.edges, + { + id: graph.edges.length + 1, + source: graph.edges[0].source, + target: graph.edges[0].target, + }, + ], + }; + const Test = () => { + const [grouped, setGrouped] = React.useState(true); + return ( + + + + + ); + }; + + act(() => { + render(, div); + }); + const button = div.querySelector("button") as HTMLButtonElement; + expect(ogmaRef.current!.transformations.getList().length).toBe(1); + expect(ogmaRef.current!.getEdges().size).toBe(3); + expect( + ogmaRef.current?.transformations.getList().map((t) => t.isEnabled()) + ).toStrictEqual([false]); + + act(() => button.click()); + }); +}); diff --git a/test/transformations/neighborgeneration.test.tsx b/test/transformations/neighborgeneration.test.tsx new file mode 100644 index 0000000..cfeff53 --- /dev/null +++ b/test/transformations/neighborgeneration.test.tsx @@ -0,0 +1,24 @@ +import React from "react"; +import { render } from "react-dom"; +// import { act } from "react-dom/test-utils"; +// import OgmaLib from "@linkurious/ogma"; +import { Ogma, NeighborGeneration } from "../../src"; +import graph from "../fixtures/simple_graph.json"; + +describe("styles", () => { + let div: HTMLDivElement; + beforeEach(() => (div = document.createElement("div"))); + + it("Neighbor generation component renders without crashing", () => { + render( + + node.getId() === "hidden"} + neighborIdFunction={(node) => node.getData("country")} + nodeGenerator={(country, _nodes) => ({ data: { type: country } })} + /> + , + div + ); + }); +}); diff --git a/test/transformations/neighbormerging.test.tsx b/test/transformations/neighbormerging.test.tsx new file mode 100644 index 0000000..633145d --- /dev/null +++ b/test/transformations/neighbormerging.test.tsx @@ -0,0 +1,23 @@ +import React from "react"; +import { render } from "react-dom"; +// import { act } from "react-dom/test-utils"; +// import OgmaLib from "@linkurious/ogma"; +import { Ogma, NeighborMerging } from "../../src"; +import graph from "../fixtures/simple_graph.json"; + +describe("styles", () => { + let div: HTMLDivElement; + beforeEach(() => (div = document.createElement("div"))); + + it("Neighbor merging component renders without crashing", () => { + render( + + node.getData("type") === "country"} + dataFunction={(node) => ({ country: node.getData("name") })} + /> + , + div + ); + }); +}); diff --git a/test/transformations/nodecollapsing.test.tsx b/test/transformations/nodecollapsing.test.tsx new file mode 100644 index 0000000..f5924bd --- /dev/null +++ b/test/transformations/nodecollapsing.test.tsx @@ -0,0 +1,23 @@ +import React from "react"; +import { render } from "react-dom"; +// import { act } from "react-dom/test-utils"; +// import OgmaLib from "@linkurious/ogma"; +import { Ogma, NodeCollapsing } from "../../src"; +import graph from "../fixtures/simple_graph.json"; + +describe("styles", () => { + let div: HTMLDivElement; + beforeEach(() => (div = document.createElement("div"))); + + it("Node collapsing component renders without crashing", () => { + render( + + node.getId() === "hidden"} + edgeGenerator={(_hiddenNode) => ({ data: { type: "mid" } })} + /> + , + div + ); + }); +}); diff --git a/test/transformations/nodegrouping.test.tsx b/test/transformations/nodegrouping.test.tsx new file mode 100644 index 0000000..2a2156b --- /dev/null +++ b/test/transformations/nodegrouping.test.tsx @@ -0,0 +1,111 @@ +import React from "react"; +import { render } from "react-dom"; +import { act } from "react-dom/test-utils"; +import OgmaLib, { Transformation } from "@linkurious/ogma"; +import { Ogma, NodeGrouping } from "../../src"; +import graph from "../fixtures/simple_graph.json"; + +describe("Node grouping", () => { + let div: HTMLDivElement; + beforeEach(() => (div = document.createElement("div"))); + + it("Node grouping component renders without crashing", () => { + render( + + node.getId().toString()} /> + , + div + ); + }); + + it("should provide a transformation ref", () => { + const ref = React.createRef(); + render( + + node.getId().toString()} + /> + , + div + ); + expect(ref.current).toBeDefined(); + }); + + it("should group nodes correctly", (done) => { + const ref = React.createRef(); + render( + + (node.getId() > 0 ? "grouped" : undefined)} + /> + , + div + ); + ref.current?.view.afterNextFrame().then(() => { + expect(ref.current?.getNodes().size).toBe(2); + done(); + }); + }); + + it("should ungroup when the transformation is removed", (done) => { + const ogmaRef = React.createRef(); + const Test = () => { + const [grouped, setGrouped] = React.useState(true); + return ( + + + {grouped && ( + + node.getId() > 0 ? "grouped" : undefined + } + /> + )} + + ); + }; + + act(() => { + render(, div); + }); + const button = div.querySelector("button") as HTMLButtonElement; + act(() => button.click()); + ogmaRef.current!.transformations.afterNextUpdate().then(() => { + expect(ogmaRef.current!.transformations.getList().length).toBe(0); + done(); + }); + }); + + it("should ungroup when the transformation is disabled", () => { + const ogmaRef = React.createRef(); + const transformationRef = React.createRef(); + const Test = () => { + const [grouped, setGrouped] = React.useState(true); + return ( + + + + node.getId() > 0 ? "grouped" : undefined + } + /> + + ); + }; + + act(() => { + render(, div); + }); + const button = div.querySelector("button") as HTMLButtonElement; + expect(ogmaRef.current!.transformations.getList().length).toBe(1); + expect(ogmaRef.current!.getNodes().size).toBe(3); + expect( + ogmaRef.current?.transformations.getList().map((t) => t.isEnabled()) + ).toStrictEqual([false]); + + act(() => button.click()); + }); +}); diff --git a/tsconfig.json b/tsconfig.json new file mode 100755 index 0000000..f30149c --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,38 @@ +{ + "compilerOptions": { + "target": "es2016", + "moduleResolution": "node", + "allowJs": true, + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "sourceMap": true, + "resolveJsonModule": true, + + "declaration": true, + "declarationMap": true, + "strict": true, + "noImplicitAny": true /* Raise error on expressions and declarations with an implied 'any' type. */, + "strictNullChecks": true /* Enable strict null checks. */, + "strictFunctionTypes": true /* Enable strict checking of function types. */, + "noUnusedLocals": true /* Report errors on unused locals. */, + "noUnusedParameters": true /* Report errors on unused parameters. */, + "noImplicitReturns": true /* Report error when not all code paths in function return a value. */, + "noFallthroughCasesInSwitch": true /* Report errors for fallthrough cases in switch statement. */, + "importHelpers": true, + "skipLibCheck": true, + + "jsx": "react", + + "outDir": "./dist/", + "types": ["node", "jest"], + "lib": ["ES6", "DOM"] + }, + "include": [ + "src/**/*.ts", + "src/**/*.tsx", + "next-env.d.ts", + "**/*.ts", + "**/*.tsx" + ], + "exclude": ["node_modules"] +} diff --git a/web/.gitignore b/web/.gitignore new file mode 100644 index 0000000..4d29575 --- /dev/null +++ b/web/.gitignore @@ -0,0 +1,23 @@ +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +/node_modules +/.pnp +.pnp.js + +# testing +/coverage + +# production +/build + +# misc +.DS_Store +.env.local +.env.development.local +.env.test.local +.env.production.local + +npm-debug.log* +yarn-debug.log* +yarn-error.log* diff --git a/web/data.json b/web/data.json new file mode 100644 index 0000000..4b264c8 --- /dev/null +++ b/web/data.json @@ -0,0 +1,938 @@ +{ + "nodes": [ + { + "id": 8666, + "attributes": { + "x": 25.858288814166933, + "y": -7.103984513542148, + "color": "grey", + "radius": 5, + "shape": "circle", + "text": "Elon Musk" + }, + "data": { + "properties": { + "name": "Elon Musk", + "permalink": "/person/elon-musk", + "url": "http://www.crunchbase.com/person/elon-musk", + "picture": "img/musk.jpg" + }, + "categories": ["INVESTOR"] + } + }, + { + "id": 6870, + "attributes": { + "x": 0.09298533946275711, + "y": 0.41120362281799316, + "color": "#f35371", + "radius": 10, + "shape": "circle", + "text": "SolarCity" + }, + "data": { + "properties": { + "name": "SolarCity", + "permalink": "/organization/solarcity", + "founded_at": "01/01/2006", + "first_funding_at": "15/09/2006", + "market": " Construction ", + "founded_quarter": "2006-Q1", + "founded_year": 2006, + "state": "CA", + "url": "http://www.crunchbase.com/organization/solarcity", + "country": "USA", + "homepage_url": "http://www.solarcity.com", + "logo": "http://www.crunchbase.com/organization/solarcity/primary-image/raw", + "founded_month": "2006-01", + "funding_rounds": 13, + "status": "operating", + "funding_total": 1045040000, + "region": "SF Bay Area", + "category": "|Construction|Clean Technology|", + "last_funding_at": "18/06/2013" + }, + "categories": ["COMPANY", "INVESTOR"] + } + }, + { + "id": 7396, + "attributes": { + "x": 85.876122673705, + "y": -21.207117111759345, + "color": "#cd476a", + "radius": 8.833333333333334, + "shape": "circle", + "text": "Tesla Motors" + }, + "data": { + "properties": { + "name": "Tesla Motors", + "permalink": "/organization/tesla-motors", + "founded_at": "01/01/2003", + "first_funding_at": "01/04/2004", + "market": " Automotive ", + "founded_quarter": "2003-Q1", + "founded_year": 2003, + "state": "CA", + "url": "http://www.crunchbase.com/organization/tesla-motors", + "country": "USA", + "homepage_url": "http://www.teslamotors.com", + "logo": "http://www.crunchbase.com/organization/tesla-motors/primary-image/raw", + "founded_month": "2003-01", + "funding_rounds": 11, + "status": "operating", + "funding_total": 823000000, + "region": "SF Bay Area", + "category": "|Automotive|", + "last_funding_at": "10/10/2012", + "latitude": 49.2677, + "longitude": -123.1418 + }, + "categories": ["COMPANY"] + } + }, + { + "id": 2982, + "attributes": { + "x": -27.6874947092224, + "y": -21.207117111759345, + "color": "#632654", + "radius": 5.333333333333334, + "shape": "circle", + "text": "First Solar" + }, + "data": { + "properties": { + "name": "First Solar", + "permalink": "/organization/first-solar", + "founded_at": "01/01/1999", + "first_funding_at": "18/06/2013", + "market": " Semiconductors ", + "founded_quarter": "1999-Q1", + "founded_year": 1999, + "state": "AZ", + "url": "http://www.crunchbase.com/organization/first-solar", + "country": "USA", + "homepage_url": "http://www.firstsolar.com", + "logo": "http://www.crunchbase.com/organization/first-solar/primary-image/raw", + "founded_month": "1999-01", + "funding_rounds": 1, + "status": "operating", + "funding_total": 427700000, + "region": "Phoenix", + "category": "|Semiconductors|Clean Technology|", + "last_funding_at": "18/06/2013", + "latitude": 39.2677, + "longitude": -113.1418 + }, + "categories": ["COMPANY", "INVESTOR"] + } + }, + { + "id": 3388, + "attributes": { + "x": 17.30193137441551, + "y": -22.990838850758205, + "color": "#161344", + "radius": 3, + "shape": "circle", + "text": "Google" + }, + "data": { + "properties": { + "name": "Google", + "permalink": "/organization/google", + "founded_at": "07/09/1998", + "first_funding_at": "01/08/1998", + "market": " Software ", + "founded_quarter": "1998-Q3", + "founded_year": 1998, + "state": "CA", + "url": "http://www.crunchbase.com/organization/google", + "country": "USA", + "homepage_url": "https://www.google.com", + "logo": "http://www.crunchbase.com/organization/google/primary-image/raw", + "founded_month": "1998-09", + "funding_rounds": 2, + "status": "operating", + "funding_total": 25100000, + "region": "SF Bay Area", + "category": "|Software|Video Streaming|Information Technology|Blogging Platforms|Email|Search|", + "last_funding_at": "07/06/1999", + "latitude": 37.422131, + "longitude": -122.084801 + }, + "categories": ["COMPANY"] + } + }, + { + "id": 8372, + "attributes": { + "x": -30.065790361220877, + "y": -2.3789432001047315, + "color": "#161344", + "radius": 3, + "shape": "circle", + "text": "Zep Solar" + }, + "data": { + "properties": { + "name": "Zep Solar", + "permalink": "/organization/zep-solar", + "founded_at": "01/01/2009", + "first_funding_at": "20/11/2013", + "market": " Clean Technology ", + "founded_quarter": "2009-Q1", + "founded_year": 2009, + "state": "CA", + "url": "http://www.crunchbase.com/organization/zep-solar", + "country": "USA", + "homepage_url": "http://www.zepsolar.com", + "logo": "http://www.crunchbase.com/organization/zep-solar/primary-image/raw", + "founded_month": "2009-01", + "funding_rounds": 1, + "status": "acquired", + "funding_total": 10571182, + "region": "SF Bay Area", + "category": "|Renewable Energies|Solar|Clean Technology|", + "last_funding_at": "20/11/2013", + "latitude": 29.2677, + "longitude": -83.1418 + }, + "categories": ["COMPANY"] + } + }, + { + "id": 8609, + "attributes": { + "x": 40.886696590067096, + "y": 13.674552450884995, + "color": "grey", + "radius": 5, + "shape": "circle", + "text": "Draper Fisher Jurvetson (DFJ)" + }, + "data": { + "properties": { + "name": "Draper Fisher Jurvetson (DFJ)", + "permalink": "/organization/draper-fisher-jurvetson", + "market": "Venture Capital", + "state": "CA", + "url": "http://www.crunchbase.com/organization/draper-fisher-jurvetson", + "country": "USA", + "region": "SF Bay Area", + "category": "|Venture Capital|", + "city": "Menlo Park", + "latitude": 37.27, + "longitude": -122.11 + }, + "categories": ["INVESTOR"] + } + }, + { + "id": 9209, + "attributes": { + "x": 2.2393922450918033, + "y": -46.971986675076195, + "color": "grey", + "radius": 5, + "shape": "circle", + "text": "Valor Equity Partners" + }, + "data": { + "properties": { + "name": "Valor Equity Partners", + "permalink": "/organization/valor-equity-partners", + "state": "IL", + "url": "http://www.crunchbase.com/organization/valor-equity-partners", + "country": "USA", + "region": "Chicago", + "city": "Chicago", + "latitude": 41.88, + "longitude": -87.37 + }, + "categories": ["INVESTOR"] + } + }, + { + "id": 9967, + "attributes": { + "x": 56.34561832805721, + "y": 33.890065492872054, + "color": "grey", + "radius": 5, + "shape": "circle", + "text": "DFJ Growth" + }, + "data": { + "properties": { + "name": "DFJ Growth", + "permalink": "/organization/dfj-growth", + "market": "Entrepreneur", + "state": "CA", + "url": "http://www.crunchbase.com/organization/dfj-growth", + "country": "USA", + "region": "SF Bay Area", + "category": "|Entrepreneur|", + "city": "Menlo Park", + "latitude": 41.88, + "longitude": -87.37 + }, + "categories": ["INVESTOR"] + } + }, + { + "id": 10229, + "attributes": { + "x": -24.912816448557507, + "y": 16.845613320216298, + "color": "grey", + "radius": 5, + "shape": "circle", + "text": "U.S. Bancorp" + }, + "data": { + "properties": { + "name": "U.S. Bancorp", + "permalink": "/organization/u-s-bancorp", + "market": "Financial Services", + "state": "MN", + "url": "http://www.crunchbase.com/organization/u-s-bancorp", + "country": "USA", + "region": "Minneapolis", + "category": "|Investment Management|Banking|Financial Services|", + "city": "Minneapolis", + "latitude": 44.9778, + "longitude": -93.265 + }, + "categories": ["INVESTOR"] + } + }, + { + "id": 124, + "attributes": { + "x": -61.38001644586753, + "y": 2.179456799559018, + "color": "grey", + "radius": 5, + "shape": "circle", + "text": " Clean Technology " + }, + "data": { + "properties": { "name": " Clean Technology " }, + "categories": ["MARKET"] + } + }, + { + "id": 6866, + "attributes": { + "x": -59.99267731553508, + "y": 25.962413319543796, + "color": "#3f1c4c", + "radius": 4.166666666666667, + "shape": "circle", + "text": "Solar Power Partners" + }, + "data": { + "properties": { + "name": "Solar Power Partners", + "permalink": "/organization/solar-power-partners", + "founded_at": "01/01/2006", + "first_funding_at": "18/09/2007", + "market": " Clean Technology ", + "founded_quarter": "2006-Q1", + "founded_year": 2006, + "state": "CA", + "url": "http://www.crunchbase.com/organization/solar-power-partners", + "country": "USA", + "homepage_url": "http://www.solarpowerpartners.com", + "logo": "http://www.crunchbase.com/organization/solar-power-partners/primary-image/raw", + "founded_month": "2006-01", + "funding_rounds": 4, + "status": "acquired", + "funding_total": 253000000, + "region": "SF Bay Area", + "category": "|Clean Technology|", + "last_funding_at": "27/04/2010" + }, + "categories": ["COMPANY"] + } + }, + { + "id": 7163, + "attributes": { + "x": -26.69653818755637, + "y": 46.17792636153085, + "color": "#86315b", + "radius": 6.5, + "shape": "circle", + "text": "Sunrun" + }, + "data": { + "properties": { + "name": "Sunrun", + "permalink": "/organization/sunrun", + "founded_at": "01/01/2007", + "first_funding_at": "20/06/2008", + "market": " Solar ", + "founded_quarter": "2007-Q1", + "founded_year": 2007, + "state": "CA", + "url": "http://www.crunchbase.com/organization/sunrun", + "country": "USA", + "homepage_url": "http://www.sunrun.com", + "logo": "http://www.crunchbase.com/organization/sunrun/primary-image/raw", + "founded_month": "2007-01", + "funding_rounds": 9, + "status": "operating", + "funding_total": 486600000, + "region": "SF Bay Area", + "category": "|Clean Energy|Residential Solar|Solar|Clean Technology|", + "last_funding_at": "01/09/2014" + }, + "categories": ["COMPANY"] + } + }, + { + "id": 5418, + "attributes": { + "x": -60.587251228534704, + "y": -24.972751894090273, + "color": "#161344", + "radius": 3, + "shape": "circle", + "text": "OptiSolar R&D" + }, + "data": { + "properties": { + "name": "OptiSolar R&D", + "permalink": "/organization/optisolar", + "founded_at": "01/01/2002", + "first_funding_at": "11/04/2008", + "market": " Clean Technology ", + "founded_quarter": "2002-Q1", + "founded_year": 2002, + "state": "CA", + "url": "http://www.crunchbase.com/organization/optisolar", + "country": "USA", + "homepage_url": "http://www.optisolar.com", + "logo": "http://www.crunchbase.com/organization/optisolar/primary-image/raw", + "founded_month": "2002-01", + "funding_rounds": 1, + "status": "acquired", + "funding_total": 132000000, + "region": "SF Bay Area", + "category": "|Manufacturing|Solar|Clean Technology|", + "last_funding_at": "11/04/2008" + }, + "categories": ["COMPANY"] + } + } + ], + "edges": [ + { + "id": 13337, + "source": 8372, + "target": 124, + "attributes": { "color": "grey", "width": 1, "text": "HAS_MARKET" }, + "data": { "type": "HAS_MARKET" } + }, + { + "id": 13867, + "source": 8666, + "target": 7396, + "attributes": { "color": "#132b43", "width": 1, "text": "INVESTED_IN" }, + "data": { + "properties": { + "permalink": "/funding-round/3509cccde65780f038402c23df4132c3", + "funded_month": "2004-04", + "funded_quarter": "2004-Q2", + "funded_year": 2004, + "funded_at": "01/04/2004", + "funding_round_type": "venture", + "funding_round_code": "A", + "raised_amount_usd": 7500000 + }, + "type": "INVESTED_IN" + } + }, + { + "id": 14162, + "source": 9209, + "target": 7396, + "attributes": { "color": "#132b43", "width": 1, "text": "INVESTED_IN" }, + "data": { + "properties": { + "permalink": "/funding-round/ee3faaa92354502d4cffb0cd602c35f8", + "funded_month": "2005-02", + "funded_quarter": "2005-Q1", + "funded_year": 2005, + "funded_at": "01/02/2005", + "funding_round_type": "venture", + "funding_round_code": "B", + "raised_amount_usd": 13000000 + }, + "type": "INVESTED_IN" + } + }, + { + "id": 14166, + "source": 8666, + "target": 7396, + "attributes": { "color": "#132b43", "width": 1, "text": "INVESTED_IN" }, + "data": { + "properties": { + "permalink": "/funding-round/ee3faaa92354502d4cffb0cd602c35f8", + "funded_month": "2005-02", + "funded_quarter": "2005-Q1", + "funded_year": 2005, + "funded_at": "01/02/2005", + "funding_round_type": "venture", + "funding_round_code": "B", + "raised_amount_usd": 13000000 + }, + "type": "INVESTED_IN" + } + }, + { + "id": 15872, + "source": 8609, + "target": 7396, + "attributes": { "color": "#132b43", "width": 1, "text": "INVESTED_IN" }, + "data": { + "properties": { + "permalink": "/funding-round/ced5cae2e3eaa45a855906a8ded3c176", + "funded_month": "2006-05", + "funded_quarter": "2006-Q2", + "funded_year": 2006, + "funded_at": "01/05/2006", + "funding_round_type": "venture", + "funding_round_code": "C", + "raised_amount_usd": 40000000 + }, + "type": "INVESTED_IN" + } + }, + { + "id": 15880, + "source": 3388, + "target": 7396, + "attributes": { "color": "#132b43", "width": 1, "text": "INVESTED_IN" }, + "data": { + "properties": { + "permalink": "/funding-round/ced5cae2e3eaa45a855906a8ded3c176", + "funded_month": "2006-05", + "funded_quarter": "2006-Q2", + "funded_year": 2006, + "funded_at": "01/05/2006", + "funding_round_type": "venture", + "funding_round_code": "C", + "raised_amount_usd": 40000000 + }, + "type": "INVESTED_IN" + } + }, + { + "id": 15894, + "source": 9209, + "target": 7396, + "attributes": { "color": "#132b43", "width": 1, "text": "INVESTED_IN" }, + "data": { + "properties": { + "permalink": "/funding-round/ced5cae2e3eaa45a855906a8ded3c176", + "funded_month": "2006-05", + "funded_quarter": "2006-Q2", + "funded_year": 2006, + "funded_at": "01/05/2006", + "funding_round_type": "venture", + "funding_round_code": "C", + "raised_amount_usd": 40000000 + }, + "type": "INVESTED_IN" + } + }, + { + "id": 15902, + "source": 8666, + "target": 7396, + "attributes": { "color": "#132b43", "width": 1, "text": "INVESTED_IN" }, + "data": { + "properties": { + "permalink": "/funding-round/ced5cae2e3eaa45a855906a8ded3c176", + "funded_month": "2006-05", + "funded_quarter": "2006-Q2", + "funded_year": 2006, + "funded_at": "01/05/2006", + "funding_round_type": "venture", + "funding_round_code": "C", + "raised_amount_usd": 40000000 + }, + "type": "INVESTED_IN" + } + }, + { + "id": 16539, + "source": 9967, + "target": 6870, + "attributes": { "color": "#132b43", "width": 1, "text": "INVESTED_IN" }, + "data": { + "properties": { + "permalink": "/funding-round/2b54de2cc89a2f88e491d7261d47a132", + "funded_month": "2006-09", + "funded_quarter": "2006-Q3", + "funded_year": 2006, + "funded_at": "15/09/2006", + "funding_round_type": "venture", + "raised_amount_usd": 10000000 + }, + "type": "INVESTED_IN" + } + }, + { + "id": 16542, + "source": 8666, + "target": 6870, + "attributes": { "color": "#132b43", "width": 1, "text": "INVESTED_IN" }, + "data": { + "properties": { + "permalink": "/funding-round/2b54de2cc89a2f88e491d7261d47a132", + "funded_month": "2006-09", + "funded_quarter": "2006-Q3", + "funded_year": 2006, + "funded_at": "15/09/2006", + "funding_round_type": "venture", + "raised_amount_usd": 10000000 + }, + "type": "INVESTED_IN" + } + }, + { + "id": 17825, + "source": 8609, + "target": 7396, + "attributes": { "color": "#132b43", "width": 1, "text": "INVESTED_IN" }, + "data": { + "properties": { + "permalink": "/funding-round/58befe24f37e5202a2459fbb2b0b4292", + "funded_month": "2007-05", + "funded_quarter": "2007-Q2", + "funded_year": 2007, + "funded_at": "01/05/2007", + "funding_round_type": "venture", + "funding_round_code": "D", + "raised_amount_usd": 45000000 + }, + "type": "INVESTED_IN" + } + }, + { + "id": 17855, + "source": 9209, + "target": 7396, + "attributes": { "color": "#132b43", "width": 1, "text": "INVESTED_IN" }, + "data": { + "properties": { + "permalink": "/funding-round/58befe24f37e5202a2459fbb2b0b4292", + "funded_month": "2007-05", + "funded_quarter": "2007-Q2", + "funded_year": 2007, + "funded_at": "01/05/2007", + "funding_round_type": "venture", + "funding_round_code": "D", + "raised_amount_usd": 45000000 + }, + "type": "INVESTED_IN" + } + }, + { + "id": 17863, + "source": 8666, + "target": 7396, + "attributes": { "color": "#132b43", "width": 1, "text": "INVESTED_IN" }, + "data": { + "properties": { + "permalink": "/funding-round/58befe24f37e5202a2459fbb2b0b4292", + "funded_month": "2007-05", + "funded_quarter": "2007-Q2", + "funded_year": 2007, + "funded_at": "01/05/2007", + "funding_round_type": "venture", + "funding_round_code": "D", + "raised_amount_usd": 45000000 + }, + "type": "INVESTED_IN" + } + }, + { + "id": 19654, + "source": 8666, + "target": 7396, + "attributes": { "color": "#132b43", "width": 1, "text": "INVESTED_IN" }, + "data": { + "properties": { + "permalink": "/funding-round/f87a758df44c70ae7a8b63ed120cc5f5", + "funded_month": "2008-02", + "funded_quarter": "2008-Q1", + "funded_year": 2008, + "funded_at": "08/02/2008", + "funding_round_type": "venture", + "funding_round_code": "E", + "raised_amount_usd": 40000000 + }, + "type": "INVESTED_IN" + } + }, + { + "id": 21109, + "source": 8609, + "target": 6870, + "attributes": { "color": "#132b43", "width": 1, "text": "INVESTED_IN" }, + "data": { + "properties": { + "permalink": "/funding-round/d4c07cd9dea278ca2bbf1d208cd52094", + "funded_month": "2008-10", + "funded_quarter": "2008-Q4", + "funded_year": 2008, + "funded_at": "30/10/2008", + "funding_round_type": "venture", + "funding_round_code": "D", + "raised_amount_usd": 30000000 + }, + "type": "INVESTED_IN" + } + }, + { + "id": 21110, + "source": 2982, + "target": 6870, + "attributes": { "color": "#132b43", "width": 1, "text": "INVESTED_IN" }, + "data": { + "properties": { + "permalink": "/funding-round/d4c07cd9dea278ca2bbf1d208cd52094", + "funded_month": "2008-10", + "funded_quarter": "2008-Q4", + "funded_year": 2008, + "funded_at": "30/10/2008", + "funding_round_type": "venture", + "funding_round_code": "D", + "raised_amount_usd": 30000000 + }, + "type": "INVESTED_IN" + } + }, + { + "id": 22096, + "source": 9967, + "target": 7396, + "attributes": { "color": "#132b43", "width": 1, "text": "INVESTED_IN" }, + "data": { + "properties": { + "permalink": "/funding-round/5a5a9348b63a488cdddbb8a6575011cf", + "funded_month": "2009-05", + "funded_quarter": "2009-Q2", + "funded_year": 2009, + "funded_at": "19/05/2009", + "funding_round_type": "venture", + "funding_round_code": "F", + "raised_amount_usd": 50000000 + }, + "type": "INVESTED_IN" + } + }, + { + "id": 23883, + "source": 8609, + "target": 6870, + "attributes": { "color": "#132b43", "width": 1, "text": "INVESTED_IN" }, + "data": { + "properties": { + "permalink": "/funding-round/16be99d5a6d00fa4b96ad491f2c77a6b", + "funded_month": "2010-01", + "funded_quarter": "2010-Q1", + "funded_year": 2010, + "funded_at": "25/01/2010", + "funding_round_type": "venture", + "funding_round_code": "E", + "raised_amount_usd": 24000000 + }, + "type": "INVESTED_IN" + } + }, + { + "id": 25044, + "source": 8609, + "target": 6870, + "attributes": { "color": "#132b43", "width": 1, "text": "INVESTED_IN" }, + "data": { + "properties": { + "permalink": "/funding-round/4e78a6ae11fc590f15aa8c46c044d6c8", + "funded_month": "2010-07", + "funded_quarter": "2010-Q3", + "funded_year": 2010, + "funded_at": "14/07/2010", + "funding_round_type": "private_equity", + "raised_amount_usd": 21500000 + }, + "type": "INVESTED_IN" + } + }, + { + "id": 28176, + "source": 3388, + "target": 6870, + "attributes": { "color": "#54aef3", "width": 5, "text": "INVESTED_IN" }, + "data": { + "properties": { + "permalink": "/funding-round/519d19ee82f49c43ca377a2f359f5da6", + "funded_month": "2011-06", + "funded_quarter": "2011-Q2", + "funded_year": 2011, + "funded_at": "14/06/2011", + "funding_round_type": "private_equity", + "raised_amount_usd": 280000000 + }, + "type": "INVESTED_IN" + } + }, + { + "id": 30380, + "source": 9209, + "target": 6870, + "attributes": { "color": "#132b43", "width": 1, "text": "INVESTED_IN" }, + "data": { + "properties": { + "permalink": "/funding-round/d38d9c2ff343a584a705f085b04d7749", + "funded_month": "2012-01", + "funded_quarter": "2012-Q1", + "funded_year": 2012, + "funded_at": "01/01/2012", + "funding_round_type": "private_equity", + "raised_amount_usd": 66000000 + }, + "type": "INVESTED_IN" + } + }, + { + "id": 31066, + "source": 9209, + "target": 6870, + "attributes": { "color": "#132b43", "width": 1, "text": "INVESTED_IN" }, + "data": { + "properties": { + "permalink": "/funding-round/3aff9d7ae2c80037e00ea6a6eb4ca1f8", + "funded_month": "2012-02", + "funded_quarter": "2012-Q1", + "funded_year": 2012, + "funded_at": "29/02/2012", + "funding_round_type": "private_equity", + "raised_amount_usd": 81000000 + }, + "type": "INVESTED_IN" + } + }, + { + "id": 32532, + "source": 10229, + "target": 6870, + "attributes": { "color": "#54aef3", "width": 5, "text": "INVESTED_IN" }, + "data": { + "properties": { + "permalink": "/funding-round/d549901c2adc09017bcd433cbeace96c", + "funded_month": "2012-06", + "funded_quarter": "2012-Q2", + "funded_year": 2012, + "funded_at": "14/06/2012", + "funding_round_type": "private_equity", + "raised_amount_usd": 250000000 + }, + "type": "INVESTED_IN" + } + }, + { + "id": 47078, + "source": 6870, + "target": 8372, + "attributes": { "color": "grey", "width": 1, "text": "ACQUIRED" }, + "data": { + "properties": { + "acquisition_date": "09/10/2013", + "year": "2013", + "quarter": "2013-Q4", + "currency": "USD", + "month": "2013-10", + "price_amount": 158000000 + }, + "type": "ACQUIRED" + } + }, + { + "id": 12100, + "source": 6866, + "target": 124, + "attributes": { "color": "grey", "width": 1, "text": "HAS_MARKET" }, + "data": { "type": "HAS_MARKET" } + }, + { + "id": 23445, + "source": 10229, + "target": 7163, + "attributes": { "color": "#132b43", "width": 1, "text": "INVESTED_IN" }, + "data": { + "properties": { + "permalink": "/funding-round/11d587bca7dc8bb2ccce0394cede3a2e", + "funded_month": "2009-12", + "funded_quarter": "2009-Q4", + "funded_year": 2009, + "funded_at": "15/12/2009", + "funding_round_type": "debt_financing", + "raised_amount_usd": 90000000 + }, + "type": "INVESTED_IN" + } + }, + { + "id": 24428, + "source": 10229, + "target": 6866, + "attributes": { "color": "#326896", "width": 3, "text": "INVESTED_IN" }, + "data": { + "properties": { + "permalink": "/funding-round/bed3d41fcc95dac86db69bab58c4e524", + "funded_month": "2010-04", + "funded_quarter": "2010-Q2", + "funded_year": 2010, + "funded_at": "27/04/2010", + "funding_round_type": "venture", + "funding_round_code": "C", + "raised_amount_usd": 115000000 + }, + "type": "INVESTED_IN" + } + }, + { + "id": 10853, + "source": 5418, + "target": 124, + "attributes": { "color": "grey", "width": 1, "text": "HAS_MARKET" }, + "data": { "type": "HAS_MARKET" } + }, + { + "id": 46713, + "source": 2982, + "target": 5418, + "attributes": { "color": "grey", "width": 1, "text": "ACQUIRED" }, + "data": { + "properties": { + "acquisition_date": "03/03/2009", + "year": "2009", + "quarter": "2009-Q1", + "currency": "USD", + "month": "2009-03", + "price_amount": 400000000 + }, + "type": "ACQUIRED" + } + } + ] +} diff --git a/web/index.html b/web/index.html new file mode 100644 index 0000000..be9769e --- /dev/null +++ b/web/index.html @@ -0,0 +1,14 @@ + + + + React Ogma; component + + + + +
+ + diff --git a/web/index.tsx b/web/index.tsx new file mode 100644 index 0000000..58d1446 --- /dev/null +++ b/web/index.tsx @@ -0,0 +1,15 @@ +import React from "react"; +import ReactDOM from "react-dom"; +import "./src/index.css"; +import App from "./src/App"; +import { GeistProvider, CssBaseline } from "@geist-ui/core"; + +ReactDOM.render( + + + + + + , + document.getElementById("root") +); diff --git a/web/src/App.tsx b/web/src/App.tsx new file mode 100644 index 0000000..dbacf94 --- /dev/null +++ b/web/src/App.tsx @@ -0,0 +1,169 @@ +import OgmaLib, { + Edge, + Node, + Point, + RawGraph, + Transformation, +} from "@linkurious/ogma"; +import React, { useEffect, useState, createRef } from "react"; +// loading indicator +import { Loading } from "@geist-ui/core"; +// for geo mode +import * as L from "leaflet"; +// components +import { + Ogma, + NodeStyleRule, + EdgeStyleRule, + Tooltip, + NodeGrouping, + Popup, + Geo, +} from "../../src"; + +// cusotm components: +// layout component, to be applied on certain events +import { LayoutService } from "./components/Layout"; +// outlines canvas layer with halos +import { GraphOutlines } from "./components/GraphOutlines"; +// control panel +import { Controls } from "./components/Controls"; +import { Logo } from "./components/Logo"; + +// to enable geo mode integration +OgmaLib.libraries["leaflet"] = L; + +export default function App() { + // graph state + const [graph, setGraph] = useState(); + const [loading, setLoading] = useState(true); + + // UI states + const [popupOpen, setPopupOpen] = useState(false); + const [clickedNode, setClickedNode] = useState(); + + // ogma instance and grouping references + const ref = createRef(); + const groupingRef = createRef(); + + // grouping and geo states + const [nodeGrouping, setNodeGrouping] = useState(true); + const [geoEnabled, setGeoEnabled] = useState(false); + // styling states + const [nodeSize, setNodeSize] = useState(5); + const [edgeWidth, setEdgeWidth] = useState(0.25); + + // UI layers + const [outlines, setOutlines] = useState(false); + const [tooltipPositon, setTooltipPosition] = useState({ + x: -1e5, + y: -1e5, + }); + const [target, setTarget] = useState(); + + // load the graph + useEffect(() => { + setLoading(true); + fetch("data.json") + .then((res) => res.json()) + .then((data: RawGraph) => { + setGraph(data); + setLoading(false); + }); + }, []); + + // nothing to render yet + if (loading) return ; + + return ( +
+ + { + ogma.events + .on("click", ({ target }) => { + if (target && target.isNode) { + setClickedNode(target); + setPopupOpen(true); + } + }) + .on("mousemove", () => { + const ptr = ogma.getPointerInformation(); + setTooltipPosition( + ogma.view.screenToGraphCoordinates({ x: ptr.x, y: ptr.y }) + ); + setTarget(ptr.target); + }) + // locate graph when the nodes are added + .on("addNodes", () => + ogma.view.locateGraph({ duration: 250, padding: 50 }) + ); + }} + > + {/* Styling */} + (n?.getData("multiplier") || 1) * nodeSize, // the label is the value os the property name. + text: (node) => node?.getData("properties.name"), + }} + /> + + + {/* Layout */} + + + {/* context-aware UI */} + (clickedNode ? clickedNode.getPosition() : null)} + onClose={() => setPopupOpen(false)} + isOpen={clickedNode && popupOpen} + > + {clickedNode && ( +
{`Node ${clickedNode.getId()}:`}
+ )} +
+ +
+ {target + ? `${target.isNode ? "Node" : "Edge"} #${target.getId()}` + : "nothing"} +
+
+ + + {/* Grouping */} + { + const categories = node.getData("categories"); + return categories[0] === "INVESTOR" ? "INVESTOR" : undefined; + }} + nodeGenerator={(nodes) => { + return { data: { multiplier: nodes.size } }; + }} + duration={500} + /> + {/* Geo mode */} + +
+ setNodeGrouping(value)} + nodeGrouping={nodeGrouping} + setNodeSize={setNodeSize} + setEdgeWidth={setEdgeWidth} + outlines={outlines} + setOutlines={setOutlines} + geoEnabled={geoEnabled} + setGeoEnabled={setGeoEnabled} + /> +
+ ); +} diff --git a/web/src/components/Controls.tsx b/web/src/components/Controls.tsx new file mode 100644 index 0000000..6754b98 --- /dev/null +++ b/web/src/components/Controls.tsx @@ -0,0 +1,109 @@ +import React, { useState } from "react"; +import { Drawer, Text, Button, Toggle, Slider, Spacer } from "@geist-ui/core"; +import { Menu as MenuIcon, X as XIcon } from "@geist-ui/icons"; + +interface ControlsProps { + toggleNodeGrouping: (value: boolean) => void; + nodeGrouping: boolean; + setNodeSize: (value: number) => void; + setEdgeWidth: (value: number) => void; + outlines: boolean; + setOutlines: (value: boolean) => void; + geoEnabled: boolean; + setGeoEnabled: (value: boolean) => void; +} + +export function Controls({ + toggleNodeGrouping, + nodeGrouping, + setNodeSize, + setEdgeWidth, + geoEnabled, + setGeoEnabled, + outlines, + setOutlines, +}: ControlsProps) { + //const ogma = useOgma(); + const [drawerShown, setDrawerShown] = useState(false); + return ( + <> +
+
+ setDrawerShown(false)} + placement="right" + className="controls" + > + + Controls +
+ ); +}; diff --git a/web/src/components/ReactIcon.tsx b/web/src/components/ReactIcon.tsx new file mode 100644 index 0000000..07e10b5 --- /dev/null +++ b/web/src/components/ReactIcon.tsx @@ -0,0 +1,16 @@ +import React from "react"; + +export const Icon = ({ width = 12, height = 12 }) => ( + + + +); diff --git a/web/src/index.css b/web/src/index.css new file mode 100644 index 0000000..c7ffd47 --- /dev/null +++ b/web/src/index.css @@ -0,0 +1,157 @@ +body { + margin: 0; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", + "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", + sans-serif; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} +html, +body { + height: 100%; +} + +#root { + height: 100%; +} + +code { + font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", + monospace; +} + +.App { + text-align: center; + width: 100%; + height: 100%; + min-height: 100vh; +} + +.Logo { + position: absolute; + top: 15px; + left: 15px; + z-index: 401; +} + +:root { + --overlay-background-color: #282c34; + --overlay-text-color: #61dafb; +} + +.ogma-tooltip, +.ogma-popup { + z-index: 401; + box-sizing: border-box; +} + +.ogma-tooltip--content, +.ogma-popup--body { + transform: translate(-50%, 0); + background-color: var(--overlay-background-color); + color: var(--overlay-text-color); + border-radius: 5px; + padding: 5px; + box-sizing: border-box; + box-shadow: 0 8px 30px rgb(0 0 0 / 12%); + width: auto; + height: auto; + position: relative; +} + +.ogma-tooltip { + /* transition: linear; + transition-property: transform; + transition-duration: 50ms; */ + pointer-events: none; +} + +.ogma-popup--body { + transform: translate(-50%, -100%); +} + +.ogma-tooltip--content:after, +.ogma-popup--body:after { + content: ""; + width: 0; + height: 0; + border-style: solid; + border-width: 6px 7px 6px 0; + border-color: transparent var(--overlay-background-color) transparent + transparent; + position: absolute; + left: 50%; + top: auto; + bottom: 3px; + right: auto; + transform: translate(-50%, 100%) rotate(270deg); +} + +.ogma-popup--close { + position: absolute; + top: 0px; + right: 5px; + cursor: pointer; +} + +.ogma-popup--top .ogma-popup--body, +.ogma-tooltip--top .ogma-tooltip--content { + bottom: 6px; + transform: translate(-50%, -100%); +} + +.ogma-popup--bottom .ogma-popup--body, +.ogma-tooltip--bottom .ogma-tooltip--content { + transform: translate(-50%, 0%); + top: 3px; +} + +.ogma-popup--bottom .ogma-popup--body:after, +.ogma-tooltip--bottom .ogma-tooltip--content:after { + top: 3px; + bottom: auto; + transform: translate(-50%, -100%) rotate(90deg); +} + +.ogma-popup--right .ogma-popup--body, +.ogma-tooltip--right .ogma-tooltip--content { + transform: translate(0, -50%); + left: 6px; +} + +.ogma-popup--right .ogma-popup--body:after, +.ogma-tooltip--right .ogma-tooltip--content:after { + left: 0%; + top: 50%; + transform: translate(-100%, -50%) rotate(0deg); +} + +.ogma-popup--left .ogma-popup--body, +.ogma-tooltip--left .ogma-tooltip--content { + transform: translate(-100%, -50%); + right: 6px; +} + +.ogma-popup--left .ogma-popup--body:after, +.ogma-tooltip--left .ogma-tooltip--content:after { + right: 0%; + left: auto; + top: 50%; + transform: translate(100%, -50%) rotate(180deg); +} + +.ogma-popup--content { + padding: 10px; +} + +.control-buttons { + position: absolute; + z-index: 401; + right: 20px; + top: 20px; +} + +.controls .controls-section-label { + padding-left: 1em; + vertical-align: middle; +}